daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 39 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. switch (header.opCode)
  2. {
  3.     case 0x542: // welcome the client..
  4.         WelcomeClient(connection, packet);
  5.         break;
  6.     case 0x180C:
  7.         SendToonApperanceData(connection, packet);
  8.         break;
  9.     case 0x1306:
  10.         LogoutStart(connection, packet);
  11.         break;
  12.     case 0x1406:
  13.         LogoutCancel(connection, packet);
  14.         break;
  15.     case 0x4F06:
  16.         break;
  17.     case 0x3c44:
  18.         //Info Interact
  19.         break;
  20.     case 0x3c24:
  21.         //Position Update
  22.         break;
  23.     case 0x3c63:
  24.         //Position Stop
  25.         break;
  26.     case 0x2822:
  27.         //Hand Interact
  28.         break;
  29.     case 0x2d16:
  30.         SendInventoryUpdate(connection, packet);
  31.         //Manipulate Inventory
  32.         break;
  33.     case 0x2816:
  34.         //Ability
  35.         break;
  36.     case 0x282e:
  37.         //Ability
  38.         break;
  39.     case 0x5C06:
  40.         //heatbeat no payload
  41.         break;
  42.     case 0x900A:
  43.         break;
  44.     default:
  45.         //Unknown opCode
  46.         break;
  47. }
RAW Paste Data
Top