summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/MatchMakerGameButton.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assembly-CSharp/MatchMakerGameButton.cs')
-rw-r--r--Client/Assembly-CSharp/MatchMakerGameButton.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Client/Assembly-CSharp/MatchMakerGameButton.cs b/Client/Assembly-CSharp/MatchMakerGameButton.cs
index 64be6de..c330179 100644
--- a/Client/Assembly-CSharp/MatchMakerGameButton.cs
+++ b/Client/Assembly-CSharp/MatchMakerGameButton.cs
@@ -4,6 +4,7 @@ using InnerNet;
using PowerTools;
using UnityEngine;
+// 游戏列表中单个游戏的入口按钮
public class MatchMakerGameButton : PoolableBehavior, IConnectButton
{
public TextRenderer NameText;
@@ -49,6 +50,7 @@ public class MatchMakerGameButton : PoolableBehavior, IConnectButton
this.connectIcon.GetComponent<SpriteRenderer>().sprite = null;
}
+ // 根据收到的游戏列表设置按钮内容
public void SetGame(GameListing gameListing)
{
this.myListing = gameListing;