From 00cfa93034c5b6fad750b395ac14a1c58c9dd93f Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 4 Jan 2021 14:52:20 +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/AmongUsClient.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Client/Assembly-CSharp/AmongUsClient.cs') diff --git a/Client/Assembly-CSharp/AmongUsClient.cs b/Client/Assembly-CSharp/AmongUsClient.cs index 5a83263..433144e 100644 --- a/Client/Assembly-CSharp/AmongUsClient.cs +++ b/Client/Assembly-CSharp/AmongUsClient.cs @@ -82,6 +82,7 @@ public class AmongUsClient : InnerNetClient SceneManager.LoadScene(this.MainMenuScene); } + // 收到游戏房间数据后的处理 protected override void OnGetGameList(int totalGames, List availableGames) { for (int i = 0; i < this.GameListHandlers.Count; i++) @@ -100,6 +101,10 @@ public class AmongUsClient : InnerNetClient { } + /// + /// + /// + /// protected override void OnWaitForHost(string gameIdString) { if (this.GameState != InnerNetClient.GameStates.Joined) @@ -112,6 +117,7 @@ public class AmongUsClient : InnerNetClient } } + // 开始游戏后的处理 protected override void OnStartGame() { Debug.Log("Received game start: " + base.AmHost.ToString()); -- cgit v1.1-26-g67d0