summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/PlayerControl.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-04 08:27:46 +0800
committerchai <chaifix@163.com>2021-01-04 08:27:46 +0800
commitb0f6c6df9e8ae1688646ab8c8934708123e4e979 (patch)
tree3c77641aaf068d50b4d5503c52bb65518d4a1afe /Client/Assembly-CSharp/PlayerControl.cs
parent89d302af2b9f84befd7497e52f1d72162721cd70 (diff)
*网络
Diffstat (limited to 'Client/Assembly-CSharp/PlayerControl.cs')
-rw-r--r--Client/Assembly-CSharp/PlayerControl.cs50
1 files changed, 25 insertions, 25 deletions
diff --git a/Client/Assembly-CSharp/PlayerControl.cs b/Client/Assembly-CSharp/PlayerControl.cs
index 753e127..4f2505e 100644
--- a/Client/Assembly-CSharp/PlayerControl.cs
+++ b/Client/Assembly-CSharp/PlayerControl.cs
@@ -160,31 +160,6 @@ public class PlayerControl : InnerNetObject
}
}
- //c 角色相关的所有的Rpc调用
- public enum RpcCalls : byte
- {
- PlayAnimation,
- CompleteTask,
- SyncSettings,
- SetInfected,
- Exiled,
- CheckName,
- SetName,
- CheckColor,
- SetColor,
- SetHat,
- SetSkin,
- ReportDeadBody,
- MurderPlayer,
- SendChat,
- TimesImpostor,
- StartMeeting,
- SetScanner,
- SendChatNote,
- SetPet,
- SetStartCounter
- }
-
public void SetKillTimer(float time)
{
this.killTimer = time;
@@ -1376,6 +1351,31 @@ public class PlayerControl : InnerNetObject
AmongUsClient.Instance.FinishRpcImmediately(messageWriter);
}
+ //c 角色相关的所有的Rpc调用
+ public enum RpcCalls : byte
+ {
+ PlayAnimation,
+ CompleteTask,
+ SyncSettings,
+ SetInfected,
+ Exiled,
+ CheckName,
+ SetName,
+ CheckColor,
+ SetColor,
+ SetHat,
+ SetSkin,
+ ReportDeadBody,
+ MurderPlayer,
+ SendChat,
+ TimesImpostor,
+ StartMeeting,
+ SetScanner,
+ SendChatNote,
+ SetPet,
+ SetStartCounter
+ }
+
//c 对应的角色执行对应发过来的Rpc调用
public override void HandleRpc(byte callId, MessageReader reader)
{