using System.Collections.Generic; using Thousandto.Plugins.Common; using Thousandto.Code.Logic.Network; namespace MSG_Scuffle { public partial class victoryCountReward : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2 : canReceive = ProtoBufUtils.ReadBoolean(ref readPos); break; case 3 : haveReceive = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt32(1,modelId); ProtoBufUtils.WriteBoolean(2,canReceive); ProtoBufUtils.WriteBoolean(3,haveReceive); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { modelId = 0; canReceive = false; haveReceive = false; } public int modelId; public bool canReceive; public bool haveReceive; } public partial class playerScuffleData : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : roleName = ProtoBufUtils.ReadString(ref readPos); break; case 2 : fightScore = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteString(1,roleName); ProtoBufUtils.WriteInt64(2,fightScore); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleName = null; fightScore = 0; } public string roleName; public long fightScore; } public partial class cardItemInfo : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : itemId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2 : num = ProtoBufUtils.ReadInt64(ref readPos); break; case 3 : bind = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt32(1,itemId); ProtoBufUtils.WriteInt64(2,num); ProtoBufUtils.WriteBoolean(3,bind); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { itemId = 0; num = 0; bind = false; } public int itemId; public long num; public bool bind; } public partial class ResScuffleWeekInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResScuffleWeekInfo(this); } public const uint MsgID = 157101; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: joinCount = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: killNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: weekPoint = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: curPoint = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: weekLv = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: box1state = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: box2state = ProtoBufUtils.ReadInt32(ref readPos); break; case 8: box3state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { joinCount = 0; killNum = 0; weekPoint = 0; curPoint = 0; weekLv = 0; box1state = 0; box2state = 0; box3state = 0; } public int joinCount; public int killNum; public int weekPoint; public int curPoint; public int weekLv; public int box1state; public int box2state; public int box3state; } public partial class ResScuffleBattleReport : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResScuffleBattleReport(this); } public const uint MsgID = 157102; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(datas == null) { datas = new List(); } datas.Add(new playerScuffleData()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); datas[datas.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: myFightScore = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(datas != null) { datas.Clear(); } myFightScore = 0; } public List datas = new List(); public int myFightScore; } public partial class ResScuffleStatement : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResScuffleStatement(this); } public const uint MsgID = 157103; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(datas == null) { datas = new List(); } datas.Add(new playerScuffleData()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); datas[datas.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: newScore = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: oldScore = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: isFirst = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { if(datas != null) { datas.Clear(); } newScore = 0; oldScore = 0; isFirst = false; } public List datas = new List(); public int newScore; public int oldScore; public bool isFirst; } public partial class ResStartMacth : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResStartMacth(this); } public const uint MsgID = 157104; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: endTime = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { endTime = 0; } public int endTime; } public partial class ResMacthTimeOut : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMacthTimeOut(this); } public const uint MsgID = 157105; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { default: break; } } } } public void Clear() { } } public partial class ReqGetDayWinCountReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157201; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,boxNo); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { boxNo = 0; } public int boxNo; } public partial class ReqWeekDivisionReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157202; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqGetScufflePanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157203; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqStartMacth : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157204; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,cloneModelId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { cloneModelId = 0; } public int cloneModelId; } public partial class ReqCancelMacth : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157205; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class MatchParam : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : roleId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : level = ProtoBufUtils.ReadInt32(ref readPos); break; case 3 : roleName = ProtoBufUtils.ReadString(ref readPos); break; case 4 : curMF = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : curLevel = ProtoBufUtils.ReadInt32(ref readPos); break; case 6 : curPoint = ProtoBufUtils.ReadInt32(ref readPos); break; case 7 : fightPower = ProtoBufUtils.ReadInt64(ref readPos); break; case 8 : teamName = ProtoBufUtils.ReadString(ref readPos); break; case 9 : career = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt64(1,roleId); ProtoBufUtils.WriteInt32(2,level); ProtoBufUtils.WriteString(3,roleName); ProtoBufUtils.WriteInt32(4,curMF); ProtoBufUtils.WriteInt32(5,curLevel); ProtoBufUtils.WriteInt32(6,curPoint); ProtoBufUtils.WriteInt64(7,fightPower); ProtoBufUtils.WriteString(8,teamName); ProtoBufUtils.WriteInt32(9,career); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleId = 0; level = 0; roleName = null; curMF = 0; curLevel = 0; curPoint = 0; fightPower = 0; teamName = null; career = 0; } public long roleId; public int level; public string roleName; public int curMF; public int curLevel; public int curPoint; public long fightPower; public string teamName; public int career; } public partial class G2PReqCrossMatch : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PReqCrossMatch(this); } public const uint MsgID = 157301; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: type = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: if(roleId == null) { roleId = new List(); } roleId.Add(new MatchParam()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); roleId[roleId.Count - 1].ReadMessage(ref readPos, totalCount); break; case 4: plat = ProtoBufUtils.ReadString(ref readPos); break; case 5: sid = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: birthGroup = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: isTeam = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { modelId = 0; type = 0; if(roleId != null) { roleId.Clear(); } plat = null; sid = 0; birthGroup = 0; isTeam = 0; } public int modelId; public int type; public List roleId = new List(); public string plat; public int sid; public int birthGroup; public int isTeam; } public partial class MatchRole : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : roleId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : roleName = ProtoBufUtils.ReadString(ref readPos); break; case 3 : career = ProtoBufUtils.ReadInt32(ref readPos); break; case 4 : teamName = ProtoBufUtils.ReadString(ref readPos); break; case 5 : serverName = ProtoBufUtils.ReadString(ref readPos); break; case 6 : curMF = ProtoBufUtils.ReadInt32(ref readPos); break; case 7 : curLevel = ProtoBufUtils.ReadInt32(ref readPos); break; case 8 : fightPower = ProtoBufUtils.ReadInt64(ref readPos); break; case 9 : camp = ProtoBufUtils.ReadInt32(ref readPos); break; case 10 : curPoint = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt64(1,roleId); ProtoBufUtils.WriteString(2,roleName); ProtoBufUtils.WriteInt32(3,career); ProtoBufUtils.WriteString(4,teamName); ProtoBufUtils.WriteString(5,serverName); ProtoBufUtils.WriteInt32(6,curMF); ProtoBufUtils.WriteInt32(7,curLevel); ProtoBufUtils.WriteInt64(8,fightPower); ProtoBufUtils.WriteInt32(9,camp); ProtoBufUtils.WriteInt32(10,curPoint); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleId = 0; roleName = null; career = 0; teamName = null; serverName = null; curMF = 0; curLevel = 0; fightPower = 0; camp = 0; curPoint = 0; } public long roleId; public string roleName; public int career; public string teamName; public string serverName; public int curMF; public int curLevel; public long fightPower; public int camp; public int curPoint; } public partial class P2GResBattleTeamMatchSuccess : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GResBattleTeamMatchSuccess(this); } public const uint MsgID = 157406; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(teams == null) { teams = new List(); } teams.Add(new MatchRole()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); teams[teams.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(teams != null) { teams.Clear(); } } public List teams = new List(); } public partial class G2PReqCrossMatchOff : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PReqCrossMatchOff(this); } public const uint MsgID = 157302; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: roleId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2: isTeam = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; isTeam = false; } public long roleId; public bool isTeam; } public partial class P2GResCrossleMatchSuccess : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GResCrossleMatchSuccess(this); } public const uint MsgID = 157401; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: if(roleId == null) { roleId = new List(); } roleId.Add(ProtoBufUtils.ReadInt64(ref readPos)); break; case 3: roomId = ProtoBufUtils.ReadInt64(ref readPos); break; case 4: time = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { modelId = 0; if(roleId != null) { roleId.Clear(); } roomId = 0; time = 0; } public int modelId; public List roleId = new List(); public long roomId; public long time; } public partial class P2GResCrossleMatchFailure : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GResCrossleMatchFailure(this); } public const uint MsgID = 157402; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: roleId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { modelId = 0; roleId = 0; } public int modelId; public long roleId; } public partial class F2GScuffleCloneEnd : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GScuffleCloneEnd(this); } public const uint MsgID = 157403; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: kill = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: die = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: points = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: isPromote = ProtoBufUtils.ReadBoolean(ref readPos); break; case 5: playerId = ProtoBufUtils.ReadInt64(ref readPos); break; case 6: type = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { kill = 0; die = 0; points = 0; isPromote = false; playerId = 0; type = 0; } public int kill; public int die; public int points; public bool isPromote; public long playerId; public int type; } public partial class F2GKingFightCloneEnd : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GKingFightCloneEnd(this); } public const uint MsgID = 157405; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: playerId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2: isWin = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; isWin = false; } public long playerId; public bool isWin; } public partial class F2GKingUnionCloneEnd : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GKingUnionCloneEnd(this); } public const uint MsgID = 157408; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: playerId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2: isWin = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; isWin = false; } public long playerId; public bool isWin; } public partial class KingFightRank : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : id = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : name = ProtoBufUtils.ReadString(ref readPos); break; case 3 : career = ProtoBufUtils.ReadInt32(ref readPos); break; case 4 : fightPower = ProtoBufUtils.ReadInt64(ref readPos); break; case 5 : area = ProtoBufUtils.ReadString(ref readPos); break; case 6 : score = ProtoBufUtils.ReadInt32(ref readPos); break; case 7 : changeJobLv = ProtoBufUtils.ReadInt32(ref readPos); break; case 8 : serverplat = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt64(1,id); ProtoBufUtils.WriteString(2,name); ProtoBufUtils.WriteInt32(3,career); ProtoBufUtils.WriteInt64(4,fightPower); ProtoBufUtils.WriteString(5,area); ProtoBufUtils.WriteInt32(6,score); ProtoBufUtils.WriteInt32(7,changeJobLv); ProtoBufUtils.WriteString(8,serverplat); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { id = 0; name = null; career = 0; fightPower = 0; area = null; score = 0; changeJobLv = 0; serverplat = null; } public long id; public string name; public int career; public long fightPower; public string area; public int score; public int changeJobLv; public string serverplat; } public partial class P2GResKingFightCrossRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GResKingFightCrossRank(this); } public const uint MsgID = 157404; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(list == null) { list = new List(); } list.Add(new KingFightRank()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); list[list.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(list != null) { list.Clear(); } } public List list = new List(); } public partial class F2PReqKingFightEnd : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2PReqKingFightEnd(this); } public const uint MsgID = 157305; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(list == null) { list = new List(); } list.Add(new KingFightRank()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); list[list.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(list != null) { list.Clear(); } } public List list = new List(); } public partial class BattleTeamRank : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : battleTeamId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : teamName = ProtoBufUtils.ReadString(ref readPos); break; case 3 : leaderName = ProtoBufUtils.ReadString(ref readPos); break; case 4 : score = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : fightPower = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt64(1,battleTeamId); ProtoBufUtils.WriteString(2,teamName); ProtoBufUtils.WriteString(3,leaderName); ProtoBufUtils.WriteInt32(4,score); ProtoBufUtils.WriteInt64(5,fightPower); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { battleTeamId = 0; teamName = null; leaderName = null; score = 0; fightPower = 0; } public long battleTeamId; public string teamName; public string leaderName; public int score; public long fightPower; } public partial class G2PReqCrossBattleTeamRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PReqCrossBattleTeamRank(this); } public const uint MsgID = 157306; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(ranks == null) { ranks = new List(); } ranks.Add(new BattleTeamRank()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); ranks[ranks.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(ranks != null) { ranks.Clear(); } } public List ranks = new List(); } public partial class G2PReqBattleTeamRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PReqBattleTeamRank(this); } public const uint MsgID = 157307; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { default: break; } } } } public void Clear() { } } public partial class P2GResCrossBattleTeamRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GResCrossBattleTeamRank(this); } public const uint MsgID = 157407; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(ranks == null) { ranks = new List(); } ranks.Add(new BattleTeamRank()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); ranks[ranks.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(ranks != null) { ranks.Clear(); } } public List ranks = new List(); } public partial class ReqEnroll : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157208; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqCancelEnroll : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157209; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqEnterScuffileKing : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157210; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteBoolean(1,isEnter); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { isEnter = false; } public bool isEnter; } public partial class G2PReqEnterCopy : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PReqEnterCopy(this); } public const uint MsgID = 157303; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: roleId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; } public long roleId; } public partial class ReqEnterNext : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157211; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ResEnroll : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResEnroll(this); } public const uint MsgID = 157107; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: endTime = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { endTime = 0; } public int endTime; } public partial class ResReadyEnter : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResReadyEnter(this); } public const uint MsgID = 157108; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: enterTime = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { enterTime = 0; } public int enterTime; } public partial class PlayerState : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : roleId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : name = ProtoBufUtils.ReadString(ref readPos); break; case 3 : isdie = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt64(1,roleId); ProtoBufUtils.WriteString(2,name); ProtoBufUtils.WriteBoolean(3,isdie); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleId = 0; name = null; isdie = false; } public long roleId; public string name; public bool isdie; } public partial class ResCopyMapInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResCopyMapInfo(this); } public const uint MsgID = 157109; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: curRing = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: if(list == null) { list = new List(); } list.Add(new PlayerState()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); list[list.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { curRing = 0; if(list != null) { list.Clear(); } } public int curRing; public List list = new List(); } public partial class ResOverRing : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResOverRing(this); } public const uint MsgID = 157110; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: kill = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: damage = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: isVictory = ProtoBufUtils.ReadBoolean(ref readPos); break; case 4: if(oneReward == null) { oneReward = new List(); } oneReward.Add(new cardItemInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); oneReward[oneReward.Count - 1].ReadMessage(ref readPos, totalCount); break; case 5: score = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: time = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: curRing = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { kill = 0; damage = 0; isVictory = false; if(oneReward != null) { oneReward.Clear(); } score = 0; time = 0; curRing = 0; } public int kill; public int damage; public bool isVictory; public List oneReward = new List(); public int score; public int time; public int curRing; } public partial class ResTimeState : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResTimeState(this); } public const uint MsgID = 157111; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: type = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: time = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { type = 0; time = 0; } public int type; public int time; } public partial class ReqOpenKingFight : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157212; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqBuyKingFightNum : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157213; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,num); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { num = 0; } public int num; } public partial class ReqFeatsReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157214; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,feats); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { feats = 0; } public int feats; } public partial class ReqCrossServerRank : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157215; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqDailyReceive : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157216; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqDailyNumReceive : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157217; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,num); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { num = 0; } public int num; } public partial class Box : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : id = ProtoBufUtils.ReadInt32(ref readPos); break; case 2 : state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt32(1,id); ProtoBufUtils.WriteInt32(2,state); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { id = 0; state = 0; } public int id; public int state; } public partial class ResOpenKingFights : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResOpenKingFights(this); } public const uint MsgID = 157112; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: score = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: feats = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: useToday = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: totalToday = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: if(boxs == null) { boxs = new List(); } boxs.Add(new Box()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); boxs[boxs.Count - 1].ReadMessage(ref readPos, totalCount); break; case 6: completeNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: victoryNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 8: canBuyNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 9: if(receiveFeats == null) { receiveFeats = new List(); } receiveFeats.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; case 10: isReceiveLv = ProtoBufUtils.ReadBoolean(ref readPos); break; case 11: overTime = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { score = 0; feats = 0; useToday = 0; totalToday = 0; if(boxs != null) { boxs.Clear(); } completeNum = 0; victoryNum = 0; canBuyNum = 0; if(receiveFeats != null) { receiveFeats.Clear(); } isReceiveLv = false; overTime = 0; } public int score; public int feats; public int useToday; public int totalToday; public List boxs = new List(); public int completeNum; public int victoryNum; public int canBuyNum; public List receiveFeats = new List(); public bool isReceiveLv; public int overTime; } public partial class ResBuyKingFightNum : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBuyKingFightNum(this); } public const uint MsgID = 157113; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: num = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: totalToday = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { num = 0; totalToday = 0; } public int num; public int totalToday; } public partial class ResFeatsReward : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResFeatsReward(this); } public const uint MsgID = 157114; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: receiveFeats = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { receiveFeats = 0; } public int receiveFeats; } public partial class ResCrossServerRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResCrossServerRank(this); } public const uint MsgID = 157115; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(rank == null) { rank = new List(); } rank.Add(new KingFightRank()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); rank[rank.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: myRank = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: myscore = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(rank != null) { rank.Clear(); } myRank = 0; myscore = 0; } public List rank = new List(); public int myRank; public int myscore; } public partial class ResDailyReceive : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDailyReceive(this); } public const uint MsgID = 157116; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: state = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { state = false; } public bool state; } public partial class ResDailyNumReceive : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDailyNumReceive(this); } public const uint MsgID = 157117; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: num = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { num = 0; } public int num; } public partial class ResKingFightcloneEnd : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResKingFightcloneEnd(this); } public const uint MsgID = 157118; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: isWin = ProtoBufUtils.ReadBoolean(ref readPos); break; case 2: curSocre = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: addSocre = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: if(items == null) { items = new List(); } items.Add(new cardItemInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); items[items.Count - 1].ReadMessage(ref readPos, totalCount); break; case 5: name = ProtoBufUtils.ReadString(ref readPos); break; case 6: remainTime = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { isWin = false; curSocre = 0; addSocre = 0; if(items != null) { items.Clear(); } name = null; remainTime = 0; } public bool isWin; public int curSocre; public int addSocre; public List items = new List(); public string name; public int remainTime; } public partial class ReqCreateBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157218; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteString(1,name); ProtoBufUtils.WriteInt32(2,icon); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { name = null; icon = 0; } public string name; public int icon; } public partial class ReqInvitedJoinBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157219; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt64(1,roleId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { roleId = 0; } public long roleId; } public partial class ReqTransferLeader : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157220; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt64(1,roleId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { roleId = 0; } public long roleId; } public partial class ReqKickedOutBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157221; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt64(1,roleId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { roleId = 0; } public long roleId; } public partial class ReqDissolutionBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157222; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqQuitBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157223; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqApplyJoinBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157224; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt64(1,battleTeamId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { battleTeamId = 0; } public long battleTeamId; } public partial class ReqBattleTeamApplyMessage : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157225; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt64(1,roleId); ProtoBufUtils.WriteBoolean(2,isAgree); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { roleId = 0; isAgree = false; } public long roleId; public bool isAgree; } public partial class ReqPlayerApplyMessage : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157226; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt64(1,battleTeamId); ProtoBufUtils.WriteBoolean(2,isAgree); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { battleTeamId = 0; isAgree = false; } public long battleTeamId; public bool isAgree; } public partial class ReqOpenBattleTeamApplyList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157227; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqOpenBattleTeamList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157228; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,page); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { page = 0; } public int page; } public partial class ReqBattleTeamChangeName : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157229; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteString(1,name); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { name = null; } public string name; } public partial class ReqReceiveRawardBox : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157230; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,num); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { num = 0; } public int num; } public partial class ReqOpenBattleTeamPannel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157231; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqFriendList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157232; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,type); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { type = 0; } public int type; } public partial class ReqBuyKingUnion : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157233; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,count); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { count = 0; } public int count; } public partial class ReqReceiveKingUnionRawarBox : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157234; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,feats); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { feats = 0; } public int feats; } public partial class ReqBattleTeamRank : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157235; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class ReqBattleTeamMacth : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 157236; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { } } public partial class BattleTeamMember : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : roleId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : name = ProtoBufUtils.ReadString(ref readPos); break; case 3 : career = ProtoBufUtils.ReadInt32(ref readPos); break; case 4 : lv = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : fightPower = ProtoBufUtils.ReadInt64(ref readPos); break; case 6 : isOnline = ProtoBufUtils.ReadBoolean(ref readPos); break; case 7 : clothesEquipId = ProtoBufUtils.ReadInt32(ref readPos); break; case 8 : weaponsEquipId = ProtoBufUtils.ReadInt32(ref readPos); break; case 9 : clothesStar = ProtoBufUtils.ReadInt32(ref readPos); break; case 10 : weaponStar = ProtoBufUtils.ReadInt32(ref readPos); break; case 11 : grade = ProtoBufUtils.ReadInt32(ref readPos); break; case 12 : fashionBodyId = ProtoBufUtils.ReadInt32(ref readPos); break; case 13 : fashionWeaponId = ProtoBufUtils.ReadInt32(ref readPos); break; case 14 : wingId = ProtoBufUtils.ReadInt32(ref readPos); break; case 15 : fashionLayer = ProtoBufUtils.ReadInt32(ref readPos); break; case 16 : euiqpSealLevel = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt64(1,roleId); ProtoBufUtils.WriteString(2,name); ProtoBufUtils.WriteInt32(3,career); ProtoBufUtils.WriteInt32(4,lv); ProtoBufUtils.WriteInt64(5,fightPower); ProtoBufUtils.WriteBoolean(6,isOnline); ProtoBufUtils.WriteInt32(7,clothesEquipId); ProtoBufUtils.WriteInt32(8,weaponsEquipId); ProtoBufUtils.WriteInt32(9,clothesStar); ProtoBufUtils.WriteInt32(10,weaponStar); ProtoBufUtils.WriteInt32(11,grade); ProtoBufUtils.WriteInt32(12,fashionBodyId); ProtoBufUtils.WriteInt32(13,fashionWeaponId); ProtoBufUtils.WriteInt32(14,wingId); ProtoBufUtils.WriteInt32(15,fashionLayer); ProtoBufUtils.WriteInt32(16,euiqpSealLevel); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleId = 0; name = null; career = 0; lv = 0; fightPower = 0; isOnline = false; clothesEquipId = 0; weaponsEquipId = 0; clothesStar = 0; weaponStar = 0; grade = 0; fashionBodyId = 0; fashionWeaponId = 0; wingId = 0; fashionLayer = 0; euiqpSealLevel = 0; } public long roleId; public string name; public int career; public int lv; public long fightPower; public bool isOnline; public int clothesEquipId; public int weaponsEquipId; public int clothesStar; public int weaponStar; public int grade; public int fashionBodyId; public int fashionWeaponId; public int wingId; public int fashionLayer; public int euiqpSealLevel; } public partial class ApplyBattleTeam : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : battleTeamId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : teamName = ProtoBufUtils.ReadString(ref readPos); break; case 3 : leaderName = ProtoBufUtils.ReadString(ref readPos); break; case 4 : score = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : num = ProtoBufUtils.ReadInt32(ref readPos); break; case 6 : isApply = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt64(1,battleTeamId); ProtoBufUtils.WriteString(2,teamName); ProtoBufUtils.WriteString(3,leaderName); ProtoBufUtils.WriteInt32(4,score); ProtoBufUtils.WriteInt32(5,num); ProtoBufUtils.WriteBoolean(6,isApply); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { battleTeamId = 0; teamName = null; leaderName = null; score = 0; num = 0; isApply = false; } public long battleTeamId; public string teamName; public string leaderName; public int score; public int num; public bool isApply; } public partial class ResCreateBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResCreateBattleTeam(this); } public const uint MsgID = 157119; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { state = 0; } public int state; } public partial class ResInvitedJoinBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResInvitedJoinBattleTeam(this); } public const uint MsgID = 157120; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: battleTeamId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2: teamName = ProtoBufUtils.ReadString(ref readPos); break; case 3: playerName = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { battleTeamId = 0; teamName = null; playerName = null; } public long battleTeamId; public string teamName; public string playerName; } public partial class ResTransferLeader : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResTransferLeader(this); } public const uint MsgID = 157121; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { state = 0; } public int state; } public partial class ResKickedOutBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResKickedOutBattleTeam(this); } public const uint MsgID = 157122; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { state = 0; } public int state; } public partial class ResDissolutionBattleTeamNotice : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDissolutionBattleTeamNotice(this); } public const uint MsgID = 157124; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { default: break; } } } } public void Clear() { } } public partial class ResQuitBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResQuitBattleTeam(this); } public const uint MsgID = 157125; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { state = 0; } public int state; } public partial class ResSynBattleTeamInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResSynBattleTeamInfo(this); } public const uint MsgID = 157126; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(members == null) { members = new List(); } members.Add(new BattleTeamMember()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); members[members.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: icon = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: name = ProtoBufUtils.ReadString(ref readPos); break; case 4: score = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: leader = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { if(members != null) { members.Clear(); } icon = 0; name = null; score = 0; leader = 0; } public List members = new List(); public int icon; public string name; public int score; public long leader; } public partial class ResApplyJoinBattleTeam : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResApplyJoinBattleTeam(this); } public const uint MsgID = 157127; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: state = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: battleTeamId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { state = 0; battleTeamId = 0; } public int state; public long battleTeamId; } public partial class ResApplyJoinBattleTeamNotice : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResApplyJoinBattleTeamNotice(this); } public const uint MsgID = 157132; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { default: break; } } } } public void Clear() { } } public partial class ResOpenBattleTeamApplyList : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResOpenBattleTeamApplyList(this); } public const uint MsgID = 157128; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(members == null) { members = new List(); } members.Add(new BattleTeamMember()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); members[members.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(members != null) { members.Clear(); } } public List members = new List(); } public partial class ResOpenBattleTeamList : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResOpenBattleTeamList(this); } public const uint MsgID = 157129; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(teamlist == null) { teamlist = new List(); } teamlist.Add(new ApplyBattleTeam()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); teamlist[teamlist.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: page = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: totalPage = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(teamlist != null) { teamlist.Clear(); } page = 0; totalPage = 0; } public List teamlist = new List(); public int page; public int totalPage; } public partial class ResReceiveRawardBox : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResReceiveRawardBox(this); } public const uint MsgID = 157130; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: state = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: count = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { state = 0; count = 0; } public int state; public int count; } public partial class ResOpenBattleTeamPannel : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResOpenBattleTeamPannel(this); } public const uint MsgID = 157131; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(boxs == null) { boxs = new List(); } boxs.Add(new Box()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); boxs[boxs.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: victoryNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: completeNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: feats = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: remaincount = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: canBuyNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: if(receiveFeats == null) { receiveFeats = new List(); } receiveFeats.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; case 11: overTime = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(boxs != null) { boxs.Clear(); } victoryNum = 0; completeNum = 0; feats = 0; remaincount = 0; canBuyNum = 0; if(receiveFeats != null) { receiveFeats.Clear(); } overTime = 0; } public List boxs = new List(); public int victoryNum; public int completeNum; public int feats; public int remaincount; public int canBuyNum; public List receiveFeats = new List(); public int overTime; } public partial class ResMacthRole : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMacthRole(this); } public const uint MsgID = 157133; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(roles == null) { roles = new List(); } roles.Add(new MatchRole()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); roles[roles.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(roles != null) { roles.Clear(); } } public List roles = new List(); } public partial class SimpleFriendInfo : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : roleId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : name = ProtoBufUtils.ReadString(ref readPos); break; case 3 : career = ProtoBufUtils.ReadInt32(ref readPos); break; case 4 : lv = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : ph = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteInt64(1,roleId); ProtoBufUtils.WriteString(2,name); ProtoBufUtils.WriteInt32(3,career); ProtoBufUtils.WriteInt32(4,lv); ProtoBufUtils.WriteInt32(5,ph); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleId = 0; name = null; career = 0; lv = 0; ph = 0; } public long roleId; public string name; public int career; public int lv; public int ph; } public partial class ResFriendList : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResFriendList(this); } public const uint MsgID = 157134; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(list == null) { list = new List(); } list.Add(new SimpleFriendInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); list[list.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(list != null) { list.Clear(); } } public List list = new List(); } public partial class ResBuyKingUnion : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBuyKingUnion(this); } public const uint MsgID = 157135; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: num = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: totalToday = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { num = 0; totalToday = 0; } public int num; public int totalToday; } public partial class ResReceiveKingUnionRawarBox : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResReceiveKingUnionRawarBox(this); } public const uint MsgID = 157136; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: receiveFeats = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { receiveFeats = 0; } public int receiveFeats; } public partial class ResBattleTeamRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBattleTeamRank(this); } public const uint MsgID = 157137; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: if(ranks == null) { ranks = new List(); } ranks.Add(new BattleTeamRank()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); ranks[ranks.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: myRank = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(ranks != null) { ranks.Clear(); } myRank = 0; } public List ranks = new List(); public int myRank; } public partial class ResBattleTeamMacth : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBattleTeamMacth(this); } public const uint MsgID = 157138; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { default: break; } } } } public void Clear() { } } public partial class BattleTeamCloneRole : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1 : name = ProtoBufUtils.ReadString(ref readPos); break; case 2 : battleTeamName = ProtoBufUtils.ReadString(ref readPos); break; case 3 : fightPower = ProtoBufUtils.ReadInt64(ref readPos); break; case 4 : level = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : career = ProtoBufUtils.ReadInt32(ref readPos); break; case 6 : changeJobLv = ProtoBufUtils.ReadInt32(ref readPos); break; case 7 : reputation = ProtoBufUtils.ReadInt32(ref readPos); break; case 8 : score = ProtoBufUtils.ReadInt32(ref readPos); break; case 9 : isMvp = ProtoBufUtils.ReadBoolean(ref readPos); break; case 10 : roleId = ProtoBufUtils.ReadInt64(ref readPos); break; case 11 : addReputation = ProtoBufUtils.ReadInt32(ref readPos); break; case 12 : addScore = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.WriteString(1,name); ProtoBufUtils.WriteString(2,battleTeamName); ProtoBufUtils.WriteInt64(3,fightPower); ProtoBufUtils.WriteInt32(4,level); ProtoBufUtils.WriteInt32(5,career); ProtoBufUtils.WriteInt32(6,changeJobLv); ProtoBufUtils.WriteInt32(7,reputation); ProtoBufUtils.WriteInt32(8,score); ProtoBufUtils.WriteBoolean(9,isMvp); ProtoBufUtils.WriteInt64(10,roleId); ProtoBufUtils.WriteInt32(11,addReputation); ProtoBufUtils.WriteInt32(12,addScore); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { name = null; battleTeamName = null; fightPower = 0; level = 0; career = 0; changeJobLv = 0; reputation = 0; score = 0; isMvp = false; roleId = 0; addReputation = 0; addScore = 0; } public string name; public string battleTeamName; public long fightPower; public int level; public int career; public int changeJobLv; public int reputation; public int score; public bool isMvp; public long roleId; public int addReputation; public int addScore; } public partial class ResBattleTeamCloneEnd : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBattleTeamCloneEnd(this); } public const uint MsgID = 157139; public void Send(){} public void ReadMessage(byte[] bytes) { lock (ProtoBufUtils.ReadLocker) { Clear(); int endIndex = bytes.Length - 1; int readPos = 0; int totalCount = 0; ProtoBufUtils.InitReadData(bytes, ref readPos); while (readPos <= endIndex) { int curType = bytes[readPos] & 7; int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { case 1: isVictory = ProtoBufUtils.ReadBoolean(ref readPos); break; case 2: if(my == null) { my = new List(); } my.Add(new BattleTeamCloneRole()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); my[my.Count - 1].ReadMessage(ref readPos, totalCount); break; case 3: if(enemy == null) { enemy = new List(); } enemy.Add(new BattleTeamCloneRole()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); enemy[enemy.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { isVictory = false; if(my != null) { my.Clear(); } if(enemy != null) { enemy.Clear(); } } public bool isVictory; public List my = new List(); public List enemy = new List(); } public partial class ResKingUnionCloneInfo : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible { public void Send(){} public void Excute(){} public void ReadMessage(ref int readPos, int totalCount) { int endIndex = totalCount + readPos - 1; while (readPos <= endIndex) { int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos); switch (fieldNumber) { default: break; } } } public int WriteMessage(int fieldNumber) { ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String); int subItemInfoId = ProtoBufUtils.GetSubItemInfoId(); ProtoBufUtils.SetEmptyLength(subItemInfoId); ProtoBufUtils.SetVBeginIndex(subItemInfoId); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { } } }