using System.Collections.Generic;
using Thousandto.Plugins.Common;
using Thousandto.Code.Logic.Network;

namespace MSG_copyMap
{
    public partial class cardItemInfo : 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 :
                        itemId = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 2 :
                        num = ProtoBufUtils.ReadInt64(ref readPos);
                        break;
                    case 3 :
                        bind = 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,itemId);
                ProtoBufUtils.WriteInt64(2,num);
                ProtoBufUtils.WriteBoolean(3,bind);
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             itemId = 0;
             num = 0;
             bind = false;
        }
        public int itemId;
        public long num;
        public bool bind;
    }
    public partial class ReqCopyMapOut : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126202;
        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 ReqUpMorale : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126206;
        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 ResCopyMapBitFinish : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResCopyMapBitFinish(this);
        }
    
        public const uint MsgID = 126106;
        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 ResCopymapNeedTime : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResCopymapNeedTime(this);
        }
    
        public const uint MsgID = 126120;
        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:
                        EndTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        waitEndToStart = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             modelId = 0;
             EndTime = 0;
             waitEndToStart = 0;
        }
        public int modelId;
        public int EndTime;
        public int waitEndToStart;
    }
    public partial class ReqCloneFightInfo : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126247;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt32(1,modelId);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             modelId = 0;
        }
        public int modelId;
    }
    public partial class ReqVipBuyCount : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126212;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt32(1,copyId);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             copyId = 0;
        }
        public int copyId;
    }
    public partial class ResVipBuyCount : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResVipBuyCount(this);
        }
    
        public const uint MsgID = 126180;
        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:
                        copyId = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        buyCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        canBuyCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 4:
                        remainCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 5:
                        maxCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             copyId = 0;
             buyCount = 0;
             canBuyCount = 0;
             remainCount = 0;
             maxCount = 0;
        }
        public int copyId;
        public int buyCount;
        public int canBuyCount;
        public int remainCount;
        public int maxCount;
    }
    public partial class ReqOpenChallengePanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126208;
        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 ReqGoOnChallenge : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126209;
        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 ReqGotoNextChallenge : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126210;
        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 ResChallengeInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResChallengeInfo(this);
        }
    
        public const uint MsgID = 126130;
        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:
                        challengeLevel = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        endTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        refresh = ProtoBufUtils.ReadBoolean(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             challengeLevel = 0;
             endTime = 0;
             refresh = false;
        }
        public int challengeLevel;
        public int endTime;
        public bool refresh;
    }
    public partial class ResChallengeEndInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResChallengeEndInfo(this);
        }
    
        public const uint MsgID = 126131;
        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:
                        challengeLevel = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        state = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        if(reward == null)
                        {
                          reward = new List<cardItemInfo>();
                        }
                        reward.Add(new cardItemInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        reward[reward.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             challengeLevel = 0;
             state = 0;
             if(reward != null)
             {
                reward.Clear();
             }
        }
        public int challengeLevel;
        public int state;
        public List<cardItemInfo> reward =  new List<cardItemInfo>();
    }
    public partial class ResChallengeEnterPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResChallengeEnterPanel(this);
        }
    
        public const uint MsgID = 126132;
        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:
                        overLevel = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             overLevel = 0;
        }
        public int overLevel;
    }
    public partial class CampInfo : 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 :
                        camp = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 2 :
                        count = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 3 :
                        points = 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,camp);
                ProtoBufUtils.WriteInt32(2,count);
                ProtoBufUtils.WriteInt32(3,points);
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             camp = 0;
             count = 0;
             points = 0;
        }
        public int camp;
        public int count;
        public int points;
    }
    public partial class ResTeamCampWar : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResTeamCampWar(this);
        }
    
        public const uint MsgID = 126141;
        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(campInfo == null)
                        {
                          campInfo = new List<CampInfo>();
                        }
                        campInfo.Add(new CampInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        campInfo[campInfo.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        case 2:
                        selfScore = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        selfRank = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             if(campInfo != null)
             {
                campInfo.Clear();
             }
             selfScore = 0;
             selfRank = 0;
        }
        public List<CampInfo> campInfo =  new List<CampInfo>();
        public int selfScore;
        public int selfRank;
    }
    public partial class RankInfo : 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 :
                        camp = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 2 :
                        name = ProtoBufUtils.ReadString(ref readPos);
                        break;
                    case 3 :
                        lv = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 4 :
                        fight = ProtoBufUtils.ReadInt64(ref readPos);
                        break;
                    case 5 :
                        points = 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,camp);
                ProtoBufUtils.WriteString(2,name);
                ProtoBufUtils.WriteInt32(3,lv);
                ProtoBufUtils.WriteInt64(4,fight);
                ProtoBufUtils.WriteInt32(5,points);
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             camp = 0;
             name = null;
             lv = 0;
             fight = 0;
             points = 0;
        }
        public int camp;
        public string name;
        public int lv;
        public long fight;
        public int points;
    }
    public partial class ResTeamCampWarRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResTeamCampWarRank(this);
        }
    
        public const uint MsgID = 126166;
        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(rankInfo == null)
                        {
                          rankInfo = new List<RankInfo>();
                        }
                        rankInfo.Add(new RankInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        rankInfo[rankInfo.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        case 2:
                        selfScore = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        selfRank = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             if(rankInfo != null)
             {
                rankInfo.Clear();
             }
             selfScore = 0;
             selfRank = 0;
        }
        public List<RankInfo> rankInfo =  new List<RankInfo>();
        public int selfScore;
        public int selfRank;
    }
    public partial class ResTeamCampWarEndInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResTeamCampWarEndInfo(this);
        }
    
        public const uint MsgID = 126167;
        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:
                        selfScore = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        selfRank = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        if(rewardlist == null)
                        {
                          rewardlist = new List<cardItemInfo>();
                        }
                        rewardlist.Add(new cardItemInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        rewardlist[rewardlist.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             selfScore = 0;
             selfRank = 0;
             if(rewardlist != null)
             {
                rewardlist.Clear();
             }
        }
        public int selfScore;
        public int selfRank;
        public List<cardItemInfo> rewardlist =  new List<cardItemInfo>();
    }
    public partial class ReqKillMonster : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126219;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt64(1,monsterId);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             monsterId = 0;
        }
        public long monsterId;
    }
    public partial class ResStartCopyInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResStartCopyInfo(this);
        }
    
        public const uint MsgID = 126178;
        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:
                        stage = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        remainTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        startTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 4:
                        monsterNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 5:
                        starNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             stage = 0;
             remainTime = 0;
             startTime = 0;
             monsterNum = 0;
             starNum = 0;
        }
        public int stage;
        public int remainTime;
        public int startTime;
        public int monsterNum;
        public int starNum;
    }
    public partial class ResStartCopyResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResStartCopyResult(this);
        }
    
        public const uint MsgID = 126179;
        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:
                        starNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        if(rewardlist == null)
                        {
                          rewardlist = new List<cardItemInfo>();
                        }
                        rewardlist.Add(new cardItemInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        rewardlist[rewardlist.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             starNum = 0;
             if(rewardlist != null)
             {
                rewardlist.Clear();
             }
        }
        public int starNum;
        public List<cardItemInfo> rewardlist =  new List<cardItemInfo>();
    }
    public partial class ResSyncMonsterNum : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResSyncMonsterNum(this);
        }
    
        public const uint MsgID = 126194;
        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:
                        monsterNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             monsterNum = 0;
        }
        public int monsterNum;
    }
    public partial class ReqOpenFairyCopyPanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126213;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt32(1,copyId);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             copyId = 0;
        }
        public int copyId;
    }
    public partial class ResOpenFairyCopyPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResOpenFairyCopyPanel(this);
        }
    
        public const uint MsgID = 126181;
        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:
                        remainCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        maxCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        buyCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 4:
                        canBuyCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 5:
                        mergeCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             remainCount = 0;
             maxCount = 0;
             buyCount = 0;
             canBuyCount = 0;
             mergeCount = 0;
        }
        public int remainCount;
        public int maxCount;
        public int buyCount;
        public int canBuyCount;
        public int mergeCount;
    }
    public partial class ResFairyCopyResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResFairyCopyResult(this);
        }
    
        public const uint MsgID = 126182;
        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:
                        score = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        if(rewardlist == null)
                        {
                          rewardlist = new List<cardItemInfo>();
                        }
                        rewardlist.Add(new cardItemInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        rewardlist[rewardlist.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             score = 0;
             if(rewardlist != null)
             {
                rewardlist.Clear();
             }
        }
        public int score;
        public List<cardItemInfo> rewardlist =  new List<cardItemInfo>();
    }
    public partial class ResEnterFairyCopy : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResEnterFairyCopy(this);
        }
    
        public const uint MsgID = 126190;
        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:
                        endTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        level = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             endTime = 0;
             level = 0;
        }
        public int endTime;
        public int level;
    }
    public partial class ReqOpenManyCopyPanel : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126214;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt32(1,copyId);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             copyId = 0;
        }
        public int copyId;
    }
    public partial class ResOpenManyCopyPanel : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResOpenManyCopyPanel(this);
        }
    
        public const uint MsgID = 126183;
        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:
                        copyId = 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;
                        case 6:
                        mergeCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             copyId = 0;
             remainCount = 0;
             maxCount = 0;
             buyCount = 0;
             canBuyCount = 0;
             mergeCount = 0;
        }
        public int copyId;
        public int remainCount;
        public int maxCount;
        public int buyCount;
        public int canBuyCount;
        public int mergeCount;
    }
    public partial class ReqCopySetting : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126215;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt32(1,copyId);
                ProtoBufUtils.WriteInt32(2,mergeCount);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             copyId = 0;
             mergeCount = 0;
        }
        public int copyId;
        public int mergeCount;
    }
    public partial class ResCopySetting : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResCopySetting(this);
        }
    
        public const uint MsgID = 126184;
        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:
                        copyId = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        mergeCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             copyId = 0;
             mergeCount = 0;
        }
        public int copyId;
        public int mergeCount;
    }
    public partial class ResExpCopy : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResExpCopy(this);
        }
    
        public const uint MsgID = 126185;
        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:
                        startTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        endTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        monsterNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 4:
                        totalExp = ProtoBufUtils.ReadInt64(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             startTime = 0;
             endTime = 0;
             monsterNum = 0;
             totalExp = 0;
        }
        public int startTime;
        public int endTime;
        public int monsterNum;
        public long totalExp;
    }
    public partial class ResSyncMonsterExp : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResSyncMonsterExp(this);
        }
    
        public const uint MsgID = 126186;
        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:
                        monsterNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        totalExp = ProtoBufUtils.ReadInt64(ref readPos);
                            break;
                        case 3:
                        isEnd = ProtoBufUtils.ReadBoolean(ref readPos);
                            break;
                        case 4:
                        if(list == null)
                        {
                          list = new List<cardItemInfo>();
                        }
                        list.Add(new cardItemInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        list[list.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             monsterNum = 0;
             totalExp = 0;
             isEnd = false;
             if(list != null)
             {
                list.Clear();
             }
        }
        public int monsterNum;
        public long totalExp;
        public bool isEnd;
        public List<cardItemInfo> list =  new List<cardItemInfo>();
    }
    public partial class ResManyCopy : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResManyCopy(this);
        }
    
        public const uint MsgID = 126187;
        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:
                        startTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        endTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        monsterNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 4:
                        stage = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             startTime = 0;
             endTime = 0;
             monsterNum = 0;
             stage = 0;
        }
        public int startTime;
        public int endTime;
        public int monsterNum;
        public int stage;
    }
    public partial class ResSyncManyCopy : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResSyncManyCopy(this);
        }
    
        public const uint MsgID = 126188;
        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:
                        monsterNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        stage = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             monsterNum = 0;
             stage = 0;
        }
        public int monsterNum;
        public int stage;
    }
    public partial class ResManyCopyResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResManyCopyResult(this);
        }
    
        public const uint MsgID = 126189;
        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:
                        starNum = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        if(rewardlist == null)
                        {
                          rewardlist = new List<cardItemInfo>();
                        }
                        rewardlist.Add(new cardItemInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        rewardlist[rewardlist.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             starNum = 0;
             if(rewardlist != null)
             {
                rewardlist.Clear();
             }
        }
        public int starNum;
        public List<cardItemInfo> rewardlist =  new List<cardItemInfo>();
    }
    public partial class ReqRefreshNextMonster : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126217;
        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 BossStateInfo : 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 :
                        layer = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 2 :
                        bossId = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 3 :
                        isGetReward = ProtoBufUtils.ReadBoolean(ref readPos);
                        break;
                    case 4 :
                        first = 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,layer);
                ProtoBufUtils.WriteInt32(2,bossId);
                ProtoBufUtils.WriteBoolean(3,isGetReward);
                ProtoBufUtils.WriteBoolean(4,first);
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             layer = 0;
             bossId = 0;
             isGetReward = false;
             first = false;
        }
        public int layer;
        public int bossId;
        public bool isGetReward;
        public bool first;
    }
    public partial class ReqOpenBossStatePanle : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126250;
        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 ResOpenBossStatePanle : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResOpenBossStatePanle(this);
        }
    
        public const uint MsgID = 126157;
        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<BossStateInfo>();
                        }
                        bossList.Add(new BossStateInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        bossList[bossList.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        case 2:
                        maxLayer = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        count = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 4:
                        boughtCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             if(bossList != null)
             {
                bossList.Clear();
             }
             maxLayer = 0;
             count = 0;
             boughtCount = 0;
        }
        public List<BossStateInfo> bossList =  new List<BossStateInfo>();
        public int maxLayer;
        public int count;
        public int boughtCount;
    }
    public partial class ResupdateBossState : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResupdateBossState(this);
        }
    
        public const uint MsgID = 126158;
        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 BossStateInfo();
                        }
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        bossList.ReadMessage(ref readPos, totalCount);
                            break;
                        case 2:
                        maxLayer = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             if(bossList != null)
             {
                bossList.Clear();
             }
             maxLayer = 0;
        }
        public BossStateInfo bossList;
        public int maxLayer;
    }
    public partial class ReqBuyBossStateCount : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126218;
        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 ResBuyBossStateCount : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResBuyBossStateCount(this);
        }
    
        public const uint MsgID = 126159;
        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:
                        count = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             count = 0;
        }
        public int count;
    }
    public partial class ReqBossStateClearCd : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126220;
        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 ReqCallMonster : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126221;
        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 ReqFlashMonster : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 126216;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt32(1,num);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             num = 0;
        }
        public int num;
    }
    public partial class ResGuildTaskCopyEnter : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResGuildTaskCopyEnter(this);
        }
    
        public const uint MsgID = 126191;
        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:
                        startTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        endTime = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 3:
                        monsterCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 4:
                        stage = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 5:
                        stageCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             startTime = 0;
             endTime = 0;
             monsterCount = 0;
             stage = 0;
             stageCount = 0;
        }
        public int startTime;
        public int endTime;
        public int monsterCount;
        public int stage;
        public int stageCount;
    }
    public partial class ResGuildTaskCopyInfo : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResGuildTaskCopyInfo(this);
        }
    
        public const uint MsgID = 126193;
        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:
                        monsterCount = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        stage = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             monsterCount = 0;
             stage = 0;
        }
        public int monsterCount;
        public int stage;
    }
    public partial class ResGuildTaskCopyResult : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResGuildTaskCopyResult(this);
        }
    
        public const uint MsgID = 126192;
        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:
                        winType = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        roleName = ProtoBufUtils.ReadString(ref readPos);
                            break;
                        case 3:
                        if(rewardlist == null)
                        {
                          rewardlist = new List<cardItemInfo>();
                        }
                        rewardlist.Add(new cardItemInfo());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        rewardlist[rewardlist.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             winType = 0;
             roleName = null;
             if(rewardlist != null)
             {
                rewardlist.Clear();
             }
        }
        public int winType;
        public string roleName;
        public List<cardItemInfo> rewardlist =  new List<cardItemInfo>();
    }
}