#pragma once
#include <cstdint>



#define OFF_LOCAL_PLAYER 0x282c198       // [Miscellaneous]->LocalPlayer
#define OFF_ENTITY_LIST 0x644bf38       // [Miscellaneous]->cl_entitylist
#define OFF_NAME_LIST 0x8e46440         // [Miscellaneous]->NameList
#define OFF_VIEWRENDER 0x3f360f0        // [Miscellaneous]->ViewRender
#define OFF_VIEWMATRIX 0x11a350          // [Miscellaneous]->ViewMatrix
#define OFF_LEVEL 0x1f7aa34             // [Miscellaneous]->LevelName
#define OFF_GLOBAL_VARS 0x1f6f6e0  // GlobalVars


#define OFF_HEALTH 0x324         // [RecvTable.DT_Player]->m_iHealth
#define OFF_MAXHEALTH 0x468      // [RecvTable.DT_Player]->m_iMaxHealth
#define OFF_SHIELD 0x1a0         // [RecvTable.DT_TitanSoul]->m_shieldHealth
#define OFF_MAXSHIELD 0x1a4      // [RecvTable.DT_TitanSoul]->m_shieldHealthMax
#define OFF_ARMORTYPE 0x4814      // [RecvTable.DT_Player]->m_armorType
#define OFF_LOCAL_ORIGIN 0x17c   // [DataMap.C_BaseEntity]->m_vecAbsOrigin
#define OFF_TEAM_NUMBER 0x334    // [RecvTable.DT_BaseEntity]->m_iTeamNum
#define OFF_LIFE_STATE 0x690     // [RecvTable.DT_Player]->m_lifeState
#define OFF_BLEEDOUT_STATE 0x27c0 // [RecvTable.DT_Player]->m_bleedoutState
#define OFF_LAST_VISIBLE_TIME 0x1a64 //最后可见时间
#define OFF_LAST_AIMEDAT_TIME 0x1a6c // 

#define OFF_SIGNIFIER_NAME 0x470 // [RecvTable.DT_BaseEntity]->m_iSignifierName
#define OFF_NAME 0x479           // [RecvTable.DT_BaseEntity]->m_iName


#define OFF_BONES (0xdb8 + 0x48) // [RecvTable.DT_BaseAnimating]->m_nForceBone + 0x48


#define OFF_ABSVELOCITY 0x0170 // [DataMap.C_BaseEntity]->m_vecAbsVelocity
#define OFF_WEAPON_HANDLE 0x19d4 // [RecvTable.DT_BaseCombatCharacter]->m_latestNonOffhandWeapons
#define OFF_WEAPON_INDEX 0x1850 // [RecvTable.DT_WeaponX]->m_weaponNameIndex
#define OFF_PROJECTILESPEED 0x2860 // WeaponSettings.projectile_launch_speed 
#define OFF_PROJECTILESCALE (OFF_PROJECTILESPEED + 0x8) // WeaponSettings.projectile_gravity_scale


#define OFF_VIEW_ANGLES 0x2600 // ViewAngles
#define OFF_BREATH_ANGLES (OFF_VIEW_ANGLES - 0x10)
#define OFF_PUNCH_ANGLES  0x2518         
#define OFF_YAW (0x231c - 0x8) // m_currentFramePlayer.m_ammoPoolCount - 0x8


#define OFF_IN_ATTACK 0x3f389e8    // +attack
#define OFF_INATTACK OFF_IN_ATTACK // Alias

#define OFF_TIME_BASE 0x2168 // [DataMap.C_Player]->m_currentFramePlayer.timeBase

// Glow///////////
#define OFF_GLOW_ENABLE 0x28C // m_highlightServerActiveStates
#define OFF_GLOW_THROUGH_WALL 0x26C // m_highlightVisibilityType
#define OFF_GLOW_FIX 0x278 // Default
#define OFF_GLOW_HIGHLIGHT_ID 0x298 // m_highlightServerActiveStates
#define OFF_GLOW_DISTANCE 0x294 // Highlight_SetFarFadeDist


#define OFF_OBSERVER_LIST 0x644df58 // ObserverList
#define OFF_OBSERVER_ARRAY 0x964 // m_gameTimescale 