コード例 #1
0
 void ReloadAdditionInformation()
 {
     mw.Barracks(st);
     mw.matchTimeLabel = st.matchTime;
     if (st.heroResult == "true")
     {
         mw.radiantWinLabel = "Radiant Win";
         mw.SetRadiantWinLabelForeColor(0, 255, 0);
     }
     else
     {
         mw.radiantWinLabel = "Dire Win";
         mw.SetRadiantWinLabelForeColor(255, 0, 0);
     }
     mw.topPlayersLabel = st.GetTop();
     mw.lobbyLabel      = st.gameMod + "   |   " + st.lobbyType;
     mw.positiveVotes   = "Positive votes: " + st.positiveVotes;
     mw.negativeVotes   = "Negative votes: " + st.negativeVotes;
     mw.leavers         = st.GetLeavers();
     mw.mainLobbyLabel  = st.gameMod;
 }