From af50160ef5c9a55506157d7d94e20c17cd28ed42 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 4 Jan 2021 15:08:37 +0800 Subject: =?UTF-8?q?*=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assembly-CSharp/MeetingHud.cs | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'Client/Assembly-CSharp/MeetingHud.cs') diff --git a/Client/Assembly-CSharp/MeetingHud.cs b/Client/Assembly-CSharp/MeetingHud.cs index dbc22cb..891ce29 100644 --- a/Client/Assembly-CSharp/MeetingHud.cs +++ b/Client/Assembly-CSharp/MeetingHud.cs @@ -82,14 +82,6 @@ public class MeetingHud : InnerNetObject, IDisconnectHandler Proceeding } - private enum RpcCalls - { - Close, - VotingComplete, - CastVote, - ClearVote - } - private void Awake() { if (!MeetingHud.Instance) @@ -654,9 +646,17 @@ public class MeetingHud : InnerNetObject, IDisconnectHandler result = 0; } return result; - } - - public void RpcClose() + } + + private enum RpcCalls + { + Close, + VotingComplete, + CastVote, + ClearVote + } + + public void RpcClose() { if (AmongUsClient.Instance.AmClient) { @@ -676,9 +676,10 @@ public class MeetingHud : InnerNetObject, IDisconnectHandler messageWriter.Write(playerId); messageWriter.Write(suspectIdx); AmongUsClient.Instance.FinishRpcImmediately(messageWriter); - } - - private void RpcVotingComplete(byte[] states, GameData.PlayerInfo exiled, bool tie) + } + + + private void RpcVotingComplete(byte[] states, GameData.PlayerInfo exiled, bool tie) { if (AmongUsClient.Instance.AmClient) { -- cgit v1.1-26-g67d0