using System.Collections.Generic; using Thousandto.Plugins.Common; using Thousandto.Code.Logic.Network; namespace MSG_Map { public partial class ReqTransport : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102201; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,transportId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { transportId = 0; } public int transportId; } public partial class ReqMoveTo : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102202; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); if(curPos != null) { curPos.WriteMessage(1); } for (int i = 0; i < posList.Count; i++) { if(posList != null) { posList[i].WriteMessage(2); } } ProtoBufUtils.WriteInt32(3,mapId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { if(curPos != null) { curPos.Clear(); } if(posList != null) { posList.Clear(); } mapId = 0; } public MSG_Common.Position curPos; public List posList = new List(); public int mapId; } public partial class ReqPetMoveTo : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102254; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); if(curPos != null) { curPos.WriteMessage(1); } for (int i = 0; i < posList.Count; i++) { if(posList != null) { posList[i].WriteMessage(2); } } ProtoBufUtils.WriteInt32(3,mapId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { if(curPos != null) { curPos.Clear(); } if(posList != null) { posList.Clear(); } mapId = 0; } public MSG_Common.Position curPos; public List posList = new List(); public int mapId; } public partial class ReqJump : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102203; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteFloat(1,curX); ProtoBufUtils.WriteFloat(2,curY); ProtoBufUtils.WriteFloat(3,height); ProtoBufUtils.WriteFloat(4,startTarX); ProtoBufUtils.WriteFloat(5,startTarY); ProtoBufUtils.WriteFloat(6,endTarX); ProtoBufUtils.WriteFloat(7,endTarY); ProtoBufUtils.WriteInt32(8,stage); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { curX = 0; curY = 0; height = 0; startTarX = 0; startTarY = 0; endTarX = 0; endTarY = 0; stage = 0; } public float curX; public float curY; public float height; public float startTarX; public float startTarY; public float endTarX; public float endTarY; public int stage; } public partial class ReqStopMove : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102204; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); if(pos != null) { pos.WriteMessage(1); } ProtoBufUtils.WriteInt32(2,mapId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { if(pos != null) { pos.Clear(); } mapId = 0; } public MSG_Common.Position pos; public int mapId; } public partial class ReqPetStopMove : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102255; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); if(pos != null) { pos.WriteMessage(1); } ProtoBufUtils.WriteInt32(2,mapId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { if(pos != null) { pos.Clear(); } mapId = 0; } public MSG_Common.Position pos; public int mapId; } public partial class ReqDirMove : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102205; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); if(curPos != null) { curPos.WriteMessage(1); } if(dir != null) { dir.WriteMessage(2); } ProtoBufUtils.WriteInt32(3,mapId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { if(curPos != null) { curPos.Clear(); } if(dir != null) { dir.Clear(); } mapId = 0; } public MSG_Common.Position curPos; public MSG_Common.Position dir; public int mapId; } public partial class ReqGather : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102206; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteUint64(1,id); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { id = 0; } public ulong id; } public partial class ReqRelive : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102207; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,type); ProtoBufUtils.WriteBoolean(2,isUseGold); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { type = 0; isUseGold = false; } public int type; public bool isUseGold; } public partial class ReqGetLines : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102208; 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 ReqSelectLine : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102209; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,line); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { line = 0; } public int line; } public partial class ReqJumpDown : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102210; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteFloat(1,tarX); ProtoBufUtils.WriteFloat(2,tarY); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { tarX = 0; tarY = 0; } public float tarX; public float tarY; } public partial class ReqJumpBlock : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102213; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); if(target != null) { target.WriteMessage(1); } bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { if(target != null) { target.Clear(); } } public MSG_Common.Position target; } public partial class ReqPetJumpBlock : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102219; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); if(target != null) { target.WriteMessage(1); } bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { if(target != null) { target.Clear(); } } public MSG_Common.Position target; } public partial class ReqFabaoJumpBlock : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102220; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); if(target != null) { target.WriteMessage(1); } bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { if(target != null) { target.Clear(); } } public MSG_Common.Position target; } public partial class ReqGetMonsterPos : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102215; 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 ReqTransportControl : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102216; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,type); ProtoBufUtils.WriteInt32(2,mapID); ProtoBufUtils.WriteFloat(3,x); ProtoBufUtils.WriteFloat(4,y); ProtoBufUtils.WriteInt64(5,param); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { type = 0; mapID = 0; x = 0; y = 0; param = 0; } public int type; public int mapID; public float x; public float y; public long param; } public partial class ReqCineMatic : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102217; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteInt32(1,plotId); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { plotId = 0; } public int plotId; } public partial class ReqSynPos : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102218; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteFloat(1,x); ProtoBufUtils.WriteFloat(2,y); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { x = 0; y = 0; } public float x; public float y; } public partial class ResEnterMap : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResEnterMap(this); } public const uint MsgID = 102102; 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: result = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: mapDataID = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: line = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: if(pos == null) { pos = new MSG_Common.Position(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); pos.ReadMessage(ref readPos, totalCount); break; case 5: type = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: param = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { result = 0; mapDataID = 0; line = 0; if(pos != null) { pos.Clear(); } type = 0; param = 0; } public int result; public int mapDataID; public int line; public MSG_Common.Position pos; public int type; public int param; } public partial class ResRoundObjs : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResRoundObjs(this); } public const uint MsgID = 102103; 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(players == null) { players = new List(); } players.Add(new MSG_Common.PlayerInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); players[players.Count - 1].ReadMessage(ref readPos, totalCount); break; case 2: if(monsters == null) { monsters = new List(); } monsters.Add(new MSG_Common.MonsterInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); monsters[monsters.Count - 1].ReadMessage(ref readPos, totalCount); break; case 3: if(gathers == null) { gathers = new List(); } gathers.Add(new MSG_Common.GatherInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); gathers[gathers.Count - 1].ReadMessage(ref readPos, totalCount); break; case 4: if(pets == null) { pets = new List(); } pets.Add(new MSG_Common.PetInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); pets[pets.Count - 1].ReadMessage(ref readPos, totalCount); break; case 5: if(npcs == null) { npcs = new List(); } npcs.Add(new MSG_Common.NpcInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); npcs[npcs.Count - 1].ReadMessage(ref readPos, totalCount); break; case 6: if(removeIds == null) { removeIds = new List(); } removeIds.Add(ProtoBufUtils.ReadUint64(ref readPos)); break; case 7: if(magics == null) { magics = new List(); } magics.Add(new MSG_Common.Magic()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); magics[magics.Count - 1].ReadMessage(ref readPos, totalCount); break; case 8: if(bonfires == null) { bonfires = new List(); } bonfires.Add(new MSG_Common.BonfireInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); bonfires[bonfires.Count - 1].ReadMessage(ref readPos, totalCount); break; case 9: if(tombstone == null) { tombstone = new List(); } tombstone.Add(new MSG_Common.TombstoneInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); tombstone[tombstone.Count - 1].ReadMessage(ref readPos, totalCount); break; case 10: if(groundBuff == null) { groundBuff = new List(); } groundBuff.Add(new MSG_Common.GroundBuffMess()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); groundBuff[groundBuff.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(players != null) { players.Clear(); } if(monsters != null) { monsters.Clear(); } if(gathers != null) { gathers.Clear(); } if(pets != null) { pets.Clear(); } if(npcs != null) { npcs.Clear(); } if(removeIds != null) { removeIds.Clear(); } if(magics != null) { magics.Clear(); } if(bonfires != null) { bonfires.Clear(); } if(tombstone != null) { tombstone.Clear(); } if(groundBuff != null) { groundBuff.Clear(); } } public List players = new List(); public List monsters = new List(); public List gathers = new List(); public List pets = new List(); public List npcs = new List(); public List removeIds = new List(); public List magics = new List(); public List bonfires = new List(); public List tombstone = new List(); public List groundBuff = new List(); } public partial class ResMapPlayer : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMapPlayer(this); } public const uint MsgID = 102104; 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(player == null) { player = new MSG_Common.PlayerInfo(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); player.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(player != null) { player.Clear(); } } public MSG_Common.PlayerInfo player; } public partial class ResRoundNpcDisappear : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResRoundNpcDisappear(this); } public const uint MsgID = 102105; 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(npcIds == null) { npcIds = new List(); } npcIds.Add(ProtoBufUtils.ReadUint64(ref readPos)); break; default: break; } } } } public void Clear() { if(npcIds != null) { npcIds.Clear(); } } public List npcIds = new List(); } public partial class ResStopMove : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResStopMove(this); } public const uint MsgID = 102106; 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: objectId = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: if(pos == null) { pos = new MSG_Common.Position(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); pos.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { objectId = 0; if(pos != null) { pos.Clear(); } } public ulong objectId; public MSG_Common.Position pos; } public partial class ResMoveTo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMoveTo(this); } public const uint MsgID = 102110; 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: objectId = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: if(posList == null) { posList = new List(); } posList.Add(new MSG_Common.Position()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); posList[posList.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { objectId = 0; if(posList != null) { posList.Clear(); } } public ulong objectId; public List posList = new List(); } public partial class ResJump : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResJump(this); } public const uint MsgID = 102111; 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: curX = ProtoBufUtils.ReadFloat(ref readPos); break; case 3: curY = ProtoBufUtils.ReadFloat(ref readPos); break; case 4: height = ProtoBufUtils.ReadFloat(ref readPos); break; case 5: startTarX = ProtoBufUtils.ReadFloat(ref readPos); break; case 6: startTarY = ProtoBufUtils.ReadFloat(ref readPos); break; case 7: endTarX = ProtoBufUtils.ReadFloat(ref readPos); break; case 8: endTarY = ProtoBufUtils.ReadFloat(ref readPos); break; case 9: stage = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { roleID = 0; curX = 0; curY = 0; height = 0; startTarX = 0; startTarY = 0; endTarX = 0; endTarY = 0; stage = 0; } public ulong roleID; public float curX; public float curY; public float height; public float startTarX; public float startTarY; public float endTarX; public float endTarY; public int stage; } public partial class ResPlayerDisappear : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPlayerDisappear(this); } public const uint MsgID = 102112; 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(playerIds == null) { playerIds = new List(); } playerIds.Add(ProtoBufUtils.ReadUint64(ref readPos)); break; default: break; } } } } public void Clear() { if(playerIds != null) { playerIds.Clear(); } } public List playerIds = new List(); } public partial class ResRoundNpcInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResRoundNpcInfo(this); } public const uint MsgID = 102113; 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(npcInfo == null) { npcInfo = new MSG_Common.NpcInfo(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); npcInfo.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(npcInfo != null) { npcInfo.Clear(); } } public MSG_Common.NpcInfo npcInfo; } public partial class ResMapMonster : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMapMonster(this); } public const uint MsgID = 102114; 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(monserInfo == null) { monserInfo = new MSG_Common.MonsterInfo(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); monserInfo.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(monserInfo != null) { monserInfo.Clear(); } } public MSG_Common.MonsterInfo monserInfo; } public partial class ResMonsterDisappear : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMonsterDisappear(this); } public const uint MsgID = 102115; 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: monsterId = ProtoBufUtils.ReadUint64(ref readPos); break; default: break; } } } } public void Clear() { monsterId = 0; } public ulong monsterId; } public partial class ResDirMove : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResDirMove(this); } public const uint MsgID = 102116; 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: objectId = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: if(curPos == null) { curPos = new MSG_Common.Position(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); curPos.ReadMessage(ref readPos, totalCount); break; case 3: if(dir == null) { dir = new MSG_Common.Position(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); dir.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { objectId = 0; if(curPos != null) { curPos.Clear(); } if(dir != null) { dir.Clear(); } } public ulong objectId; public MSG_Common.Position curPos; public MSG_Common.Position dir; } public partial class ResMapGatherInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMapGatherInfo(this); } public const uint MsgID = 102117; 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(gatherInfo == null) { gatherInfo = new MSG_Common.GatherInfo(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); gatherInfo.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(gatherInfo != null) { gatherInfo.Clear(); } } public MSG_Common.GatherInfo gatherInfo; } public partial class ResGatherDisappear : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResGatherDisappear(this); } public const uint MsgID = 102118; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; default: break; } } } } public void Clear() { id = 0; } public ulong id; } public partial class ResBreakGather : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBreakGather(this); } public const uint MsgID = 102119; 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 ResRelive : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResRelive(this); } public const uint MsgID = 102120; 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.ReadUint64(ref readPos); break; case 2: mapId = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: if(curPos == null) { curPos = new MSG_Common.Position(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); curPos.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { playerId = 0; mapId = 0; if(curPos != null) { curPos.Clear(); } } public ulong playerId; public int mapId; public MSG_Common.Position curPos; } public partial class ResMoveSpeedChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMoveSpeedChange(this); } public const uint MsgID = 102121; 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: objectId = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: value = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { objectId = 0; value = 0; } public ulong objectId; public int value; } public partial class ResAttackspeedChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResAttackspeedChange(this); } public const uint MsgID = 102122; 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: objectId = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: value = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { objectId = 0; value = 0; } public ulong objectId; public int value; } public partial class ResLineList : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResLineList(this); } public const uint MsgID = 102124; 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(lines == null) { lines = new List(); } lines.Add(ProtoBufUtils.ReadInt32(ref readPos)); break; default: break; } } } } public void Clear() { if(lines != null) { lines.Clear(); } } public List lines = new List(); } public partial class ResPlayerCloakChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPlayerCloakChange(this); } public const uint MsgID = 102125; 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.ReadUint64(ref readPos); break; case 2: curCloakLayer = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; curCloakLayer = 0; } public ulong playerId; public int curCloakLayer; } public partial class ResPetBirth : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPetBirth(this); } public const uint MsgID = 102126; 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(pet == null) { pet = new MSG_Common.PetInfo(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); pet.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(pet != null) { pet.Clear(); } } public MSG_Common.PetInfo pet; } public partial class ResPetDisappear : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPetDisappear(this); } public const uint MsgID = 102127; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; default: break; } } } } public void Clear() { id = 0; } public ulong id; } public partial class ResJumpBlock : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResJumpBlock(this); } public const uint MsgID = 102128; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: if(target == null) { target = new MSG_Common.Position(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); target.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { id = 0; if(target != null) { target.Clear(); } } public ulong id; public MSG_Common.Position target; } public partial class BlockDoor : 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.ReadString(ref readPos); break; case 2 : isopen = 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.WriteString(1,id); ProtoBufUtils.WriteBoolean(2,isopen); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { id = null; isopen = false; } public string id; public bool isopen; } public partial class ResBlockDoors : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBlockDoors(this); } public const uint MsgID = 102129; 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(doors == null) { doors = new List(); } doors.Add(new BlockDoor()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); doors[doors.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(doors != null) { doors.Clear(); } } public List doors = new List(); } public partial class ResUpdateBlockDoor : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResUpdateBlockDoor(this); } public const uint MsgID = 102130; 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: id = ProtoBufUtils.ReadString(ref readPos); break; case 2: isopen = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { id = null; isopen = false; } public string id; public bool isopen; } public partial class ResMagicBirth : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMagicBirth(this); } public const uint MsgID = 102131; 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(magic == null) { magic = new MSG_Common.Magic(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); magic.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(magic != null) { magic.Clear(); } } public MSG_Common.Magic magic; } public partial class ResMagicClean : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMagicClean(this); } public const uint MsgID = 102132; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; default: break; } } } } public void Clear() { id = 0; } public ulong id; } public partial class ResUpdateCamp : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResUpdateCamp(this); } public const uint MsgID = 102133; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: camp = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { id = 0; camp = 0; } public ulong id; public int camp; } public partial class ResMonsterPos : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMonsterPos(this); } public const uint MsgID = 102134; 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: x = ProtoBufUtils.ReadFloat(ref readPos); break; case 2: Y = ProtoBufUtils.ReadFloat(ref readPos); break; default: break; } } } } public void Clear() { x = 0; Y = 0; } public float x; public float Y; } public partial class ResMonsterDieGetItem : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMonsterDieGetItem(this); } public const uint MsgID = 102135; 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: instanceId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 2: roleId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 3: if(list == null) { list = new List(); } list.Add(new MSG_copyMap.cardItemInfo()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); list[list.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { instanceId = 0; roleId = 0; if(list != null) { list.Clear(); } } public ulong instanceId; public ulong roleId; public List list = new List(); } public partial class ResBeginGather : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBeginGather(this); } public const uint MsgID = 102136; 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: gatherId = ProtoBufUtils.ReadUint64(ref readPos); break; case 3: x = ProtoBufUtils.ReadFloat(ref readPos); break; case 4: Y = ProtoBufUtils.ReadFloat(ref readPos); break; default: break; } } } } public void Clear() { roleId = 0; gatherId = 0; x = 0; Y = 0; } public ulong roleId; public ulong gatherId; public float x; public float Y; } public partial class ResEndGather : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResEndGather(this); } public const uint MsgID = 102137; 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; default: break; } } } } public void Clear() { roleId = 0; } public ulong roleId; } public partial class ResUpdateMoveState : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResUpdateMoveState(this); } public const uint MsgID = 102138; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: isRun = ProtoBufUtils.ReadBoolean(ref readPos); break; default: break; } } } } public void Clear() { id = 0; isRun = false; } public ulong id; public bool isRun; } public partial class ResPlayEffect : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPlayEffect(this); } public const uint MsgID = 102139; 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: effectType = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { effectType = 0; } public int effectType; } public partial class RoleStatue : 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 : isUseDef = ProtoBufUtils.ReadBoolean(ref readPos); break; case 3 : name = ProtoBufUtils.ReadString(ref readPos); break; case 4 : career = ProtoBufUtils.ReadInt32(ref readPos); break; case 5 : degree = ProtoBufUtils.ReadInt32(ref readPos); break; case 6 : wingId = ProtoBufUtils.ReadInt32(ref readPos); break; case 7 : clothesEquipId = ProtoBufUtils.ReadInt32(ref readPos); break; case 8 : weaponsEquipId = ProtoBufUtils.ReadInt32(ref readPos); break; case 9 : clothesStar = ProtoBufUtils.ReadInt32(ref readPos); break; case 10 : weaponStar = ProtoBufUtils.ReadInt32(ref readPos); break; case 11 : roleId = ProtoBufUtils.ReadInt64(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.WriteBoolean(2,isUseDef); ProtoBufUtils.WriteString(3,name); ProtoBufUtils.WriteInt32(4,career); ProtoBufUtils.WriteInt32(5,degree); ProtoBufUtils.WriteInt32(6,wingId); ProtoBufUtils.WriteInt32(7,clothesEquipId); ProtoBufUtils.WriteInt32(8,weaponsEquipId); ProtoBufUtils.WriteInt32(9,clothesStar); ProtoBufUtils.WriteInt32(10,weaponStar); ProtoBufUtils.WriteInt64(11,roleId); ProtoBufUtils.SetVEndIndex(subItemInfoId); return ProtoBufUtils.CheckAndSetLength(subItemInfoId); } public void Clear() { id = 0; isUseDef = false; name = null; career = 0; degree = 0; wingId = 0; clothesEquipId = 0; weaponsEquipId = 0; clothesStar = 0; weaponStar = 0; roleId = 0; } public int id; public bool isUseDef; public string name; public int career; public int degree; public int wingId; public int clothesEquipId; public int weaponsEquipId; public int clothesStar; public int weaponStar; public long roleId; } public partial class ResRoleStatue : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResRoleStatue(this); } public const uint MsgID = 102140; 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(statues == null) { statues = new List(); } statues.Add(new RoleStatue()); totalCount = ProtoBufUtils.ReadInt32(ref readPos); statues[statues.Count - 1].ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(statues != null) { statues.Clear(); } } public List statues = new List(); } public partial class ResCityFlag : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResCityFlag(this); } public const uint MsgID = 102141; 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: flagId = 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() { flagId = 0; name = null; x = 0; y = 0; } public int flagId; public string name; public float x; public float y; } public partial class ResJumpTransport : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResJumpTransport(this); } public const uint MsgID = 102142; 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: transId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { transId = 0; } public int transId; } public partial class ResJumpDown : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResJumpDown(this); } public const uint MsgID = 102143; 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: tarX = ProtoBufUtils.ReadFloat(ref readPos); break; case 3: tarY = ProtoBufUtils.ReadFloat(ref readPos); break; default: break; } } } } public void Clear() { roleID = 0; tarX = 0; tarY = 0; } public ulong roleID; public float tarX; public float tarY; } public partial class ResBonfireBirth : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBonfireBirth(this); } public const uint MsgID = 102144; 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(bonfire == null) { bonfire = new MSG_Common.BonfireInfo(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); bonfire.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(bonfire != null) { bonfire.Clear(); } } public MSG_Common.BonfireInfo bonfire; } public partial class ResBonfireClean : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResBonfireClean(this); } public const uint MsgID = 102145; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; default: break; } } } } public void Clear() { id = 0; } public ulong id; } public partial class ResMonsterDieGetCoin : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMonsterDieGetCoin(this); } public const uint MsgID = 102146; 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: instanceId = ProtoBufUtils.ReadFixed64(ref readPos); break; case 2: coinnum = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { instanceId = 0; coinnum = 0; } public ulong instanceId; public int coinnum; } public partial class ResPetHpChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPetHpChange(this); } public const uint MsgID = 102147; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: dataID = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: ownerID = ProtoBufUtils.ReadUint64(ref readPos); break; case 4: speed = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: level = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: camp = ProtoBufUtils.ReadInt32(ref readPos); break; case 7: curHp = ProtoBufUtils.ReadFixed64(ref readPos); break; case 8: maxHp = ProtoBufUtils.ReadFixed64(ref readPos); break; default: break; } } } } public void Clear() { id = 0; dataID = 0; ownerID = 0; speed = 0; level = 0; camp = 0; curHp = 0; maxHp = 0; } public ulong id; public int dataID; public ulong ownerID; public int speed; public int level; public int camp; public ulong curHp; public ulong maxHp; } public partial class ResMonsterDropMark : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResMonsterDropMark(this); } public const uint MsgID = 102148; 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: monsterId = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: if(dropUserIds == null) { dropUserIds = new List(); } dropUserIds.Add(ProtoBufUtils.ReadInt64(ref readPos)); break; default: break; } } } } public void Clear() { monsterId = 0; if(dropUserIds != null) { dropUserIds.Clear(); } } public ulong monsterId; public List dropUserIds = new List(); } public partial class ResTombstoneBirth : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResTombstoneBirth(this); } public const uint MsgID = 102149; 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(TombstoneInfo == null) { TombstoneInfo = new MSG_Common.TombstoneInfo(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); TombstoneInfo.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(TombstoneInfo != null) { TombstoneInfo.Clear(); } } public MSG_Common.TombstoneInfo TombstoneInfo; } public partial class ResTombstoneClean : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResTombstoneClean(this); } public const uint MsgID = 102150; 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: id = ProtoBufUtils.ReadUint64(ref readPos); break; default: break; } } } } public void Clear() { id = 0; } public ulong id; } public partial class ResGroundBuffBirth : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResGroundBuffBirth(this); } public const uint MsgID = 102151; 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(groundBuffInfo == null) { groundBuffInfo = new MSG_Common.GroundBuffMess(); } totalCount = ProtoBufUtils.ReadInt32(ref readPos); groundBuffInfo.ReadMessage(ref readPos, totalCount); break; default: break; } } } } public void Clear() { if(groundBuffInfo != null) { groundBuffInfo.Clear(); } } public MSG_Common.GroundBuffMess groundBuffInfo; } public partial class ResGroundBuffClean : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResGroundBuffClean(this); } public const uint MsgID = 102152; 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: gbid = ProtoBufUtils.ReadUint64(ref readPos); break; default: break; } } } } public void Clear() { gbid = 0; } public ulong gbid; } public partial class ReqGroundBuffStar : ProtoBuf.IExtensible, ProtoBuf.IReqMessage { public const uint MsgID = 102253; public void Excute(){} public void Send() { lock (ProtoBufUtils.WriteLocker) { byte[] bytes = null; ProtoBufUtils.InitWriteData(); ProtoBufUtils.WriteUint64(1,gbid); bytes = ProtoBufUtils.GetData(); Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID); } } public void Clear() { gbid = 0; } public ulong gbid; } public partial class ResGroundBuffStar : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResGroundBuffStar(this); } public const uint MsgID = 102153; 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: gbid = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: state = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { gbid = 0; state = 0; } public ulong gbid; public int state; } public partial class ResShowMonsterPop : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResShowMonsterPop(this); } public const uint MsgID = 102154; 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: monsterid = ProtoBufUtils.ReadUint64(ref readPos); break; case 2: talkid = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { monsterid = 0; talkid = 0; } public ulong monsterid; public int talkid; } public partial class ResPlayCinematic : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPlayCinematic(this); } public const uint MsgID = 102155; 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: cinematicID = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { cinematicID = 0; } public int cinematicID; } public partial class ResNotCanGather : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResNotCanGather(this); } public const uint MsgID = 102158; 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: gatherId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { gatherId = 0; } public long gatherId; } public partial class ResShiHaiBroadcast : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResShiHaiBroadcast(this); } public const uint MsgID = 102159; 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.ReadUint64(ref readPos); break; case 2: shiHaiCfgId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; shiHaiCfgId = 0; } public ulong playerId; public int shiHaiCfgId; } public partial class ResVipLvBroadCast : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResVipLvBroadCast(this); } public const uint MsgID = 102160; 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: vipLv = ProtoBufUtils.ReadInt32(ref readPos); break; case 2: roleId = ProtoBufUtils.ReadInt64(ref readPos); break; default: break; } } } } public void Clear() { vipLv = 0; roleId = 0; } public int vipLv; public long roleId; } public partial class ResGuildInfoBroadCast : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResGuildInfoBroadCast(this); } public const uint MsgID = 102161; 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: guildId = ProtoBufUtils.ReadInt64(ref readPos); break; case 2: roleId = ProtoBufUtils.ReadInt64(ref readPos); break; case 3: guildName = ProtoBufUtils.ReadString(ref readPos); break; case 4: guildPos = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { guildId = 0; roleId = 0; guildName = null; guildPos = 0; } public long guildId; public long roleId; public string guildName; public int guildPos; } public partial class ResFabaoInfoBroadCast : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResFabaoInfoBroadCast(this); } public const uint MsgID = 102162; 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: cfgId = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: id = ProtoBufUtils.ReadInt64(ref readPos); break; case 4: soulSpirte1 = ProtoBufUtils.ReadInt32(ref readPos); break; case 5: soulSpirte2 = ProtoBufUtils.ReadInt32(ref readPos); break; case 6: soulSpirte3 = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; cfgId = 0; id = 0; soulSpirte1 = 0; soulSpirte2 = 0; soulSpirte3 = 0; } public long playerId; public int cfgId; public long id; public int soulSpirte1; public int soulSpirte2; public int soulSpirte3; } public partial class ResSpiritIdBroadCast : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResSpiritIdBroadCast(this); } public const uint MsgID = 102163; 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: spiritId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; spiritId = 0; } public long playerId; public int spiritId; } public partial class ResHuaxinFlySwordBroadCast : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResHuaxinFlySwordBroadCast(this); } public const uint MsgID = 102164; 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: huxinFlyID = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: uid = ProtoBufUtils.ReadInt64(ref readPos); break; case 4: feijianMaxID = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; huxinFlyID = 0; uid = 0; feijianMaxID = 0; } public long playerId; public int huxinFlyID; public long uid; public int feijianMaxID; } public partial class ResChildCallInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResChildCallInfo(this); } public const uint MsgID = 102165; 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: childId = ProtoBufUtils.ReadInt32(ref readPos); break; case 3: opt = ProtoBufUtils.ReadInt32(ref readPos); break; case 4: childName = ProtoBufUtils.ReadString(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; childId = 0; opt = 0; childName = null; } public long playerId; public int childId; public int opt; public string childName; } public partial class ResPlayerPlayVfx : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResPlayerPlayVfx(this); } public const uint MsgID = 102166; 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: vfxId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; vfxId = 0; } public long playerId; public int vfxId; } public partial class ResSoulEquipChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage { public void Excute() { HandleMsgResult.getInstance().GS2U_ResSoulEquipChange(this); } public const uint MsgID = 102167; 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: soulArmorId = ProtoBufUtils.ReadInt32(ref readPos); break; default: break; } } } } public void Clear() { playerId = 0; soulArmorId = 0; } public long playerId; public int soulArmorId; } }