Files
Main/Assets/Code/Logic/_NetMessage/Messages/CrossFightEx.cs
2025-01-25 04:38:09 +08:00

1293 lines
44 KiB
C#

using System.Collections.Generic;
using Thousandto.Plugins.Common;
using Thousandto.Code.Logic.Network;
namespace MSG_CrossFight
{
public partial class roleAtt : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible
{
public void Send(){}
public void Excute(){}
public void ReadMessage(ref int readPos, int totalCount)
{
int endIndex = totalCount + readPos - 1;
while (readPos <= endIndex)
{
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1 :
roleId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2 :
campNo = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
isRobot = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 4 :
carear = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5 :
x = ProtoBufUtils.ReadFloat(ref readPos);
break;
case 6 :
y = ProtoBufUtils.ReadFloat(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteFixed64(1,roleId);
ProtoBufUtils.WriteInt32(2,campNo);
ProtoBufUtils.WriteBoolean(3,isRobot);
ProtoBufUtils.WriteInt32(4,carear);
ProtoBufUtils.WriteFloat(5,x);
ProtoBufUtils.WriteFloat(6,y);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
roleId = 0;
campNo = 0;
isRobot = false;
carear = 0;
x = 0;
y = 0;
}
public ulong roleId;
public int campNo;
public bool isRobot;
public int carear;
public float x;
public float y;
}
public partial class P2GResFightStart : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2GResFightStart(this);
}
public const uint MsgID = 301404;
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:
zoneModelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8:
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
if(roleInfo == null)
{
roleInfo = new List<roleAtt>();
}
roleInfo.Add(new roleAtt());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
roleInfo[roleInfo.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 3:
fightId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 4:
fightServerId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
mapModelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7:
onlyJoin = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 6:
if(mapSetList == null)
{
mapSetList = new List<MSG_Common.CrossAttribute>();
}
mapSetList.Add(new MSG_Common.CrossAttribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
mapSetList[mapSetList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
zoneModelId = 0;
level = 0;
if(roleInfo != null)
{
roleInfo.Clear();
}
fightId = 0;
fightServerId = 0;
mapModelId = 0;
onlyJoin = false;
if(mapSetList != null)
{
mapSetList.Clear();
}
}
public int zoneModelId;
public int level;
public List<roleAtt> roleInfo = new List<roleAtt>();
public ulong fightId;
public int fightServerId;
public int mapModelId;
public bool onlyJoin;
public List<MSG_Common.CrossAttribute> mapSetList = new List<MSG_Common.CrossAttribute>();
}
public partial class F2PFightRoomState : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2PFightRoomState(this);
}
public const uint MsgID = 301306;
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:
fightId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
state = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
fightId = 0;
state = 0;
}
public ulong fightId;
public int state;
}
public partial class ReqOutFightRoom : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 301208;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteFixed64(1,fightId);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
fightId = 0;
}
public ulong fightId;
}
public partial class G2PReqOutFightRoom : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2PReqOutFightRoom(this);
}
public const uint MsgID = 301308;
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:
fightId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
roleid = ProtoBufUtils.ReadFixed64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
fightId = 0;
roleid = 0;
}
public ulong fightId;
public ulong roleid;
}
public partial class P2GOutFightRoom : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2GOutFightRoom(this);
}
public const uint MsgID = 301408;
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:
fightId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
roleid = ProtoBufUtils.ReadFixed64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
fightId = 0;
roleid = 0;
}
public ulong fightId;
public ulong roleid;
}
public partial class ResOutFightRoom : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResOutFightRoom(this);
}
public const uint MsgID = 301108;
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:
fightId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
state = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
fightId = 0;
state = 0;
}
public ulong fightId;
public int state;
}
public partial class G2FOnEnterMapAgain : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2FOnEnterMapAgain(this);
}
public const uint MsgID = 301309;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
}
public ulong roleId;
}
public partial class G2FSynPlayerInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2FSynPlayerInfo(this);
}
public const uint MsgID = 301310;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
roleName = ProtoBufUtils.ReadString(ref readPos);
break;
case 3:
playerData = ProtoBufUtils.ReadString(ref readPos);
break;
case 4:
guildId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 5:
fightId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 6:
zoneModelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 14:
zoneLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7:
if(cross == null)
{
cross = new roleAtt();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
cross.ReadMessage(ref readPos, totalCount);
break;
case 8:
guildName = ProtoBufUtils.ReadString(ref readPos);
break;
case 9:
guildRank = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 10:
mapModelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 13:
onlyJoin = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 11:
if(mapSetList == null)
{
mapSetList = new List<MSG_Common.CrossAttribute>();
}
mapSetList.Add(new MSG_Common.CrossAttribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
mapSetList[mapSetList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 12:
attlist = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
roleName = null;
playerData = null;
guildId = 0;
fightId = 0;
zoneModelId = 0;
zoneLevel = 0;
if(cross != null)
{
cross.Clear();
}
guildName = null;
guildRank = 0;
mapModelId = 0;
onlyJoin = false;
if(mapSetList != null)
{
mapSetList.Clear();
}
attlist = null;
}
public ulong roleId;
public string roleName;
public string playerData;
public ulong guildId;
public ulong fightId;
public int zoneModelId;
public int zoneLevel;
public roleAtt cross;
public string guildName;
public int guildRank;
public int mapModelId;
public bool onlyJoin;
public List<MSG_Common.CrossAttribute> mapSetList = new List<MSG_Common.CrossAttribute>();
public string attlist;
}
public partial class F2GSynPlayerInfoResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2GSynPlayerInfoResult(this);
}
public const uint MsgID = 301410;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
state = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
fid = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
zoneModelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 10:
zoneLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
fightId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 6:
if(cross == null)
{
cross = new roleAtt();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
cross.ReadMessage(ref readPos, totalCount);
break;
case 7:
mapModelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 9:
onlyJoin = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 8:
if(mapSetList == null)
{
mapSetList = new List<MSG_Common.CrossAttribute>();
}
mapSetList.Add(new MSG_Common.CrossAttribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
mapSetList[mapSetList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
state = 0;
fid = 0;
zoneModelId = 0;
zoneLevel = 0;
fightId = 0;
if(cross != null)
{
cross.Clear();
}
mapModelId = 0;
onlyJoin = false;
if(mapSetList != null)
{
mapSetList.Clear();
}
}
public ulong roleId;
public int state;
public int fid;
public int zoneModelId;
public int zoneLevel;
public ulong fightId;
public roleAtt cross;
public int mapModelId;
public bool onlyJoin;
public List<MSG_Common.CrossAttribute> mapSetList = new List<MSG_Common.CrossAttribute>();
}
public partial class G2FEnterCloneMap : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2FEnterCloneMap(this);
}
public const uint MsgID = 301312;
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:
roomId = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 3:
cloneId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8:
zoneLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7:
onlyJoin = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 4:
if(cross == null)
{
cross = new roleAtt();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
cross.ReadMessage(ref readPos, totalCount);
break;
case 5:
if(mapSetList == null)
{
mapSetList = new List<MSG_Common.CrossAttribute>();
}
mapSetList.Add(new MSG_Common.CrossAttribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
mapSetList[mapSetList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
roomId = 0;
cloneId = 0;
zoneLevel = 0;
onlyJoin = false;
if(cross != null)
{
cross.Clear();
}
if(mapSetList != null)
{
mapSetList.Clear();
}
}
public ulong roleId;
public ulong roomId;
public int cloneId;
public int zoneLevel;
public bool onlyJoin;
public roleAtt cross;
public List<MSG_Common.CrossAttribute> mapSetList = new List<MSG_Common.CrossAttribute>();
}
public partial class F2GEnterCloneMapRes : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2GEnterCloneMapRes(this);
}
public const uint MsgID = 301411;
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:
param = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
lineId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
x = ProtoBufUtils.ReadFloat(ref readPos);
break;
case 5:
y = ProtoBufUtils.ReadFloat(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
param = 0;
lineId = 0;
x = 0;
y = 0;
}
public ulong roleId;
public int param;
public int lineId;
public float x;
public float y;
}
public partial class G2PCheckCrossInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2PCheckCrossInfo(this);
}
public const uint MsgID = 301313;
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:
roomId = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 2:
roleId = ProtoBufUtils.ReadUint64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roomId = 0;
roleId = 0;
}
public ulong roomId;
public ulong roleId;
}
public partial class P2GCheckCrossInfoRes : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2GCheckCrossInfoRes(this);
}
public const uint MsgID = 301412;
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:
isCanEnter = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 3:
cloneID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
if(mapSetList == null)
{
mapSetList = new List<MSG_Common.CrossAttribute>();
}
mapSetList.Add(new MSG_Common.CrossAttribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
mapSetList[mapSetList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 5:
if(cross == null)
{
cross = new roleAtt();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
cross.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
isCanEnter = false;
cloneID = 0;
if(mapSetList != null)
{
mapSetList.Clear();
}
if(cross != null)
{
cross.Clear();
}
}
public ulong roleId;
public bool isCanEnter;
public int cloneID;
public List<MSG_Common.CrossAttribute> mapSetList = new List<MSG_Common.CrossAttribute>();
public roleAtt cross;
}
public partial class G2FSynPowerAttAndFace : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2FSynPowerAttAndFace(this);
}
public const uint MsgID = 301314;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
fightPower = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
attlist = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
fightPower = 0;
attlist = null;
}
public ulong roleId;
public long fightPower;
public string attlist;
}
public partial class F2GPlayerOutCrossWorldMap : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2GPlayerOutCrossWorldMap(this);
}
public const uint MsgID = 301413;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
fromMapId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
fx = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
fy = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
toMapId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 6:
fid = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7:
transId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8:
tox = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 9:
toy = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
fromMapId = 0;
fx = 0;
fy = 0;
toMapId = 0;
fid = 0;
transId = 0;
tox = 0;
toy = 0;
}
public ulong roleId;
public int fromMapId;
public int fx;
public int fy;
public int toMapId;
public int fid;
public int transId;
public int tox;
public int toy;
}
public partial class G2FNoticeSynRoleInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2FNoticeSynRoleInfo(this);
}
public const uint MsgID = 301315;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
value = ProtoBufUtils.ReadString(ref readPos);
break;
case 4:
msgId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
messData = ProtoBufUtils.ReadBytes(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
type = 0;
value = null;
msgId = 0;
messData = null;
}
public long roleId;
public int type;
public string value;
public int msgId;
public byte[] messData;
}
public partial class P2FCreateCityMap : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2FCreateCityMap(this);
}
public const uint MsgID = 301414;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
modelID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
roomID = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
if(mapSetList == null)
{
mapSetList = new List<MSG_Common.CrossAttribute>();
}
mapSetList.Add(new MSG_Common.CrossAttribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
mapSetList[mapSetList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
modelID = 0;
roomID = 0;
if(mapSetList != null)
{
mapSetList.Clear();
}
}
public int modelID;
public long roomID;
public List<MSG_Common.CrossAttribute> mapSetList = new List<MSG_Common.CrossAttribute>();
}
public partial class G2FSynRobotInfoToHelpBattle : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2FSynRobotInfoToHelpBattle(this);
}
public const uint MsgID = 301316;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadFixed64(ref readPos);
break;
case 2:
robotData = ProtoBufUtils.ReadString(ref readPos);
break;
case 3:
attlist = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
robotData = null;
attlist = null;
}
public ulong roleId;
public string robotData;
public string attlist;
}
public partial class F2GSynRoleFVInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2GSynRoleFVInfo(this);
}
public const uint MsgID = 301415;
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:
fvType = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
fvValue = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
con = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 6:
resetType = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7:
value = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
fvType = 0;
fvValue = 0;
type = 0;
con = 0;
resetType = 0;
value = 0;
}
public long roleId;
public int fvType;
public int fvValue;
public int type;
public long con;
public int resetType;
public long value;
}
public partial class P2FCloseMap : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_P2FCloseMap(this);
}
public const uint MsgID = 301416;
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:
roomID = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roomID = 0;
}
public long roomID;
}
}