diff --git a/tpl/codegen_bundle.twig b/tpl/codegen_bundle.twig index 9be16a9..463145f 100644 --- a/tpl/codegen_bundle.twig +++ b/tpl/codegen_bundle.twig @@ -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 }