Esempio n. 1
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode       = bh.ReadUint16();
     u64CharID      = bh.ReadUint64();
     dwIdentifyCode = bh.ReadUint32();
     nProxyPort     = bh.ReadUint16();
     szProxyIpAddr  = bh.ReadFixString(32);
     return;
 }
Esempio n. 2
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     dwAccountID = bh.ReadUint32();
     u64CharID = bh.ReadUint64();
     return ;
 }
Esempio n. 3
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode    = bh.ReadUint16();
     dwAccountID = bh.ReadUint32();
     u64CharID   = bh.ReadUint64();
     return;
 }
Esempio n. 4
0
 public void Read(ReadBufferHelper bh)
 {
     sDir = bh.ReadUint16();
     x    = bh.ReadFloat();
     y    = bh.ReadFloat();
     z    = bh.ReadFloat();
     return;
 }
Esempio n. 5
0
 public void Read(ReadBufferHelper bh)
 {
     CmdHandleID = bh.ReadUint8();
     wCommandID = bh.ReadUint16();
     dwSceneID = bh.ReadUint32();
     u64CharID = bh.ReadUint64();
     return ;
 }
Esempio n. 6
0
 public void Read(ReadBufferHelper bh)
 {
     CmdHandleID = bh.ReadUint8();
     wCommandID  = bh.ReadUint16();
     dwSceneID   = bh.ReadUint32();
     u64CharID   = bh.ReadUint64();
     dwPacketNo  = bh.ReadUint32();
     return;
 }
Esempio n. 7
0
        public override Boolean OnCommandHandle(Command_ID wCommandID, UInt64 u64ConnID, ReadBufferHelper ReadHelper)
        {
            switch (wCommandID)
            {
            case Command_ID.CMD_CHAR_LOGIN_ACK:
            {
                StCharLoginAck Ack = new StCharLoginAck();
                Ack.Read(ReadHelper);
            }
            break;

            case Command_ID.CMD_CHAR_NEW_CHAR_ACK:
            {
            }
            break;

            case Command_ID.CMD_CHAR_DEL_CHAR_ACK:
            {
            }
            break;

            case Command_ID.CMD_CHAR_NEW_ACCOUNT_ACK:
            {
                UInt16 nRetCode = ReadHelper.ReadUint16();
            }
            break;

            case Command_ID.CMD_CHAR_ENTER_GAME_ACK:
            {
            }
            break;

            case Command_ID.CMD_CHAR_NEARBY_ADD:
            {
            }
            break;

            case Command_ID.CMD_CHAR_NEARBY_UPDATE:
            {
            }
            break;

            case Command_ID.CMD_CHAR_NEARBY_REMOVE:
            {
            }
            break;

            default:
            {
            }
            break;
            }

            return(true);
        }
Esempio n. 8
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode    = bh.ReadUint16();
     dwAccountID = bh.ReadUint32();
     nCount      = bh.ReadUint8();
     for (int i = 0; i < nCount; i++)
     {
         CharPickInfo[i] = new StCharPickInfo();
         CharPickInfo[i].Read(bh);
     }
     return;
 }
Esempio n. 9
0
 public void Read(ReadBufferHelper bh)
 {
     CheckCode = bh.ReadUint8();
     dwSize    = bh.ReadUint16();
     return;
 }
Esempio n. 10
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     CharPickInfo.Read(bh);
     return ;
 }
Esempio n. 11
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     u64CharID = bh.ReadUint64();
     dwIdentifyCode = bh.ReadUint32();
     nProxyPort = bh.ReadUint16();
     szProxyIpAddr = bh.ReadFixString(32);
     return ;
 }
Esempio n. 12
0
 public void Read(ReadBufferHelper bh)
 {
     sDir = bh.ReadUint16();
     x = bh.ReadFloat();
     y = bh.ReadFloat();
     z = bh.ReadFloat();
     return ;
 }
Esempio n. 13
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     return ;
 }
Esempio n. 14
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     dwAccountID = bh.ReadUint32();
     nCount = bh.ReadUint8();
     for (int i = 0; i < nCount; i++)
     {
         CharPickInfo[i] = new StCharPickInfo();
         CharPickInfo[i].Read(bh);
     }
     return ;
 }
Esempio n. 15
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     return;
 }
Esempio n. 16
0
 public void Read(ReadBufferHelper bh)
 {
     nRetCode = bh.ReadUint16();
     CharPickInfo.Read(bh);
     return;
 }
Esempio n. 17
0
        public override Boolean OnCommandHandle(Command_ID wCommandID, UInt64 u64ConnID, ReadBufferHelper ReadHelper)
        {
            switch (wCommandID)
            {
                case Command_ID.CMD_CHAR_LOGIN_ACK:
                    {
                        StCharLoginAck Ack = new StCharLoginAck();
                        Ack.Read(ReadHelper);
                    }
                    break;
                case Command_ID.CMD_CHAR_NEW_CHAR_ACK:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_DEL_CHAR_ACK:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_NEW_ACCOUNT_ACK:
                    {
                        UInt16 nRetCode = ReadHelper.ReadUint16();
                    }
                    break;
                case Command_ID.CMD_CHAR_ENTER_GAME_ACK:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_NEARBY_ADD:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_NEARBY_UPDATE:
                    {

                    }
                    break;
                case Command_ID.CMD_CHAR_NEARBY_REMOVE:
                    {

                    }
                    break;

                default:
                    {

                    }
                    break;
            }

            return true;
        }
Esempio n. 18
0
 public void Read(ReadBufferHelper bh)
 {
     CheckCode = bh.ReadUint8();
     dwSize = bh.ReadUint16();
     return ;
 }