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

2547 lines
83 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_Home
{
public partial class Vector3 : 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 :
x = ProtoBufUtils.ReadFloat(ref readPos);
break;
case 2 :
y = ProtoBufUtils.ReadFloat(ref readPos);
break;
case 3 :
z = ProtoBufUtils.ReadFloat(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteFloat(1,x);
ProtoBufUtils.WriteFloat(2,y);
ProtoBufUtils.WriteFloat(3,z);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
x = 0;
y = 0;
z = 0;
}
public float x;
public float y;
public float z;
}
public partial class Furniture : 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 :
modelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
count = 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,modelId);
ProtoBufUtils.WriteInt32(2,count);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
modelId = 0;
count = 0;
}
public int modelId;
public int count;
}
public partial class FurnitureCell : 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 :
modelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
if(pos == null)
{
pos = new Vector3();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
pos.ReadMessage(ref readPos, totalCount);
break;
case 4 :
dir = 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,modelId);
if(pos != null)
{
pos.WriteMessage(3);
}
ProtoBufUtils.WriteInt32(4,dir);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
id = 0;
modelId = 0;
if(pos != null)
{
pos.Clear();
}
dir = 0;
}
public long id;
public int modelId;
public Vector3 pos;
public int dir;
}
public partial class HomeRole : 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 :
name = ProtoBufUtils.ReadString(ref readPos);
break;
case 3 :
career = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4 :
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5 :
serverId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 6 :
sign = ProtoBufUtils.ReadString(ref readPos);
break;
case 7 :
score = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8 :
if(head == null)
{
head = new MSG_Common.HeadAttribute();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
head.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt64(1,id);
ProtoBufUtils.WriteString(2,name);
ProtoBufUtils.WriteInt32(3,career);
ProtoBufUtils.WriteInt32(4,level);
ProtoBufUtils.WriteInt32(5,serverId);
ProtoBufUtils.WriteString(6,sign);
ProtoBufUtils.WriteInt32(7,score);
if(head != null)
{
head.WriteMessage(8);
}
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
id = 0;
name = null;
career = 0;
level = 0;
serverId = 0;
sign = null;
score = 0;
if(head != null)
{
head.Clear();
}
}
public long id;
public string name;
public int career;
public int level;
public int serverId;
public string sign;
public int score;
public MSG_Common.HeadAttribute head;
}
public partial class HomeVisitor : 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 :
if(role == null)
{
role = new HomeRole();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
role.ReadMessage(ref readPos, totalCount);
break;
case 6 :
time = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 7 :
gift = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 8 :
energy = 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);
if(role != null)
{
role.WriteMessage(1);
}
ProtoBufUtils.WriteInt64(6,time);
ProtoBufUtils.WriteInt32(7,gift);
ProtoBufUtils.WriteInt32(8,energy);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
if(role != null)
{
role.Clear();
}
time = 0;
gift = 0;
energy = 0;
}
public HomeRole role;
public long time;
public int gift;
public int energy;
}
public partial class VisitorGift : 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 :
max = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
use = 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,max);
ProtoBufUtils.WriteInt32(3,use);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
id = 0;
max = 0;
use = 0;
}
public int id;
public int max;
public int use;
}
public partial class HomeInfo : 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 :
if(owner == null)
{
owner = new HomeRole();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
owner.ReadMessage(ref readPos, totalCount);
break;
case 2 :
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
tupLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4 :
tupExp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5 :
tupReward = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 6 :
tupRewardExp = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 7 :
if(store == null)
{
store = new List<Furniture>();
}
store.Add(new Furniture());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
store[store.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 8 :
if(cells == null)
{
cells = new List<FurnitureCell>();
}
cells.Add(new FurnitureCell());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
cells[cells.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
if(owner != null)
{
owner.WriteMessage(1);
}
ProtoBufUtils.WriteInt32(2,level);
ProtoBufUtils.WriteInt32(3,tupLevel);
ProtoBufUtils.WriteInt32(4,tupExp);
ProtoBufUtils.WriteBoolean(5,tupReward);
ProtoBufUtils.WriteInt64(6,tupRewardExp);
for (int i = 0; i < store.Count; i++)
{
if(store != null)
{
store[i].WriteMessage(7);
}
}
for (int i = 0; i < cells.Count; i++)
{
if(cells != null)
{
cells[i].WriteMessage(8);
}
}
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
if(owner != null)
{
owner.Clear();
}
level = 0;
tupLevel = 0;
tupExp = 0;
tupReward = false;
tupRewardExp = 0;
if(store != null)
{
store.Clear();
}
if(cells != null)
{
cells.Clear();
}
}
public HomeRole owner;
public int level;
public int tupLevel;
public int tupExp;
public bool tupReward;
public long tupRewardExp;
public List<Furniture> store = new List<Furniture>();
public List<FurnitureCell> cells = new List<FurnitureCell>();
}
public partial class TaskInfo : 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 :
process = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
state = 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,process);
ProtoBufUtils.WriteInt32(3,state);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
id = 0;
process = 0;
state = 0;
}
public int id;
public int process;
public int state;
}
public partial class HomeGoods : 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 :
goodsId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
remain = 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,goodsId);
ProtoBufUtils.WriteInt32(2,remain);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
goodsId = 0;
remain = 0;
}
public int goodsId;
public int remain;
}
public partial class ReqHomeInfo : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142201;
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 ResHomeInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeInfo(this);
}
public const uint MsgID = 142101;
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(owner == null)
{
owner = new HomeInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
owner.ReadMessage(ref readPos, totalCount);
break;
case 2:
if(helper == null)
{
helper = new HomeRole();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
helper.ReadMessage(ref readPos, totalCount);
break;
case 3:
authUnFriendEnter = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 4:
authUnFriendOpt = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 5:
popularityHistory = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 6:
mapInfo = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(owner != null)
{
owner.Clear();
}
if(helper != null)
{
helper.Clear();
}
authUnFriendEnter = false;
authUnFriendOpt = false;
popularityHistory = 0;
mapInfo = false;
}
public HomeInfo owner;
public HomeRole helper;
public bool authUnFriendEnter;
public bool authUnFriendOpt;
public long popularityHistory;
public bool mapInfo;
}
public partial class ReqAuthHomePem : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142202;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteBoolean(1,authUnFriendEnter);
ProtoBufUtils.WriteBoolean(2,authUnFriendOpt);
ProtoBufUtils.WriteInt64(3,helper);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
authUnFriendEnter = false;
authUnFriendOpt = false;
helper = 0;
}
public bool authUnFriendEnter;
public bool authUnFriendOpt;
public long helper;
}
public partial class ReqEnterHome : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142203;
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 ReqHomeVisitorNote : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142204;
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 ResHomeVisitorNote : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeVisitorNote(this);
}
public const uint MsgID = 142104;
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(visitor == null)
{
visitor = new List<HomeVisitor>();
}
visitor.Add(new HomeVisitor());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
visitor[visitor.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(visitor != null)
{
visitor.Clear();
}
}
public List<HomeVisitor> visitor = new List<HomeVisitor>();
}
public partial class ReqHomeVisitorGiftList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142205;
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 ResHomeVisitorGiftList : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeVisitorGiftList(this);
}
public const uint MsgID = 142105;
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(gift == null)
{
gift = new List<VisitorGift>();
}
gift.Add(new VisitorGift());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
gift[gift.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(gift != null)
{
gift.Clear();
}
}
public List<VisitorGift> gift = new List<VisitorGift>();
}
public partial class ReqSendVisitorGift : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142206;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt64(1,roleId);
ProtoBufUtils.WriteInt32(2,giftId);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
roleId = 0;
giftId = 0;
}
public long roleId;
public int giftId;
}
public partial class ReqHomeTrimRank : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142207;
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 ResHomeTrimRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeTrimRank(this);
}
public const uint MsgID = 142107;
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(rank == null)
{
rank = new List<HomeRole>();
}
rank.Add(new HomeRole());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
rank[rank.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(rank != null)
{
rank.Clear();
}
}
public List<HomeRole> rank = new List<HomeRole>();
}
public partial class ReqHomeTrimMatchScore : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142208;
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 ResHomeTrimMatchScore : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeTrimMatchScore(this);
}
public const uint MsgID = 142108;
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:
randomScore = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
score = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
randomScore = 0;
score = 0;
}
public int randomScore;
public int score;
}
public partial class ReqRandomHomeTrimTarget : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142209;
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 ResRandomHomeTrimTarget : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResRandomHomeTrimTarget(this);
}
public const uint MsgID = 142109;
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(homeList == null)
{
homeList = new List<HomeInfo>();
}
homeList.Add(new HomeInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
homeList[homeList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(homeList != null)
{
homeList.Clear();
}
}
public List<HomeInfo> homeList = new List<HomeInfo>();
}
public partial class ReqHomeTrimVote : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142210;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,type);
ProtoBufUtils.WriteInt64(2,roleId);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
type = 0;
roleId = 0;
}
public int type;
public long roleId;
}
public partial class ReqHomeDecorate : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142211;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,type);
ProtoBufUtils.WriteInt64(2,targetId);
ProtoBufUtils.WriteInt64(3,id);
ProtoBufUtils.WriteInt32(4,modelId);
ProtoBufUtils.WriteInt32(5,dir);
ProtoBufUtils.WriteFloat(6,x);
ProtoBufUtils.WriteFloat(7,y);
ProtoBufUtils.WriteFloat(8,z);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
type = 0;
targetId = 0;
id = 0;
modelId = 0;
dir = 0;
x = 0;
y = 0;
z = 0;
}
public int type;
public long targetId;
public long id;
public int modelId;
public int dir;
public float x;
public float y;
public float z;
}
public partial class ResHomeDecorate : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeDecorate(this);
}
public const uint MsgID = 142111;
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 4:
targetId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2:
if(store == null)
{
store = new Furniture();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
store.ReadMessage(ref readPos, totalCount);
break;
case 3:
if(furniture == null)
{
furniture = new FurnitureCell();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
furniture.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
type = 0;
targetId = 0;
if(store != null)
{
store.Clear();
}
if(furniture != null)
{
furniture.Clear();
}
}
public int type;
public long targetId;
public Furniture store;
public FurnitureCell furniture;
}
public partial class ReqHomeLevelUp : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142212;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,curLevel);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
curLevel = 0;
}
public int curLevel;
}
public partial class ResHomeLevelUp : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeLevelUp(this);
}
public const uint MsgID = 142112;
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:
homeLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
homeLevel = 0;
}
public int homeLevel;
}
public partial class ResHomeFurnitureUpdate : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeFurnitureUpdate(this);
}
public const uint MsgID = 142113;
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(store == null)
{
store = new Furniture();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
store.ReadMessage(ref readPos, totalCount);
break;
case 2:
changeReason = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(store != null)
{
store.Clear();
}
changeReason = 0;
}
public Furniture store;
public int changeReason;
}
public partial class ReqGetTupReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142214;
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 ResHomeTupInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeTupInfo(this);
}
public const uint MsgID = 142114;
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:
tupLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
tupExp = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
tupReward = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 4:
tupRewardExp = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
tupLevel = 0;
tupExp = 0;
tupReward = false;
tupRewardExp = 0;
}
public int tupLevel;
public int tupExp;
public bool tupReward;
public long tupRewardExp;
}
public partial class ReqTaskList : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142215;
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 ResHomeTaskList : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeTaskList(this);
}
public const uint MsgID = 142115;
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(tasks == null)
{
tasks = new List<TaskInfo>();
}
tasks.Add(new TaskInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
tasks[tasks.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(tasks != null)
{
tasks.Clear();
}
}
public List<TaskInfo> tasks = new List<TaskInfo>();
}
public partial class ReqTaskReward : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142216;
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 ResTaskUpdate : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResTaskUpdate(this);
}
public const uint MsgID = 142116;
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(tasks == null)
{
tasks = new List<TaskInfo>();
}
tasks.Add(new TaskInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
tasks[tasks.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(tasks != null)
{
tasks.Clear();
}
}
public List<TaskInfo> tasks = new List<TaskInfo>();
}
public partial class ReqHomeShop : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142217;
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 ResHomeShopGoods : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResHomeShopGoods(this);
}
public const uint MsgID = 142117;
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(goods == null)
{
goods = new List<HomeGoods>();
}
goods.Add(new HomeGoods());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
goods[goods.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(goods != null)
{
goods.Clear();
}
}
public List<HomeGoods> goods = new List<HomeGoods>();
}
public partial class ReqHomeBuy : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 142218;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,goods);
ProtoBufUtils.WriteInt32(2,count);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
goods = 0;
count = 0;
}
public int goods;
public int count;
}
public partial class ResUpdateHomeShopGoods : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResUpdateHomeShopGoods(this);
}
public const uint MsgID = 142118;
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(goods == null)
{
goods = new HomeGoods();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
goods.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(goods != null)
{
goods.Clear();
}
}
public HomeGoods goods;
}
public partial class G2SHomeInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeInfo(this);
}
public const uint MsgID = 142301;
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 3:
tupReward = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
tupReward = false;
}
public long roleId;
public bool tupReward;
}
public partial class G2SAuthHomePem : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SAuthHomePem(this);
}
public const uint MsgID = 142302;
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:
authUnFriendEnter = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 2:
authUnFriendOpt = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 3:
helper = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
authUnFriendEnter = false;
authUnFriendOpt = false;
helper = 0;
}
public bool authUnFriendEnter;
public bool authUnFriendOpt;
public long helper;
}
public partial class G2SEnterHome : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SEnterHome(this);
}
public const uint MsgID = 142303;
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:
friend = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
friend = false;
}
public long roleId;
public bool friend;
}
public partial class G2SHomeVisitorNote : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeVisitorNote(this);
}
public const uint MsgID = 142304;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
}
public long roleId;
}
public partial class G2SHomeVisitorGiftList : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeVisitorGiftList(this);
}
public const uint MsgID = 142305;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
}
public long roleId;
}
public partial class G2SSendVisitorGift : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SSendVisitorGift(this);
}
public const uint MsgID = 142306;
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:
giftId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
friend = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
giftId = 0;
friend = false;
}
public long roleId;
public int giftId;
public bool friend;
}
public partial class G2SHomeTrimRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeTrimRank(this);
}
public const uint MsgID = 142307;
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 G2SHomeTrimMatchScore : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeTrimMatchScore(this);
}
public const uint MsgID = 142308;
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 G2SRandomHomeTrimTarget : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SRandomHomeTrimTarget(this);
}
public const uint MsgID = 142309;
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 G2SHomeTrimVote : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeTrimVote(this);
}
public const uint MsgID = 142310;
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:
roleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
type = 0;
roleId = 0;
}
public int type;
public long roleId;
}
public partial class G2SHomeDecorate : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeDecorate(this);
}
public const uint MsgID = 142311;
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 3:
targetId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2:
if(furniture == null)
{
furniture = new FurnitureCell();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
furniture.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
type = 0;
targetId = 0;
if(furniture != null)
{
furniture.Clear();
}
}
public int type;
public long targetId;
public FurnitureCell furniture;
}
public partial class G2SHomeLevelUp : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeLevelUp(this);
}
public const uint MsgID = 142312;
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:
curLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
curLevel = 0;
}
public int curLevel;
}
public partial class S2GEnterHome : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_S2GEnterHome(this);
}
public const uint MsgID = 142313;
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:
roomId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
roomId = 0;
level = 0;
}
public long roleId;
public long roomId;
public int level;
}
public partial class F2SHomePlayerInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_F2SHomePlayerInfo(this);
}
public const uint MsgID = 142314;
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:
houseId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
enterRole = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2:
if(roleId == null)
{
roleId = new List<long>();
}
roleId.Add(ProtoBufUtils.ReadInt64(ref readPos));
break;
default:
break;
}
}
}
}
public void Clear()
{
houseId = 0;
enterRole = 0;
if(roleId != null)
{
roleId.Clear();
}
}
public long houseId;
public long enterRole;
public List<long> roleId = new List<long>();
}
public partial class S2GHomeInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_S2GHomeInfo(this);
}
public const uint MsgID = 142315;
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:
tupLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
exp = ProtoBufUtils.ReadInt64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
tupLevel = 0;
exp = 0;
}
public long roleId;
public int tupLevel;
public long exp;
}
public partial class S2GActionTask : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_S2GActionTask(this);
}
public const uint MsgID = 142316;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
roleId = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 2:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
if(args == null)
{
args = new List<int>();
}
args.Add(ProtoBufUtils.ReadInt32(ref readPos));
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
type = 0;
if(args != null)
{
args.Clear();
}
}
public long roleId;
public int type;
public List<int> args = new List<int>();
}
public partial class G2SHomeAddFurniture : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SHomeAddFurniture(this);
}
public const uint MsgID = 142317;
public void Send(){}
public void ReadMessage(byte[] bytes)
{
lock (ProtoBufUtils.ReadLocker)
{
Clear();
int endIndex = bytes.Length - 1;
int readPos = 0;
int totalCount = 0;
ProtoBufUtils.InitReadData(bytes, ref readPos);
while (readPos <= endIndex)
{
int curType = bytes[readPos] & 7;
int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
switch (fieldNumber)
{
case 1:
modelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
count = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
reason = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
modelId = 0;
count = 0;
reason = 0;
}
public int modelId;
public int count;
public int reason;
}
public partial class S2FHomeSceneChange : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_S2FHomeSceneChange(this);
}
public const uint MsgID = 142318;
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:
level = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
roleId = 0;
level = 0;
}
public long roleId;
public int level;
}
public partial class G2SUpdatePlayerInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_G2SUpdatePlayerInfo(this);
}
public const uint MsgID = 142319;
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;
case 2:
popularity = ProtoBufUtils.ReadInt64(ref readPos);
break;
case 3:
homeLevel = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
expRate = 0;
popularity = 0;
homeLevel = 0;
}
public float expRate;
public long popularity;
public int homeLevel;
}
}