示例#1
0
 public Player()
 {
     Licenses       = new List <byte>();
     Inventory      = new List <Item>();
     Characters     = new List <Character>();
     DenyList       = new Dictionary <ulong, string>();
     FriendList     = new List <Friend>();
     TDStats        = new TDStatistics();
     ConnectionType = 4;
     IsSpawned      = false;
     RelayProxies   = new List <byte>();
     GameMode       = EPlayerGameMode.Normal;
     GameScore      = new GameScore();
 }
示例#2
0
        public void ResetScore()
        {
            if (Room == null)
            {
                GameScore = new GameScore();
                return;
            }
            switch (Room.GameRule)
            {
            case EGameRule.Touchdown:
                GameScore = new TDGameScore();
                break;

            case EGameRule.Deathmatch:
                GameScore = new DMGameScore();
                break;

            case EGameRule.Survival:
                GameScore = new SurvivalGameScore();
                break;
            }
        }
示例#3
0
文件: Player.cs 项目: KingCrazy/S115
 public void ResetScore()
 {
     if (Room == null)
     {
         GameScore = new GameScore();
         return;
     }
     switch (Room.GameRule)
     {
         case EGameRule.Touchdown:
             GameScore = new TDGameScore();
             break;
         case EGameRule.Deathmatch:
             GameScore = new DMGameScore();
             break;
         case EGameRule.Survival:
             GameScore = new SurvivalGameScore();
             break;
     }
 }
示例#4
0
文件: Player.cs 项目: KingCrazy/S115
 public Player()
 {
     Licenses = new List<byte>();
     Inventory = new List<Item>();
     Characters = new List<Character>();
     DenyList = new Dictionary<ulong, string>();
     FriendList = new List<Friend>();
     TDStats = new TDStatistics();
     ConnectionType = 4;
     IsSpawned = false;
     RelayProxies = new List<byte>();
     GameMode = EPlayerGameMode.Normal;
     GameScore = new GameScore();
 }