You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
334 lines
9.6 KiB
334 lines
9.6 KiB
1 month ago
|
// Generated by the protocsstruct compiler. DO NOT EDIT!
|
||
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace ProtoCSClass
|
||
|
{
|
||
|
|
||
|
//
|
||
|
//class desc
|
||
|
//
|
||
|
#region ClassDesc
|
||
|
|
||
|
public class BattleInfoAll
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public CSBattleType Type;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public ulong BattleId;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int MainlandId;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public int MainlandType;
|
||
|
[BinarySerialize.BinSerializeMember(5)]
|
||
|
public BattleRoleInfo RoleA = new BattleRoleInfo();
|
||
|
[BinarySerialize.BinSerializeMember(6)]
|
||
|
public BattleRoleInfo RoleB = new BattleRoleInfo();
|
||
|
[BinarySerialize.BinSerializeMember(7)]
|
||
|
public BattleSideInfo HerosA = new BattleSideInfo();
|
||
|
[BinarySerialize.BinSerializeMember(8)]
|
||
|
public BattleSideInfo HerosB = new BattleSideInfo();
|
||
|
[BinarySerialize.BinSerializeMember(9)]
|
||
|
public BattleEventLog BattleLog = new BattleEventLog();
|
||
|
[BinarySerialize.BinSerializeMember(10)]
|
||
|
public CSBattleResult BattleResult;
|
||
|
[BinarySerialize.BinSerializeMember(11)]
|
||
|
public int Smash;
|
||
|
[BinarySerialize.BinSerializeMember(12)]
|
||
|
public int Invincible;
|
||
|
[BinarySerialize.BinSerializeMember(13)]
|
||
|
public int OverRound;
|
||
|
}
|
||
|
|
||
|
public class BattleRoleInfo
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public DBRoleBase RoleBase = new DBRoleBase();
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public uint GameServerId;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int IconFrameId;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public int RealmId;
|
||
|
}
|
||
|
|
||
|
public class DBRoleBase
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public long Uid;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public string Nick;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int Gender;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public string Icon;
|
||
|
[BinarySerialize.BinSerializeMember(5)]
|
||
|
public int Exp;
|
||
|
[BinarySerialize.BinSerializeMember(6)]
|
||
|
public int Level;
|
||
|
[BinarySerialize.BinSerializeMember(7)]
|
||
|
public int VipLevel;
|
||
|
[BinarySerialize.BinSerializeMember(8)]
|
||
|
public long Chip;
|
||
|
[BinarySerialize.BinSerializeMember(9)]
|
||
|
public long Diamond;
|
||
|
[BinarySerialize.BinSerializeMember(10)]
|
||
|
public long LastLoginTime;
|
||
|
[BinarySerialize.BinSerializeMember(11)]
|
||
|
public long CreateTime;
|
||
|
[BinarySerialize.BinSerializeMember(12)]
|
||
|
public long OnlineTime;
|
||
|
[BinarySerialize.BinSerializeMember(13)]
|
||
|
public int VipExp;
|
||
|
[BinarySerialize.BinSerializeMember(14)]
|
||
|
public string Lang;
|
||
|
[BinarySerialize.BinSerializeMember(15)]
|
||
|
public int HeroExpPool;
|
||
|
[BinarySerialize.BinSerializeMember(16)]
|
||
|
public int RoleCreateComplete;
|
||
|
[BinarySerialize.BinSerializeMember(17)]
|
||
|
public long Power;
|
||
|
}
|
||
|
|
||
|
public class BattleSideInfo
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public List<HeroInfo> List = new List<HeroInfo>();
|
||
|
}
|
||
|
|
||
|
public class HeroInfo
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public DBHero Dbhero = new DBHero();
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public DbTalentData Talent = new DbTalentData();
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public DbWingData Win = new DbWingData();
|
||
|
[BinarySerialize.BinSerializeMember(5)]
|
||
|
public HeroPropView PropView = new HeroPropView();
|
||
|
}
|
||
|
|
||
|
public class DBHero
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int SerialNum;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public int DescId;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int Level;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public DBPeakLevelData LevelData = new DBPeakLevelData();
|
||
|
[BinarySerialize.BinSerializeMember(5)]
|
||
|
public int Exp;
|
||
|
[BinarySerialize.BinSerializeMember(6)]
|
||
|
public List<DBGem> WearGem = new List<DBGem>();
|
||
|
[BinarySerialize.BinSerializeMember(7)]
|
||
|
public int Skin;
|
||
|
[BinarySerialize.BinSerializeMember(8)]
|
||
|
public int Weapon1;
|
||
|
[BinarySerialize.BinSerializeMember(9)]
|
||
|
public List<TypeIDValue32> Suits = new List<TypeIDValue32>();
|
||
|
[BinarySerialize.BinSerializeMember(41)]
|
||
|
public List<DBEquipment> WearEquip = new List<DBEquipment>();
|
||
|
}
|
||
|
|
||
|
public class DBPeakLevelData
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int FreePoint;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public List<IDValue32> AddPoint = new List<IDValue32>();
|
||
|
}
|
||
|
|
||
|
public class IDValue32
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int Id;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public int Value;
|
||
|
}
|
||
|
|
||
|
public class DBGem
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int ConfId;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public List<ID32Value64> BaseProp = new List<ID32Value64>();
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int GemType;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public int Pos;
|
||
|
[BinarySerialize.BinSerializeMember(5)]
|
||
|
public int Quality;
|
||
|
[BinarySerialize.BinSerializeMember(6)]
|
||
|
public int TalengId;
|
||
|
[BinarySerialize.BinSerializeMember(7)]
|
||
|
public int Count;
|
||
|
[BinarySerialize.BinSerializeMember(8)]
|
||
|
public bool NewGet;
|
||
|
[BinarySerialize.BinSerializeMember(9)]
|
||
|
public bool Lock;
|
||
|
[BinarySerialize.BinSerializeMember(10)]
|
||
|
public int EffIdx;
|
||
|
[BinarySerialize.BinSerializeMember(11)]
|
||
|
public int ToPos;
|
||
|
}
|
||
|
|
||
|
public class ID32Value64
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int Id;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public long Value;
|
||
|
}
|
||
|
|
||
|
public class TypeIDValue32
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int Type;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public int Id;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int Value;
|
||
|
}
|
||
|
|
||
|
public class DBEquipment
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int SerialNum;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public int DescId;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int Level;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public List<PropValue> BaseProp = new List<PropValue>();
|
||
|
[BinarySerialize.BinSerializeMember(5)]
|
||
|
public List<PropValue> AddProp = new List<PropValue>();
|
||
|
[BinarySerialize.BinSerializeMember(6)]
|
||
|
public int Score;
|
||
|
[BinarySerialize.BinSerializeMember(8)]
|
||
|
public int Element;
|
||
|
[BinarySerialize.BinSerializeMember(9)]
|
||
|
public bool Lock;
|
||
|
[BinarySerialize.BinSerializeMember(10)]
|
||
|
public int DepotId;
|
||
|
[BinarySerialize.BinSerializeMember(20)]
|
||
|
public int Quality;
|
||
|
[BinarySerialize.BinSerializeMember(21)]
|
||
|
public int Pos;
|
||
|
[BinarySerialize.BinSerializeMember(22)]
|
||
|
public bool NewGet;
|
||
|
}
|
||
|
|
||
|
public class PropValue
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int Id;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public long Value;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public bool Max;
|
||
|
}
|
||
|
|
||
|
public class DbTalentData
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public DbTalentPageData TalentPage = new DbTalentPageData();
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public DbTalentPageData PeakData = new DbTalentPageData();
|
||
|
}
|
||
|
|
||
|
public class DbTalentPageData
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int Point;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public int PageIndex;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public bool IsActive;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public List<IDValue32> Items = new List<IDValue32>();
|
||
|
}
|
||
|
|
||
|
public class DbWingData
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public DbWing Wing = new DbWing();
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public List<DbWingsSkin> WingSkinList = new List<DbWingsSkin>();
|
||
|
}
|
||
|
|
||
|
public class DbWing
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int DescId;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public int LevelId;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int RankId;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public int StarId;
|
||
|
[BinarySerialize.BinSerializeMember(5)]
|
||
|
public int WearId;
|
||
|
[BinarySerialize.BinSerializeMember(7)]
|
||
|
public int SkinId;
|
||
|
[BinarySerialize.BinSerializeMember(8)]
|
||
|
public int RefitId;
|
||
|
}
|
||
|
|
||
|
public class DbWingsSkin
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int DescId;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public int RefitId;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public int SerialNum;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public bool NewGet;
|
||
|
}
|
||
|
|
||
|
public class HeroPropView
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public HeroPropViewOne Knight = new HeroPropViewOne();
|
||
|
}
|
||
|
|
||
|
public class HeroPropViewOne
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public List<ID32Value64> PropVal = new List<ID32Value64>();
|
||
|
}
|
||
|
|
||
|
public class BattleEventLog
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public List<BattleEventLogOne> Logs = new List<BattleEventLogOne>();
|
||
|
}
|
||
|
|
||
|
public class BattleEventLogOne
|
||
|
{
|
||
|
[BinarySerialize.BinSerializeMember(1)]
|
||
|
public int CasterId;
|
||
|
[BinarySerialize.BinSerializeMember(2)]
|
||
|
public int TargetId;
|
||
|
[BinarySerialize.BinSerializeMember(3)]
|
||
|
public BattleEventType EventType;
|
||
|
[BinarySerialize.BinSerializeMember(4)]
|
||
|
public uint ResultBit;
|
||
|
[BinarySerialize.BinSerializeMember(5)]
|
||
|
public long Damage;
|
||
|
[BinarySerialize.BinSerializeMember(6)]
|
||
|
public long Heal;
|
||
|
[BinarySerialize.BinSerializeMember(7)]
|
||
|
public int SpellId;
|
||
|
[BinarySerialize.BinSerializeMember(8)]
|
||
|
public int EffectIdx;
|
||
|
[BinarySerialize.BinSerializeMember(10001)]
|
||
|
public long RandomNum;
|
||
|
}
|
||
|
|
||
|
|
||
|
#endregion
|
||
|
}
|