| | |
| | | public DateTime time;
|
| | | public string playerName;
|
| | | public int mapId;
|
| | | public int lineId;
|
| | | public int bossId;
|
| | | public int itemId;
|
| | | public string userdata;
|
| | | public int playerId;
|
| | | public int rarility;
|
| | | public int serverGroupId;
|
| | | public int playerLevel;
|
| | |
|
| | | public DropRecord(HA003_tagUniversalGameRecInfo.tagUniversalGameRec _serverInfo)
|
| | | {
|
| | | this.index = 0;
|
| | | this.time = TimeUtility.GetTime(_serverInfo.Time);
|
| | | this.playerName = _serverInfo.StrValue1;
|
| | | this.mapId = (int)_serverInfo.Value1;
|
| | | this.mapId = (int)_serverInfo.Value1 / 100;
|
| | | this.lineId = (int)_serverInfo.Value1 % 100;
|
| | | this.bossId = (int)_serverInfo.Value2;
|
| | | this.itemId = (int)_serverInfo.Value3;
|
| | | this.userdata = _serverInfo.StrValue3;
|
| | | this.playerId = (int)_serverInfo.Value4;
|
| | | this.rarility = (int)_serverInfo.Value5;
|
| | | this.serverGroupId = 0;
|
| | | this.playerLevel = 0;
|
| | | var strValue2Array = _serverInfo.StrValue2.Split('|');
|
| | | if (strValue2Array.Length > 1)
|
| | | {
|
| | | this.serverGroupId = int.Parse(strValue2Array[0]);
|
| | | this.playerLevel = int.Parse(strValue2Array[1]);
|
| | | }
|
| | | }
|
| | |
|
| | | public override string ToString()
|
| | | {
|
| | | var timeString = time.ToString("yyyy-MM-dd HH:mm:ss");
|
| | | return Language.Get("FightTreasure_DropRecord", timeString, playerName, playerId, mapId, bossId, itemId, userdata);
|
| | | return Language.Get("FightTreasure_DropRecord", timeString, playerName, playerId, mapId, bossId, itemId, userdata,
|
| | | serverGroupId, playerLevel, lineId);
|
| | | }
|
| | |
|
| | | public static int Compare(DropRecord _lhs, DropRecord _rhs)
|