VoltMod
C++23 framework for CS2 server plugins
Loading...
Searching...
No Matches
VoltMod::Schema Namespace Reference

Classes

class  CBaseAnimGraph
class  CBaseCombatCharacter
class  CBaseEntity
class  CBaseModelEntity
class  CBasePlayerController
class  CBasePlayerPawn
class  CBasePlayerWeapon
class  CBasePlayerWeaponVData
class  CBeam
class  CBodyComponent
class  CCollisionProperty
class  CCSCustomHudLayout
class  CCSCustomHudLayoutState
class  CCSGameRules
class  CCSGameRulesProxy
class  CCSPlayer_AimPunchServices
class  CCSPlayer_MovementServices
class  CCSPlayerBase_CameraServices
class  CCSPlayerController
class  CCSPlayerController_ActionTrackingServices
class  CCSPlayerController_InGameMoneyServices
class  CCSPlayerPawn
class  CCSPlayerPawnBase
class  CCSWeaponBaseVData
class  CEconEntity
class  CEntityComponent
class  CEntityInstance
class  CEntitySubclassVDataBase
class  CGameRules
class  CGameRulesProxy
class  CGameSceneNode
class  CInButtonState
class  CModelState
class  CMultiplayRules
class  CountdownTimer
class  CParticleSystem
class  CPlayer_CameraServices
class  CPlayer_ItemServices
class  CPlayer_MovementServices
class  CPlayer_MovementServices_Humanoid
class  CPlayer_ObserverServices
class  CPlayer_WeaponServices
class  CPlayerControllerComponent
class  CPlayerPawnComponent
class  CSkeletonInstance
class  CSMatchStats_t
class  CSPerRoundStats_t
class  CTeamplayRules
class  CVoteController
class  EntitySpottedState_t
class  VPhysicsCollisionAttribute_t
struct  LiveField
class  View
 Base of every generated schema view: a frame-local pointer into engine memory, never stored. More...
struct  TypeInfo
struct  FieldInfo
struct  ClassInfo
struct  EnumItem
struct  EnumInfo
struct  SchemaDoc
struct  FieldLayout

Typedefs

using LiveFieldLookup = std::function<LiveField(std::string_view className, std::string_view field)>

Enumerations

enum class  CSWeaponType : int32_t {
  WEAPONTYPE_KNIFE = 0 , WEAPONTYPE_PISTOL = 1 , WEAPONTYPE_SUBMACHINEGUN = 2 , WEAPONTYPE_RIFLE = 3 ,
  WEAPONTYPE_SHOTGUN = 4 , WEAPONTYPE_SNIPER_RIFLE = 5 , WEAPONTYPE_MACHINEGUN = 6 , WEAPONTYPE_C4 = 7 ,
  WEAPONTYPE_TASER = 8 , WEAPONTYPE_GRENADE = 9 , WEAPONTYPE_EQUIPMENT = 10 , WEAPONTYPE_STACKABLEITEM = 11 ,
  WEAPONTYPE_UNKNOWN = 12
}
enum class  MoveType_t : int8_t {
  MOVETYPE_NONE = 0 , MOVETYPE_OBSOLETE = 1 , MOVETYPE_WALK = 2 , MOVETYPE_FLY = 3 ,
  MOVETYPE_FLYGRAVITY = 4 , MOVETYPE_VPHYSICS = 5 , MOVETYPE_PUSH = 6 , MOVETYPE_NOCLIP = 7 ,
  MOVETYPE_OBSERVER = 8 , MOVETYPE_LADDER = 9 , MOVETYPE_CUSTOM = 10 , MOVETYPE_LAST = 11
}
enum class  RenderMode_t : int8_t { kRenderNormal = 0 , kRenderTransAlpha = 1 , kRenderNone = 2 , kRenderModeCount = 3 }
enum class  SurroundingBoundsType_t : int8_t {
  USE_OBB_COLLISION_BOUNDS = 0 , USE_BEST_COLLISION_BOUNDS = 1 , USE_HITBOXES = 2 , USE_SPECIFIED_BOUNDS = 3 ,
  USE_GAME_CODE = 4 , USE_ROTATION_EXPANDED_BOUNDS = 5 , USE_ROTATION_EXPANDED_ORIENTED_BOUNDS = 6 , USE_COLLISION_BOUNDS_NEVER_VPHYSICS = 7 ,
  USE_ROTATION_EXPANDED_SEQUENCE_BOUNDS = 8
}
enum class  gear_slot_t : int32_t {
  GEAR_SLOT_INVALID = -1 , GEAR_SLOT_RIFLE = 0 , GEAR_SLOT_PISTOL = 1 , GEAR_SLOT_KNIFE = 2 ,
  GEAR_SLOT_GRENADES = 3 , GEAR_SLOT_C4 = 4 , GEAR_SLOT_RESERVED_SLOT6 = 5 , GEAR_SLOT_RESERVED_SLOT7 = 6 ,
  GEAR_SLOT_RESERVED_SLOT8 = 7 , GEAR_SLOT_RESERVED_SLOT9 = 8 , GEAR_SLOT_RESERVED_SLOT10 = 9 , GEAR_SLOT_RESERVED_SLOT11 = 10 ,
  GEAR_SLOT_BOOSTS = 11 , GEAR_SLOT_UTILITY = 12 , GEAR_SLOT_COUNT = 13
}

Functions

static std::string DumpedBuild (const std::filesystem::path &path)
static CSchemaSystemTypeScope * ServerScope (ISchemaSystem *schema)
void WriteSchemaDump (ISchemaSystem *schema, CGameEntitySystem *entities)
LiveField FindLiveField (ISchemaSystem *schema, std::string_view className, std::string_view field)
static std::string TypeName (CSchemaType *type)
static TypeInfo DescribeType (CSchemaType *type)
static ClassInfo DescribeClass (const CSchemaClassInfo *klass, const CNetworkSerializerClassInfo *network)
static EnumInfo DescribeEnum (const CSchemaEnumInfo *enumeration)
static const CNetworkSerializerClassInfo * NetworkClass (const CNetworkSerializerCodeGenDatabase &network, const char *name)
template<class T, class Hash>
static std::vector< T > HashElements (Hash &hash)
static void MergeScope (SchemaDoc &doc, CSchemaSystemTypeScope *scope, const CNetworkSerializerCodeGenDatabase &network)
Status WriteDumpFile (CSchemaSystemTypeScope *global, CSchemaSystemTypeScope *server, const CNetworkSerializerCodeGenDatabase &network, std::string_view path, std::string_view gameBuild)
const SchemaClassFieldData_t * FindField (const CSchemaClassInfo *klass, std::string_view field)
std::span< FieldLayout > GeneratedLayout ()
Status ResolveLayout (std::span< FieldLayout > fields, const LiveFieldLookup &lookup)
void NotifyEntity (CEntityInstance *entity, int32_t offset)
void NotifyComponentOwner (void *component, int32_t ownerLinkOffset, int32_t offset)
CEntityInstance * ComponentOwner (const void *component, int32_t ownerLinkOffset)
void NotifyEntity (::CEntityInstance *entity, int32_t offset)

Variables

static constexpr std::string_view DumpPath = "addons/voltmod/gamedata/dumps/schema.json"
constexpr std::string_view ChainField = "__m_pChainEntity"
static const int32_t & kCBaseCombatCharacter_MyWearables
static const int32_t & kCBaseEntity_SubclassIdAddress = GeneratedFields[1].Offset
static const int32_t & kCBaseEntity_Health = GeneratedFields[2].Offset
static const int32_t & kCBaseEntity_MaxHealth = GeneratedFields[3].Offset
static const int32_t & kCBaseEntity_GravityScale = GeneratedFields[4].Offset
static const int32_t & kCBaseEntity_TeamNum = GeneratedFields[5].Offset
static const int32_t & kCBaseEntity_LifeState = GeneratedFields[6].Offset
static const int32_t & kCBaseEntity_Flags = GeneratedFields[7].Offset
static const int32_t & kCBaseEntity_AbsVelocity = GeneratedFields[8].Offset
static const int32_t & kCBaseEntity_MoveTypeRaw = GeneratedFields[9].Offset
static const int32_t & kCBaseEntity_ActualMoveType = GeneratedFields[10].Offset
static const int32_t & kCBaseEntity_GroundEntity = GeneratedFields[11].Offset
static const int32_t & kCBaseEntity_OwnerEntity = GeneratedFields[12].Offset
static const int32_t & kCBaseEntity_BodyComponent = GeneratedFields[13].Offset
static const int32_t & kCBaseModelEntity_ViewOffset = GeneratedFields[14].Offset
static const int32_t & kCBaseModelEntity_RenderMode = GeneratedFields[15].Offset
static const int32_t & kCBaseModelEntity_RenderColor = GeneratedFields[16].Offset
static const int32_t & kCBaseModelEntity_Collision = GeneratedFields[17].Offset
static const int32_t & kCBasePlayerController_PlayerName = GeneratedFields[18].Offset
static const int32_t & kCBasePlayerController_PawnRef = GeneratedFields[19].Offset
static const int32_t & kCBasePlayerController_IsHLTV = GeneratedFields[20].Offset
static const int32_t & kCBasePlayerPawn_ObserverServices = GeneratedFields[21].Offset
static const int32_t & kCBasePlayerPawn_ItemServices = GeneratedFields[22].Offset
static const int32_t & kCBasePlayerPawn_MovementServices = GeneratedFields[23].Offset
static const int32_t & kCBasePlayerPawn_WeaponServices = GeneratedFields[24].Offset
static const int32_t & kCBasePlayerPawn_CameraServices = GeneratedFields[25].Offset
static const int32_t & kCBasePlayerPawn_ControllerRef = GeneratedFields[26].Offset
static const int32_t & kCBasePlayerWeapon_NextPrimaryAttackTick = GeneratedFields[27].Offset
static const int32_t & kCBasePlayerWeapon_NextSecondaryAttackTick = GeneratedFields[28].Offset
static const int32_t & kCBeam_Width = GeneratedFields[29].Offset
static const int32_t & kCBeam_EndWidth = GeneratedFields[30].Offset
static const int32_t & kCBeam_EndPos = GeneratedFields[31].Offset
static const int32_t & CBodyComponent_kOwnerLinkOffset = GeneratedFields[33].Offset
static const int32_t & kCBodyComponent_SceneNode = GeneratedFields[32].Offset
static const int32_t & kCCollisionProperty_CollisionAttribute
static const int32_t & kCCollisionProperty_SurroundType = GeneratedFields[82].Offset
static const int32_t & kCCSCustomHudLayout_PanelIds = GeneratedFields[34].Offset
static const int32_t & kCCSCustomHudLayout_ClassNames
static const int32_t & kCCSCustomHudLayout_DialogVariableNames
static const int32_t & kCCSCustomHudLayout_GlobalLayoutState = GeneratedFields[37].Offset
static const int32_t & kCCSCustomHudLayout_PlayerLayoutStates
static const int32_t & kCCSCustomHudLayout_Layout = GeneratedFields[39].Offset
static const int32_t & kCCSCustomHudLayoutState_InputCaptureEnabled = GeneratedFields[40].Offset
static const int32_t & CCSGameRules_kOwnerLinkOffset = GeneratedFields[43].Offset
static const int32_t & kCCSGameRules_RoundTime = GeneratedFields[41].Offset
static const int32_t & kCCSGameRules_RoundStartTime = GeneratedFields[42].Offset
static const int32_t & kCCSGameRulesProxy_GameRules = GeneratedFields[44].Offset
static const int32_t & CCSPlayer_AimPunchServices_kOwnerLinkOffset = GeneratedFields[72].Offset
static const int32_t & kCCSPlayer_AimPunchServices_PredictableBaseAngle = GeneratedFields[68].Offset
static const int32_t & kCCSPlayer_AimPunchServices_PredictableBaseAngleVel = GeneratedFields[69].Offset
static const int32_t & kCCSPlayer_AimPunchServices_PredictableBaseTick = GeneratedFields[70].Offset
static const int32_t & kCCSPlayer_AimPunchServices_PredictableBaseTickInterpAmount
static const int32_t & CCSPlayer_MovementServices_kOwnerLinkOffset = GeneratedFields[76].Offset
static const int32_t & kCCSPlayer_MovementServices_Ducked = GeneratedFields[73].Offset
static const int32_t & kCCSPlayer_MovementServices_DuckAmount = GeneratedFields[74].Offset
static const int32_t & kCCSPlayer_MovementServices_DuckOverride = GeneratedFields[75].Offset
static const int32_t & CCSPlayerBase_CameraServices_kOwnerLinkOffset = GeneratedFields[46].Offset
static const int32_t & kCCSPlayerBase_CameraServices_ZoomOwner = GeneratedFields[45].Offset
static const int32_t & kCCSPlayerController_PlayerPawn = GeneratedFields[47].Offset
static const int32_t & kCCSPlayerController_InGameMoneyServices
static const int32_t & kCCSPlayerController_Clan = GeneratedFields[49].Offset
static const int32_t & kCCSPlayerController_Score = GeneratedFields[50].Offset
static const int32_t & kCCSPlayerController_ActionTrackingServices
static const int32_t & kCCSPlayerController_PawnHasHelmet = GeneratedFields[52].Offset
static const int32_t & CCSPlayerController_ActionTrackingServices_kOwnerLinkOffset = GeneratedFields[54].Offset
static const int32_t & kCCSPlayerController_ActionTrackingServices_MatchStats
static const int32_t & CCSPlayerController_InGameMoneyServices_kOwnerLinkOffset = GeneratedFields[56].Offset
static const int32_t & kCCSPlayerController_InGameMoneyServices_Account = GeneratedFields[55].Offset
static const int32_t & kCCSPlayerPawn_ArmorValue = GeneratedFields[57].Offset
static const int32_t & kCCSPlayerPawn_EyeAngles = GeneratedFields[58].Offset
static const int32_t & kCCSPlayerPawn_VelocityModifier = GeneratedFields[59].Offset
static const int32_t & kCCSPlayerPawn_OnGroundLastTick = GeneratedFields[60].Offset
static const int32_t & kCCSPlayerPawn_AimPunchServices = GeneratedFields[61].Offset
static const int32_t & kCCSPlayerPawn_IsScoped = GeneratedFields[62].Offset
static const int32_t & kCCSPlayerPawn_ShotsFired = GeneratedFields[63].Offset
static const int32_t & kCCSPlayerPawn_LastWeaponFireUsercmd = GeneratedFields[64].Offset
static const int32_t & kCCSPlayerPawn_EntitySpottedState = GeneratedFields[65].Offset
static const int32_t & kCCSPlayerPawnBase_FlashDuration = GeneratedFields[66].Offset
static const int32_t & kCCSPlayerPawnBase_FlashMaxAlpha = GeneratedFields[67].Offset
static const int32_t & kCCSWeaponBaseVData_WeaponType = GeneratedFields[77].Offset
static const int32_t & kCCSWeaponBaseVData_GearSlot = GeneratedFields[78].Offset
static const int32_t & kCCSWeaponBaseVData_IsFullAuto = GeneratedFields[79].Offset
static const int32_t & kCCSWeaponBaseVData_Name = GeneratedFields[80].Offset
static const int32_t & CGameRules_kOwnerLinkOffset = GeneratedFields[83].Offset
static const int32_t & kCGameSceneNode_AbsOrigin = GeneratedFields[84].Offset
static const int32_t & kCGameSceneNode_AbsRotation = GeneratedFields[85].Offset
static const int32_t & kCInButtonState_ButtonStates = GeneratedFields[86].Offset
static const int32_t & kCModelState_ModelName = GeneratedFields[87].Offset
static const int32_t & CMultiplayRules_kOwnerLinkOffset = GeneratedFields[88].Offset
static const int32_t & kCParticleSystem_ControlPointRef = GeneratedFields[89].Offset
static const int32_t & CPlayer_CameraServices_kOwnerLinkOffset = GeneratedFields[93].Offset
static const int32_t & kCPlayer_CameraServices_ViewEntity = GeneratedFields[92].Offset
static const int32_t & CPlayer_ItemServices_kOwnerLinkOffset = GeneratedFields[94].Offset
static const int32_t & CPlayer_MovementServices_kOwnerLinkOffset = GeneratedFields[97].Offset
static const int32_t & kCPlayer_MovementServices_Buttons = GeneratedFields[95].Offset
static const int32_t & kCPlayer_MovementServices_Maxspeed = GeneratedFields[96].Offset
static const int32_t & CPlayer_MovementServices_Humanoid_kOwnerLinkOffset = GeneratedFields[98].Offset
static const int32_t & CPlayer_ObserverServices_kOwnerLinkOffset = GeneratedFields[101].Offset
static const int32_t & kCPlayer_ObserverServices_ObserverMode = GeneratedFields[99].Offset
static const int32_t & kCPlayer_ObserverServices_ObserverTarget = GeneratedFields[100].Offset
static const int32_t & CPlayer_WeaponServices_kOwnerLinkOffset = GeneratedFields[105].Offset
static const int32_t & kCPlayer_WeaponServices_MyWeapons
static const int32_t & kCPlayer_WeaponServices_ActiveWeapon
static const int32_t & kCPlayer_WeaponServices_LastWeapon = GeneratedFields[104].Offset
static const int32_t & CPlayerControllerComponent_kOwnerLinkOffset = GeneratedFields[90].Offset
static const int32_t & CPlayerPawnComponent_kOwnerLinkOffset = GeneratedFields[91].Offset
static const int32_t & kCSkeletonInstance_ModelState = GeneratedFields[107].Offset
static const int32_t & kCSPerRoundStats_t_Kills = GeneratedFields[106].Offset
static const int32_t & CTeamplayRules_kOwnerLinkOffset = GeneratedFields[108].Offset
static const int32_t & kCVoteController_ActiveIssueIndex = GeneratedFields[109].Offset
static const int32_t & kCVoteController_OnlyTeamToVote = GeneratedFields[110].Offset
static const int32_t & kCVoteController_VoteOptionCount = GeneratedFields[111].Offset
static const int32_t & kCVoteController_PotentialVotes = GeneratedFields[112].Offset
static const int32_t & kCVoteController_IsYesNoVote = GeneratedFields[113].Offset
static const int32_t & kCVoteController_AcceptingVotesTimer = GeneratedFields[114].Offset
static const int32_t & kCVoteController_ExecuteCommandTimer = GeneratedFields[115].Offset
static const int32_t & kCVoteController_ResetVoteTimer = GeneratedFields[116].Offset
static const int32_t & kCVoteController_VotesCast = GeneratedFields[117].Offset
static const int32_t & kCVoteController_PlayerHoldingVote = GeneratedFields[118].Offset
static const int32_t & kCVoteController_PlayerOverrideForVote = GeneratedFields[119].Offset
static const int32_t & kCVoteController_HighestCountIndex = GeneratedFields[120].Offset
static const int32_t & kCVoteController_PotentialIssues = GeneratedFields[121].Offset
static const int32_t & kCVoteController_VoteOptions = GeneratedFields[122].Offset
static const int32_t & kEntitySpottedState_t_Spotted = GeneratedFields[123].Offset
static const int32_t & kEntitySpottedState_t_SpottedByMask = GeneratedFields[124].Offset
FieldLayout GeneratedFields []
static const int32_t & kVPhysicsCollisionAttribute_t_CollisionFunctionMask = GeneratedFields[125].Offset

Typedef Documentation

◆ LiveFieldLookup

using VoltMod::Schema::LiveFieldLookup = std::function<LiveField(std::string_view className, std::string_view field)>

Finds field on className or its bases in the live server schema.

Definition at line 14 of file Layout.hpp.

Enumeration Type Documentation

◆ CSWeaponType

enum class VoltMod::Schema::CSWeaponType : int32_t
strong

Schema enum CSWeaponType.

Enumerator
WEAPONTYPE_KNIFE 
WEAPONTYPE_PISTOL 
WEAPONTYPE_SUBMACHINEGUN 
WEAPONTYPE_RIFLE 
WEAPONTYPE_SHOTGUN 
WEAPONTYPE_SNIPER_RIFLE 
WEAPONTYPE_MACHINEGUN 
WEAPONTYPE_C4 
WEAPONTYPE_TASER 
WEAPONTYPE_GRENADE 
WEAPONTYPE_EQUIPMENT 
WEAPONTYPE_STACKABLEITEM 
WEAPONTYPE_UNKNOWN 

Definition at line 11 of file Enums.hpp.

◆ gear_slot_t

enum class VoltMod::Schema::gear_slot_t : int32_t
strong

Schema enum gear_slot_t.

Enumerator
GEAR_SLOT_INVALID 
GEAR_SLOT_RIFLE 
GEAR_SLOT_PISTOL 
GEAR_SLOT_KNIFE 
GEAR_SLOT_GRENADES 
GEAR_SLOT_C4 
GEAR_SLOT_RESERVED_SLOT6 
GEAR_SLOT_RESERVED_SLOT7 
GEAR_SLOT_RESERVED_SLOT8 
GEAR_SLOT_RESERVED_SLOT9 
GEAR_SLOT_RESERVED_SLOT10 
GEAR_SLOT_RESERVED_SLOT11 
GEAR_SLOT_BOOSTS 
GEAR_SLOT_UTILITY 
GEAR_SLOT_COUNT 

Definition at line 72 of file Enums.hpp.

◆ MoveType_t

enum class VoltMod::Schema::MoveType_t : int8_t
strong

Schema enum MoveType_t.

Enumerator
MOVETYPE_NONE 
MOVETYPE_OBSOLETE 
MOVETYPE_WALK 
MOVETYPE_FLY 
MOVETYPE_FLYGRAVITY 
MOVETYPE_VPHYSICS 
MOVETYPE_PUSH 
MOVETYPE_NOCLIP 
MOVETYPE_OBSERVER 
MOVETYPE_LADDER 
MOVETYPE_CUSTOM 
MOVETYPE_LAST 

Definition at line 29 of file Enums.hpp.

◆ RenderMode_t

enum class VoltMod::Schema::RenderMode_t : int8_t
strong

Schema enum RenderMode_t.

Enumerator
kRenderNormal 
kRenderTransAlpha 
kRenderNone 
kRenderModeCount 

Definition at line 48 of file Enums.hpp.

◆ SurroundingBoundsType_t

enum class VoltMod::Schema::SurroundingBoundsType_t : int8_t
strong

Schema enum SurroundingBoundsType_t.

Enumerator
USE_OBB_COLLISION_BOUNDS 
USE_BEST_COLLISION_BOUNDS 
USE_HITBOXES 
USE_SPECIFIED_BOUNDS 
USE_GAME_CODE 
USE_ROTATION_EXPANDED_BOUNDS 
USE_ROTATION_EXPANDED_ORIENTED_BOUNDS 
USE_COLLISION_BOUNDS_NEVER_VPHYSICS 
USE_ROTATION_EXPANDED_SEQUENCE_BOUNDS 

Definition at line 57 of file Enums.hpp.

Function Documentation

◆ ComponentOwner()

◆ DescribeClass()

ClassInfo VoltMod::Schema::DescribeClass ( const CSchemaClassInfo * klass,
const CNetworkSerializerClassInfo * network )
static

network is null for a class the engine does not network.

Definition at line 113 of file SchemaDump.cpp.

References ChainField, DescribeType(), VoltMod::Schema::ClassInfo::fields, and FindField().

Referenced by MergeScope().

◆ DescribeEnum()

EnumInfo VoltMod::Schema::DescribeEnum ( const CSchemaEnumInfo * enumeration)
static

Definition at line 149 of file SchemaDump.cpp.

References VoltMod::Schema::EnumInfo::items.

Referenced by MergeScope().

◆ DescribeType()

TypeInfo VoltMod::Schema::DescribeType ( CSchemaType * type)
static

◆ DumpedBuild()

std::string VoltMod::Schema::DumpedBuild ( const std::filesystem::path & path)
static

The build stamp near the top of the dump at path, or empty.

Definition at line 31 of file SchemaCheck.cpp.

Referenced by WriteSchemaDump().

◆ FindField()

const SchemaClassFieldData_t * VoltMod::Schema::FindField ( const CSchemaClassInfo * klass,
std::string_view field )
inline

Find field on klass or its first bases, most-derived first. Schema offsets flatten single inheritance, so a base field's offset works on the derived object.

Definition at line 16 of file SchemaFields.hpp.

Referenced by DescribeClass(), and FindLiveField().

◆ FindLiveField()

LiveField VoltMod::Schema::FindLiveField ( ISchemaSystem * schema,
std::string_view className,
std::string_view field )

Where the live server schema lays out field of className or its bases; Offset -1 when gone.

Definition at line 99 of file SchemaCheck.cpp.

References FindField(), and ServerScope().

Referenced by VoltMod::SchemaCheck::SchemaCheck().

◆ GeneratedLayout()

std::span< FieldLayout > VoltMod::Schema::GeneratedLayout ( )

Every field in GeneratedFields, owner links included.

Definition at line 137 of file Layout.cpp.

References GeneratedFields.

Referenced by VoltMod::Internal::ResolveSchema().

◆ HashElements()

template<class T, class Hash>
std::vector< T > VoltMod::Schema::HashElements ( Hash & hash)
static

Definition at line 174 of file SchemaDump.cpp.

Referenced by MergeScope().

◆ MergeScope()

void VoltMod::Schema::MergeScope ( SchemaDoc & doc,
CSchemaSystemTypeScope * scope,
const CNetworkSerializerCodeGenDatabase & network )
static

◆ NetworkClass()

const CNetworkSerializerClassInfo * VoltMod::Schema::NetworkClass ( const CNetworkSerializerCodeGenDatabase & network,
const char * name )
static

Definition at line 166 of file SchemaDump.cpp.

Referenced by MergeScope().

◆ NotifyComponentOwner()

void VoltMod::Schema::NotifyComponentOwner ( void * component,
int32_t ownerLinkOffset,
int32_t offset )

◆ NotifyEntity() [1/2]

void VoltMod::Schema::NotifyEntity ( ::CEntityInstance * entity,
int32_t offset )

Dirty the field at offset on entity for the next snapshot.

◆ NotifyEntity() [2/2]

void VoltMod::Schema::NotifyEntity ( CEntityInstance * entity,
int32_t offset )

Definition at line 10 of file Notify.cpp.

Referenced by VoltMod::Schema::CVoteController::SetActiveIssueIndex(), VoltMod::Schema::CCSPlayerPawn::SetArmorValue(), VoltMod::Schema::CCSPlayerController::SetClan(), VoltMod::Schema::VPhysicsCollisionAttribute_t::SetCollisionFunctionMask(), VoltMod::Schema::CBasePlayerPawn::SetControllerRef(), VoltMod::Schema::CParticleSystem::SetControlPointRef(), VoltMod::Schema::CBeam::SetEndPos(), VoltMod::Schema::CBeam::SetEndWidth(), VoltMod::Schema::CCSPlayerPawn::SetEyeAngles(), VoltMod::Schema::CBaseEntity::SetFlags(), VoltMod::Schema::CCSPlayerPawnBase::SetFlashDuration(), VoltMod::Schema::CCSPlayerPawnBase::SetFlashMaxAlpha(), VoltMod::Schema::CBaseEntity::SetGravityScale(), VoltMod::Schema::CBaseEntity::SetGroundEntity(), VoltMod::Schema::CBaseEntity::SetHealth(), VoltMod::Schema::CCSCustomHudLayoutState::SetInputCaptureEnabled(), VoltMod::Schema::CCSPlayerPawn::SetIsScoped(), VoltMod::Schema::CVoteController::SetIsYesNoVote(), VoltMod::Schema::CCSCustomHudLayout::SetLayout(), VoltMod::Schema::CBaseEntity::SetLifeState(), VoltMod::Schema::CBaseEntity::SetMaxHealth(), VoltMod::Schema::CBaseEntity::SetMoveTypeRaw(), VoltMod::Schema::CBasePlayerWeapon::SetNextPrimaryAttackTick(), VoltMod::Schema::CBasePlayerWeapon::SetNextSecondaryAttackTick(), VoltMod::Schema::CVoteController::SetOnlyTeamToVote(), VoltMod::Schema::CBaseEntity::SetOwnerEntity(), VoltMod::Schema::CCSPlayerController::SetPawnHasHelmet(), VoltMod::Schema::CBasePlayerController::SetPawnRef(), VoltMod::Schema::CCSCustomHudLayout::SetPlayerLayoutStates(), VoltMod::Schema::CBasePlayerController::SetPlayerName(), VoltMod::Schema::CCSPlayerController::SetPlayerPawn(), VoltMod::Schema::CVoteController::SetPotentialVotes(), VoltMod::Schema::CBaseModelEntity::SetRenderColor(), VoltMod::Schema::CBaseModelEntity::SetRenderMode(), VoltMod::Schema::CCSPlayerController::SetScore(), VoltMod::Schema::CCSPlayerPawn::SetShotsFired(), VoltMod::Schema::EntitySpottedState_t::SetSpotted(), VoltMod::Schema::EntitySpottedState_t::SetSpottedByMask(), VoltMod::Schema::CCollisionProperty::SetSurroundType(), VoltMod::Schema::CBaseEntity::SetTeamNum(), VoltMod::Schema::CCSPlayerPawn::SetVelocityModifier(), VoltMod::Schema::CBaseModelEntity::SetViewOffset(), VoltMod::Schema::CVoteController::SetVoteOptionCount(), and VoltMod::Schema::CBeam::SetWidth().

◆ ResolveLayout()

Status VoltMod::Schema::ResolveLayout ( std::span< FieldLayout > fields,
const LiveFieldLookup & lookup )

Fill every offset in fields from lookup. Game thread, before any accessor runs.

Returns
Every gone or resized field in one message; offsets that were found are filled either way.

Definition at line 10 of file Layout.cpp.

References VoltMod::Error::Invalid(), VoltMod::Schema::LiveField::Offset, and VoltMod::Schema::LiveField::Size.

Referenced by VoltMod::Internal::ResolveSchema().

◆ ServerScope()

CSchemaSystemTypeScope * VoltMod::Schema::ServerScope ( ISchemaSystem * schema)
static

Definition at line 55 of file SchemaCheck.cpp.

References VoltMod::PlatformModuleName().

Referenced by FindLiveField(), and WriteSchemaDump().

◆ TypeName()

std::string VoltMod::Schema::TypeName ( CSchemaType * type)
static

Definition at line 68 of file SchemaDump.cpp.

Referenced by DescribeType().

◆ WriteDumpFile()

Status VoltMod::Schema::WriteDumpFile ( CSchemaSystemTypeScope * global,
CSchemaSystemTypeScope * server,
const CNetworkSerializerCodeGenDatabase & network,
std::string_view path,
std::string_view gameBuild )

Write server merged over global to path as voltmod framework schemagen input, stamped with gameBuild; network marks the fields the engine sends to clients.

Definition at line 213 of file SchemaDump.cpp.

References VoltMod::Error::Invalid(), MergeScope(), VoltMod::WriteAllText(), and VoltMod::Json::WritePretty().

Referenced by WriteSchemaDump().

◆ WriteSchemaDump()

void VoltMod::Schema::WriteSchemaDump ( ISchemaSystem * schema,
CGameEntitySystem * entities )

Write addons/voltmod/gamedata/dumps/schema.json for voltmod framework schemagen unless it matches this build. Null entities (before the first map) writes nothing: the networked flags need its serializers.

Definition at line 65 of file SchemaCheck.cpp.

References DumpedBuild(), DumpPath, VoltMod::GameBuild(), VoltMod::Log::Info(), VoltMod::ResolvePath(), ServerScope(), VoltMod::Log::Warn(), and WriteDumpFile().

Referenced by VoltMod::SchemaCheck::OnServerStartup().

Variable Documentation

◆ CBodyComponent_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CBodyComponent_kOwnerLinkOffset = GeneratedFields[33].Offset
static

Definition at line 14 of file CBodyComponent.cpp.

Referenced by VoltMod::Schema::CBodyComponent::OwnerEntity().

◆ CCSGameRules_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CCSGameRules_kOwnerLinkOffset = GeneratedFields[43].Offset
static

◆ CCSPlayer_AimPunchServices_kOwnerLinkOffset

◆ CCSPlayer_MovementServices_kOwnerLinkOffset

◆ CCSPlayerBase_CameraServices_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CCSPlayerBase_CameraServices_kOwnerLinkOffset = GeneratedFields[46].Offset
static

◆ CCSPlayerController_ActionTrackingServices_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CCSPlayerController_ActionTrackingServices_kOwnerLinkOffset = GeneratedFields[54].Offset
static

◆ CCSPlayerController_InGameMoneyServices_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CCSPlayerController_InGameMoneyServices_kOwnerLinkOffset = GeneratedFields[56].Offset
static

◆ CGameRules_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CGameRules_kOwnerLinkOffset = GeneratedFields[83].Offset
static

Definition at line 13 of file CGameRules.cpp.

Referenced by VoltMod::Schema::CGameRules::OwnerEntity().

◆ ChainField

std::string_view VoltMod::Schema::ChainField = "__m_pChainEntity"
inlineconstexpr

The owner link field a replicated component carries.

Definition at line 10 of file SchemaFields.hpp.

Referenced by DescribeClass().

◆ CMultiplayRules_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CMultiplayRules_kOwnerLinkOffset = GeneratedFields[88].Offset
static

Definition at line 13 of file CMultiplayRules.cpp.

Referenced by VoltMod::Schema::CMultiplayRules::OwnerEntity().

◆ CPlayer_CameraServices_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CPlayer_CameraServices_kOwnerLinkOffset = GeneratedFields[93].Offset
static

◆ CPlayer_ItemServices_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CPlayer_ItemServices_kOwnerLinkOffset = GeneratedFields[94].Offset
static

◆ CPlayer_MovementServices_Humanoid_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CPlayer_MovementServices_Humanoid_kOwnerLinkOffset = GeneratedFields[98].Offset
static

◆ CPlayer_MovementServices_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CPlayer_MovementServices_kOwnerLinkOffset = GeneratedFields[97].Offset
static

◆ CPlayer_ObserverServices_kOwnerLinkOffset

◆ CPlayer_WeaponServices_kOwnerLinkOffset

◆ CPlayerControllerComponent_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CPlayerControllerComponent_kOwnerLinkOffset = GeneratedFields[90].Offset
static

◆ CPlayerPawnComponent_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CPlayerPawnComponent_kOwnerLinkOffset = GeneratedFields[91].Offset
static

◆ CTeamplayRules_kOwnerLinkOffset

const int32_t& VoltMod::Schema::CTeamplayRules_kOwnerLinkOffset = GeneratedFields[108].Offset
static

Definition at line 13 of file CTeamplayRules.cpp.

Referenced by VoltMod::Schema::CTeamplayRules::OwnerEntity().

◆ DumpPath

std::string_view VoltMod::Schema::DumpPath = "addons/voltmod/gamedata/dumps/schema.json"
staticconstexpr

Output consumed by voltmod framework schemagen.

Definition at line 28 of file SchemaCheck.cpp.

Referenced by WriteSchemaDump().

◆ GeneratedFields

FieldLayout VoltMod::Schema::GeneratedFields

This module's own copy: the generated accessors read their offsets from it.

Definition at line 8 of file Layout.cpp.

Referenced by GeneratedLayout().

◆ kCBaseCombatCharacter_MyWearables

const int32_t& VoltMod::Schema::kCBaseCombatCharacter_MyWearables
static
Initial value:
=
GeneratedFields[0].Offset
FieldLayout GeneratedFields[]
Definition Layout.cpp:8

Definition at line 13 of file CBaseCombatCharacter.cpp.

Referenced by VoltMod::Schema::CBaseCombatCharacter::MyWearables().

◆ kCBaseEntity_AbsVelocity

const int32_t& VoltMod::Schema::kCBaseEntity_AbsVelocity = GeneratedFields[8].Offset
static

◆ kCBaseEntity_ActualMoveType

const int32_t& VoltMod::Schema::kCBaseEntity_ActualMoveType = GeneratedFields[10].Offset
static

◆ kCBaseEntity_BodyComponent

const int32_t& VoltMod::Schema::kCBaseEntity_BodyComponent = GeneratedFields[13].Offset
static

Definition at line 26 of file CBaseEntity.cpp.

Referenced by VoltMod::Schema::CBaseEntity::BodyComponent().

◆ kCBaseEntity_Flags

const int32_t& VoltMod::Schema::kCBaseEntity_Flags = GeneratedFields[7].Offset
static

◆ kCBaseEntity_GravityScale

const int32_t& VoltMod::Schema::kCBaseEntity_GravityScale = GeneratedFields[4].Offset
static

◆ kCBaseEntity_GroundEntity

const int32_t& VoltMod::Schema::kCBaseEntity_GroundEntity = GeneratedFields[11].Offset
static

◆ kCBaseEntity_Health

const int32_t& VoltMod::Schema::kCBaseEntity_Health = GeneratedFields[2].Offset
static

◆ kCBaseEntity_LifeState

const int32_t& VoltMod::Schema::kCBaseEntity_LifeState = GeneratedFields[6].Offset
static

◆ kCBaseEntity_MaxHealth

const int32_t& VoltMod::Schema::kCBaseEntity_MaxHealth = GeneratedFields[3].Offset
static

◆ kCBaseEntity_MoveTypeRaw

const int32_t& VoltMod::Schema::kCBaseEntity_MoveTypeRaw = GeneratedFields[9].Offset
static

◆ kCBaseEntity_OwnerEntity

const int32_t& VoltMod::Schema::kCBaseEntity_OwnerEntity = GeneratedFields[12].Offset
static

◆ kCBaseEntity_SubclassIdAddress

const int32_t& VoltMod::Schema::kCBaseEntity_SubclassIdAddress = GeneratedFields[1].Offset
static

Definition at line 14 of file CBaseEntity.cpp.

Referenced by VoltMod::Schema::CBaseEntity::SubclassIdAddress().

◆ kCBaseEntity_TeamNum

const int32_t& VoltMod::Schema::kCBaseEntity_TeamNum = GeneratedFields[5].Offset
static

◆ kCBaseModelEntity_Collision

const int32_t& VoltMod::Schema::kCBaseModelEntity_Collision = GeneratedFields[17].Offset
static

Definition at line 17 of file CBaseModelEntity.cpp.

Referenced by VoltMod::Schema::CBaseModelEntity::Collision().

◆ kCBaseModelEntity_RenderColor

const int32_t& VoltMod::Schema::kCBaseModelEntity_RenderColor = GeneratedFields[16].Offset
static

◆ kCBaseModelEntity_RenderMode

const int32_t& VoltMod::Schema::kCBaseModelEntity_RenderMode = GeneratedFields[15].Offset
static

◆ kCBaseModelEntity_ViewOffset

const int32_t& VoltMod::Schema::kCBaseModelEntity_ViewOffset = GeneratedFields[14].Offset
static

◆ kCBasePlayerController_IsHLTV

const int32_t& VoltMod::Schema::kCBasePlayerController_IsHLTV = GeneratedFields[20].Offset
static

◆ kCBasePlayerController_PawnRef

const int32_t& VoltMod::Schema::kCBasePlayerController_PawnRef = GeneratedFields[19].Offset
static

◆ kCBasePlayerController_PlayerName

const int32_t& VoltMod::Schema::kCBasePlayerController_PlayerName = GeneratedFields[18].Offset
static

◆ kCBasePlayerPawn_CameraServices

const int32_t& VoltMod::Schema::kCBasePlayerPawn_CameraServices = GeneratedFields[25].Offset
static

◆ kCBasePlayerPawn_ControllerRef

const int32_t& VoltMod::Schema::kCBasePlayerPawn_ControllerRef = GeneratedFields[26].Offset
static

◆ kCBasePlayerPawn_ItemServices

const int32_t& VoltMod::Schema::kCBasePlayerPawn_ItemServices = GeneratedFields[22].Offset
static

Definition at line 19 of file CBasePlayerPawn.cpp.

Referenced by VoltMod::Schema::CBasePlayerPawn::ItemServices().

◆ kCBasePlayerPawn_MovementServices

const int32_t& VoltMod::Schema::kCBasePlayerPawn_MovementServices = GeneratedFields[23].Offset
static

◆ kCBasePlayerPawn_ObserverServices

const int32_t& VoltMod::Schema::kCBasePlayerPawn_ObserverServices = GeneratedFields[21].Offset
static

◆ kCBasePlayerPawn_WeaponServices

const int32_t& VoltMod::Schema::kCBasePlayerPawn_WeaponServices = GeneratedFields[24].Offset
static

◆ kCBasePlayerWeapon_NextPrimaryAttackTick

const int32_t& VoltMod::Schema::kCBasePlayerWeapon_NextPrimaryAttackTick = GeneratedFields[27].Offset
static

◆ kCBasePlayerWeapon_NextSecondaryAttackTick

const int32_t& VoltMod::Schema::kCBasePlayerWeapon_NextSecondaryAttackTick = GeneratedFields[28].Offset
static

◆ kCBeam_EndPos

const int32_t& VoltMod::Schema::kCBeam_EndPos = GeneratedFields[31].Offset
static

Definition at line 15 of file CBeam.cpp.

Referenced by VoltMod::Schema::CBeam::EndPos(), and VoltMod::Schema::CBeam::SetEndPos().

◆ kCBeam_EndWidth

const int32_t& VoltMod::Schema::kCBeam_EndWidth = GeneratedFields[30].Offset
static

◆ kCBeam_Width

const int32_t& VoltMod::Schema::kCBeam_Width = GeneratedFields[29].Offset
static

Definition at line 13 of file CBeam.cpp.

Referenced by VoltMod::Schema::CBeam::SetWidth(), and VoltMod::Schema::CBeam::Width().

◆ kCBodyComponent_SceneNode

const int32_t& VoltMod::Schema::kCBodyComponent_SceneNode = GeneratedFields[32].Offset
static

Definition at line 15 of file CBodyComponent.cpp.

Referenced by VoltMod::Schema::CBodyComponent::SceneNode().

◆ kCCollisionProperty_CollisionAttribute

const int32_t& VoltMod::Schema::kCCollisionProperty_CollisionAttribute
static
Initial value:
=
GeneratedFields[81].Offset

Definition at line 14 of file CCollisionProperty.cpp.

Referenced by VoltMod::Schema::CCollisionProperty::CollisionAttribute().

◆ kCCollisionProperty_SurroundType

const int32_t& VoltMod::Schema::kCCollisionProperty_SurroundType = GeneratedFields[82].Offset
static

◆ kCCSCustomHudLayout_ClassNames

const int32_t& VoltMod::Schema::kCCSCustomHudLayout_ClassNames
static
Initial value:
=
GeneratedFields[35].Offset

Definition at line 15 of file CCSCustomHudLayout.cpp.

Referenced by VoltMod::Schema::CCSCustomHudLayout::ClassNames().

◆ kCCSCustomHudLayout_DialogVariableNames

const int32_t& VoltMod::Schema::kCCSCustomHudLayout_DialogVariableNames
static
Initial value:
=
GeneratedFields[36].Offset

Definition at line 17 of file CCSCustomHudLayout.cpp.

Referenced by VoltMod::Schema::CCSCustomHudLayout::DialogVariableNames().

◆ kCCSCustomHudLayout_GlobalLayoutState

const int32_t& VoltMod::Schema::kCCSCustomHudLayout_GlobalLayoutState = GeneratedFields[37].Offset
static

◆ kCCSCustomHudLayout_Layout

const int32_t& VoltMod::Schema::kCCSCustomHudLayout_Layout = GeneratedFields[39].Offset
static

◆ kCCSCustomHudLayout_PanelIds

const int32_t& VoltMod::Schema::kCCSCustomHudLayout_PanelIds = GeneratedFields[34].Offset
static

◆ kCCSCustomHudLayout_PlayerLayoutStates

const int32_t& VoltMod::Schema::kCCSCustomHudLayout_PlayerLayoutStates
static

◆ kCCSCustomHudLayoutState_InputCaptureEnabled

const int32_t& VoltMod::Schema::kCCSCustomHudLayoutState_InputCaptureEnabled = GeneratedFields[40].Offset
static

◆ kCCSGameRules_RoundStartTime

const int32_t& VoltMod::Schema::kCCSGameRules_RoundStartTime = GeneratedFields[42].Offset
static

◆ kCCSGameRules_RoundTime

const int32_t& VoltMod::Schema::kCCSGameRules_RoundTime = GeneratedFields[41].Offset
static

◆ kCCSGameRulesProxy_GameRules

const int32_t& VoltMod::Schema::kCCSGameRulesProxy_GameRules = GeneratedFields[44].Offset
static

Definition at line 14 of file CCSGameRulesProxy.cpp.

Referenced by VoltMod::Schema::CCSGameRulesProxy::GameRules().

◆ kCCSPlayer_AimPunchServices_PredictableBaseAngle

const int32_t& VoltMod::Schema::kCCSPlayer_AimPunchServices_PredictableBaseAngle = GeneratedFields[68].Offset
static

◆ kCCSPlayer_AimPunchServices_PredictableBaseAngleVel

const int32_t& VoltMod::Schema::kCCSPlayer_AimPunchServices_PredictableBaseAngleVel = GeneratedFields[69].Offset
static

◆ kCCSPlayer_AimPunchServices_PredictableBaseTick

const int32_t& VoltMod::Schema::kCCSPlayer_AimPunchServices_PredictableBaseTick = GeneratedFields[70].Offset
static

◆ kCCSPlayer_AimPunchServices_PredictableBaseTickInterpAmount

const int32_t& VoltMod::Schema::kCCSPlayer_AimPunchServices_PredictableBaseTickInterpAmount
static

◆ kCCSPlayer_MovementServices_DuckAmount

const int32_t& VoltMod::Schema::kCCSPlayer_MovementServices_DuckAmount = GeneratedFields[74].Offset
static

◆ kCCSPlayer_MovementServices_Ducked

const int32_t& VoltMod::Schema::kCCSPlayer_MovementServices_Ducked = GeneratedFields[73].Offset
static

◆ kCCSPlayer_MovementServices_DuckOverride

const int32_t& VoltMod::Schema::kCCSPlayer_MovementServices_DuckOverride = GeneratedFields[75].Offset
static

◆ kCCSPlayerBase_CameraServices_ZoomOwner

const int32_t& VoltMod::Schema::kCCSPlayerBase_CameraServices_ZoomOwner = GeneratedFields[45].Offset
static

◆ kCCSPlayerController_ActionTrackingServices

const int32_t& VoltMod::Schema::kCCSPlayerController_ActionTrackingServices
static
Initial value:
=
GeneratedFields[51].Offset

Definition at line 20 of file CCSPlayerController.cpp.

Referenced by VoltMod::Schema::CCSPlayerController::ActionTrackingServices().

◆ kCCSPlayerController_ActionTrackingServices_MatchStats

const int32_t& VoltMod::Schema::kCCSPlayerController_ActionTrackingServices_MatchStats
static

◆ kCCSPlayerController_Clan

const int32_t& VoltMod::Schema::kCCSPlayerController_Clan = GeneratedFields[49].Offset
static

◆ kCCSPlayerController_InGameMoneyServices

const int32_t& VoltMod::Schema::kCCSPlayerController_InGameMoneyServices
static
Initial value:
=
GeneratedFields[48].Offset

Definition at line 16 of file CCSPlayerController.cpp.

Referenced by VoltMod::Schema::CCSPlayerController::InGameMoneyServices().

◆ kCCSPlayerController_InGameMoneyServices_Account

const int32_t& VoltMod::Schema::kCCSPlayerController_InGameMoneyServices_Account = GeneratedFields[55].Offset
static

◆ kCCSPlayerController_PawnHasHelmet

const int32_t& VoltMod::Schema::kCCSPlayerController_PawnHasHelmet = GeneratedFields[52].Offset
static

◆ kCCSPlayerController_PlayerPawn

const int32_t& VoltMod::Schema::kCCSPlayerController_PlayerPawn = GeneratedFields[47].Offset
static

◆ kCCSPlayerController_Score

const int32_t& VoltMod::Schema::kCCSPlayerController_Score = GeneratedFields[50].Offset
static

◆ kCCSPlayerPawn_AimPunchServices

const int32_t& VoltMod::Schema::kCCSPlayerPawn_AimPunchServices = GeneratedFields[61].Offset
static

Definition at line 19 of file CCSPlayerPawn.cpp.

Referenced by VoltMod::Schema::CCSPlayerPawn::AimPunchServices().

◆ kCCSPlayerPawn_ArmorValue

const int32_t& VoltMod::Schema::kCCSPlayerPawn_ArmorValue = GeneratedFields[57].Offset
static

◆ kCCSPlayerPawn_EntitySpottedState

const int32_t& VoltMod::Schema::kCCSPlayerPawn_EntitySpottedState = GeneratedFields[65].Offset
static

◆ kCCSPlayerPawn_EyeAngles

const int32_t& VoltMod::Schema::kCCSPlayerPawn_EyeAngles = GeneratedFields[58].Offset
static

◆ kCCSPlayerPawn_IsScoped

const int32_t& VoltMod::Schema::kCCSPlayerPawn_IsScoped = GeneratedFields[62].Offset
static

◆ kCCSPlayerPawn_LastWeaponFireUsercmd

const int32_t& VoltMod::Schema::kCCSPlayerPawn_LastWeaponFireUsercmd = GeneratedFields[64].Offset
static

◆ kCCSPlayerPawn_OnGroundLastTick

const int32_t& VoltMod::Schema::kCCSPlayerPawn_OnGroundLastTick = GeneratedFields[60].Offset
static

◆ kCCSPlayerPawn_ShotsFired

const int32_t& VoltMod::Schema::kCCSPlayerPawn_ShotsFired = GeneratedFields[63].Offset
static

◆ kCCSPlayerPawn_VelocityModifier

const int32_t& VoltMod::Schema::kCCSPlayerPawn_VelocityModifier = GeneratedFields[59].Offset
static

◆ kCCSPlayerPawnBase_FlashDuration

const int32_t& VoltMod::Schema::kCCSPlayerPawnBase_FlashDuration = GeneratedFields[66].Offset
static

◆ kCCSPlayerPawnBase_FlashMaxAlpha

const int32_t& VoltMod::Schema::kCCSPlayerPawnBase_FlashMaxAlpha = GeneratedFields[67].Offset
static

◆ kCCSWeaponBaseVData_GearSlot

const int32_t& VoltMod::Schema::kCCSWeaponBaseVData_GearSlot = GeneratedFields[78].Offset
static

◆ kCCSWeaponBaseVData_IsFullAuto

const int32_t& VoltMod::Schema::kCCSWeaponBaseVData_IsFullAuto = GeneratedFields[79].Offset
static

◆ kCCSWeaponBaseVData_Name

const int32_t& VoltMod::Schema::kCCSWeaponBaseVData_Name = GeneratedFields[80].Offset
static

Definition at line 16 of file CCSWeaponBaseVData.cpp.

Referenced by VoltMod::Schema::CCSWeaponBaseVData::Name().

◆ kCCSWeaponBaseVData_WeaponType

const int32_t& VoltMod::Schema::kCCSWeaponBaseVData_WeaponType = GeneratedFields[77].Offset
static

◆ kCGameSceneNode_AbsOrigin

const int32_t& VoltMod::Schema::kCGameSceneNode_AbsOrigin = GeneratedFields[84].Offset
static

Definition at line 13 of file CGameSceneNode.cpp.

Referenced by VoltMod::Schema::CGameSceneNode::AbsOrigin().

◆ kCGameSceneNode_AbsRotation

const int32_t& VoltMod::Schema::kCGameSceneNode_AbsRotation = GeneratedFields[85].Offset
static

Definition at line 14 of file CGameSceneNode.cpp.

Referenced by VoltMod::Schema::CGameSceneNode::AbsRotation().

◆ kCInButtonState_ButtonStates

const int32_t& VoltMod::Schema::kCInButtonState_ButtonStates = GeneratedFields[86].Offset
static

Definition at line 13 of file CInButtonState.cpp.

Referenced by VoltMod::Schema::CInButtonState::ButtonStates().

◆ kCModelState_ModelName

const int32_t& VoltMod::Schema::kCModelState_ModelName = GeneratedFields[87].Offset
static

Definition at line 13 of file CModelState.cpp.

Referenced by VoltMod::Schema::CModelState::ModelName().

◆ kCParticleSystem_ControlPointRef

const int32_t& VoltMod::Schema::kCParticleSystem_ControlPointRef = GeneratedFields[89].Offset
static

◆ kCPlayer_CameraServices_ViewEntity

const int32_t& VoltMod::Schema::kCPlayer_CameraServices_ViewEntity = GeneratedFields[92].Offset
static

◆ kCPlayer_MovementServices_Buttons

const int32_t& VoltMod::Schema::kCPlayer_MovementServices_Buttons = GeneratedFields[95].Offset
static

◆ kCPlayer_MovementServices_Maxspeed

const int32_t& VoltMod::Schema::kCPlayer_MovementServices_Maxspeed = GeneratedFields[96].Offset
static

◆ kCPlayer_ObserverServices_ObserverMode

const int32_t& VoltMod::Schema::kCPlayer_ObserverServices_ObserverMode = GeneratedFields[99].Offset
static

◆ kCPlayer_ObserverServices_ObserverTarget

const int32_t& VoltMod::Schema::kCPlayer_ObserverServices_ObserverTarget = GeneratedFields[100].Offset
static

◆ kCPlayer_WeaponServices_ActiveWeapon

const int32_t& VoltMod::Schema::kCPlayer_WeaponServices_ActiveWeapon
static

◆ kCPlayer_WeaponServices_LastWeapon

const int32_t& VoltMod::Schema::kCPlayer_WeaponServices_LastWeapon = GeneratedFields[104].Offset
static

◆ kCPlayer_WeaponServices_MyWeapons

const int32_t& VoltMod::Schema::kCPlayer_WeaponServices_MyWeapons
static
Initial value:
=
GeneratedFields[102].Offset

Definition at line 14 of file CPlayer_WeaponServices.cpp.

Referenced by VoltMod::Schema::CPlayer_WeaponServices::MyWeapons().

◆ kCSkeletonInstance_ModelState

const int32_t& VoltMod::Schema::kCSkeletonInstance_ModelState = GeneratedFields[107].Offset
static

◆ kCSPerRoundStats_t_Kills

const int32_t& VoltMod::Schema::kCSPerRoundStats_t_Kills = GeneratedFields[106].Offset
static

Definition at line 13 of file CSPerRoundStats_t.cpp.

Referenced by VoltMod::Schema::CSPerRoundStats_t::Kills().

◆ kCVoteController_AcceptingVotesTimer

const int32_t& VoltMod::Schema::kCVoteController_AcceptingVotesTimer = GeneratedFields[114].Offset
static

◆ kCVoteController_ActiveIssueIndex

const int32_t& VoltMod::Schema::kCVoteController_ActiveIssueIndex = GeneratedFields[109].Offset
static

◆ kCVoteController_ExecuteCommandTimer

const int32_t& VoltMod::Schema::kCVoteController_ExecuteCommandTimer = GeneratedFields[115].Offset
static

◆ kCVoteController_HighestCountIndex

const int32_t& VoltMod::Schema::kCVoteController_HighestCountIndex = GeneratedFields[120].Offset
static

◆ kCVoteController_IsYesNoVote

const int32_t& VoltMod::Schema::kCVoteController_IsYesNoVote = GeneratedFields[113].Offset
static

◆ kCVoteController_OnlyTeamToVote

const int32_t& VoltMod::Schema::kCVoteController_OnlyTeamToVote = GeneratedFields[110].Offset
static

◆ kCVoteController_PlayerHoldingVote

const int32_t& VoltMod::Schema::kCVoteController_PlayerHoldingVote = GeneratedFields[118].Offset
static

◆ kCVoteController_PlayerOverrideForVote

const int32_t& VoltMod::Schema::kCVoteController_PlayerOverrideForVote = GeneratedFields[119].Offset
static

◆ kCVoteController_PotentialIssues

const int32_t& VoltMod::Schema::kCVoteController_PotentialIssues = GeneratedFields[121].Offset
static

◆ kCVoteController_PotentialVotes

const int32_t& VoltMod::Schema::kCVoteController_PotentialVotes = GeneratedFields[112].Offset
static

◆ kCVoteController_ResetVoteTimer

const int32_t& VoltMod::Schema::kCVoteController_ResetVoteTimer = GeneratedFields[116].Offset
static

◆ kCVoteController_VoteOptionCount

const int32_t& VoltMod::Schema::kCVoteController_VoteOptionCount = GeneratedFields[111].Offset
static

◆ kCVoteController_VoteOptions

const int32_t& VoltMod::Schema::kCVoteController_VoteOptions = GeneratedFields[122].Offset
static

Definition at line 27 of file CVoteController.cpp.

Referenced by VoltMod::Schema::CVoteController::VoteOptions().

◆ kCVoteController_VotesCast

const int32_t& VoltMod::Schema::kCVoteController_VotesCast = GeneratedFields[117].Offset
static

◆ kEntitySpottedState_t_Spotted

const int32_t& VoltMod::Schema::kEntitySpottedState_t_Spotted = GeneratedFields[123].Offset
static

◆ kEntitySpottedState_t_SpottedByMask

const int32_t& VoltMod::Schema::kEntitySpottedState_t_SpottedByMask = GeneratedFields[124].Offset
static

◆ kVPhysicsCollisionAttribute_t_CollisionFunctionMask

const int32_t& VoltMod::Schema::kVPhysicsCollisionAttribute_t_CollisionFunctionMask = GeneratedFields[125].Offset
static