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

namespace MSG_Chum
{
    public partial class Player : 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 :
                        roleID = ProtoBufUtils.ReadInt64(ref readPos);
                        break;
                    case 2 :
                        name = ProtoBufUtils.ReadString(ref readPos);
                        break;
                    case 3 :
                        level = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 4 :
                        vipLvl = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 5 :
                        career = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    default:
                        break;
                }
            }
        }
        public int WriteMessage(int fieldNumber)
        {
            ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
            int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
            ProtoBufUtils.SetEmptyLength(subItemInfoId);
            ProtoBufUtils.SetVBeginIndex(subItemInfoId);
                ProtoBufUtils.WriteInt64(1,roleID);
                ProtoBufUtils.WriteString(2,name);
                ProtoBufUtils.WriteInt32(3,level);
                ProtoBufUtils.WriteInt32(4,vipLvl);
                ProtoBufUtils.WriteInt32(5,career);
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             roleID = 0;
             name = null;
             level = 0;
             vipLvl = 0;
             career = 0;
        }
        public long roleID;
        public string name;
        public int level;
        public int vipLvl;
        public int career;
    }
    public partial class Member : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible
    {
        public void Send(){}
        public void Excute(){}
        public void ReadMessage(ref int readPos, int totalCount)
        {
            int endIndex = totalCount + readPos - 1;
            while (readPos <= endIndex)
            {
                int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
                switch (fieldNumber)
                {
                    case 1 :
                        if(player == null)
                        {
                          player = new Player();
                        }
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        player.ReadMessage(ref readPos, totalCount);
                        break;
                    case 2 :
                        power = ProtoBufUtils.ReadInt64(ref readPos);
                        break;
                    case 3 :
                        exp = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 4 :
                        online = 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);
                if(player != null)
                {
                    player.WriteMessage(1);
                }
                ProtoBufUtils.WriteInt64(2,power);
                ProtoBufUtils.WriteInt32(3,exp);
                ProtoBufUtils.WriteBoolean(4,online);
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             if(player != null)
             {
                player.Clear();
             }
             power = 0;
             exp = 0;
             online = false;
        }
        public Player player;
        public long power;
        public int exp;
        public bool online;
    }
    public partial class Chum : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible
    {
        public void Send(){}
        public void Excute(){}
        public void ReadMessage(ref int readPos, int totalCount)
        {
            int endIndex = totalCount + readPos - 1;
            while (readPos <= endIndex)
            {
                int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
                switch (fieldNumber)
                {
                    case 1 :
                        id = ProtoBufUtils.ReadInt64(ref readPos);
                        break;
                    case 2 :
                        if(c1 == null)
                        {
                          c1 = new Player();
                        }
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        c1.ReadMessage(ref readPos, totalCount);
                        break;
                    case 3 :
                        if(c2 == null)
                        {
                          c2 = new Player();
                        }
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        c2.ReadMessage(ref readPos, totalCount);
                        break;
                    case 4 :
                        name = ProtoBufUtils.ReadString(ref readPos);
                        break;
                    case 5 :
                        anno = ProtoBufUtils.ReadString(ref readPos);
                        break;
                    case 6 :
                        lvl = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 7 :
                        exp = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 8 :
                        freeT = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 9 :
                        num = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    case 10 :
                        if(members == null)
                        {
                          members = new List<Member>();
                        }
                        members.Add(new Member());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        members[members.Count - 1].ReadMessage(ref readPos, totalCount);
                        break;
                    default:
                        break;
                }
            }
        }
        public int WriteMessage(int fieldNumber)
        {
            ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
            int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
            ProtoBufUtils.SetEmptyLength(subItemInfoId);
            ProtoBufUtils.SetVBeginIndex(subItemInfoId);
                ProtoBufUtils.WriteInt64(1,id);
                if(c1 != null)
                {
                    c1.WriteMessage(2);
                }
                if(c2 != null)
                {
                    c2.WriteMessage(3);
                }
                ProtoBufUtils.WriteString(4,name);
                ProtoBufUtils.WriteString(5,anno);
                ProtoBufUtils.WriteInt32(6,lvl);
                ProtoBufUtils.WriteInt32(7,exp);
                ProtoBufUtils.WriteInt32(8,freeT);
                ProtoBufUtils.WriteInt32(9,num);
                for (int i = 0; i < members.Count; i++)
                {
                    if(members != null)
                    {
                        members[i].WriteMessage(10);
                    }
                    }
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             id = 0;
             if(c1 != null)
             {
                c1.Clear();
             }
             if(c2 != null)
             {
                c2.Clear();
             }
             name = null;
             anno = null;
             lvl = 0;
             exp = 0;
             freeT = 0;
             num = 0;
             if(members != null)
             {
                members.Clear();
             }
        }
        public long id;
        public Player c1;
        public Player c2;
        public string name;
        public string anno;
        public int lvl;
        public int exp;
        public int freeT;
        public int num;
        public List<Member> members =  new List<Member>();
    }
    public partial class Rank : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible
    {
        public void Send(){}
        public void Excute(){}
        public void ReadMessage(ref int readPos, int totalCount)
        {
            int endIndex = totalCount + readPos - 1;
            while (readPos <= endIndex)
            {
                int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
                switch (fieldNumber)
                {
                    case 1 :
                        if(c1 == null)
                        {
                          c1 = new Player();
                        }
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        c1.ReadMessage(ref readPos, totalCount);
                        break;
                    case 2 :
                        if(c2 == null)
                        {
                          c2 = new Player();
                        }
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        c2.ReadMessage(ref readPos, totalCount);
                        break;
                    case 3 :
                        name = ProtoBufUtils.ReadString(ref readPos);
                        break;
                    case 4 :
                        lvl = ProtoBufUtils.ReadInt32(ref readPos);
                        break;
                    default:
                        break;
                }
            }
        }
        public int WriteMessage(int fieldNumber)
        {
            ProtoBufUtils.WriteHeader(fieldNumber, ProtoBuf.WireType.String);
            int subItemInfoId = ProtoBufUtils.GetSubItemInfoId();
            ProtoBufUtils.SetEmptyLength(subItemInfoId);
            ProtoBufUtils.SetVBeginIndex(subItemInfoId);
                if(c1 != null)
                {
                    c1.WriteMessage(1);
                }
                if(c2 != null)
                {
                    c2.WriteMessage(2);
                }
                ProtoBufUtils.WriteString(3,name);
                ProtoBufUtils.WriteInt32(4,lvl);
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             if(c1 != null)
             {
                c1.Clear();
             }
             if(c2 != null)
             {
                c2.Clear();
             }
             name = null;
             lvl = 0;
        }
        public Player c1;
        public Player c2;
        public string name;
        public int lvl;
    }
    public partial class Friend : ProtoBuf.IMessageInfo, ProtoBuf.IExtensible
    {
        public void Send(){}
        public void Excute(){}
        public void ReadMessage(ref int readPos, int totalCount)
        {
            int endIndex = totalCount + readPos - 1;
            while (readPos <= endIndex)
            {
                int fieldNumber = ProtoBufUtils.ReadFieldNumber(ref readPos);
                switch (fieldNumber)
                {
                    case 1 :
                        if(player == null)
                        {
                          player = new Player();
                        }
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        player.ReadMessage(ref readPos, totalCount);
                        break;
                    case 2 :
                        name = ProtoBufUtils.ReadString(ref readPos);
                        break;
                    case 3 :
                        id = ProtoBufUtils.ReadInt64(ref readPos);
                        break;
                    case 4 :
                        createPName = 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);
                if(player != null)
                {
                    player.WriteMessage(1);
                }
                ProtoBufUtils.WriteString(2,name);
                ProtoBufUtils.WriteInt64(3,id);
                ProtoBufUtils.WriteString(4,createPName);
            ProtoBufUtils.SetVEndIndex(subItemInfoId);
            return ProtoBufUtils.CheckAndSetLength(subItemInfoId);
        }
        public void Clear()
        {
             if(player != null)
             {
                player.Clear();
             }
             name = null;
             id = 0;
             createPName = null;
        }
        public Player player;
        public string name;
        public long id;
        public string createPName;
    }
    public partial class ReqChum : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182201;
        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 ResChum : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResChum(this);
        }
    
        public const uint MsgID = 182101;
        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(chum == null)
                        {
                          chum = new Chum();
                        }
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        chum.ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             if(chum != null)
             {
                chum.Clear();
             }
        }
        public Chum chum;
    }
    public partial class ReqRank : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182202;
        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 ResRank : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResRank(this);
        }
    
        public const uint MsgID = 182102;
        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(ranks == null)
                        {
                          ranks = new List<Rank>();
                        }
                        ranks.Add(new Rank());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        ranks[ranks.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             if(ranks != null)
             {
                ranks.Clear();
             }
        }
        public List<Rank> ranks =  new List<Rank>();
    }
    public partial class ReqFriend : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182203;
        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 ResFriend : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResFriend(this);
        }
    
        public const uint MsgID = 182103;
        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(friends == null)
                        {
                          friends = new List<Friend>();
                        }
                        friends.Add(new Friend());
                        totalCount = ProtoBufUtils.ReadInt32(ref readPos);
                        friends[friends.Count - 1].ReadMessage(ref readPos, totalCount);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             if(friends != null)
             {
                friends.Clear();
             }
        }
        public List<Friend> friends =  new List<Friend>();
    }
    public partial class ReqInvite : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182204;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt64(1,roleID);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             roleID = 0;
        }
        public long roleID;
    }
    public partial class ResTarget : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResTarget(this);
        }
    
        public const uint MsgID = 182104;
        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:
                        inviteID = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        case 2:
                        name = ProtoBufUtils.ReadString(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             inviteID = 0;
             name = null;
        }
        public int inviteID;
        public string name;
    }
    public partial class ReqInviteConfirm : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182205;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt32(1,inviteID);
                ProtoBufUtils.WriteBoolean(2,agree);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             inviteID = 0;
             agree = false;
        }
        public int inviteID;
        public bool agree;
    }
    public partial class ReqChangeName : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182207;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteString(1,name);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             name = null;
        }
        public string name;
    }
    public partial class ResChangeName : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResChangeName(this);
        }
    
        public const uint MsgID = 182107;
        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:
                        name = ProtoBufUtils.ReadString(ref readPos);
                            break;
                        case 2:
                        succ = ProtoBufUtils.ReadBoolean(ref readPos);
                            break;
                        case 3:
                        freeT = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             name = null;
             succ = false;
             freeT = 0;
        }
        public string name;
        public bool succ;
        public int freeT;
    }
    public partial class ReqChangeAnno : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182208;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteString(1,anno);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             anno = null;
        }
        public string anno;
    }
    public partial class ResChangeAnno : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResChangeAnno(this);
        }
    
        public const uint MsgID = 182108;
        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:
                        anno = ProtoBufUtils.ReadString(ref readPos);
                            break;
                        case 2:
                        succ = ProtoBufUtils.ReadBoolean(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             anno = null;
             succ = false;
        }
        public string anno;
        public bool succ;
    }
    public partial class ReqKick : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182209;
        public void Excute(){}
        public void Send()
        {
            lock (ProtoBufUtils.WriteLocker)
            {
                byte[] bytes = null;
                ProtoBufUtils.InitWriteData();
                ProtoBufUtils.WriteInt64(1,tID);
                bytes = ProtoBufUtils.GetData();
                Thousandto.Plugins.Common.Networker.Instance.Send(bytes, MsgID);
            }
        }
        public void Clear()
        {
             tID = 0;
        }
        public long tID;
    }
    public partial class ResKick : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResKick(this);
        }
    
        public const uint MsgID = 182109;
        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:
                        tID = ProtoBufUtils.ReadInt64(ref readPos);
                            break;
                        case 2:
                        succ = ProtoBufUtils.ReadBoolean(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             tID = 0;
             succ = false;
        }
        public long tID;
        public bool succ;
    }
    public partial class ReqExit : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182210;
        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 ResExit : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResExit(this);
        }
    
        public const uint MsgID = 182110;
        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:
                        succ = ProtoBufUtils.ReadBoolean(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             succ = false;
        }
        public bool succ;
    }
    public partial class ReqCallSoul : ProtoBuf.IExtensible, ProtoBuf.IReqMessage
    {
    
        public const uint MsgID = 182211;
        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 ResCallSoul : ProtoBuf.IExtensible, ProtoBuf.IResMessage
    {
        public void Excute()
        {
			HandleMsgResult.getInstance().GS2U_ResCallSoul(this);
        }
    
        public const uint MsgID = 182111;
        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:
                        num = ProtoBufUtils.ReadInt32(ref readPos);
                            break;
                        default:
                            break;
                    }
                }
            }
        }
        public void Clear()
        {
             num = 0;
        }
        public int num;
    }
}