Files
2025-01-25 04:38:09 +08:00

1319 lines
43 KiB
C#

using System.Collections.Generic;
using Thousandto.Plugins.Common;
using Thousandto.Code.Logic.Network;
namespace MSG_Team
{
public partial class TeamMember : 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 :
career = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5 :
power = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 6 :
isLeader = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 7 :
isOnline = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 8 :
stateLv = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 9 :
hpPro = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 10 :
mapKey = ProtoBufUtils.ReadString(ref readPos);
break;
case 11 :
inchat = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 12 :
isOfflineHungup = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 13 :
if(facade == null)
{
facade = new MSG_Common.FacadeAttribute();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
facade.ReadMessage(ref readPos, totalCount);
break;
case 14 :
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.WriteUint64(1,roleId);
ProtoBufUtils.WriteString(2,name);
ProtoBufUtils.WriteInt32(3,level);
ProtoBufUtils.WriteInt32(4,career);
ProtoBufUtils.WriteInt64(5,power);
ProtoBufUtils.WriteBoolean(6,isLeader);
ProtoBufUtils.WriteBoolean(7,isOnline);
ProtoBufUtils.WriteInt32(8,stateLv);
ProtoBufUtils.WriteInt32(9,hpPro);
ProtoBufUtils.WriteString(10,mapKey);
ProtoBufUtils.WriteBoolean(11,inchat);
ProtoBufUtils.WriteBoolean(12,isOfflineHungup);
if(facade != null)
{
facade.WriteMessage(13);
}
if(head != null)
{
head.WriteMessage(14);
}
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
roleId = 0;
name = null;
level = 0;
career = 0;
power = 0;
isLeader = false;
isOnline = false;
stateLv = 0;
hpPro = 0;
mapKey = null;
inchat = false;
isOfflineHungup = false;
if(facade != null)
{
facade.Clear();
}
if(head != null)
{
head.Clear();
}
}
public ulong roleId;
public string name;
public int level;
public int career;
public long power;
public bool isLeader;
public bool isOnline;
public int stateLv;
public int hpPro;
public string mapKey;
public bool inchat;
public bool isOfflineHungup;
public MSG_Common.FacadeAttribute facade;
public MSG_Common.HeadAttribute head;
}
public partial class Freedomer : 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 :
career = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5 :
power = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 6 :
honey = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7 :
guildName = ProtoBufUtils.ReadString(ref readPos);
break;
case 8 :
moonandOver = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 9 :
birthGroup = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 10 :
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.WriteUint64(1,roleId);
ProtoBufUtils.WriteString(2,name);
ProtoBufUtils.WriteInt32(3,level);
ProtoBufUtils.WriteInt32(4,career);
ProtoBufUtils.WriteInt64(5,power);
ProtoBufUtils.WriteInt32(6,honey);
ProtoBufUtils.WriteString(7,guildName);
ProtoBufUtils.WriteInt32(8,moonandOver);
ProtoBufUtils.WriteInt32(9,birthGroup);
if(head != null)
{
head.WriteMessage(10);
}
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
roleId = 0;
name = null;
level = 0;
career = 0;
power = 0;
honey = 0;
guildName = null;
moonandOver = 0;
birthGroup = 0;
if(head != null)
{
head.Clear();
}
}
public ulong roleId;
public string name;
public int level;
public int career;
public long power;
public int honey;
public string guildName;
public int moonandOver;
public int birthGroup;
public MSG_Common.HeadAttribute head;
}
public partial class TeamInfo : 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 :
teamId = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 2 :
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
if(members == null)
{
members = new List<TeamMember>();
}
members.Add(new TeamMember());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
members[members.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 4 :
autoAccept = 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,teamId);
ProtoBufUtils.WriteInt32(2,type);
for (int i = 0; i < members.Count; i++)
{
if(members != null)
{
members[i].WriteMessage(3);
}
}
ProtoBufUtils.WriteBoolean(4,autoAccept);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
teamId = 0;
type = 0;
if(members != null)
{
members.Clear();
}
autoAccept = false;
}
public ulong teamId;
public int type;
public List<TeamMember> members = new List<TeamMember>();
public bool autoAccept;
}
public partial class ReqCreateTeam : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107201;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,type);
ProtoBufUtils.WriteBoolean(2,autoAccept);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
type = 0;
autoAccept = false;
}
public int type;
public bool autoAccept;
}
public partial class ResTeamInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResTeamInfo(this);
}
public const uint MsgID = 107101;
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:
teamId = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 2:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
if(members == null)
{
members = new List<TeamMember>();
}
members.Add(new TeamMember());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
members[members.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 4:
autoAccept = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
teamId = 0;
type = 0;
if(members != null)
{
members.Clear();
}
autoAccept = false;
}
public ulong teamId;
public int type;
public List<TeamMember> members = new List<TeamMember>();
public bool autoAccept;
}
public partial class ReqAlterTeam : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107202;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteUint64(1,teamId);
ProtoBufUtils.WriteBoolean(2,isNotice);
ProtoBufUtils.WriteInt32(3,type);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
teamId = 0;
isNotice = false;
type = 0;
}
public ulong teamId;
public bool isNotice;
public int type;
}
public partial class ResUpdateTeamMemberInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResUpdateTeamMemberInfo(this);
}
public const uint MsgID = 107103;
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 TeamMember();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
member.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(member != null)
{
member.Clear();
}
}
public TeamMember member;
}
public partial class ReqGetFreedomList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107204;
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 ResFreedomList : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResFreedomList(this);
}
public const uint MsgID = 107104;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
if(members == null)
{
members = new List<Freedomer>();
}
members.Add(new Freedomer());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
members[members.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(members != null)
{
members.Clear();
}
}
public List<Freedomer> members = new List<Freedomer>();
}
public partial class ReqInvite : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107205;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt64(1,roleid);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
roleid = 0;
}
public long roleid;
}
public partial class ResInviteInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResInviteInfo(this);
}
public const uint MsgID = 107105;
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:
teamdId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2:
roleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
name = ProtoBufUtils.ReadString(ref readPos);
break;
case 4:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
teamdId = 0;
roleId = 0;
name = null;
type = 0;
}
public long teamdId;
public long roleId;
public string name;
public int type;
}
public partial class ReqInviteRes : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107206;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt64(1,teamdId);
ProtoBufUtils.WriteInt64(2,roleId);
ProtoBufUtils.WriteInt32(3,type);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
teamdId = 0;
roleId = 0;
type = 0;
}
public long teamdId;
public long roleId;
public int type;
}
public partial class ReqGetApplyList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107207;
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 ResApplyList : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResApplyList(this);
}
public const uint MsgID = 107107;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
if(members == null)
{
members = new List<Freedomer>();
}
members.Add(new Freedomer());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
members[members.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(members != null)
{
members.Clear();
}
}
public List<Freedomer> members = new List<Freedomer>();
}
public partial class ReqApplyOpt : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107208;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt64(1,id);
ProtoBufUtils.WriteInt32(2,type);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
id = 0;
type = 0;
}
public long id;
public int type;
}
public partial class ResAddApplyer : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResAddApplyer(this);
}
public const uint MsgID = 107108;
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 Freedomer();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
member.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(member != null)
{
member.Clear();
}
}
public Freedomer member;
}
public partial class ReqGetWaitList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107209;
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 ResWaitList : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResWaitList(this);
}
public const uint MsgID = 107109;
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:
if(teams == null)
{
teams = new List<TeamInfo>();
}
teams.Add(new TeamInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
teams[teams.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
type = 0;
if(teams != null)
{
teams.Clear();
}
}
public int type;
public List<TeamInfo> teams = new List<TeamInfo>();
}
public partial class ReqApplyEnter : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107210;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt64(1,teamId);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
teamId = 0;
}
public long teamId;
}
public partial class ReqTeamOpt : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107211;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt64(1,targetId);
ProtoBufUtils.WriteInt32(2,opt);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
targetId = 0;
opt = 0;
}
public long targetId;
public int opt;
}
public partial class ResDeleteTeamMember : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResDeleteTeamMember(this);
}
public const uint MsgID = 107111;
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 ReqCallAllMember : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107212;
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 ResCallAllMemberRes : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResCallAllMemberRes(this);
}
public const uint MsgID = 107112;
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:
callId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
name = ProtoBufUtils.ReadString(ref readPos);
break;
case 3:
x = ProtoBufUtils.ReadFloat(ref readPos);
break;
case 4:
y = ProtoBufUtils.ReadFloat(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
callId = 0;
name = null;
x = 0;
y = 0;
}
public int callId;
public string name;
public float x;
public float y;
}
public partial class ReqAgreeCall : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107213;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,callId);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
callId = 0;
}
public int callId;
}
public partial class ReqTransport2Leader : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107214;
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 ReqCleanApplyList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107215;
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 ReqMatchAll : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107216;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,type);
ProtoBufUtils.WriteBoolean(2,match);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
type = 0;
match = false;
}
public int type;
public bool match;
}
public partial class ResMatchAll : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResMatchAll(this);
}
public const uint MsgID = 107116;
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:
success = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
success = false;
}
public bool success;
}
public partial class ReqGetTeamInfo : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107217;
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 ResUpdateHPAndMapKey : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResUpdateHPAndMapKey(this);
}
public const uint MsgID = 107117;
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:
hpPro = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
mapKey = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
hpPro = 0;
mapKey = null;
}
public ulong roleId;
public int hpPro;
public string mapKey;
}
public partial class ReqTeamLeaderOpenState : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 107219;
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 ResTeamLeaderOpenState : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResTeamLeaderOpenState(this);
}
public const uint MsgID = 107119;
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:
leaderId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2:
state = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
leaderId = 0;
state = 0;
}
public long leaderId;
public int state;
}
public partial class ResBecomeLeader : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResBecomeLeader(this);
}
public const uint MsgID = 107120;
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:
targetId = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
targetId = 0;
}
public long targetId;
}
}