Change player id to uint64
This commit is contained in:
parent
bf1ababe94
commit
28f2a161bd
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue