From b0f6c6df9e8ae1688646ab8c8934708123e4e979 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 4 Jan 2021 08:27:46 +0800 Subject: =?UTF-8?q?*=E7=BD=91=E7=BB=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assembly-CSharp/PlayerControl.cs | 50 ++++++++++++++++----------------- 1 file changed, 25 insertions(+), 25 deletions(-) (limited to 'Client/Assembly-CSharp/PlayerControl.cs') 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) { -- cgit v1.1-26-g67d0