public void ResetSlot() { repeatLastState = false; deathState = DeadEnum.isAlive; StopTiming(); check = false; espectador = false; specGM = false; withHost = false; firstRespawn = true; failLatencyTimes = 0; latency = 0; ping = 0; passSequence = 0; allDeaths = 0; allKills = 0; bonusFlags = 0; killsOnLife = 0; lastKillState = 0; score = 0; gold = 0; exp = 0; headshots = 0; objetivos = 0; bonusGold = 0; bonusEXP = 0; spawnsCount = 0; damageBar1 = 0; damageBar2 = 0; earnedXP = 0; isPlaying = 0; cash = 0; voteCounts = 0; nextVoteDate = new DateTime(); aiLevel = 0; EquipmentsUsed.Clear(); missionsCompleted = false; missions = null; }
public void SetMissionsClone(PlayerMissions missions) { missionsCompleted = false; this.missions = null; this.missions = missions.DeepCopy(); }