Beispiel #1
0
 public override void write()
 {
     this.writeH((short)298);
     this.writeD(this._erro);
     if (this._erro != 0U)
     {
         return;
     }
     this.writeD(this.player._rank);
     this.writeD(ComDiv.GetPlayerStatus(this.player._status, this.player._isOnline));
     this.writeS(ClanManager.getClan(this.player.clanId)._name, 17);
     this.writeD(this.player._statistic.fights);
     this.writeD(this.player._statistic.fights_win);
     this.writeD(this.player._statistic.fights_lost);
     this.writeD(this.player._statistic.fights_draw);
     this.writeD(this.player._statistic.kills_count);
     this.writeD(this.player._statistic.headshots_count);
     this.writeD(this.player._statistic.deaths_count);
     this.writeD(this.player._statistic.totalfights_count);
     this.writeD(this.player._statistic.totalkills_count);
     this.writeD(this.player._statistic.escapes);
     this.writeD(this.player._statistic.fights);
     this.writeD(this.player._statistic.fights_win);
     this.writeD(this.player._statistic.fights_lost);
     this.writeD(this.player._statistic.fights_draw);
     this.writeD(this.player._statistic.kills_count);
     this.writeD(this.player._statistic.headshots_count);
     this.writeD(this.player._statistic.deaths_count);
     this.writeD(this.player._statistic.totalfights_count);
     this.writeD(this.player._statistic.totalkills_count);
     this.writeD(this.player._statistic.escapes);
     this.writeD(this.player._equip._primary);
     this.writeD(this.player._equip._secondary);
     this.writeD(this.player._equip._melee);
     this.writeD(this.player._equip._grenade);
     this.writeD(this.player._equip._special);
     this.writeD(this.player._equip._red);
     this.writeD(this.player._equip._blue);
     this.writeD(this.player._equip._helmet);
     this.writeD(this.player._equip._beret);
     this.writeD(this.player._equip._dino);
     this.writeH((short)0);
     this.writeC((byte)0);
 }
 public override void write()
 {
     writeH(298);
     writeD(_erro);
     if (_erro == 0)
     {
         writeD(player._rank);
         writeD(ComDiv.GetPlayerStatus(player._status, player._isOnline));
         writeS(ClanManager.getClan(player.clanId)._name, 17);
         writeD(player._statistic.fights);
         writeD(player._statistic.fights_win);
         writeD(player._statistic.fights_lost);
         writeD(player._statistic.fights_draw);
         writeD(player._statistic.kills_count);
         writeD(player._statistic.headshots_count);
         writeD(player._statistic.deaths_count);
         writeD(player._statistic.totalfights_count);
         writeD(player._statistic.totalkills_count);
         writeD(player._statistic.escapes);
         writeD(player._statistic.fights);
         writeD(player._statistic.fights_win);
         writeD(player._statistic.fights_lost);
         writeD(player._statistic.fights_draw);
         writeD(player._statistic.kills_count);
         writeD(player._statistic.headshots_count);
         writeD(player._statistic.deaths_count);
         writeD(player._statistic.totalfights_count);
         writeD(player._statistic.totalkills_count);
         writeD(player._statistic.escapes);
         writeD(player._equip._primary);
         writeD(player._equip._secondary);
         writeD(player._equip._melee);
         writeD(player._equip._grenade);
         writeD(player._equip._special);
         writeD(player._equip._red);
         writeD(player._equip._blue);
         writeD(player._equip._helmet);
         writeD(player._equip._beret);
         writeD(player._equip._dino);
         writeH(0);
         writeC(0);
     }
 }