Change player id to uint64

This commit is contained in:
Sergey Polygalin 2023-09-21 14:16:50 +03:00
parent bf1ababe94
commit 28f2a161bd
1 changed files with 3 additions and 3 deletions

View File

@ -118,7 +118,7 @@ type RpcContext struct {
platform uint8
extras map[string]string
playerId uint32
playerId uint64
extId string
}
@ -163,12 +163,12 @@ func (rctx *RpcContext) ExtraValue(key string) (string, bool) {
return v, ok
}
func (rctx *RpcContext) SetPlayer(playerId uint32, extId string) {
func (rctx *RpcContext) SetPlayer(playerId uint64, extId string) {
rctx.playerId = playerId
rctx.extId = extId
}
func (rctx *RpcContext) PlayerId() uint32 {
func (rctx *RpcContext) PlayerId() uint64 {
return rctx.playerId
}