Advertisement
Guest User

Untitled

a guest
Mar 26th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. #pragma once
  2.  
  3. enum MoveType_t
  4. {
  5. MOVETYPE_NONE = 0,
  6. MOVETYPE_ISOMETRIC,
  7. MOVETYPE_WALK,
  8. MOVETYPE_STEP,
  9. MOVETYPE_FLY,
  10. MOVETYPE_FLYGRAVITY,
  11. MOVETYPE_VPHYSICS,
  12. MOVETYPE_PUSH,
  13. MOVETYPE_NOCLIP,
  14. MOVETYPE_LADDER,
  15. MOVETYPE_OBSERVER,
  16. MOVETYPE_CUSTOM,
  17. MOVETYPE_LAST = MOVETYPE_CUSTOM,
  18. MOVETYPE_MAX_BITS = 4
  19. };
  20.  
  21. class CBaseCombatWeapon;
  22. class CBaseEntity
  23. {
  24. public:
  25. char __pad[0x64];
  26. int index;
  27. int GetIndex();
  28. int GetHealth();
  29. int GetTeam();
  30. int GetFlags();
  31. int GetTickBase();
  32. int GetShotsFired();
  33. int iShotsFired(int i);
  34. int GetMoveType();
  35. int* GetModelIndex();
  36. int GetHitboxSet();
  37. int GetUserID();
  38. int GetArmor();
  39. int * GetCompetitiveRanking();
  40. int GetCollisionGroup();
  41. int PhysicsSolidMaskForEntity();
  42. int GetOwner();
  43. DWORD GetOwnerHandler();
  44. int GetGlowIndex();
  45. int GetBoneByName(const char* boneName);
  46. bool GetAlive();
  47. HANDLE GetViewModel();
  48. bool GetDormant();
  49. bool GetImmune();
  50. bool IsEnemy();
  51. bool IsVisible(int bone);
  52. bool m_visible;
  53. bool IsBroken();
  54. bool IsScoped();
  55. bool HasHelmet();
  56. bool IsFlashed();
  57. int GetPlayerC4();
  58. bool IsTargetingLocal();
  59. float GetFlashDuration();
  60. float GetBombTimer();
  61. QAngle GetViewPunch();
  62. QAngle GetPunch();
  63. QAngle GetEyeAngles();
  64. QAngle* GetHeadRotation();
  65. float* GetLowerBodyYawTarget();
  66. Vector GetOrigin();
  67. Vector GetEyePosition();
  68. Vector GetBonePositionz(int iBone);
  69. Vector GetBonePosition(int iBone);
  70. bool SetupBones(matrix3x4_t *pBoneToWorldOut, int nMaxBones, int boneMask, float currentTime);
  71. Vector GetVelocity();
  72. Vector GetPredicted(Vector p0);
  73. ICollideable* GetCollideable();
  74. player_info_t GetPlayerInfo();
  75. model_t* GetModel();
  76. std::string GetName();
  77. std::string GetSteamID();
  78. std::string GetLastPlace();
  79. int& GetXUIDLow();
  80. int& GetXUIDHigh();
  81. CBaseCombatWeapon* GetWeapon();
  82. DWORD GetActiveWeapon();
  83. ClientClass* GetClientClass();
  84. HANDLE GetObserverTargetHandle();
  85. DWORD GetObserverTargetHandleD();
  86. };
  87.  
  88. /* TGF
  89. class CHudTexture
  90. {
  91. public:
  92. char type[64]; //0x0000
  93. char subtype[64]; //0x0040
  94. char unknowndata00[2]; //0x0080
  95. char charinFont; //0x0082
  96. char unknowndata01[1]; //0x0083
  97. };//Size=0x00AC*/
  98.  
  99. // AYY struct
  100. struct CHudTexture
  101. {
  102. char szShortName[64]; //0x0000
  103. char szTextureFile[64]; //0x0040
  104. bool bRenderUsingFont; //0x0080
  105. bool bPrecached; //0x0081
  106. char cCharacterInFont; //0x0082
  107. BYTE pad_0x0083; //0x0083
  108. int hFont; //0x0084
  109. int iTextureId; //0x0088
  110. float afTexCoords[4]; //0x008C
  111. int iPosX[4]; //0x009C
  112. }; //Size=0x00AC
  113.  
  114. class WeaponInfo_t
  115. {
  116. public:
  117. /* TGF STRUCT
  118. char pad_0x0000[ 99 ]; //0x0000
  119. char m_name[ 80 ]; //0x00
  120. char pad_0x0800[0x74D]; //0x0000 Updated (Structure)
  121. float m_flArmorRatio; //0x07B0
  122. float unkwn1; //0x07B4
  123. float unkwn2; //0x07B8
  124. __int32 unkwn3; //0x07BC
  125. __int32 unkwn4; //0x07C0
  126. float m_flPenetration; //0x07C4
  127. __int32 m_iDamage; //0x07C8
  128. float m_flRange; //0x07CC
  129. float m_flRangeModifier; //0x07D0 */
  130.  
  131. /* AYYWARE STRUCT */
  132. char _0x0000[4];
  133. BYTE m_bParsedScript; //0x0004
  134. BYTE m_bLoadedHudElements; //0x0005
  135. BYTE m_szClassName; //0x0006
  136. char _0x0007[1961];
  137. __int32 m_iAmmoType; //0x07B0
  138. char _0x07B4[12];
  139. CHudTexture* m_pHudTexture_WeaponSilenced; //0x07C0
  140. CHudTexture* m_pHudTexture_Weapon; //0x07C4
  141. CHudTexture* m_pHudTexture_Ammo; //0x07C8
  142. char _0x07CC[4];
  143. CHudTexture* m_pHudTexture_Crosshair; //0x07D0
  144. char _0x07D4[20];
  145. __int32 m_iWeaponType; //0x07E8
  146. __int32 m_iTeam; //0x07EC
  147. __int32 m_iWeaponId; //0x07F0
  148. BYTE m_IsFullAuto; //0x07F4
  149. char _0x07F5[3];
  150. float m_flHeatPerShot; //0x07F8
  151. __int32 m_iWeaponPrice; //0x07FC
  152. float m_flArmorRatio; //0x0850
  153. float m_flMaxPlayerSpeed; //0x0804
  154. float m_flMaxPlayerSpeedAlt; //0x0808
  155. __int32 m_iCrosshairMinDistance; //0x080C
  156. __int32 m_iCrosshairDeltaDistance; //0x0810
  157. float m_flPenetration; //0x0864
  158. __int32 m_iDamage; //0x0868
  159. float m_flRange; //0x086C
  160. float fl_RangeModifier; //0x0870
  161. float m_flRangeModifier; //0x0820
  162. __int32 m_iBullets; //0x0824
  163. float m_flCycleTime; //0x0828
  164. float m_flCycleTimeAlt; //0x082C
  165. char _0x0830[416];
  166. float m_flSpread; //0x09D0
  167. float m_flSpreadAlt; //0x09D4
  168. float m_flInaccuracyCrouch; //0x09D8
  169. float m_flInaccuracyCrouchAlt; //0x09DC
  170. float m_flInaccuracyStand; //0x09E0
  171. float m_flInaccuracyStandAlt; //0x09E4
  172. float m_flInaccuracyJump; //0x09E8
  173. float m_flInaccuracyJumpAlt; //0x09EC
  174. float m_flInaccuracyLand; //0x09F0
  175. float m_flInaccuracyLandAlt; //0x09F4
  176. float m_flInaccuracyLadder; //0x09F8
  177. float m_flInaccuracyLadderAlt; //0x09FC
  178. float m_flInaccuracyFire; //0x0A00
  179. float m_flInaccuracyFireAlt; //0x0A04
  180. float m_flInaccuracyMove; //0x0A08
  181. float m_flInaccuracyMoveAlt; //0x0A0C
  182. float m_flRecoveryTimeStand; //0x0A10
  183. float m_flRecoveryTimeCrouch; //0x0A14
  184. float m_flInaccuracyReload; //0x0A18
  185. float m_flInaccuracyAltSwitch; //0x0A1C
  186. float m_flRecoilAngle; //0x0A20
  187. float m_flRecoilAngleAlt; //0x0A24
  188. float m_flRecoilAngleVariance; //0x0A28
  189. float m_flRecoilAngleVarianceAlt; //0x0A2C
  190. float m_flRecoilMagnitude; //0x0A30
  191. float m_flRecoilMagnitudeAlt; //0x0A34
  192. float m_flRecoilMagnitudeVariance; //0x0A38
  193. float m_flRecoilMagnitudeVarianceAlt; //0x0A3C
  194. __int32 m_iRecoilSeed; //0x0A40
  195. float m_flFlinchVelocityModifierLarge; //0x0A44
  196. float m_flFlinchVelocityModifierSmall; //0x0A48
  197. float m_flTimeToIdle; //0x0A4C
  198. float m_flIdleInterval; //0x0A50
  199.  
  200. };
  201.  
  202. class CBaseViewModel : public CBaseEntity {
  203. public:
  204. HANDLE GetOwnerz();
  205. int GetWeaponz();
  206. };
  207.  
  208. class CBaseCombatWeapon
  209. {
  210. public:
  211. char __pad[0x64];
  212. int index;
  213. int& GetWeaponID();
  214. float& GetNextPrimaryAttack();
  215. float& GetAccuracyPenalty();
  216. float& GetSpread();
  217. float& GetInaccuracy();
  218. HANDLE GetOwnerHandle();
  219. int& GetXUIDLow();
  220. int& GetXUIDHigh();
  221. int& GetEntityQuality();
  222. int& GetAccountID();
  223. int & GetModelIndex();
  224. int& GetItemIDHigh();
  225. int & GetItemIDLow();
  226. int& GetItemDefinitionIndex();
  227. int& GetFallbackPaintKit();
  228. int * GetFallbackPaintKitz();
  229. int& GetFallbackStatTrak();
  230. float& GetFallbackWear();
  231. bool IsEmpty();
  232. int Clip();
  233. bool IsReloading();
  234. void UpdateAccuracyPenalty();
  235. float GetWeaponSpread();
  236. float GetWeaponCone();
  237. WeaponInfo_t* GetCSWpnData();
  238. bool IsGun();
  239. bool IsSniper();
  240. bool IsRifle();
  241. bool IsSmg();
  242. bool IsShotgun();
  243. bool IsPistol();
  244. bool IsAWPorSSG();
  245. bool IsGrenade();
  246. std::string GetWeaponName();
  247. bool IsKnife();
  248. bool IsRevolver();
  249. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement