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

3137 lines
104 KiB
C#
Raw Normal View History

2025-01-25 04:38:09 +08:00
using System.Collections.Generic;
using Thousandto.Plugins.Common;
using Thousandto.Code.Logic.Network;
namespace MSG_Player
{
public partial class Attribute : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible
{
public void Send(){}
public void Excute(){}
public void ReadMessage(ref int readPos, int totalCount)
{
int endIndex = totalCount + readPos - 1;
while (readPos <= endIndex)
{
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1 :
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
value = ProtoBufUtils.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,type);
ProtoBufUtils.WriteInt64(2,value);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
type = 0;
value = 0;
}
public int type;
public long value;
}
public partial class ResPlayerOnLineAttribute : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerOnLineAttribute(this);
}
public const uint MsgID = 105101;
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(attributeList == null)
{
attributeList = new List<Attribute>();
}
attributeList.Add(new Attribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
attributeList[attributeList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 2:
maxHp = ProtoBufUtils.ReadFixed64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(attributeList != null)
{
attributeList.Clear();
}
maxHp = 0;
}
public List<Attribute> attributeList = new List<Attribute>();
public ulong maxHp;
}
public partial class ResPlayerAttributeChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerAttributeChange(this);
}
public const uint MsgID = 105102;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
if(changeList == null)
{
changeList = new List<Attribute>();
}
changeList.Add(new Attribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
changeList[changeList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
type = 0;
if(changeList != null)
{
changeList.Clear();
}
}
public int type;
public List<Attribute> changeList = new List<Attribute>();
}
public partial class ResPlayerBaseInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerBaseInfo(this);
}
public const uint MsgID = 105103;
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:
accountId = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 3:
name = ProtoBufUtils.ReadString(ref readPos);
break;
case 4:
pkMode = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
curTitle = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 6:
vipLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7:
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8:
exp = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 9:
occupation = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 10:
mountId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 11:
guild = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 12:
guildName = ProtoBufUtils.ReadString(ref readPos);
break;
case 13:
pos = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 14:
mapID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 15:
posX = ProtoBufUtils.ReadFloat(ref readPos);
break;
case 16:
posY = ProtoBufUtils.ReadFloat(ref readPos);
break;
case 17:
curHP = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 18:
fightpower = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 19:
languageType = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 20:
stateVip = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 21:
camp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 22:
fabaoId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 23:
fabaoUid = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 24:
soulSpirte1 = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 25:
soulSpirte2 = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 26:
soulSpirte3 = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 27:
shiHaiCfgId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 28:
serverId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 29:
vipExp = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 30:
xsLvl = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 31:
curWakan = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 32:
if(facade == null)
{
facade = new MSG_Common.FacadeAttribute();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
facade.ReadMessage(ref readPos, totalCount);
break;
case 33:
feijianId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 34:
feijianUid = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 35:
feijianMaxID = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 36:
genderClass = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 37:
childId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 38:
if(head == null)
{
head = new MSG_Common.HeadAttribute();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
head.ReadMessage(ref readPos, totalCount);
break;
case 39:
childName = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
accountId = 0;
name = null;
pkMode = 0;
curTitle = 0;
vipLevel = 0;
level = 0;
exp = 0;
occupation = 0;
mountId = 0;
guild = 0;
guildName = null;
pos = 0;
mapID = 0;
posX = 0;
posY = 0;
curHP = 0;
fightpower = 0;
languageType = 0;
stateVip = 0;
camp = 0;
fabaoId = 0;
fabaoUid = 0;
soulSpirte1 = 0;
soulSpirte2 = 0;
soulSpirte3 = 0;
shiHaiCfgId = 0;
serverId = 0;
vipExp = 0;
xsLvl = 0;
curWakan = 0;
if(facade != null)
{
facade.Clear();
}
feijianId = 0;
feijianUid = 0;
feijianMaxID = 0;
genderClass = 0;
childId = 0;
if(head != null)
{
head.Clear();
}
childName = null;
}
public ulong roleID;
public ulong accountId;
public string name;
public int pkMode;
public int curTitle;
public int vipLevel;
public int level;
public ulong exp;
public int occupation;
public int mountId;
public ulong guild;
public string guildName;
public int pos;
public int mapID;
public float posX;
public float posY;
public int curHP;
public long fightpower;
public int languageType;
public int stateVip;
public int camp;
public int fabaoId;
public long fabaoUid;
public int soulSpirte1;
public int soulSpirte2;
public int soulSpirte3;
public int shiHaiCfgId;
public int serverId;
public long vipExp;
public int xsLvl;
public long curWakan;
public MSG_Common.FacadeAttribute facade;
public int feijianId;
public long feijianUid;
public int feijianMaxID;
public int genderClass;
public int childId;
public MSG_Common.HeadAttribute head;
public string childName;
}
public partial class GlobalPlayerWorldInfo : 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 :
userId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2 :
roleid = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3 :
rolename = ProtoBufUtils.ReadString(ref readPos);
break;
case 4 :
career = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5 :
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 6 :
plat = ProtoBufUtils.ReadString(ref readPos);
break;
case 7 :
createTime = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8 :
csid = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 9 :
lastOffTime = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 10 :
horseId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 11 :
wingId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 12 :
fightPower = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 13 :
guildId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 14 :
fashionHeadId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 15 :
fashionHeadFrameId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 16 :
fashionBodyId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 17 :
fashionWeaponId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 18 :
fashionHalo = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 19 :
fashionMatrix = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 20 :
sex = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 21 :
stateVip = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 22 :
shiHaiLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 23 :
playerVip = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 24 :
spiritId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 25 :
soulArmorId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 26 :
serverId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 27 :
customHeadPath = ProtoBufUtils.ReadString(ref readPos);
break;
case 28 :
useCustomHead = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 29 :
guildName = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt64(1,userId);
ProtoBufUtils.WriteInt64(2,roleid);
ProtoBufUtils.WriteString(3,rolename);
ProtoBufUtils.WriteInt32(4,career);
ProtoBufUtils.WriteInt32(5,level);
ProtoBufUtils.WriteString(6,plat);
ProtoBufUtils.WriteInt32(7,createTime);
ProtoBufUtils.WriteInt32(8,csid);
ProtoBufUtils.WriteInt32(9,lastOffTime);
ProtoBufUtils.WriteInt32(10,horseId);
ProtoBufUtils.WriteInt32(11,wingId);
ProtoBufUtils.WriteInt64(12,fightPower);
ProtoBufUtils.WriteInt64(13,guildId);
ProtoBufUtils.WriteInt32(14,fashionHeadId);
ProtoBufUtils.WriteInt32(15,fashionHeadFrameId);
ProtoBufUtils.WriteInt32(16,fashionBodyId);
ProtoBufUtils.WriteInt32(17,fashionWeaponId);
ProtoBufUtils.WriteInt32(18,fashionHalo);
ProtoBufUtils.WriteInt32(19,fashionMatrix);
ProtoBufUtils.WriteInt32(20,sex);
ProtoBufUtils.WriteInt32(21,stateVip);
ProtoBufUtils.WriteInt32(22,shiHaiLevel);
ProtoBufUtils.WriteInt32(23,playerVip);
ProtoBufUtils.WriteInt32(24,spiritId);
ProtoBufUtils.WriteInt32(25,soulArmorId);
ProtoBufUtils.WriteInt32(26,serverId);
ProtoBufUtils.WriteString(27,customHeadPath);
ProtoBufUtils.WriteBoolean(28,useCustomHead);
ProtoBufUtils.WriteString(29,guildName);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
userId = 0;
roleid = 0;
rolename = null;
career = 0;
level = 0;
plat = null;
createTime = 0;
csid = 0;
lastOffTime = 0;
horseId = 0;
wingId = 0;
fightPower = 0;
guildId = 0;
fashionHeadId = 0;
fashionHeadFrameId = 0;
fashionBodyId = 0;
fashionWeaponId = 0;
fashionHalo = 0;
fashionMatrix = 0;
sex = 0;
stateVip = 0;
shiHaiLevel = 0;
playerVip = 0;
spiritId = 0;
soulArmorId = 0;
serverId = 0;
customHeadPath = null;
useCustomHead = false;
guildName = null;
}
public long userId;
public long roleid;
public string rolename;
public int career;
public int level;
public string plat;
public int createTime;
public int csid;
public int lastOffTime;
public int horseId;
public int wingId;
public long fightPower;
public long guildId;
public int fashionHeadId;
public int fashionHeadFrameId;
public int fashionBodyId;
public int fashionWeaponId;
public int fashionHalo;
public int fashionMatrix;
public int sex;
public int stateVip;
public int shiHaiLevel;
public int playerVip;
public int spiritId;
public int soulArmorId;
public int serverId;
public string customHeadPath;
public bool useCustomHead;
public string guildName;
}
public partial class ResChangeJobResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResChangeJobResult(this);
}
public const uint MsgID = 105104;
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:
grade = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
result = 0;
grade = 0;
}
public int result;
public int grade;
}
public partial class ResAddHatred : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResAddHatred(this);
}
public const uint MsgID = 105105;
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;
default:
break;
}
}
}
}
public void Clear()
{
playerId = 0;
}
public ulong playerId;
}
public partial class ResDelHatred : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResDelHatred(this);
}
public const uint MsgID = 105106;
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;
default:
break;
}
}
}
}
public void Clear()
{
playerId = 0;
}
public ulong playerId;
}
public partial class ResLevelChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResLevelChange(this);
}
public const uint MsgID = 105107;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
playerId = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 3:
time = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
grade = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
level = 0;
playerId = 0;
time = 0;
grade = 0;
}
public int level;
public ulong playerId;
public int time;
public int grade;
}
public partial class ResPracticeInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPracticeInfo(this);
}
public const uint MsgID = 105108;
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:
time = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
getExp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
getZhenQi = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
state = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
time = 0;
getExp = 0;
getZhenQi = 0;
state = false;
}
public int time;
public int getExp;
public int getZhenQi;
public bool state;
}
public partial class ResPracticeSetDo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPracticeSetDo(this);
}
public const uint MsgID = 105109;
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;
default:
break;
}
}
}
}
public void Clear()
{
result = 0;
}
public int result;
}
public partial class ResPracticeGetResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPracticeGetResult(this);
}
public const uint MsgID = 105110;
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;
default:
break;
}
}
}
}
public void Clear()
{
result = 0;
}
public int result;
}
public partial class ResAccunonlinetime : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResAccunonlinetime(this);
}
public const uint MsgID = 105113;
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:
time = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
time = 0;
}
public int time;
}
public partial class ResUpdataExpRate : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResUpdataExpRate(this);
}
public const uint MsgID = 105114;
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:
expRate = ProtoBufUtils.ReadFloat(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
expRate = 0;
}
public float expRate;
}
public partial class ResUpdataPkValue : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResUpdataPkValue(this);
}
public const uint MsgID = 105115;
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:
pkValue = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
playerId = 0;
pkValue = 0;
}
public ulong playerId;
public int pkValue;
}
public partial class ResUpdataPkStateResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResUpdataPkStateResult(this);
}
public const uint MsgID = 105116;
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:
curPkState = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
reason = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
notice = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
curPkState = 0;
reason = 0;
notice = false;
}
public int curPkState;
public int reason;
public bool notice;
}
public partial class ResCleanHatred : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResCleanHatred(this);
}
public const uint MsgID = 105117;
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 ResPlayerFightPointChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerFightPointChange(this);
}
public const uint MsgID = 105118;
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:
fightPoint = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
fightPoint = 0;
type = 0;
}
public long fightPoint;
public int type;
}
public partial class ResLookOtherPlayerResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResLookOtherPlayerResult(this);
}
public const uint MsgID = 105119;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 2:
roleName = ProtoBufUtils.ReadString(ref readPos);
break;
case 3:
roleLv = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
career = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
vip = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 6:
fightPoint = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 7:
guildName = ProtoBufUtils.ReadString(ref readPos);
break;
case 8:
if(attList == null)
{
attList = new List<Attribute>();
}
attList.Add(new Attribute());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
attList[attList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 10:
if(equipList == null)
{
equipList = new List<MSG_backpack.ItemInfo>();
}
equipList.Add(new MSG_backpack.ItemInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
equipList[equipList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 11:
stifleFabaoId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 12:
shiHaiCfgId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 13:
xsLvl = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 14:
if(facade == null)
{
facade = new MSG_Common.FacadeAttribute();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
facade.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
roleName = null;
roleLv = 0;
career = 0;
vip = 0;
fightPoint = 0;
guildName = null;
if(attList != null)
{
attList.Clear();
}
if(equipList != null)
{
equipList.Clear();
}
stifleFabaoId = 0;
shiHaiCfgId = 0;
xsLvl = 0;
if(facade != null)
{
facade.Clear();
}
}
public ulong roleId;
public string roleName;
public int roleLv;
public int career;
public int vip;
public long fightPoint;
public string guildName;
public List<Attribute> attList = new List<Attribute>();
public List<MSG_backpack.ItemInfo> equipList = new List<MSG_backpack.ItemInfo>();
public int stifleFabaoId;
public int shiHaiCfgId;
public int xsLvl;
public MSG_Common.FacadeAttribute facade;
}
public partial class ResFightOrUnFight : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResFightOrUnFight(this);
}
public const uint MsgID = 105120;
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:
isFight = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
isFight = false;
}
public bool isFight;
}
public partial class ResMainUIGuideID : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResMainUIGuideID(this);
}
public const uint MsgID = 105121;
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:
gid = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
gid = 0;
}
public int gid;
}
public partial class ResPlayerTodayData : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerTodayData(this);
}
public const uint MsgID = 105122;
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:
continuousDays = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
accumOnlineDays = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
continuousDays = 0;
accumOnlineDays = 0;
}
public int continuousDays;
public int accumOnlineDays;
}
public partial class ResChangeRoleNameResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResChangeRoleNameResult(this);
}
public const uint MsgID = 105125;
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:
isSuccess = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 2:
newName = ProtoBufUtils.ReadString(ref readPos);
break;
case 3:
roleId = ProtoBufUtils.ReadUint64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
isSuccess = false;
newName = null;
roleId = 0;
}
public bool isSuccess;
public string newName;
public ulong roleId;
}
public partial class ResMaxHpChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResMaxHpChange(this);
}
public const uint MsgID = 105126;
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:
maxHp = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
maxHp = 0;
}
public long roleId;
public long maxHp;
}
public partial class ResClientToChoiceBirthGroup : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResClientToChoiceBirthGroup(this);
}
public const uint MsgID = 105127;
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 ResNotUpLevel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResNotUpLevel(this);
}
public const uint MsgID = 105128;
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 ResChangeJobTips : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResChangeJobTips(this);
}
public const uint MsgID = 105129;
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 ResOpenServerTime : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResOpenServerTime(this);
}
public const uint MsgID = 105131;
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:
time = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
time = 0;
}
public long time;
}
public partial class ReqChangeJob : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105202;
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 ReqGetAccunonlinetime : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105206;
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 ReqUpdataPkState : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105207;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,pkState);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
pkState = 0;
}
public int pkState;
}
public partial class ReqLookOtherPlayer : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105209;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteUint64(1,otherPlayerId);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
otherPlayerId = 0;
}
public ulong otherPlayerId;
}
public partial class ReqUpdateMainUIGuideID : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105210;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,gid);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
gid = 0;
}
public int gid;
}
public partial class ReqMainUIGuideID : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105211;
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 ReqChangeRoleName : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105212;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteString(1,newName);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
newName = null;
}
public string newName;
}
public partial class ReqCourageList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105214;
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 FateStar : 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 :
gender = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt32(1,id);
ProtoBufUtils.WriteInt32(2,gender);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
id = 0;
gender = 0;
}
public int id;
public int gender;
}
public partial class ReqPeakLevelPanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105232;
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 ResPeakLevelPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPeakLevelPanel(this);
}
public const uint MsgID = 105135;
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(ids == null)
{
ids = new List<int>();
}
ids.Add(ProtoBufUtils.ReadInt32(ref readPos));
break;
case 2:
isChangeJob = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 3:
isRed = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(ids != null)
{
ids.Clear();
}
isChangeJob = false;
isRed = false;
}
public List<int> ids = new List<int>();
public bool isChangeJob;
public bool isRed;
}
public partial class ReqChangeJobPanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105234;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,gender);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
gender = 0;
}
public int gender;
}
public partial class ResChangeJobPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResChangeJobPanel(this);
}
public const uint MsgID = 105137;
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(ids == null)
{
ids = new List<int>();
}
ids.Add(ProtoBufUtils.ReadInt32(ref readPos));
break;
case 2:
isChangeJob = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 3:
isRed = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 4:
gender = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(ids != null)
{
ids.Clear();
}
isChangeJob = false;
isRed = false;
gender = 0;
}
public List<int> ids = new List<int>();
public bool isChangeJob;
public bool isRed;
public int gender;
}
public partial class ReqActiveFateStar : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105233;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,id);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
id = 0;
}
public int id;
}
public partial class ResActiveFateStar : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResActiveFateStar(this);
}
public const uint MsgID = 105134;
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(ids == null)
{
ids = new FateStar();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
ids.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(ids != null)
{
ids.Clear();
}
}
public FateStar ids;
}
public partial class ResPlayerGenderNotice : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerGenderNotice(this);
}
public const uint MsgID = 105136;
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:
genderLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
playerId = 0;
genderLevel = 0;
}
public long playerId;
public int genderLevel;
}
public partial class ReqUpgradeBlood : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105235;
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 ResUpgradeBlood : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResUpgradeBlood(this);
}
public const uint MsgID = 105138;
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:
state = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
nextKey = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
state = 0;
nextKey = null;
}
public int state;
public string nextKey;
}
public partial class ReqOpenBloodPannel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105240;
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 ResOpenBloodPannel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResOpenBloodPannel(this);
}
public const uint MsgID = 105140;
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:
order = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
order = 0;
level = 0;
}
public int order;
public int level;
}
public partial class ReqPlayerCareerChange : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105239;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,careerNo);
for (int i = 0; i < eqiupNos.Count; i++)
{
ProtoBufUtils.WriteInt64(2,eqiupNos[i]);
}
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
careerNo = 0;
if(eqiupNos != null)
{
eqiupNos.Clear();
}
}
public int careerNo;
public List<long> eqiupNos = new List<long>();
}
public partial class ResPlayerCareerChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerCareerChange(this);
}
public const uint MsgID = 105139;
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:
careerNo = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
roleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
state = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
careerNo = 0;
roleId = 0;
state = 0;
}
public int careerNo;
public long roleId;
public int state;
}
public partial class Gift : 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 :
giftId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
giftNumber = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt32(1,giftId);
ProtoBufUtils.WriteInt32(2,giftNumber);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
giftId = 0;
giftNumber = 0;
}
public int giftId;
public int giftNumber;
}
public partial class ReqSendGift : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105241;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,type);
ProtoBufUtils.WriteInt64(2,roleId);
ProtoBufUtils.WriteBoolean(3,force);
for (int i = 0; i < gifts.Count; i++)
{
if(gifts != null)
{
gifts[i].WriteMessage(4);
}
}
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
type = 0;
roleId = 0;
force = false;
if(gifts != null)
{
gifts.Clear();
}
}
public int type;
public long roleId;
public bool force;
public List<Gift> gifts = new List<Gift>();
}
public partial class ResSendGift : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResSendGift(this);
}
public const uint MsgID = 105141;
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:
if(log == null)
{
log = new List<GiftLog>();
}
log.Add(new GiftLog());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
log[log.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
result = 0;
if(log != null)
{
log.Clear();
}
}
public int result;
public List<GiftLog> log = new List<GiftLog>();
}
public partial class GiftLog : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible
{
public void Send(){}
public void Excute(){}
public void ReadMessage(ref int readPos, int totalCount)
{
int endIndex = totalCount + readPos - 1;
while (readPos <= endIndex)
{
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1 :
id = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2 :
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
sender = ProtoBufUtils.ReadString(ref readPos);
break;
case 4 :
receiver = ProtoBufUtils.ReadString(ref readPos);
break;
case 5 :
itemId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 6 :
num = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7 :
time = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8 :
readStatus = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt64(1,id);
ProtoBufUtils.WriteInt32(2,type);
ProtoBufUtils.WriteString(3,sender);
ProtoBufUtils.WriteString(4,receiver);
ProtoBufUtils.WriteInt32(5,itemId);
ProtoBufUtils.WriteInt32(6,num);
ProtoBufUtils.WriteInt32(7,time);
ProtoBufUtils.WriteInt32(8,readStatus);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
id = 0;
type = 0;
sender = null;
receiver = null;
itemId = 0;
num = 0;
time = 0;
readStatus = 0;
}
public long id;
public int type;
public string sender;
public string receiver;
public int itemId;
public int num;
public int time;
public int readStatus;
}
public partial class ReqGetGiftLog : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105242;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,type);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
type = 0;
}
public int type;
}
public partial class ResGetGiftLog : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResGetGiftLog(this);
}
public const uint MsgID = 105142;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
if(recordList == null)
{
recordList = new List<GiftLog>();
}
recordList.Add(new GiftLog());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
recordList[recordList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
type = 0;
if(recordList != null)
{
recordList.Clear();
}
}
public int type;
public List<GiftLog> recordList = new List<GiftLog>();
}
public partial class ReqReadGiftLog : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105245;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
for (int i = 0; i < ids.Count; i++)
{
ProtoBufUtils.WriteInt64(1,ids[i]);
}
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
if(ids != null)
{
ids.Clear();
}
}
public List<long> ids = new List<long>();
}
public partial class ResReadGiftLog : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResReadGiftLog(this);
}
public const uint MsgID = 105147;
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(ids == null)
{
ids = new List<long>();
}
ids.Add(ProtoBufUtils.ReadInt64(ref readPos));
break;
default:
break;
}
}
}
}
public void Clear()
{
if(ids != null)
{
ids.Clear();
}
}
public List<long> ids = new List<long>();
}
public partial class ResNewGiftLog : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResNewGiftLog(this);
}
public const uint MsgID = 105146;
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(log == null)
{
log = new List<GiftLog>();
}
log.Add(new GiftLog());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
log[log.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(log != null)
{
log.Clear();
}
}
public List<GiftLog> log = new List<GiftLog>();
}
public partial class ReqXiSui : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105243;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteBoolean(1,free);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
free = false;
}
public bool free;
}
public partial class SyncXiSuiData : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_SyncXiSuiData(this);
}
public const uint MsgID = 105143;
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:
xsLvl = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleID = 0;
xsLvl = 0;
}
public long roleID;
public int xsLvl;
}
public partial class ReqPlayerSummaryInfo : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105244;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt64(1,roleId);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
roleId = 0;
}
public long roleId;
}
public partial class ResPlayerSummaryInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerSummaryInfo(this);
}
public const uint MsgID = 105144;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 2:
roleName = ProtoBufUtils.ReadString(ref readPos);
break;
case 3:
roleLv = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
career = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
fightpower = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 6:
guildName = ProtoBufUtils.ReadString(ref readPos);
break;
case 7:
serverId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8:
if(facade == null)
{
facade = new MSG_Common.FacadeAttribute();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
facade.ReadMessage(ref readPos, totalCount);
break;
case 9:
if(head == null)
{
head = new MSG_Common.HeadAttribute();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
head.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
roleName = null;
roleLv = 0;
career = 0;
fightpower = 0;
guildName = null;
serverId = 0;
if(facade != null)
{
facade.Clear();
}
if(head != null)
{
head.Clear();
}
}
public ulong roleId;
public string roleName;
public int roleLv;
public int career;
public long fightpower;
public string guildName;
public int serverId;
public MSG_Common.FacadeAttribute facade;
public MSG_Common.HeadAttribute head;
}
public partial class ResGenderClassChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResGenderClassChange(this);
}
public const uint MsgID = 105145;
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:
genderClass = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
genderClass = 0;
}
public int genderClass;
}
public partial class G2SSynPlayerSocialInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SSynPlayerSocialInfo(this);
}
public const uint MsgID = 105301;
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(globalPlayerWorldInfo == null)
{
globalPlayerWorldInfo = new GlobalPlayerWorldInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
globalPlayerWorldInfo.ReadMessage(ref readPos, totalCount);
break;
case 2:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(globalPlayerWorldInfo != null)
{
globalPlayerWorldInfo.Clear();
}
type = 0;
}
public GlobalPlayerWorldInfo globalPlayerWorldInfo;
public int type;
}
public partial class G2SReqPlayerSummaryInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SReqPlayerSummaryInfo(this);
}
public const uint MsgID = 105344;
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:
targetRoleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
targetRoleId = 0;
}
public long roleId;
public long targetRoleId;
}
public partial class ReqPlayerSettingCustomHead : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 105248;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteString(1,customHeadPath);
ProtoBufUtils.WriteBoolean(2,useCustomHead);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
customHeadPath = null;
useCustomHead = false;
}
public string customHeadPath;
public bool useCustomHead;
}
public partial class ResPlayerSettingCustomHeadResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResPlayerSettingCustomHeadResult(this);
}
public const uint MsgID = 105148;
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:
isSuccess = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 2:
roleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
if(head == null)
{
head = new MSG_Common.HeadAttribute();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
head.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
isSuccess = false;
roleId = 0;
if(head != null)
{
head.Clear();
}
}
public bool isSuccess;
public long roleId;
public MSG_Common.HeadAttribute head;
}
}