Example #1
0
 //玩家投降
 public void SpecialEndGame(string playerID, SpecialEndingType endType)
 {
     if (this.SessionIDGameRoom.ContainsKey(playerID))
     {
         GameRoom gameRoom = this.SessionIDGameRoom[playerID];
         gameRoom.SpecialEndGame(playerID, endType);
     }
     log.Debug(string.Format("player {0} surrendered.", playerID));
 }
Example #2
0
 public void SpecialEndGame(string playerID, SpecialEndingType endType)
 {
     _tractorHost.SpecialEndGame(playerID, endType);
 }