From 28f2a161bd1eae70aca61485fcf7e88cae149b1e Mon Sep 17 00:00:00 2001 From: Sergey Polygalin Date: Thu, 21 Sep 2023 14:16:50 +0300 Subject: [PATCH] Change player id to uint64 --- tpl/codegen_bundle.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }