Documentation ¶
Index ¶
- func AddNewUser(pid uint32)
- func AddPlayerSession(rvcid uint32, urls []string, ip string, port string)
- func AddPlayerToRoom(gid uint32, pid uint32, addplayercount uint32)
- func ConnectAll()
- func DeletePlayerSession(rvcid uint32)
- func DestroyRoom(gid uint32)
- func DoesSessionExist(rvcid uint32) bool
- func DoesUserExist(pid uint32) bool
- func FindRoom(gamemode uint32, public bool, region uint32, gameconfig uint32, ...) uint32
- func GetPlayerSessionAddress(rvcid uint32) string
- func GetPlayerURLs(rvcid uint32) []string
- func GetRoomInfo(gid uint32) (uint32, uint32, uint32, uint32, uint32)
- func GetRoomPlayers(gid uint32) []uint32
- func GetUsernameFromPID(pid uint32) string
- func IsAllowedGameModeAndRegion(gamemode uint32, region uint32) bool
- func NewRoom(host uint32, gamemode uint32, public bool, region uint32, gameconfig uint32, ...) uint32
- func RemovePlayer(pid uint32)
- func RemovePlayerFromRoom(gid uint32, pid uint32)
- func UpdatePlayerSessionAll(rvcid uint32, urls []string, ip string, port string)
- func UpdatePlayerSessionURL(rvcid uint32, oldurl string, newurl string)
- func UpdateRoomHost(gid uint32, newownerpid uint32)
- func UpdateUserRating(pid uint32, gamemode uint32, rating uint32)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewUser ¶
func AddNewUser(pid uint32)
func AddPlayerToRoom ¶
func ConnectAll ¶
func ConnectAll()
func DeletePlayerSession ¶
func DeletePlayerSession(rvcid uint32)
func DestroyRoom ¶
func DestroyRoom(gid uint32)
func DoesSessionExist ¶
func DoesUserExist ¶
func GetPlayerSessionAddress ¶
func GetPlayerURLs ¶
func GetRoomPlayers ¶
func GetUsernameFromPID ¶
func RemovePlayer ¶
func RemovePlayer(pid uint32)
func RemovePlayerFromRoom ¶
func UpdatePlayerSessionAll ¶
func UpdatePlayerSessionURL ¶
func UpdateRoomHost ¶
func UpdateUserRating ¶
Types ¶
This section is empty.
Source Files ¶
- add_new_user.go
- add_player_session.go
- add_player_to_room.go
- connect_all.go
- connect_mongo.go
- delete_player_session.go
- destroy_room.go
- does_session_exist.go
- does_user_exist.go
- find_room.go
- get_player_session_address.go
- get_player_urls.go
- get_room_info.go
- get_room_players.go
- get_username_from_pid.go
- is_allowed_game_mode_and_region.go
- new_room.go
- remove_player.go
- remove_player_from_room.go
- update_player_session_all.go
- update_player_session_url.go
- update_room_host.go
- update_user_rating.go
Click to show internal directories.
Click to hide internal directories.