database

package
v0.0.0-...-70a61fa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2023 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNewUser

func AddNewUser(pid uint32)

func AddPlayerSession

func AddPlayerSession(rvcid uint32, urls []string, ip string, port string)

func AddPlayerToRoom

func AddPlayerToRoom(gid uint32, pid uint32, addplayercount uint32)

func CommunityExists

func CommunityExists(gid uint32) bool

func ConnectAll

func ConnectAll()

func DeletePlayerSession

func DeletePlayerSession(rvcid uint32)

func DestroyRoom

func DestroyRoom(gid uint32)

func DoesSessionExist

func DoesSessionExist(rvcid uint32) bool

func DoesUserExist

func DoesUserExist(pid uint32) bool

func FindCommunitiesWithParticipant

func FindCommunitiesWithParticipant(pid uint32) []uint32

func FindRoom

func FindRoom(gamemode uint32, public bool, region uint32, gameconfig uint32, vacantcount uint32, update uint32, communitygid uint32) uint32

func GetCommunityInfo

func GetCommunityInfo(gid uint32) (uint32, uint32, string, []uint32, []byte, uint64, uint64, uint32, uint32)

func GetPlayerSessionAddress

func GetPlayerSessionAddress(rvcid uint32) string

func GetPlayerURLs

func GetPlayerURLs(rvcid uint32) []string

func GetRoomInfo

func GetRoomInfo(gid uint32) (uint32, uint32, uint32, uint32, uint32)

func GetRoomPlayers

func GetRoomPlayers(gid uint32) []uint32

func GetUsernameFromPID

func GetUsernameFromPID(pid uint32) string

func IsAllowedGameModeAndRegion

func IsAllowedGameModeAndRegion(gamemode uint32, region uint32) bool

func NewCommunity

func NewCommunity(host uint32, communityType uint32, password string, attribs []uint32, applicationBuffer []byte, participationStartDate uint64, participationEndDate uint64) uint32

func NewRoom

func NewRoom(host uint32, gamemode uint32, public bool, region uint32, gameconfig uint32, playercount uint32, update uint32, communitygid uint32) uint32

func RemovePlayer

func RemovePlayer(pid uint32)

func RemovePlayerFromRoom

func RemovePlayerFromRoom(gid uint32, pid uint32)

func UpdatePlayerSessionAll

func UpdatePlayerSessionAll(rvcid uint32, urls []string, ip string, port string)

func UpdatePlayerSessionURL

func UpdatePlayerSessionURL(rvcid uint32, oldurl string, newurl string)

func UpdateRoomHost

func UpdateRoomHost(gid uint32, newownerpid uint32)

func UpdateUserRating

func UpdateUserRating(pid uint32, gamemode uint32, rating uint32)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL