Files
Main/Assets/Code/Logic/_NetMessage/Messages/EightDiagramsEx.cs

1574 lines
54 KiB
C#
Raw Normal View History

2025-01-25 04:38:09 +08:00
using System.Collections.Generic;
using Thousandto.Plugins.Common;
using Thousandto.Code.Logic.Network;
namespace MSG_EightDiagrams
{
public partial class ReqEightDiagramsPanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 517201;
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 G2PReqEightDiagramsPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2PReqEightDiagramsPanel(this);
}
public const uint MsgID = 517301;
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 CityBattleInfo : 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 :
sid = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
playerNum = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
colorCamp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4 :
bossHurt = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 5 :
serverName = 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.WriteInt32(1,sid);
ProtoBufUtils.WriteInt32(2,playerNum);
ProtoBufUtils.WriteInt32(3,colorCamp);
ProtoBufUtils.WriteInt64(4,bossHurt);
ProtoBufUtils.WriteString(5,serverName);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
sid = 0;
playerNum = 0;
colorCamp = 0;
bossHurt = 0;
serverName = null;
}
public int sid;
public int playerNum;
public int colorCamp;
public long bossHurt;
public string serverName;
}
public partial class CityInfo : 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 :
cityID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
birthSid = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
modelID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4 :
curSid = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5 :
serverName = ProtoBufUtils.ReadString(ref readPos);
break;
case 7 :
bossID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8 :
curHp = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 9 :
maxHp = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 10 :
if(cityBattleInfoList == null)
{
cityBattleInfoList = new List<CityBattleInfo>();
}
cityBattleInfoList.Add(new CityBattleInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
cityBattleInfoList[cityBattleInfoList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 11 :
colorCamp = 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,cityID);
ProtoBufUtils.WriteInt32(2,birthSid);
ProtoBufUtils.WriteInt32(3,modelID);
ProtoBufUtils.WriteInt32(4,curSid);
ProtoBufUtils.WriteString(5,serverName);
ProtoBufUtils.WriteInt32(7,bossID);
ProtoBufUtils.WriteInt64(8,curHp);
ProtoBufUtils.WriteInt64(9,maxHp);
for (int i = 0; i < cityBattleInfoList.Count; i++)
{
if(cityBattleInfoList != null)
{
cityBattleInfoList[i].WriteMessage(10);
}
}
ProtoBufUtils.WriteInt32(11,colorCamp);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
cityID = 0;
birthSid = 0;
modelID = 0;
curSid = 0;
serverName = null;
bossID = 0;
curHp = 0;
maxHp = 0;
if(cityBattleInfoList != null)
{
cityBattleInfoList.Clear();
}
colorCamp = 0;
}
public int cityID;
public int birthSid;
public int modelID;
public int curSid;
public string serverName;
public int bossID;
public long curHp;
public long maxHp;
public List<CityBattleInfo> cityBattleInfoList = new List<CityBattleInfo>();
public int colorCamp;
}
public partial class ResEightDiagramsPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResEightDiagramsPanel(this);
}
public const uint MsgID = 517101;
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:
selfSid = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
selfServerName = ProtoBufUtils.ReadString(ref readPos);
break;
case 3:
if(cityListInfo == null)
{
cityListInfo = new List<CityInfo>();
}
cityListInfo.Add(new CityInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
cityListInfo[cityListInfo.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 4:
selfCamp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
isopen = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
selfSid = 0;
selfServerName = null;
if(cityListInfo != null)
{
cityListInfo.Clear();
}
selfCamp = 0;
isopen = false;
}
public int selfSid;
public string selfServerName;
public List<CityInfo> cityListInfo = new List<CityInfo>();
public int selfCamp;
public bool isopen;
}
public partial class RankInfo : 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 :
integral = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
name = ProtoBufUtils.ReadString(ref readPos);
break;
case 3 :
rank = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4 :
colorCamp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5 :
serverid = 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,integral);
ProtoBufUtils.WriteString(2,name);
ProtoBufUtils.WriteInt32(3,rank);
ProtoBufUtils.WriteInt32(4,colorCamp);
ProtoBufUtils.WriteInt32(5,serverid);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
integral = 0;
name = null;
rank = 0;
colorCamp = 0;
serverid = 0;
}
public int integral;
public string name;
public int rank;
public int colorCamp;
public int serverid;
}
public partial class ReqRankPanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 517202;
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 G2PReqRankPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2PReqRankPanel(this);
}
public const uint MsgID = 517302;
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 ResRankPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResRankPanel(this);
}
public const uint MsgID = 517102;
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(curRankInfoList == null)
{
curRankInfoList = new List<RankInfo>();
}
curRankInfoList.Add(new RankInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
curRankInfoList[curRankInfoList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 2:
if(seasonRankInfoList == null)
{
seasonRankInfoList = new List<RankInfo>();
}
seasonRankInfoList.Add(new RankInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
seasonRankInfoList[seasonRankInfoList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 4:
if(selfCurRankInfo == null)
{
selfCurRankInfo = new RankInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
selfCurRankInfo.ReadMessage(ref readPos, totalCount);
break;
case 5:
if(selfSeasonRankInfo == null)
{
selfSeasonRankInfo = new RankInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
selfSeasonRankInfo.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(curRankInfoList != null)
{
curRankInfoList.Clear();
}
if(seasonRankInfoList != null)
{
seasonRankInfoList.Clear();
}
if(selfCurRankInfo != null)
{
selfCurRankInfo.Clear();
}
if(selfSeasonRankInfo != null)
{
selfSeasonRankInfo.Clear();
}
}
public List<RankInfo> curRankInfoList = new List<RankInfo>();
public List<RankInfo> seasonRankInfoList = new List<RankInfo>();
public RankInfo selfCurRankInfo;
public RankInfo selfSeasonRankInfo;
}
public partial class ReqEnterEightCityMap : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 517203;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,cityID);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
cityID = 0;
}
public int cityID;
}
public partial class G2PReqEnterEightCityMap : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2PReqEnterEightCityMap(this);
}
public const uint MsgID = 517303;
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:
cityID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
roleID = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
cityID = 0;
roleID = 0;
}
public int cityID;
public long roleID;
}
public partial class P2FRepChangeCityMap : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2FRepChangeCityMap(this);
}
public const uint MsgID = 517401;
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:
mapID = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
mapID = 0;
}
public long roleID;
public long mapID;
}
public partial class F2PResEnterMapSucc : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2PResEnterMapSucc(this);
}
public const uint MsgID = 517304;
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:
cityID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
platSid = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
cityID = 0;
platSid = null;
}
public long roleID;
public int cityID;
public string platSid;
}
public partial class ReqTickMapInfo : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 517205;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,cityID);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
cityID = 0;
}
public int cityID;
}
public partial class G2PReqTickMapInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2PReqTickMapInfo(this);
}
public const uint MsgID = 517305;
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:
cityID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
roleID = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
cityID = 0;
roleID = 0;
}
public int cityID;
public long roleID;
}
public partial class ResTickMapInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResTickMapInfo(this);
}
public const uint MsgID = 517104;
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(curCityInfo == null)
{
curCityInfo = new CityInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
curCityInfo.ReadMessage(ref readPos, totalCount);
break;
case 2:
if(curRankInfoList == null)
{
curRankInfoList = new List<RankInfo>();
}
curRankInfoList.Add(new RankInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
curRankInfoList[curRankInfoList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 3:
selfCamp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
if(selfRankInfo == null)
{
selfRankInfo = new RankInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
selfRankInfo.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(curCityInfo != null)
{
curCityInfo.Clear();
}
if(curRankInfoList != null)
{
curRankInfoList.Clear();
}
selfCamp = 0;
if(selfRankInfo != null)
{
selfRankInfo.Clear();
}
}
public CityInfo curCityInfo;
public List<RankInfo> curRankInfoList = new List<RankInfo>();
public int selfCamp;
public RankInfo selfRankInfo;
}
public partial class F2PPlayerOutCity : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2PPlayerOutCity(this);
}
public const uint MsgID = 517306;
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:
cityID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
platSid = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
cityID = 0;
platSid = null;
}
public long roleID;
public int cityID;
public string platSid;
}
public partial class F2PPlayerToBossHurt : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2PPlayerToBossHurt(this);
}
public const uint MsgID = 517307;
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:
cityID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
hurt = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 4:
bossCurHP = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 5:
platSid = ProtoBufUtils.ReadString(ref readPos);
break;
case 6:
roleName = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
cityID = 0;
hurt = 0;
bossCurHP = 0;
platSid = null;
roleName = null;
}
public long roleID;
public int cityID;
public long hurt;
public long bossCurHP;
public string platSid;
public string roleName;
}
public partial class F2PKillBoss : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2PKillBoss(this);
}
public const uint MsgID = 517309;
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:
cityID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
roleID = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
platSid = ProtoBufUtils.ReadString(ref readPos);
break;
case 4:
colorCamp = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
cityID = 0;
roleID = 0;
platSid = null;
colorCamp = 0;
}
public int cityID;
public long roleID;
public string platSid;
public int colorCamp;
}
public partial class F2PKillPlayer : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2PKillPlayer(this);
}
public const uint MsgID = 517310;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
groupID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
roleID = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
platSid = ProtoBufUtils.ReadString(ref readPos);
break;
case 4:
roleName = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
groupID = 0;
roleID = 0;
platSid = null;
roleName = null;
}
public int groupID;
public long roleID;
public string platSid;
public string roleName;
}
public partial class ResLastTime : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResLastTime(this);
}
public const uint MsgID = 517107;
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:
seconds = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
seconds = 0;
}
public int seconds;
}
public partial class RewardInfo : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible
{
public void Send(){}
public void Excute(){}
public void ReadMessage(ref int readPos, int totalCount)
{
int endIndex = totalCount + readPos - 1;
while (readPos <= endIndex)
{
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1 :
roleID = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2 :
value = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt64(1,roleID);
ProtoBufUtils.WriteInt32(2,value);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
roleID = 0;
value = 0;
}
public long roleID;
public int value;
}
public partial class P2GSendEightCityRward : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2GSendEightCityRward(this);
}
public const uint MsgID = 517402;
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:
rewardType = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
if(rewardInfo == null)
{
rewardInfo = new List<RewardInfo>();
}
rewardInfo.Add(new RewardInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
rewardInfo[rewardInfo.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
rewardType = 0;
if(rewardInfo != null)
{
rewardInfo.Clear();
}
}
public int rewardType;
public List<RewardInfo> rewardInfo = new List<RewardInfo>();
}
public partial class P2FReqRankPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2FReqRankPanel(this);
}
public const uint MsgID = 517404;
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:
groupID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
fightSid = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
groupID = 0;
fightSid = 0;
}
public long roleID;
public int groupID;
public int fightSid;
}
public partial class G2FReqRankPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2FReqRankPanel(this);
}
public const uint MsgID = 517312;
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:
groupID = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
groupID = 0;
}
public long roleID;
public int groupID;
}
public partial class P2FReqTickRankPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2FReqTickRankPanel(this);
}
public const uint MsgID = 517405;
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:
groupID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
cityID = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
groupID = 0;
cityID = 0;
}
public long roleID;
public int groupID;
public int cityID;
}
public partial class P2FReqEightDiagramsPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2FReqEightDiagramsPanel(this);
}
public const uint MsgID = 517406;
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:
groupID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
serverID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
camp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
serverName = ProtoBufUtils.ReadString(ref readPos);
break;
case 6:
fightSid = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
groupID = 0;
serverID = 0;
camp = 0;
serverName = null;
fightSid = 0;
}
public long roleID;
public int groupID;
public int serverID;
public int camp;
public string serverName;
public int fightSid;
}
public partial class G2FReqEightDiagramsPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2FReqEightDiagramsPanel(this);
}
public const uint MsgID = 517313;
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:
groupID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
serverID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
camp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
serverName = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
groupID = 0;
serverID = 0;
camp = 0;
serverName = null;
}
public long roleID;
public int groupID;
public int serverID;
public int camp;
public string serverName;
}
public partial class EightCityAttribute : 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 :
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
value = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
param = 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.WriteInt32(1,type);
ProtoBufUtils.WriteInt32(2,value);
ProtoBufUtils.WriteString(3,param);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
type = 0;
value = 0;
param = null;
}
public int type;
public int value;
public string param;
}
public partial class P2FSendEightCityInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2FSendEightCityInfo(this);
}
public const uint MsgID = 517403;
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(eightCityStartInfo == null)
{
eightCityStartInfo = new List<EightCityAttribute>();
}
eightCityStartInfo.Add(new EightCityAttribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
eightCityStartInfo[eightCityStartInfo.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(eightCityStartInfo != null)
{
eightCityStartInfo.Clear();
}
}
public List<EightCityAttribute> eightCityStartInfo = new List<EightCityAttribute>();
}
public partial class F2PSendOverCityInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2PSendOverCityInfo(this);
}
public const uint MsgID = 517311;
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(eightCityOVerInfo == null)
{
eightCityOVerInfo = new List<EightCityAttribute>();
}
eightCityOVerInfo.Add(new EightCityAttribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
eightCityOVerInfo[eightCityOVerInfo.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(eightCityOVerInfo != null)
{
eightCityOVerInfo.Clear();
}
}
public List<EightCityAttribute> eightCityOVerInfo = new List<EightCityAttribute>();
}
}