diff options
Diffstat (limited to 'Client/Assembly-CSharp/ShipStatus.cs')
-rw-r--r-- | Client/Assembly-CSharp/ShipStatus.cs | 21 |
1 files changed, 11 insertions, 10 deletions
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) |