using System.Collections.Generic; using Thousandto.Plugins.Common; using Thousandto.Code.Logic.Network; namespace MSG_Marriage { public partial class MarryDeclaration : 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.ReadUint64(ref readPos); break; case 2 : name = ProtoBufUtils.ReadString(ref readPos); break; case 3 : level = ProtoBufUtils.ReadInt32(ref readPos); break; case 4 : vip = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : career = ProtoBufUtils.ReadInt32(ref readPos); break; case 6 : declarationId = ProtoBufUtils.ReadInt32(ref readPos); break; case 7 : guildId = ProtoBufUtils.ReadUint64(ref readPos); break; case 8 : friend = ProtoBufUtils.ReadBoolean(ref readPos); break; case 9 : if(head == null) { head = new MSG_Common.HeadAttribute(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); head.ReadMessage(ref readPos, totalCount); break; case 10 : online = 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.WriteUint64(1,roleId); ProtoBufUtils.WriteString(2,name); ProtoBufUtils.WriteInt32(3,level); ProtoBufUtils.WriteInt32(4,vip); ProtoBufUtils.WriteInt32(5,career); ProtoBufUtils.WriteInt32(6,declarationId); ProtoBufUtils.WriteUint64(7,guildId); ProtoBufUtils.WriteBoolean(8,friend); if(head != null) { head.WriteMessage(9); } ProtoBufUtils.WriteBoolean(10,online); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleId = 0; name = null; level = 0; vip = 0; career = 0; declarationId = 0; guildId = 0; friend = false; if(head != null) { head.Clear(); } online = false; } public ulong roleId; public string name; public int level; public int vip; public int career; public int declarationId; public ulong guildId; public bool friend; public MSG_Common.HeadAttribute head; public bool online; } public partial class MarryRole : 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 5 : career = ProtoBufUtils.ReadInt32(ref readPos); break; case 6 : if(head == null) { head = new MSG_Common.HeadAttribute(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); head.ReadMessage(ref readPos, totalCount); 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(5,career); if(head != null) { head.WriteMessage(6); } ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { id = 0; name = null; career = 0; if(head != null) { head.Clear(); } } public long id; public string name; public int career; public MSG_Common.HeadAttribute head; } public partial class MarryClone : 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 : remainTimes = ProtoBufUtils.ReadInt32(ref readPos); break; case 2 : remainBuy = 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,remainTimes); ProtoBufUtils.WriteInt32(2,remainBuy); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { remainTimes = 0; remainBuy = 0; } public int remainTimes; public int remainBuy; } public partial class MarryBox : 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 : role = ProtoBufUtils.ReadInt64(ref readPos); break; case 2 : reward = ProtoBufUtils.ReadInt32(ref readPos); break; case 3 : onceReward = ProtoBufUtils.ReadInt32(ref readPos); break; case 4 : remainTime = 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,role); ProtoBufUtils.WriteInt32(2,reward); ProtoBufUtils.WriteInt32(3,onceReward); ProtoBufUtils.WriteInt32(4,remainTime); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { role = 0; reward = 0; onceReward = 0; remainTime = 0; } public long role; public int reward; public int onceReward; public int remainTime; } public partial class MarryChild : 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 : name = ProtoBufUtils.ReadString(ref readPos); break; case 3 : level = ProtoBufUtils.ReadInt32(ref readPos); break; case 4 : exp = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : isActive = ProtoBufUtils.ReadBoolean(ref readPos); break; case 6 : battle = 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.WriteString(2,name); ProtoBufUtils.WriteInt32(3,level); ProtoBufUtils.WriteInt32(4,exp); ProtoBufUtils.WriteBoolean(5,isActive); ProtoBufUtils.WriteInt32(6,battle); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { id = 0; name = null; level = 0; exp = 0; isActive = false; battle = 0; } public int id; public string name; public int level; public int exp; public bool isActive; public int battle; } public partial class WeddingData : 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 : timeStart = ProtoBufUtils.ReadInt32(ref readPos); break; case 2 : marrayName = ProtoBufUtils.ReadString(ref readPos); break; case 3 : beMarrayName = ProtoBufUtils.ReadString(ref readPos); break; case 4 : marrayCareer = ProtoBufUtils.ReadUint32(ref readPos); break; case 5 : beMarrayCareer = ProtoBufUtils.ReadUint32(ref readPos); break; case 6 : marryId = ProtoBufUtils.ReadInt64(ref readPos); break; case 7 : bemMarryId = ProtoBufUtils.ReadInt64(ref readPos); break; case 8 : if(marryHead == null) { marryHead = new MSG_Common.HeadAttribute(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); marryHead.ReadMessage(ref readPos, totalCount); break; case 9 : if(beMarryHead == null) { beMarryHead = new MSG_Common.HeadAttribute(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); beMarryHead.ReadMessage(ref readPos, totalCount); 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,timeStart); ProtoBufUtils.WriteString(2,marrayName); ProtoBufUtils.WriteString(3,beMarrayName); ProtoBufUtils.WriteUint32(4,marrayCareer); ProtoBufUtils.WriteUint32(5,beMarrayCareer); ProtoBufUtils.WriteInt64(6,marryId); ProtoBufUtils.WriteInt64(7,bemMarryId); if(marryHead != null) { marryHead.WriteMessage(8); } if(beMarryHead != null) { beMarryHead.WriteMessage(9); } ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { timeStart = 0; marrayName = null; beMarrayName = null; marrayCareer = 0; beMarrayCareer = 0; marryId = 0; bemMarryId = 0; if(marryHead != null) { marryHead.Clear(); } if(beMarryHead != null) { beMarryHead.Clear(); } } public int timeStart; public string marrayName; public string beMarrayName; public uint marrayCareer; public uint beMarrayCareer; public long marryId; public long bemMarryId; public MSG_Common.HeadAttribute marryHead; public MSG_Common.HeadAttribute beMarryHead; } public partial class WeddingMember : 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.ReadUint64(ref readPos); break; case 2 : name = 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.WriteUint64(1,roleId); ProtoBufUtils.WriteString(2,name); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { roleId = 0; name = null; } public ulong roleId; public string name; } public partial class ReqGetMarried : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530201; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,type); ProtoBufUtils.WriteUint64(2,beMarrayId); ProtoBufUtils.WriteBoolean(3,isNotice); ProtoBufUtils.WriteString(4,notice); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { type = 0; beMarrayId = 0; isNotice = false; notice = null; } public int type; public ulong beMarrayId; public bool isNotice; public string notice; } public partial class ReqDealMarryPropose : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530202; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteBoolean(1,isAgree); ProtoBufUtils.WriteUint64(2,marrayId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { isAgree = false; marrayId = 0; } public bool isAgree; public ulong marrayId; } public partial class ReqSelectWedding : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530203; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,timeStart); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { timeStart = 0; } public int timeStart; } public partial class ReqMarryData : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530204; 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 ReqDivorce : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530209; 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 ReqAffirmDivorce : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530210; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,opt); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { opt = 0; } public int opt; } public partial class ReqDemandInvit : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530211; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,timeStart); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { timeStart = 0; } public int timeStart; } public partial class ReqInvit : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530212; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteUint64(1,roleId); ProtoBufUtils.WriteInt32(2,type); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { roleId = 0; type = 0; } public ulong roleId; public int type; } public partial class ReqAgreeInvit : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530213; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteUint64(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 ulong roleId; public bool isAgree; } public partial class ReqPurInvitNum : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530214; 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 ResMarryPropose : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryPropose(this); } public const uint MsgID = 530101; 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: name = ProtoBufUtils.ReadString(ref readPos); break; case 2: career = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: type = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: marrayId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { name = null; career = 0; type = 0; marrayId = 0; } public string name; public int career; public int type; public long marrayId; } public partial class ResDealMarryPropose : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDealMarryPropose(this); } public const uint MsgID = 530102; 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: marrayName = ProtoBufUtils.ReadString(ref readPos); break; case 2: marraycareer = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: bemarrayName = ProtoBufUtils.ReadString(ref readPos); break; case 4: bemarraycareer = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { marrayName = null; marraycareer = 0; bemarrayName = null; bemarraycareer = 0; } public string marrayName; public int marraycareer; public string bemarrayName; public int bemarraycareer; } public partial class ResSelectWedding : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResSelectWedding(this); } public const uint MsgID = 530103; 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: res = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: weddingId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { res = 0; weddingId = 0; } public int res; public int weddingId; } public partial class ResMarryOnline : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryOnline(this); } public const uint MsgID = 530104; 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(weddingDataList == null) { weddingDataList = new List(); } weddingDataList.Add(new WeddingData()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); weddingDataList[weddingDataList.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: if(weddingMembersList == null) { weddingMembersList = new List(); } weddingMembersList.Add(new WeddingMember()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); weddingMembersList[weddingMembersList.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(weddingDataList != null) { weddingDataList.Clear(); } if(weddingMembersList != null) { weddingMembersList.Clear(); } } public List weddingDataList = new List(); public List weddingMembersList = new List(); } public partial class ResMarryData : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryData(this); } public const uint MsgID = 530105; 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(tList == null) { tList = new List(); } tList.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; case 2: name = ProtoBufUtils.ReadString(ref readPos); break; case 3: career = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: playerId = ProtoBufUtils.ReadUint64(ref readPos); break; case 5: if(facade == null) { facade = new MSG_Common.FacadeAttribute(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); facade.ReadMessage(ref readPos, totalCount); break; case 6: marryDay = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: intimacy = ProtoBufUtils.ReadInt32(ref readPos); break; case 8: weddingNum = ProtoBufUtils.ReadInt32(ref readPos); break; case 9: stateLv = ProtoBufUtils.ReadInt32(ref readPos); break; case 10: divorceId = ProtoBufUtils.ReadUint64(ref readPos); break; case 11: if(weddingMembersList == null) { weddingMembersList = new List(); } weddingMembersList.Add(new WeddingMember()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); weddingMembersList[weddingMembersList.Count - 1].ReadMessage(ref readPos, totalCount); break; case 12: purNum = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(tList != null) { tList.Clear(); } name = null; career = 0; playerId = 0; if(facade != null) { facade.Clear(); } marryDay = 0; intimacy = 0; weddingNum = 0; stateLv = 0; divorceId = 0; if(weddingMembersList != null) { weddingMembersList.Clear(); } purNum = 0; } public List tList = new List(); public string name; public int career; public ulong playerId; public MSG_Common.FacadeAttribute facade; public int marryDay; public int intimacy; public int weddingNum; public int stateLv; public ulong divorceId; public List weddingMembersList = new List(); public int purNum; } public partial class ResUpdateWedding : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResUpdateWedding(this); } public const uint MsgID = 530106; 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(weddingData == null) { weddingData = new WeddingData(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); weddingData.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(weddingData != null) { weddingData.Clear(); } } public WeddingData weddingData; } public partial class ResDivorce : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDivorce(this); } public const uint MsgID = 530112; 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 ResDivorceID : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDivorceID(this); } public const uint MsgID = 530113; 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 ResDeleteDemandInvit : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDeleteDemandInvit(this); } public const uint MsgID = 530114; 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 ResUpdateInvit : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResUpdateInvit(this); } public const uint MsgID = 530115; 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(memberList == null) { memberList = new List(); } memberList.Add(new WeddingMember()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); memberList[memberList.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(memberList != null) { memberList.Clear(); } } public List memberList = new List(); } public partial class ResDemandInvit : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDemandInvit(this); } public const uint MsgID = 530116; 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: res = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { res = 0; } public int res; } public partial class ResUpdateDemandInvit : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResUpdateDemandInvit(this); } public const uint MsgID = 530117; 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(member == null) { member = new WeddingMember(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); member.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(member != null) { member.Clear(); } } public WeddingMember member; } public partial class ResPurInvitNum : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPurInvitNum(this); } public const uint MsgID = 530118; 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 ReqMarryCopyBuy : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530205; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,id); ProtoBufUtils.WriteInt32(2,num); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { id = 0; num = 0; } public int id; public int num; } public partial class ReqMarryUseItem : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530206; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,id); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { id = 0; } public int id; } public partial class ReqMarrySendItem : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530207; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,index); ProtoBufUtils.WriteInt64(2,roleId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { index = 0; roleId = 0; } public int index; public long roleId; } public partial class ReqMarrySendBulletScreen : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530208; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteString(1,context); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { context = null; } public string context; } public partial class ResMarryCopyPlayViedo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryCopyPlayViedo(this); } public const uint MsgID = 530107; 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 ResMarryCopyEnter : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryCopyEnter(this); } public const uint MsgID = 530108; 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: remianTime = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: roleId1 = ProtoBufUtils.ReadInt64(ref readPos); break; case 3: roleCareer1 = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: roleName1 = ProtoBufUtils.ReadString(ref readPos); break; case 5: roleId2 = ProtoBufUtils.ReadInt64(ref readPos); break; case 6: roleCareer2 = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: roleName2 = ProtoBufUtils.ReadString(ref readPos); break; case 8: marryCopyHotIsBuy1 = ProtoBufUtils.ReadBoolean(ref readPos); break; case 9: marryCopyHotIsBuy2 = ProtoBufUtils.ReadBoolean(ref readPos); break; case 10: isSign = ProtoBufUtils.ReadBoolean(ref readPos); break; case 11: signCount = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { remianTime = 0; roleId1 = 0; roleCareer1 = 0; roleName1 = null; roleId2 = 0; roleCareer2 = 0; roleName2 = null; marryCopyHotIsBuy1 = false; marryCopyHotIsBuy2 = false; isSign = false; signCount = 0; } public int remianTime; public long roleId1; public int roleCareer1; public string roleName1; public long roleId2; public int roleCareer2; public string roleName2; public bool marryCopyHotIsBuy1; public bool marryCopyHotIsBuy2; public bool isSign; public int signCount; } public partial class ResMarryCopyInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryCopyInfo(this); } public const uint MsgID = 530109; 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: stage = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: eatCount = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: exp = ProtoBufUtils.ReadInt64(ref readPos); break; case 4: gatherCount = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: hot = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { stage = 0; eatCount = 0; exp = 0; gatherCount = 0; hot = 0; } public int stage; public int eatCount; public long exp; public int gatherCount; public int hot; } public partial class ResMarrySendBulletScreen : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarrySendBulletScreen(this); } public const uint MsgID = 530110; 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: roleCareer = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: roleName = ProtoBufUtils.ReadString(ref readPos); break; case 4: context = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; roleCareer = 0; roleName = null; context = null; } public long roleId; public int roleCareer; public string roleName; public string context; } public partial class ResMarryUseItemBroadcast : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryUseItemBroadcast(this); } public const uint MsgID = 530111; 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: roleName = ProtoBufUtils.ReadString(ref readPos); break; case 3: itemID = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; roleName = null; itemID = 0; } public long roleId; public string roleName; public int itemID; } public partial class ReqMarryBlessList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530215; 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 BlessData : 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 : sendName = ProtoBufUtils.ReadString(ref readPos); break; case 2 : receiveName = ProtoBufUtils.ReadString(ref readPos); break; case 3 : itemID = ProtoBufUtils.ReadInt32(ref readPos); break; case 4 : num = 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,sendName); ProtoBufUtils.WriteString(2,receiveName); ProtoBufUtils.WriteInt32(3,itemID); ProtoBufUtils.WriteInt32(4,num); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { sendName = null; receiveName = null; itemID = 0; num = 0; } public string sendName; public string receiveName; public int itemID; public int num; } public partial class ResMarryBlessList : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryBlessList(this); } public const uint MsgID = 530119; 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(blessDataList == null) { blessDataList = new List(); } blessDataList.Add(new BlessData()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); blessDataList[blessDataList.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(blessDataList != null) { blessDataList.Clear(); } } public List blessDataList = new List(); } public partial class ReqRewardTitle : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530216; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,id); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { id = 0; } public int id; } public partial class ReqUpgradeMarryLock : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530217; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,oneKey); ProtoBufUtils.WriteInt32(2,itemId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { oneKey = 0; itemId = 0; } public int oneKey; public int itemId; } public partial class ResUpgradeMarryLockInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResUpgradeMarryLockInfo(this); } public const uint MsgID = 530120; 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: level = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: exp = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { level = 0; exp = 0; } public int level; public int exp; } public partial class ReqBuyMarryBox : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530218; 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 ResMarryBox : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryBox(this); } public const uint MsgID = 530121; 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(box == null) { box = new List(); } box.Add(new MarryBox()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); box[box.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(box != null) { box.Clear(); } } public List box = new List(); } public partial class ReqCallBuyMarryBox : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530219; 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 ResCallBuyMarryBox : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResCallBuyMarryBox(this); } public const uint MsgID = 530122; 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 ReqMarryBoxReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530220; 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 ReqRefuseBuyMarryBox : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530221; 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 ReqOpenMarryChild : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530222; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,childId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { childId = 0; } public int childId; } public partial class ReqUpgradeMarryChild : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530223; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,childId); ProtoBufUtils.WriteInt32(2,itemId); ProtoBufUtils.WriteInt32(3,oneKey); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { childId = 0; itemId = 0; oneKey = 0; } public int childId; public int itemId; public int oneKey; } public partial class ReqMarryChildChangeName : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530224; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,childId); ProtoBufUtils.WriteString(2,name); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { childId = 0; name = null; } public int childId; public string name; } public partial class ResMarryChildInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryChildInfo(this); } public const uint MsgID = 530123; 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(childs == null) { childs = new List(); } childs.Add(new MarryChild()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); childs[childs.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(childs != null) { childs.Clear(); } } public List childs = new List(); } public partial class ReqCallMarryCloneBuy : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530225; 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 ReqMarryCloneBuy : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530226; 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 ReqRefuseMarryCloneBuy : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530227; 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 ReqSelectMarryCloneImg : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530228; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,imgId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { imgId = 0; } public int imgId; } public partial class ResCallMarryCloneBuy : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResCallMarryCloneBuy(this); } public const uint MsgID = 530124; 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 ResMarryClone : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryClone(this); } public const uint MsgID = 530125; 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(clone == null) { clone = new MarryClone(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); clone.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(clone != null) { clone.Clear(); } } public MarryClone clone; } public partial class ResMarryCloneInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryCloneInfo(this); } public const uint MsgID = 530126; 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: bossDie = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: bossMax = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: monsterDie = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: monsterMax = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: remainTime = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { bossId = 0; bossDie = 0; bossMax = 0; monsterDie = 0; monsterMax = 0; remainTime = 0; } public int bossId; public int bossDie; public int bossMax; public int monsterDie; public int monsterMax; public int remainTime; } public partial class ResMarryCloneSucInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryCloneSucInfo(this); } public const uint MsgID = 530127; 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(imgList == null) { imgList = new List(); } imgList.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; default: break; } } } } public void Clear() { if(imgList != null) { imgList.Clear(); } } public List imgList = new List(); } public partial class ResMarryCloneFailInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryCloneFailInfo(this); } public const uint MsgID = 530131; 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 ReqMarryWallReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530229; 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 ResMarryWallRewardInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryWallRewardInfo(this); } public const uint MsgID = 530128; 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: haveReward = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: cd = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { haveReward = 0; cd = 0; } public int haveReward; public int cd; } public partial class ReqPushMarryDeclaration : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530230; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,declarationId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { declarationId = 0; } public int declarationId; } public partial class ReqMarryWallDeclaration : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530231; 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 ResMarryWallInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryWallInfo(this); } public const uint MsgID = 530129; 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(declarations == null) { declarations = new List(); } declarations.Add(new MarryDeclaration()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); declarations[declarations.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(declarations != null) { declarations.Clear(); } } public List declarations = new List(); } public partial class ReqMarryAddFriend : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530232; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteUint64(1,roleId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { roleId = 0; } public ulong roleId; } public partial class ReqMarryAddFriendOpt : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530233; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteUint64(1,roleId); ProtoBufUtils.WriteInt32(2,opt); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { roleId = 0; opt = 0; } public ulong roleId; public int opt; } public partial class ResMarryAddFriendNotify : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryAddFriendNotify(this); } public const uint MsgID = 530130; 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: roleName = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; roleName = null; } public ulong roleId; public string roleName; } public partial class ResWeddingStart : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResWeddingStart(this); } public const uint MsgID = 530132; 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: copyMapId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { copyMapId = 0; } public int copyMapId; } public partial class ResMarryCopyBossState : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryCopyBossState(this); } public const uint MsgID = 530133; 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: bossIsDie = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { bossIsDie = false; } public bool bossIsDie; } public partial class ReqChildCall : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530234; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,childId); ProtoBufUtils.WriteInt32(2,opt); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { childId = 0; opt = 0; } public int childId; public int opt; } public partial class ResMarryTask : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryTask(this); } public const uint MsgID = 530134; 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(taskId == null) { taskId = new List(); } taskId.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; case 2: if(overId == null) { overId = new List(); } overId.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; default: break; } } } } public void Clear() { if(taskId != null) { taskId.Clear(); } if(overId != null) { overId.Clear(); } } public List taskId = new List(); public List overId = new List(); } public partial class ReqMarryTask : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530235; 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 ReqMarryTaskReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530236; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,taskId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { taskId = 0; } public int taskId; } public partial class ReqMarryActivityShopBuy : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530237; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,shopId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { shopId = 0; } public int shopId; } public partial class MarryActivityShopInfo : 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 : shopId = ProtoBufUtils.ReadInt32(ref readPos); break; case 2 : buyCount = 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,shopId); ProtoBufUtils.WriteInt32(2,buyCount); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { shopId = 0; buyCount = 0; } public int shopId; public int buyCount; } public partial class ResMarryActivityShopBuy : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryActivityShopBuy(this); } public const uint MsgID = 530137; 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(shopInfoList == null) { shopInfoList = new List(); } shopInfoList.Add(new MarryActivityShopInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); shopInfoList[shopInfoList.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(shopInfoList != null) { shopInfoList.Clear(); } } public List shopInfoList = new List(); } public partial class ReqMarryActivityIntimacy : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530238; 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 ResMarryActivityIntimacy : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryActivityIntimacy(this); } public const uint MsgID = 530138; 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: rank = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: intimacy = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: if(rankRewardEd == null) { rankRewardEd = new List(); } rankRewardEd.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; default: break; } } } } public void Clear() { rank = 0; intimacy = 0; if(rankRewardEd != null) { rankRewardEd.Clear(); } } public int rank; public int intimacy; public List rankRewardEd = new List(); } public partial class ReqMarryActivityIntimacyReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530239; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,id); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { id = 0; } public int id; } public partial class MarryActivityTaskData : 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 : taskID = ProtoBufUtils.ReadInt32(ref readPos); break; case 2 : progress = ProtoBufUtils.ReadInt32(ref readPos); break; case 3 : state = 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,taskID); ProtoBufUtils.WriteInt32(2,progress); ProtoBufUtils.WriteBoolean(3,state); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { taskID = 0; progress = 0; state = false; } public int taskID; public int progress; public bool state; } public partial class ResRefreshMarryActivityTask : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResRefreshMarryActivityTask(this); } public const uint MsgID = 530140; 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(taskData == null) { taskData = new List(); } taskData.Add(new MarryActivityTaskData()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); taskData[taskData.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(taskData != null) { taskData.Clear(); } } public List taskData = new List(); } public partial class ReqGetMarryActivityTaskReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530241; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,taskID); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { taskID = 0; } public int taskID; } public partial class ReqMarryCopyBuyHot : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530242; 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 ResMarryCopyBuyHot : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryCopyBuyHot(this); } public const uint MsgID = 530142; 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: marryCopyHotIsBuy1 = ProtoBufUtils.ReadBoolean(ref readPos); break; case 2: marryCopyHotIsBuy2 = ProtoBufUtils.ReadBoolean(ref readPos); break; case 3: hotValue = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { marryCopyHotIsBuy1 = false; marryCopyHotIsBuy2 = false; hotValue = 0; } public bool marryCopyHotIsBuy1; public bool marryCopyHotIsBuy2; public int hotValue; } public partial class ReqMarryCopySign : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530243; 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 ResMarryBroadcastName : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryBroadcastName(this); } public const uint MsgID = 530143; 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: name = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; name = null; } public long playerId; public string name; } public partial class ResMarryPosterShow : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMarryPosterShow(this); } public const uint MsgID = 530144; 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(man == null) { man = new MarryRole(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); man.ReadMessage(ref readPos, totalCount); break; case 2: if(woman == null) { woman = new MarryRole(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); woman.ReadMessage(ref readPos, totalCount); break; case 3: marryId = ProtoBufUtils.ReadInt64(ref readPos); break; case 4: order = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { if(man != null) { man.Clear(); } if(woman != null) { woman.Clear(); } marryId = 0; order = 0; } public MarryRole man; public MarryRole woman; public long marryId; public int order; } public partial class ReqMarryBless : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 530244; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt64(1,marryId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { marryId = 0; } public long marryId; } }