using System.Collections.Generic; using Thousandto.Plugins.Common; using Thousandto.Code.Logic.Network; namespace MSG_CrossServer { public partial class G2FReqCrossUseItem : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2FReqCrossUseItem(this); } public const uint MsgID = 300301; 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: itemId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 2: num = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: roleId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 4: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: cost = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { itemId = 0; num = 0; roleId = 0; modelId = 0; cost = 0; } public ulong itemId; public int num; public ulong roleId; public int modelId; public int cost; } public partial class F2GResCrossUseItem : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GResCrossUseItem(this); } public const uint MsgID = 300401; 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: itemId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 2: num = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: roleId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 4: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: cost = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { itemId = 0; num = 0; roleId = 0; modelId = 0; cost = 0; state = 0; } public ulong itemId; public int num; public ulong roleId; public int modelId; public int cost; public int state; } public partial class F2GResCrossDropCoin : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GResCrossDropCoin(this); } public const uint MsgID = 300402; 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: coinType = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: coinNum = ProtoBufUtils.ReadFixed64(ref readPos); break; case 3: roleId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 4: actionId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 5: cloneModelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: reason = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { coinType = 0; coinNum = 0; roleId = 0; actionId = 0; cloneModelId = 0; reason = 0; } public int coinType; public ulong coinNum; public ulong roleId; public ulong actionId; public int cloneModelId; public int reason; } public partial class dropItemInfo : 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 : itemModelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2 : num = ProtoBufUtils.ReadFixed64(ref readPos); break; case 3 : isBind = ProtoBufUtils.ReadBoolean(ref readPos); break; case 4 : notice = 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,itemModelId); ProtoBufUtils.WriteFixed64(2,num); ProtoBufUtils.WriteBoolean(3,isBind); ProtoBufUtils.WriteBoolean(4,notice); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { itemModelId = 0; num = 0; isBind = false; notice = false; } public int itemModelId; public ulong num; public bool isBind; public bool notice; } public partial class F2GResCrossDropItem : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GResCrossDropItem(this); } public const uint MsgID = 300403; 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(itemList == null) { itemList = new List(); } itemList.Add(new dropItemInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); itemList[itemList.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: actionId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 3: roleId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 4: isnotice = ProtoBufUtils.ReadBoolean(ref readPos); break; case 5: monsterModelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(itemList != null) { itemList.Clear(); } actionId = 0; roleId = 0; isnotice = false; monsterModelId = 0; modelId = 0; } public List itemList = new List(); public ulong actionId; public ulong roleId; public bool isnotice; public int monsterModelId; public int modelId; } public partial class G2FReqCrossDropItemString : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2FReqCrossDropItemString(this); } public const uint MsgID = 300303; 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.ReadFixed64(ref readPos); break; case 2: strmess = ProtoBufUtils.ReadString(ref readPos); break; case 3: monsterModelId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; strmess = null; monsterModelId = 0; } public ulong roleId; public string strmess; public int monsterModelId; } public partial class G2PReqChatMess : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PReqChatMess(this); } public const uint MsgID = 300304; 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: chatData = ProtoBufUtils.ReadBytes(ref readPos); break; default: break; } } } } public void Clear() { chatData = null; } public byte[] chatData; } public partial class P2GResChatMess : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GResChatMess(this); } public const uint MsgID = 300404; 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: chatData = ProtoBufUtils.ReadBytes(ref readPos); break; default: break; } } } } public void Clear() { chatData = null; } public byte[] chatData; } public partial class G2FSynPlayerOut : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2FSynPlayerOut(this); } public const uint MsgID = 300305; 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.ReadFixed64(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; } public ulong roleId; } public partial class fightEndScore : 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.ReadFixed64(ref readPos); break; case 2 : isSuccess = ProtoBufUtils.ReadBoolean(ref readPos); break; case 3 : score = ProtoBufUtils.ReadInt64(ref readPos); break; case 4 : time = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : plat_sid = ProtoBufUtils.ReadString(ref readPos); break; case 6 : sortIndex = ProtoBufUtils.ReadInt32(ref readPos); break; case 7 : starNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 8 : rewardtime = 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.WriteFixed64(1,roleId); ProtoBufUtils.WriteBoolean(2,isSuccess); ProtoBufUtils.WriteInt64(3,score); ProtoBufUtils.WriteInt32(4,time); ProtoBufUtils.WriteString(5,plat_sid); ProtoBufUtils.WriteInt32(6,sortIndex); ProtoBufUtils.WriteInt32(7,starNum); ProtoBufUtils.WriteInt32(8,rewardtime); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleId = 0; isSuccess = false; score = 0; time = 0; plat_sid = null; sortIndex = 0; starNum = 0; rewardtime = 0; } public ulong roleId; public bool isSuccess; public long score; public int time; public string plat_sid; public int sortIndex; public int starNum; public int rewardtime; } public partial class F2GFightEnd : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GFightEnd(this); } public const uint MsgID = 300405; 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(roleInfo == null) { roleInfo = new List(); } roleInfo.Add(new fightEndScore()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); roleInfo[roleInfo.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: fightId = ProtoBufUtils.ReadFixed64(ref readPos); break; default: break; } } } } public void Clear() { if(roleInfo != null) { roleInfo.Clear(); } modelId = 0; fightId = 0; } public List roleInfo = new List(); public int modelId; public ulong fightId; } public partial class F2GCloneClose : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GCloneClose(this); } public const uint MsgID = 300407; 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: fightId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 3: if(roleIds == null) { roleIds = new List(); } roleIds.Add(ProtoBufUtils.ReadFixed64(ref readPos)); break; default: break; } } } } public void Clear() { modelId = 0; fightId = 0; if(roleIds != null) { roleIds.Clear(); } } public int modelId; public ulong fightId; public List roleIds = new List(); } public partial class F2PCloneRewardNotGet : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2PCloneRewardNotGet(this); } public const uint MsgID = 300309; 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(roleInfo == null) { roleInfo = new List(); } roleInfo.Add(new fightEndScore()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); roleInfo[roleInfo.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: fightId = ProtoBufUtils.ReadFixed64(ref readPos); break; default: break; } } } } public void Clear() { if(roleInfo != null) { roleInfo.Clear(); } modelId = 0; fightId = 0; } public List roleInfo = new List(); public int modelId; public ulong fightId; } public partial class F2GCloneEnterAddOne : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GCloneEnterAddOne(this); } public const uint MsgID = 300410; 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(roleIds == null) { roleIds = new List(); } roleIds.Add(ProtoBufUtils.ReadFixed64(ref readPos)); break; case 2: if(scriptId == null) { scriptId = new List(); } scriptId.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; case 3: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: fightId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 5: value = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { if(roleIds != null) { roleIds.Clear(); } if(scriptId != null) { scriptId.Clear(); } modelId = 0; fightId = 0; value = 0; } public List roleIds = new List(); public List scriptId = new List(); public int modelId; public ulong fightId; public long value; } public partial class G2FReqHeart : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2FReqHeart(this); } public const uint MsgID = 300311; 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 F2GResHeart : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GResHeart(this); } public const uint MsgID = 300411; 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 G2F_UpMorale : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2F_UpMorale(this); } public const uint MsgID = 300312; 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.ReadFixed64(ref readPos); break; case 2: type = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; type = 0; } public ulong roleId; public int type; } public partial class G2FRelive : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2FRelive(this); } public const uint MsgID = 300313; 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.ReadFixed64(ref readPos); break; case 2: type = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; type = 0; } public ulong roleId; public int type; } public partial class G2FGMdeal : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2FGMdeal(this); } public const uint MsgID = 300314; 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.ReadFixed64(ref readPos); break; case 2: cmd = ProtoBufUtils.ReadString(ref readPos); break; case 3: para = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; cmd = null; para = null; } public ulong roleId; public string cmd; public string para; } public partial class P2GNoticeEvent : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GNoticeEvent(this); } public const uint MsgID = 300415; 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: cloneModelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: cmd = ProtoBufUtils.ReadString(ref readPos); break; case 3: para = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { cloneModelId = 0; cmd = null; para = null; } public int cloneModelId; public string cmd; public string para; } public partial class F2GTaskAction : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GTaskAction(this); } public const uint MsgID = 300416; 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: type = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: num = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: sign = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; type = 0; modelId = 0; num = 0; sign = 0; } public long roleId; public int type; public int modelId; public int num; public long sign; } public partial class F2GReliveRes : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GReliveRes(this); } public const uint MsgID = 300417; 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.ReadUint64(ref readPos); break; case 2: dec = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; dec = false; } public ulong roleId; public bool dec; } public partial class F2GResourceFindChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GResourceFindChange(this); } public const uint MsgID = 300418; 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: type = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; type = 0; } public long roleId; public int type; } public partial class G2FReqCloneFightInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2FReqCloneFightInfo(this); } public const uint MsgID = 300318; 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: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: fightId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; modelId = 0; fightId = 0; } public long roleId; public int modelId; public long fightId; } public partial class P2GPlayerStateChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GPlayerStateChange(this); } public const uint MsgID = 300419; 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(roleIds == null) { roleIds = new List(); } roleIds.Add(ProtoBufUtils.ReadInt64(ref readPos)); break; case 2: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(roleIds != null) { roleIds.Clear(); } modelId = 0; state = 0; } public List roleIds = new List(); public int modelId; public int state; } public partial class F2PPlayerOutFightRoom : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2PPlayerOutFightRoom(this); } public const uint MsgID = 300320; 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: fightId = ProtoBufUtils.ReadInt64(ref readPos); break; case 3: modelId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; fightId = 0; modelId = 0; } public long roleId; public long fightId; public int modelId; } public partial class F2G_UpMoraleRes : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2G_UpMoraleRes(this); } public const uint MsgID = 300420; 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.ReadUint64(ref readPos); break; case 2: dec = ProtoBufUtils.ReadBoolean(ref readPos); break; case 3: type = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; dec = false; type = 0; } public ulong roleId; public bool dec; public int type; } public partial class F2GTaskRresh : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GTaskRresh(this); } public const uint MsgID = 300421; 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 F2GSendReward : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GSendReward(this); } public const uint MsgID = 300422; 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: if(items == null) { items = new List(); } items.Add(new dropItemInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); items[items.Count - 1].ReadMessage(ref readPos, totalCount); break; case 3: reason = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: actionId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; if(items != null) { items.Clear(); } reason = 0; actionId = 0; } public long roleId; public List items = new List(); public int reason; public long actionId; } public partial class F2GDropData : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GDropData(this); } public const uint MsgID = 300424; 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: time = ProtoBufUtils.ReadInt64(ref readPos); break; case 3: killDropCount = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: rankDropCount = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: joinDropCount = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: buyCount = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: type = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; time = 0; killDropCount = 0; rankDropCount = 0; joinDropCount = 0; buyCount = 0; type = 0; } public long roleId; public long time; public int killDropCount; public int rankDropCount; public int joinDropCount; public int buyCount; public int type; } public partial class F2GSendMailReward : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GSendMailReward(this); } public const uint MsgID = 300426; 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: sender = ProtoBufUtils.ReadString(ref readPos); break; case 3: title = ProtoBufUtils.ReadString(ref readPos); break; case 4: content = ProtoBufUtils.ReadString(ref readPos); break; case 5: if(items == null) { items = new List(); } items.Add(new dropItemInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); items[items.Count - 1].ReadMessage(ref readPos, totalCount); break; case 6: reason = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; sender = null; title = null; content = null; if(items != null) { items.Clear(); } reason = 0; } public long roleId; public string sender; public string title; public string content; public List items = new List(); public int reason; } public partial class F2GShituTaskChange0 : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GShituTaskChange0(this); } public const uint MsgID = 300423; 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: functionVarible = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: changeNum = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; functionVarible = 0; changeNum = 0; } public long roleId; public int functionVarible; public int changeNum; } public partial class F2GCloneCDRecordAdd : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GCloneCDRecordAdd(this); } public const uint MsgID = 300427; 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(roleIds == null) { roleIds = new List(); } roleIds.Add(ProtoBufUtils.ReadFixed64(ref readPos)); break; case 2: cdkey = ProtoBufUtils.ReadString(ref readPos); break; case 3: definekey = ProtoBufUtils.ReadFixed64(ref readPos); break; case 4: fightId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 5: cdType = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: cdHour = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: cdTimes = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(roleIds != null) { roleIds.Clear(); } cdkey = null; definekey = 0; fightId = 0; cdType = 0; cdHour = 0; cdTimes = 0; } public List roleIds = new List(); public string cdkey; public ulong definekey; public ulong fightId; public int cdType; public int cdHour; public int cdTimes; } public partial class G2PPlayerCareerChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PPlayerCareerChange(this); } public const uint MsgID = 300328; 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: careerNo = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: roleId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { careerNo = 0; roleId = 0; } public int careerNo; public long roleId; } public partial class G2PSynPlayerName : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PSynPlayerName(this); } public const uint MsgID = 300329; 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.ReadFixed64(ref readPos); break; case 2: name = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; name = null; } public ulong roleId; public string name; } public partial class G2PGMCMD : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PGMCMD(this); } public const uint MsgID = 300330; 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.ReadFixed64(ref readPos); break; case 2: cmd = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; cmd = null; } public ulong roleId; public string cmd; } public partial class P2GGMCMDResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GGMCMDResult(this); } public const uint MsgID = 300428; 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.ReadFixed64(ref readPos); break; case 2: state = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: messStr = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; state = 0; messStr = null; } public ulong roleId; public int state; public string messStr; } public partial class G2PConnectHeart : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PConnectHeart(this); } public const uint MsgID = 300331; 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: plat = ProtoBufUtils.ReadString(ref readPos); break; case 2: serverId = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: roleSize = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { plat = null; serverId = 0; roleSize = 0; } public string plat; public int serverId; public int roleSize; } public partial class P2GConnectHeartRes : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GConnectHeartRes(this); } public const uint MsgID = 300429; 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: reason = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { reason = 0; } public int reason; } public partial class G2PServerNameChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PServerNameChange(this); } public const uint MsgID = 300332; 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: serverId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: if(serverIdsList == null) { serverIdsList = new List(); } serverIdsList.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; case 3: serverName = ProtoBufUtils.ReadString(ref readPos); break; case 4: plat = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { serverId = 0; if(serverIdsList != null) { serverIdsList.Clear(); } serverName = null; plat = null; } public int serverId; public List serverIdsList = new List(); public string serverName; public string plat; } public partial class G2PServerOpentimeChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PServerOpentimeChange(this); } public const uint MsgID = 300333; 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: serverId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: if(serverIdsList == null) { serverIdsList = new List(); } serverIdsList.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; case 3: serveropentime = ProtoBufUtils.ReadString(ref readPos); break; case 4: plat = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { serverId = 0; if(serverIdsList != null) { serverIdsList.Clear(); } serveropentime = null; plat = null; } public int serverId; public List serverIdsList = new List(); public string serveropentime; public string plat; } public partial class G2PServerWorldLvChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PServerWorldLvChange(this); } public const uint MsgID = 300334; 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: serverId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: plat = ProtoBufUtils.ReadString(ref readPos); break; case 3: serverWorldLv = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { serverId = 0; plat = null; serverWorldLv = 0; } public int serverId; public string plat; public int serverWorldLv; } public partial class F2GAddExp : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GAddExp(this); } public const uint MsgID = 300430; 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: exp = ProtoBufUtils.ReadInt64(ref readPos); break; case 3: reason = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; exp = 0; reason = 0; } public long roleId; public long exp; public int reason; } public partial class P2GBossRefreshTip : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GBossRefreshTip(this); } public const uint MsgID = 300431; 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: bossID = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: type = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { bossID = 0; type = 0; } public int bossID; public int type; } public partial class F2PBossRefreshTip : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2PBossRefreshTip(this); } public const uint MsgID = 300321; 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: groupID = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: bossID = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: type = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { groupID = 0; bossID = 0; type = 0; } public int groupID; public int bossID; public int type; } public partial class G2PDailyData : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PDailyData(this); } public const uint MsgID = 300335; 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: dailyId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { dailyId = 0; } public int dailyId; } public partial class P2GDailyData : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GDailyData(this); } public const uint MsgID = 300425; 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: dailyId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: data = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { dailyId = 0; data = null; } public int dailyId; public string data; } public partial class F2GFirstKillInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GFirstKillInfo(this); } public const uint MsgID = 300432; 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: if(roleName == null) { roleName = new List(); } roleName.Add(ProtoBufUtils.ReadString(ref readPos)); break; default: break; } } } } public void Clear() { modelId = 0; if(roleId != null) { roleId.Clear(); } if(roleName != null) { roleName.Clear(); } } public int modelId; public List roleId = new List(); public List roleName = new List(); } public partial class G2PReqFirstKillBossRefreshTime : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_G2PReqFirstKillBossRefreshTime(this); } public const uint MsgID = 300336; 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 F2PMakeBossRefresh : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2PMakeBossRefresh(this); } public const uint MsgID = 300322; 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: groupID = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: if(bossID == null) { bossID = new List(); } bossID.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; default: break; } } } } public void Clear() { groupID = 0; if(bossID != null) { bossID.Clear(); } } public int groupID; public List bossID = new List(); } public partial class P2GSendMailReward : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_P2GSendMailReward(this); } public const uint MsgID = 300433; 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: sender = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: mailType = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: title = ProtoBufUtils.ReadString(ref readPos); break; case 4: content = ProtoBufUtils.ReadString(ref readPos); break; case 5: if(items == null) { items = new List(); } items.Add(new dropItemInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); items[items.Count - 1].ReadMessage(ref readPos, totalCount); break; case 6: reason = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; sender = 0; mailType = 0; title = null; content = null; if(items != null) { items.Clear(); } reason = 0; } public long roleId; public int sender; public int mailType; public string title; public string content; public List items = new List(); public int reason; } public partial class F2GSendPersonalNotice : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_F2GSendPersonalNotice(this); } public const uint MsgID = 300434; 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: content = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: if(value == null) { value = new List(); } value.Add(new MSG_Chat.paramStruct()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); value[value.Count - 1].ReadMessage(ref readPos, totalCount); break; case 4: if(chatChannelList == null) { chatChannelList = new List(); } chatChannelList.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; default: break; } } } } public void Clear() { type = 0; content = 0; if(value != null) { value.Clear(); } if(chatChannelList != null) { chatChannelList.Clear(); } } public int type; public int content; public List value = new List(); public List chatChannelList = new List(); } }