feat sn 改成 int64

This commit is contained in:
2026-01-30 11:56:10 +08:00
parent a7266f4bfa
commit b1dfb88f71
12 changed files with 30 additions and 30 deletions

View File

@@ -75,7 +75,7 @@ func (c *Client) onEnter(msg *ss_pb.C2S_EnterInstance) {
}
func (c *Client) onLeave() {
if c.SceneSID == "" {
if c.SceneSID == 0 {
return
}
client, err := grpc_client.SceneNewClient(c.SceneSID)
@@ -94,7 +94,7 @@ func (c *Client) onLeave() {
}
func (c *Client) onAction(msg *ss_pb.C2S_Action) {
if c.SceneSID == "" {
if c.SceneSID == 0 {
return
}
if err := grpc_client.SendMessageToScene(c.SceneSID, grpc_client.FunAction, &grpc_pb.ActionReq{