2025-01-25 04:38:09 +08:00

1506 lines
51 KiB
C#

using System.Collections.Generic;
using Thousandto.Plugins.Common;
using Thousandto.Code.Logic.Network;
namespace MSG_Boss
{
public partial class BossKilledRecord : 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 :
killTime = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
killer = ProtoBufUtils.ReadString(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt32(1,killTime);
ProtoBufUtils.WriteString(2,killer);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
killTime = 0;
killer = null;
}
public int killTime;
public string killer;
}
public partial class BossInfo : 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 :
bossId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
refreshTime = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
isFollowed = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt32(1,bossId);
ProtoBufUtils.WriteInt32(2,refreshTime);
ProtoBufUtils.WriteBoolean(3,isFollowed);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
bossId = 0;
refreshTime = 0;
isFollowed = false;
}
public int bossId;
public int refreshTime;
public bool isFollowed;
}
public partial class BossMapOlInfo : 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 :
mapModelId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
num = 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,mapModelId);
ProtoBufUtils.WriteInt32(2,num);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
mapModelId = 0;
num = 0;
}
public int mapModelId;
public int num;
}
public partial class ReqOpenDreamBoss : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121201;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,bossType);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
bossType = 0;
}
public int bossType;
}
public partial class ResOpenDreamBoss : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResOpenDreamBoss(this);
}
public const uint MsgID = 121101;
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(bossList == null)
{
bossList = new List<BossInfo>();
}
bossList.Add(new BossInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
bossList[bossList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 2:
bossType = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
remainCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
maxCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
buyCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7:
canBuyCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 6:
if(mapOlList == null)
{
mapOlList = new List<BossMapOlInfo>();
}
mapOlList.Add(new BossMapOlInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
mapOlList[mapOlList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(bossList != null)
{
bossList.Clear();
}
bossType = 0;
remainCount = 0;
maxCount = 0;
buyCount = 0;
canBuyCount = 0;
if(mapOlList != null)
{
mapOlList.Clear();
}
}
public List<BossInfo> bossList = new List<BossInfo>();
public int bossType;
public int remainCount;
public int maxCount;
public int buyCount;
public int canBuyCount;
public List<BossMapOlInfo> mapOlList = new List<BossMapOlInfo>();
}
public partial class ResRankCountTips : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResRankCountTips(this);
}
public const uint MsgID = 121121;
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 ReqAddWorldBossRankCount : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121210;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,bossType);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
bossType = 0;
}
public int bossType;
}
public partial class ResAddWorldBossRankCount : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResAddWorldBossRankCount(this);
}
public const uint MsgID = 121118;
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:
bossType = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
remainCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
maxCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
buyCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
canBuyCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
bossType = 0;
remainCount = 0;
maxCount = 0;
buyCount = 0;
canBuyCount = 0;
}
public int bossType;
public int remainCount;
public int maxCount;
public int buyCount;
public int canBuyCount;
}
public partial class ResUpDateWorldBossReMainRankCount : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResUpDateWorldBossReMainRankCount(this);
}
public const uint MsgID = 121119;
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:
bossType = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
remainCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
maxCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
buyCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
canBuyCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
bossType = 0;
remainCount = 0;
maxCount = 0;
buyCount = 0;
canBuyCount = 0;
}
public int bossType;
public int remainCount;
public int maxCount;
public int buyCount;
public int canBuyCount;
}
public partial class ReqBossKilledInfo : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121202;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,bossId);
ProtoBufUtils.WriteInt32(2,bossType);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
bossId = 0;
bossType = 0;
}
public int bossId;
public int bossType;
}
public partial class ResBossKilledInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResBossKilledInfo(this);
}
public const uint MsgID = 121102;
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:
bossId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
if(killedRecordList == null)
{
killedRecordList = new List<BossKilledRecord>();
}
killedRecordList.Add(new BossKilledRecord());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
killedRecordList[killedRecordList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 3:
bossType = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
bossId = 0;
if(killedRecordList != null)
{
killedRecordList.Clear();
}
bossType = 0;
}
public int bossId;
public List<BossKilledRecord> killedRecordList = new List<BossKilledRecord>();
public int bossType;
}
public partial class ReqFollowBoss : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121203;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,bossId);
ProtoBufUtils.WriteInt32(2,type);
ProtoBufUtils.WriteInt32(3,bossType);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
bossId = 0;
type = 0;
bossType = 0;
}
public int bossId;
public int type;
public int bossType;
}
public partial class ResFollowBoss : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResFollowBoss(this);
}
public const uint MsgID = 121103;
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:
bossId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
type = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
isSuccess = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 4:
bossType = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
bossId = 0;
type = 0;
isSuccess = false;
bossType = 0;
}
public int bossId;
public int type;
public bool isSuccess;
public int bossType;
}
public partial class ResBossRefreshInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResBossRefreshInfo(this);
}
public const uint MsgID = 121104;
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(bossRefreshList == null)
{
bossRefreshList = new List<BossInfo>();
}
bossRefreshList.Add(new BossInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
bossRefreshList[bossRefreshList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 2:
bossType = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(bossRefreshList != null)
{
bossRefreshList.Clear();
}
bossType = 0;
}
public List<BossInfo> bossRefreshList = new List<BossInfo>();
public int bossType;
}
public partial class ResBossRefreshTip : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResBossRefreshTip(this);
}
public const uint MsgID = 121105;
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:
bossId = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
bossType = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
bossId = 0;
bossType = 0;
}
public int bossId;
public int bossType;
}
public partial class harmRank : 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 :
top = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
name = ProtoBufUtils.ReadString(ref readPos);
break;
case 3 :
harm = ProtoBufUtils.ReadUint64(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,top);
ProtoBufUtils.WriteString(2,name);
ProtoBufUtils.WriteUint64(3,harm);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
top = 0;
name = null;
harm = 0;
}
public int top;
public string name;
public ulong harm;
}
public partial class ResSynHarmRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResSynHarmRank(this);
}
public const uint MsgID = 121116;
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<harmRank>();
}
rank.Add(new harmRank());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
rank[rank.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 2:
myRank = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3:
myHarm = ProtoBufUtils.ReadUint64(ref readPos);
break;
case 4:
bossType = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
if(upportHarmInfo == null)
{
upportHarmInfo = new List<harmRank>();
}
upportHarmInfo.Add(new harmRank());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
upportHarmInfo[upportHarmInfo.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 6:
bossCode = ProtoBufUtils.ReadUint64(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(rank != null)
{
rank.Clear();
}
myRank = 0;
myHarm = 0;
bossType = 0;
if(upportHarmInfo != null)
{
upportHarmInfo.Clear();
}
bossCode = 0;
}
public List<harmRank> rank = new List<harmRank>();
public int myRank;
public ulong myHarm;
public int bossType;
public List<harmRank> upportHarmInfo = new List<harmRank>();
public ulong bossCode;
}
public partial class ReqOpenPersonalBossPanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121204;
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 ReqSuitGemBossPanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121207;
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 ResSuitGemBossPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResSuitGemBossPanel(this);
}
public const uint MsgID = 121107;
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(bossList == null)
{
bossList = new List<BossInfo>();
}
bossList.Add(new BossInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
bossList[bossList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 3:
remainCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 4:
maxCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 5:
buyCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 7:
canBuyCount = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 6:
if(mapOlList == null)
{
mapOlList = new List<BossMapOlInfo>();
}
mapOlList.Add(new BossMapOlInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
mapOlList[mapOlList.Count - 1].ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
type = 0;
if(bossList != null)
{
bossList.Clear();
}
remainCount = 0;
maxCount = 0;
buyCount = 0;
canBuyCount = 0;
if(mapOlList != null)
{
mapOlList.Clear();
}
}
public int type;
public List<BossInfo> bossList = new List<BossInfo>();
public int remainCount;
public int maxCount;
public int buyCount;
public int canBuyCount;
public List<BossMapOlInfo> mapOlList = new List<BossMapOlInfo>();
}
public partial class ResSuitGemBossEndTime : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResSuitGemBossEndTime(this);
}
public const uint MsgID = 121110;
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 ResSuitGemBossScourge : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResSuitGemBossScourge(this);
}
public const uint MsgID = 121111;
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:
scourge = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
scourge = 0;
}
public int scourge;
}
public partial class ReqMySelfBossRemainTime : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121205;
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 ResMySelfBossRemainTime : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResMySelfBossRemainTime(this);
}
public const uint MsgID = 121113;
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:
remaintime = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
remaintime = 0;
}
public int remaintime;
}
public partial class mySelfBossCopyInfo : 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 :
monsterid = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2 :
time = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
active = ProtoBufUtils.ReadBoolean(ref readPos);
break;
default:
break;
}
}
}
public int WriteMessage(int fieldNumber)
{
ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
ProtoBufUtils.SetEmptyLength(subItemInfoId);
ProtoBufUtils.SetVBeginIndex(subItemInfoId);
ProtoBufUtils.WriteInt32(1,monsterid);
ProtoBufUtils.WriteInt32(2,time);
ProtoBufUtils.WriteBoolean(3,active);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
monsterid = 0;
time = 0;
active = false;
}
public int monsterid;
public int time;
public bool active;
}
public partial class mySelfBossCopyItemInfo : 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 :
auto = ProtoBufUtils.ReadBoolean(ref readPos);
break;
case 2 :
time = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 3 :
doublenum = 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.WriteBoolean(1,auto);
ProtoBufUtils.WriteInt32(2,time);
ProtoBufUtils.WriteInt32(3,doublenum);
ProtoBufUtils.SetVEndIndex(subItemInfoId);
return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
}
public void Clear()
{
auto = false;
time = 0;
doublenum = 0;
}
public bool auto;
public int time;
public int doublenum;
}
public partial class ResMySelfBossCopyInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResMySelfBossCopyInfo(this);
}
public const uint MsgID = 121114;
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(info == null)
{
info = new List<mySelfBossCopyInfo>();
}
info.Add(new mySelfBossCopyInfo());
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
info[info.Count - 1].ReadMessage(ref readPos, totalCount);
break;
case 2:
if(iteminfo == null)
{
iteminfo = new mySelfBossCopyItemInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
iteminfo.ReadMessage(ref readPos, totalCount);
break;
case 3:
layer = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(info != null)
{
info.Clear();
}
if(iteminfo != null)
{
iteminfo.Clear();
}
layer = 0;
}
public List<mySelfBossCopyInfo> info = new List<mySelfBossCopyInfo>();
public mySelfBossCopyItemInfo iteminfo;
public int layer;
}
public partial class ResMySelfBossStage : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResMySelfBossStage(this);
}
public const uint MsgID = 121115;
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(info == null)
{
info = new mySelfBossCopyInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
info.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(info != null)
{
info.Clear();
}
}
public mySelfBossCopyInfo info;
}
public partial class ResMySelfBossItemInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResMySelfBossItemInfo(this);
}
public const uint MsgID = 121117;
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(info == null)
{
info = new mySelfBossCopyItemInfo();
}
totalCount = ProtoBufUtils.ReadInt32(ref readPos);
info.ReadMessage(ref readPos, totalCount);
break;
default:
break;
}
}
}
}
public void Clear()
{
if(info != null)
{
info.Clear();
}
}
public mySelfBossCopyItemInfo info;
}
public partial class ReqMySelfBossAuto : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121206;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteBoolean(1,auto);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
auto = false;
}
public bool auto;
}
public partial class ReqMySelfBossUseItem : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121208;
public void Excute(){}
public void Send()
{
lock (ProtoBufUtils.WriteLocker)
{
byte[] bytes = null;
ProtoBufUtils.InitWriteData();
ProtoBufUtils.WriteInt32(1,itemid);
ProtoBufUtils.WriteInt32(2,num);
bytes = ProtoBufUtils.GetData();
Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
}
}
public void Clear()
{
itemid = 0;
num = 0;
}
public int itemid;
public int num;
}
public partial class ResWuXianBossOCTime : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResWuXianBossOCTime(this);
}
public const uint MsgID = 121122;
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:
openTime = ProtoBufUtils.ReadInt32(ref readPos);
break;
case 2:
closeTime = ProtoBufUtils.ReadInt32(ref readPos);
break;
default:
break;
}
}
}
}
public void Clear()
{
openTime = 0;
closeTime = 0;
}
public int openTime;
public int closeTime;
}
public partial class ReqNoobBossPannel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121209;
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 ResNoobBossPannel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
{
public void Excute()
{
HandleMsgResult.getInstance().GS2U_ResNoobBossPannel(this);
}
public const uint MsgID = 121123;
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(bossList == null)
{
bossList = new List<int>();
}
bossList.Add(ProtoBufUtils.ReadInt32(ref readPos));
break;
default:
break;
}
}
}
}
public void Clear()
{
if(bossList != null)
{
bossList.Clear();
}
}
public List<int> bossList = new List<int>();
}
public partial class ReqCallBigR : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
{
public const uint MsgID = 121211;
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()
{
}
}
}