diff options
author | chai <chaifix@163.com> | 2021-01-04 15:08:37 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-04 15:08:37 +0800 |
commit | af50160ef5c9a55506157d7d94e20c17cd28ed42 (patch) | |
tree | 95b8c3ee1974b0d5132675473a6cd8382fe99cc6 /Client/Assembly-CSharp/GameData.cs | |
parent | 00cfa93034c5b6fad750b395ac14a1c58c9dd93f (diff) |
*协议
Diffstat (limited to 'Client/Assembly-CSharp/GameData.cs')
-rw-r--r-- | Client/Assembly-CSharp/GameData.cs | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/Client/Assembly-CSharp/GameData.cs b/Client/Assembly-CSharp/GameData.cs index e81e28e..5069a13 100644 --- a/Client/Assembly-CSharp/GameData.cs +++ b/Client/Assembly-CSharp/GameData.cs @@ -163,10 +163,6 @@ public class GameData : InnerNetObject, IDisconnectHandler } } - private enum RpcCalls - { - SetTasks - } public void Awake() { @@ -534,9 +530,14 @@ public class GameData : InnerNetObject, IDisconnectHandler } } this.RecomputeTaskCounts(); - } - - public void RpcSetTasks(byte playerId, byte[] taskTypeIds) + }
+
+ private enum RpcCalls
+ {
+ SetTasks
+ }
+
+ public void RpcSetTasks(byte playerId, byte[] taskTypeIds) { if (AmongUsClient.Instance.AmClient) { |