Jo-Milk

Bo1 Struct 1.13 MP

Dec 4th, 2020 (edited)
781
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. struct clientHeader_t
  2. {
  3.     int state;
  4.     int sendAsActive;
  5.     int deltaMessage;
  6.     int rateDelayed;
  7.     netchan_t netchan;
  8.     float predictedOrigin[3];
  9.     int predictedOriginServerTime;
  10.     PredictedVehicleInfo vehicle;
  11. };
  12.  
  13. struct svscmd_info_t
  14. {
  15.     char *cmd;
  16.     int time;
  17.     int type;
  18. };
  19.  
  20. struct usercmd_s
  21. {
  22.     int serverTime;
  23.     bitarray<51> button_bits;
  24.     int angles[3];
  25.     unsigned __int16 weapon;
  26.     unsigned __int16 offHandIndex;
  27.     unsigned __int16 lastWeaponAltModeSwitch;
  28.     char forwardmove;
  29.     char rightmove;
  30.     char upmove;
  31.     char pitchmove;
  32.     char yawmove;
  33.     float meleeChargeYaw;
  34.     char meleeChargeDist;
  35.     float rollmove;
  36.     char selectedLocation[2];
  37.     char selectedYaw;
  38. };
  39.  
  40. struct clientSnapshot_t
  41. {
  42.     playerState_s ps;
  43.     int num_entities;
  44.     int num_clients;
  45.     int matchState;
  46.     int first_entity;
  47.     int first_client;
  48.     int messageSent;
  49.     int messageAcked;
  50.     int messageSize;
  51.     int serverTime;
  52.     int physicsTime;
  53. };
  54.  
  55. struct client_t
  56. {
  57.     clientHeader_t header;
  58.     const char *dropReason;
  59.     char userinfo[1024];
  60.     char reliableCommandBuffer[16384];
  61.     int reliableCommandBufferNext;
  62.     svscmd_info_t reliableCommandInfo[128];
  63.     int reliableSequence;
  64.     int reliableAcknowledge;
  65.     int reliableSent;
  66.     int messageAcknowledge;
  67.     int gamestateMessageNum;
  68.     int challenge;
  69.     usercmd_s lastUsercmd;
  70.     int lastClientCommand;
  71.     char lastClientCommandString[1024];
  72.     gentity_s *gentity;
  73.     char name[32];
  74.     char clanAbbrev[5];
  75.     unsigned __int64 xuid;
  76.     int downloading;
  77.     char downloadName[64];
  78.     int download;
  79.     int downloadSize;
  80.     int downloadCount;
  81.     int downloadClientBlock;
  82.     int downloadCurrentBlock;
  83.     int downloadXmitBlock;
  84.     char *downloadBlocks[8];
  85.     int downloadBlockSize[8];
  86.     int downloadEOF;
  87.     int downloadSendTime;
  88.     char downloadURL[256];
  89.     int wwwOk;
  90.     int downloadingWWW;
  91.     int clientDownloadingWWW;
  92.     int wwwFallback;
  93.     int nextReliableTime;
  94.     int nextReliableCount;
  95.     char reservedSlot;
  96.     int lastPacketTime;
  97.     int lastConnectTime;
  98.     int nextSnapshotTime;
  99.     int lastSnapshotTime;
  100.     int timeoutCount;
  101.     clientSnapshot_t frames[32];
  102.     int ping;
  103.     int rate;
  104.     int snapshotMsec;
  105.     int pureAuthen;
  106. };
  107.  
  108.  
  109.  
RAW Paste Data