public void Create(PackIn inpack)
 {
     id = inpack.ReadUInt32();
     name = inpack.ReadString();
     title = inpack.ReadByte();
     leader_id = inpack.ReadInt32();
     leader_name = inpack.ReadString();
     money = inpack.ReadLong();
     notice = inpack.ReadString();
     int count = inpack.ReadInt32();
     for (int i = 0; i < count; i++)
     {
         LegionMember member = new LegionMember();
         member.Create(inpack);
         list_member.Add(member);
     }
 }
 public void Create(PackIn inpack)
 {
     members_name = inpack.ReadString();
     money = inpack.ReadLong();
     rank = inpack.ReadInt16();
     boChange = inpack.ReadBool();
 }
        public void Create(byte[] msg)
        {
            PackIn inpack = new PackIn(msg);

            inpack.ReadUInt16();
            accountid = inpack.ReadInt32();
            IsExit = inpack.ReadBool();
            name = inpack.ReadString();
            lookface = inpack.ReadUInt32();
            hair = inpack.ReadUInt32();
            level = inpack.ReadByte();
            exp = inpack.ReadInt32();
            life = inpack.ReadUInt32();
            mana = inpack.ReadUInt32();
            profession = inpack.ReadByte();
            pk = inpack.ReadInt16();
            gold = inpack.ReadLong();
            gamegold = inpack.ReadLong();
            stronggold = inpack.ReadLong();
            mapid = inpack.ReadUInt32();
            x = inpack.ReadInt16();
            y = inpack.ReadInt16();
            hotkey = inpack.ReadString();
            guanjue = inpack.ReadULong();
            godlevel = inpack.ReadByte();
            maxeudemon = inpack.ReadByte();
        }