Documentation ¶
Index ¶
- Constants
- func AssignSessionID(uid string) (string, error)
- func BattleDeleteMatchedPlayer(uid string) error
- func BattleDeletePlayer(uid string) error
- func BattleDeleteWaitingPlayer(uid string) error
- func BattleGetMatchedPoolPlayer(uid string) (netobj.Player, error)
- func BattleGetPlayer(uid string) (netobj.Player, error)
- func BattleSaveMatchedPlayer(player netobj.Player) error
- func BattleSaveWaitingPlayer(player netobj.Player) error
- func DeletePlayer(uid string) error
- func DeleteTransferCredentials(tid string) error
- func GetPlayer(uid string) (netobj.Player, error)
- func GetPlayerBySessionID(sid string) (netobj.Player, error)
- func GetTransferCredentials(tid string) (netobj.TransferCredentials, error)
- func IsValidSessionID(sid []byte) (bool, error)
- func IsValidSessionTime(sessionTime int64) bool
- func NewAccount() netobj.Player
- func NewAccountWithID(uid string, resetcount int64) netobj.Player
- func ParseSIDEntry(sidResult []byte) (string, int64)
- func PurgeAllExpiredSessionIDs()
- func PurgeSessionID(sid string) error
- func SavePlayer(player netobj.Player) error
- func SaveTransferCredentials(transferCreds netobj.TransferCredentials) error
Constants ¶
View Source
const (
SessionIDSchema = "OUTRUN_%s"
)
Variables ¶
This section is empty.
Functions ¶
func AssignSessionID ¶
func BattleDeletePlayer ¶
func BattleSaveMatchedPlayer ¶
func BattleSaveWaitingPlayer ¶
func DeletePlayer ¶
func GetTransferCredentials ¶
func GetTransferCredentials(tid string) (netobj.TransferCredentials, error)
func IsValidSessionID ¶
func IsValidSessionTime ¶
func NewAccount ¶
func ParseSIDEntry ¶
func PurgeAllExpiredSessionIDs ¶
func PurgeAllExpiredSessionIDs()
func PurgeSessionID ¶
func SavePlayer ¶
func SaveTransferCredentials ¶
func SaveTransferCredentials(transferCreds netobj.TransferCredentials) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.