summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/PlayerControl.cs
diff options
context:
space:
mode:
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)
{