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/ShipStatus.cs | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'Client/Assembly-CSharp/ShipStatus.cs') diff --git a/Client/Assembly-CSharp/ShipStatus.cs b/Client/Assembly-CSharp/ShipStatus.cs index 89fd8da..e83100f 100644 --- a/Client/Assembly-CSharp/ShipStatus.cs +++ b/Client/Assembly-CSharp/ShipStatus.cs @@ -92,12 +92,6 @@ public class ShipStatus : InnerNetObject } } - private enum RpcCalls - { - CloseDoorsOfType, - RepairSystem - } - public ShipStatus() { //c 所有的systems @@ -694,10 +688,16 @@ public class ShipStatus : InnerNetObject return true; } return false; - } - - // 关门 - public void RpcCloseDoorsOfType(SystemTypes type) + } + + private enum RpcCalls + { + CloseDoorsOfType, + RepairSystem + } + + // 关门 + public void RpcCloseDoorsOfType(SystemTypes type) { if (AmongUsClient.Instance.AmHost) { @@ -709,6 +709,7 @@ public class ShipStatus : InnerNetObject AmongUsClient.Instance.FinishRpcImmediately(messageWriter); } + // 修复 public void RpcRepairSystem(SystemTypes systemType, int amount) { if (AmongUsClient.Instance.AmHost) -- cgit v1.1-26-g67d0