amxmodx/gamedata/common.games/entities.games/valve/offsets-cbaseplayer.txt
Vincent Herbet 9ca3a685ed Update gamedata for all supported mods (#771)
* Update CS gamedata

* Update TFC gamedata

* Update DoD gamedata

* Update Valve gamedata

* Update Gearbox gamedata
2019-10-21 11:51:18 +02:00

853 lines
14 KiB
Plaintext

/**
* Do not edit this file. Any changes will be overwritten by the gamedata
* updater or by upgrading your AMX Mod X install.
*
* To override data in this file, create a subdirectory named "custom" and
* place your own gamedata file(s) inside of it. Such files will be parsed
* after AMXX's own.
*
* For more information, see http://wiki.alliedmods.net/Gamedata_Updating_(AMX_Mod_X)
*/
"Games"
{
"#default"
{
"Classes"
{
"CBasePlayer"
{
"Offsets"
{
"m_hObserverTarget" // EHANDLE
{
"type" "ehandle"
"windows" "664"
"linux" "684"
"mac" "684"
}
"m_flNextObserverInput" // float
{
"type" "float"
"windows" "672"
"linux" "692"
"mac" "692"
}
"m_iObserverWeapon" // int
{
"type" "integer"
"windows" "676"
"linux" "696"
"mac" "696"
}
"m_iObserverLastMode" // int
{
"type" "integer"
"windows" "680"
"linux" "700"
"mac" "700"
}
"random_seed" // int
{
"type" "integer"
"windows" "684"
"linux" "704"
"mac" "704"
}
"m_iPlayerSound" // int
{
"type" "integer"
"windows" "688"
"linux" "708"
"mac" "708"
}
"m_iTargetVolume" // int
{
"type" "integer"
"windows" "692"
"linux" "712"
"mac" "712"
}
"m_iWeaponVolume" // int
{
"type" "integer"
"windows" "696"
"linux" "716"
"mac" "716"
}
"m_iExtraSoundTypes" // int
{
"type" "integer"
"windows" "700"
"linux" "720"
"mac" "720"
}
"m_iWeaponFlash" // int
{
"type" "integer"
"windows" "704"
"linux" "724"
"mac" "724"
}
"m_flStopExtraSoundTime" // float
{
"type" "float"
"windows" "708"
"linux" "728"
"mac" "728"
}
"m_flFlashLightTime" // float
{
"type" "float"
"windows" "712"
"linux" "732"
"mac" "732"
}
"m_iFlashBattery" // int
{
"type" "integer"
"windows" "716"
"linux" "736"
"mac" "736"
}
"m_afButtonLast" // int
{
"type" "integer"
"windows" "720"
"linux" "740"
"mac" "740"
}
"m_afButtonPressed" // int
{
"type" "integer"
"windows" "724"
"linux" "744"
"mac" "744"
}
"m_afButtonReleased" // int
{
"type" "integer"
"windows" "728"
"linux" "748"
"mac" "748"
}
"m_pentSndLast" // edict_t*
{
"type" "edict"
"windows" "732"
"linux" "752"
"mac" "752"
}
"m_flSndRoomtype" // float
{
"type" "float"
"windows" "736"
"linux" "756"
"mac" "756"
}
"m_flSndRange" // float
{
"type" "float"
"windows" "740"
"linux" "760"
"mac" "760"
}
"m_flFallVelocity" // float
{
"type" "float"
"windows" "744"
"linux" "764"
"mac" "764"
}
"m_rgItems" // int[5]
{
"type" "integer"
"size" "5"
"windows" "748"
"linux" "768"
"mac" "768"
}
"m_fKnownItem" // int
{
"type" "integer"
"windows" "768"
"linux" "788"
"mac" "788"
}
"m_fNewAmmo" // int
{
"type" "integer"
"windows" "772"
"linux" "792"
"mac" "792"
}
"m_afPhysicsFlags" // unsigned int
{
"type" "integer"
"unsigned" "1"
"windows" "776"
"linux" "796"
"mac" "796"
}
"m_fNextSuicideTime" // float
{
"type" "float"
"windows" "780"
"linux" "800"
"mac" "800"
}
"m_flTimeStepSound" // float
{
"type" "float"
"windows" "784"
"linux" "804"
"mac" "804"
}
"m_flTimeWeaponIdle" // float
{
"type" "float"
"windows" "788"
"linux" "808"
"mac" "808"
}
"m_flSwimTime" // float
{
"type" "float"
"windows" "792"
"linux" "812"
"mac" "812"
}
"m_flDuckTime" // float
{
"type" "float"
"windows" "796"
"linux" "816"
"mac" "816"
}
"m_flWallJumpTime" // float
{
"type" "float"
"windows" "800"
"linux" "820"
"mac" "820"
}
"m_flSuitUpdate" // float
{
"type" "float"
"windows" "804"
"linux" "824"
"mac" "824"
}
"m_rgSuitPlayList" // int[4]
{
"type" "integer"
"size" "4"
"windows" "808"
"linux" "828"
"mac" "828"
}
"m_iSuitPlayNext" // int
{
"type" "integer"
"windows" "824"
"linux" "844"
"mac" "844"
}
"m_rgiSuitNoRepeat" // int[32]
{
"type" "integer"
"size" "32"
"windows" "828"
"linux" "848"
"mac" "848"
}
"m_rgflSuitNoRepeatTime" // float[32]
{
"type" "float"
"size" "32"
"windows" "956"
"linux" "976"
"mac" "976"
}
"m_lastDamageAmount" // int
{
"type" "integer"
"windows" "1084"
"linux" "1104"
"mac" "1104"
}
"m_tbdPrev" // float
{
"type" "float"
"windows" "1088"
"linux" "1108"
"mac" "1108"
}
"m_flgeigerRange" // float
{
"type" "float"
"windows" "1092"
"linux" "1112"
"mac" "1112"
}
"m_flgeigerDelay" // float
{
"type" "float"
"windows" "1096"
"linux" "1116"
"mac" "1116"
}
"m_igeigerRangePrev" // int
{
"type" "integer"
"windows" "1100"
"linux" "1120"
"mac" "1120"
}
"m_iStepLeft" // int
{
"type" "integer"
"windows" "1104"
"linux" "1124"
"mac" "1124"
}
"m_szTextureName" // char[13]
{
"type" "string"
"size" "13"
"windows" "1108"
"linux" "1128"
"mac" "1128"
}
"m_chTextureType" // char
{
"type" "character"
"windows" "1121"
"linux" "1141"
"mac" "1141"
}
"m_idrowndmg" // int
{
"type" "integer"
"windows" "1124"
"linux" "1144"
"mac" "1144"
}
"m_idrownrestored" // int
{
"type" "integer"
"windows" "1128"
"linux" "1148"
"mac" "1148"
}
"m_bitsHUDDamage" // int
{
"type" "integer"
"windows" "1132"
"linux" "1152"
"mac" "1152"
}
"m_fInitHUD" // BOOL
{
"type" "integer"
"windows" "1136"
"linux" "1156"
"mac" "1156"
}
"m_fGameHUDInitialized" // BOOL
{
"type" "integer"
"windows" "1140"
"linux" "1160"
"mac" "1160"
}
"m_iTrain" // int
{
"type" "integer"
"windows" "1144"
"linux" "1164"
"mac" "1164"
}
"m_fWeapon" // BOOL
{
"type" "integer"
"windows" "1148"
"linux" "1168"
"mac" "1168"
}
"m_pTank" // EHANDLE
{
"type" "ehandle"
"windows" "1152"
"linux" "1172"
"mac" "1172"
}
"m_fDeadTime" // float
{
"type" "float"
"windows" "1160"
"linux" "1180"
"mac" "1180"
}
"m_fNoPlayerSound" // BOOL
{
"type" "integer"
"windows" "1164"
"linux" "1184"
"mac" "1184"
}
"m_fLongJump" // BOOL
{
"type" "integer"
"windows" "1168"
"linux" "1188"
"mac" "1188"
}
"m_tSneaking" // float
{
"type" "float"
"windows" "1172"
"linux" "1192"
"mac" "1192"
}
"m_iUpdateTime" // int
{
"type" "integer"
"windows" "1176"
"linux" "1196"
"mac" "1196"
}
"m_iClientHealth" // int
{
"type" "integer"
"windows" "1180"
"linux" "1200"
"mac" "1200"
}
"m_iClientBattery" // int
{
"type" "integer"
"windows" "1184"
"linux" "1204"
"mac" "1204"
}
"m_iHideHUD" // int
{
"type" "integer"
"windows" "1188"
"linux" "1208"
"mac" "1208"
}
"m_iClientHideHUD" // int
{
"type" "integer"
"windows" "1192"
"linux" "1212"
"mac" "1212"
}
"m_iFOV" // int
{
"type" "integer"
"windows" "1196"
"linux" "1216"
"mac" "1216"
}
"m_iClientFOV" // int
{
"type" "integer"
"windows" "1200"
"linux" "1220"
"mac" "1220"
}
"m_rgpPlayerItems" // CBasePlayerItem*[6]
{
"type" "classptr"
"size" "6"
"windows" "1204"
"linux" "1224"
"mac" "1224"
}
"m_pActiveItem" // CBasePlayerItem*
{
"type" "classptr"
"windows" "1228"
"linux" "1248"
"mac" "1248"
}
"m_pClientActiveItem" // CBasePlayerItem*
{
"type" "classptr"
"windows" "1232"
"linux" "1252"
"mac" "1252"
}
"m_pLastItem" // CBasePlayerItem*
{
"type" "classptr"
"windows" "1236"
"linux" "1256"
"mac" "1256"
}
"m_rgAmmo" // int[32]
{
"type" "integer"
"size" "32"
"windows" "1240"
"linux" "1260"
"mac" "1260"
}
"m_rgAmmoLast" // int[32]
{
"type" "integer"
"size" "32"
"windows" "1368"
"linux" "1388"
"mac" "1388"
}
"m_vecAutoAim" // Vector
{
"type" "vector"
"windows" "1496"
"linux" "1516"
"mac" "1516"
}
"m_fOnTarget" // BOOL
{
"type" "integer"
"windows" "1508"
"linux" "1528"
"mac" "1528"
}
"m_iDeaths" // int
{
"type" "integer"
"windows" "1512"
"linux" "1532"
"mac" "1532"
}
"m_iRespawnFrames" // float
{
"type" "float"
"windows" "1516"
"linux" "1536"
"mac" "1536"
}
"m_lastx" // int
{
"type" "integer"
"windows" "1520"
"linux" "1540"
"mac" "1540"
}
"m_lasty" // int
{
"type" "integer"
"windows" "1524"
"linux" "1544"
"mac" "1544"
}
"m_nCustomSprayFrames" // int
{
"type" "integer"
"windows" "1528"
"linux" "1548"
"mac" "1548"
}
"m_flNextDecalTime" // float
{
"type" "float"
"windows" "1532"
"linux" "1552"
"mac" "1552"
}
"m_szTeamName" // char[16]
{
"type" "string"
"size" "16"
"windows" "1536"
"linux" "1556"
"mac" "1556"
}
"m_szAnimExtention" // char[32]
{
"type" "string"
"size" "32"
"windows" "1552"
"linux" "1572"
"mac" "1572"
}
"m_flStartCharge" // float
{
"type" "float"
"windows" "1584"
"linux" "1604"
"mac" "1604"
}
"m_flAmmoStartCharge" // float
{
"type" "float"
"windows" "1588"
"linux" "1608"
"mac" "1608"
}
"m_flPlayAftershock" // float
{
"type" "float"
"windows" "1592"
"linux" "1612"
"mac" "1612"
}
"m_flNextAmmoBurn" // float
{
"type" "float"
"windows" "1596"
"linux" "1616"
"mac" "1616"
}
"m_izSBarState" // int[4]
{
"type" "integer"
"size" "4"
"windows" "1600"
"linux" "1620"
"mac" "1620"
}
"m_flNextSBarUpdateTime" // float
{
"type" "float"
"windows" "1616"
"linux" "1636"
"mac" "1636"
}
"m_flStatusBarDisappearDelay" // float
{
"type" "float"
"windows" "1620"
"linux" "1640"
"mac" "1640"
}
"m_SbarString0" // char[128]
{
"type" "string"
"size" "128"
"windows" "1624"
"linux" "1644"
"mac" "1644"
}
"m_SbarString1" // char[128]
{
"type" "string"
"size" "128"
"windows" "1752"
"linux" "1772"
"mac" "1772"
}
"m_flNextChatTime" // float
{
"type" "float"
"windows" "1880"
"linux" "1900"
"mac" "1900"
}
"m_iAutoWepSwitch" // int
{
"type" "integer"
"windows" "1884"
"linux" "1904"
"mac" "1904"
}
}
}
}
}
}
/**
* Class Hierarchy
* -
* CBaseEntity
* CBaseDelay
* CBaseAnimating
* CBaseToggle
* CBaseMonster
* CBasePlayer
*/