|
VoltMod
C++23 framework for CS2 server plugins
|
Namespaces | |
| namespace | Args |
| The argument types a command handler's parameter list is written in. | |
| namespace | ChatColors |
| namespace | CommandSyntax |
| namespace | InstalledPlugins |
| namespace | Internal |
| namespace | Log |
| namespace | MenuCursor |
| namespace | PluginDependencies |
| namespace | Schema |
| namespace | Theme |
| namespace | Validation |
Classes | |
| struct | AchievementEarned |
| struct | AchievementEarnedLocal |
| struct | AchievementEvent |
| struct | AchievementInfoLoaded |
| struct | AchievementWriteFailed |
| struct | AddBulletHitMarker |
| struct | AddonDecision |
| struct | AddPlayerSonarIcon |
| class | Address |
| struct | AmmoPickup |
| struct | AmmoRefill |
| struct | AnnouncePhaseEnd |
| class | ArgBinder |
| The one thing command dispatch needs a running server for. More... | |
| struct | ArgDesc |
| struct | ArgError |
| A binding failure, as the key and tokens the reply is built from. More... | |
| struct | ArgTrait |
| What one handler parameter type means to the framework. More... | |
| struct | ArgTrait< Args::Opt< T > > |
| struct | ArgTrait< T > |
| struct | ArgUnpack |
| struct | ArgUnpack< Args::Opt< T > > |
| struct | Authorized |
| A caller/target pair that cleared Policy::Authorize. More... | |
| struct | BaseSubobject |
| struct | BeginNewMatch |
| struct | Bindings |
| struct | BombAbortdefuse |
| struct | BombAbortplant |
| struct | BombBeep |
| struct | BombBegindefuse |
| struct | BombBeginplant |
| struct | BombDefused |
| struct | BombDropped |
| struct | BombExploded |
| struct | BombPickup |
| struct | BombPlanted |
| struct | BonusUpdated |
| struct | BotTakeover |
| struct | BoundArgFor |
| struct | BoundArgFor< std::tuple< A... > > |
| struct | BreakBreakable |
| struct | BreakProp |
| struct | BrokenBreakable |
| struct | BulletDamage |
| struct | BulletImpact |
| One bullet landing, fired once per impact (so a shotgun blast produces several). More... | |
| struct | ButtonPress |
A Button press inside a custom HUD layout. More... | |
| class | ButtonPresses |
| The FilterMessage hook for every plugin: custom HUD button presses, raised on the frame after they arrive. Game thread only. More... | |
| struct | ButtonPressMessage |
The button id a custom HUD Button press carries, read out of a user message's msg_data. More... | |
| struct | ButtonRow |
| struct | BuymenuClose |
| struct | BuymenuOpen |
| struct | BuytimeEnded |
| class | CallbackList |
| class | CallbackRegistry |
| struct | Caller |
| Who invoked the command, and how to answer them. More... | |
| struct | CartUpdated |
| class | CenterHtml |
Re-sends a center-HTML panel until stopped, since CS2 drops center HTML on death, a team switch and HUD updates. render runs on every send, so live values stay current. More... | |
| struct | CenterHtmlHeader |
| class | CenterHtmlMenu |
Menus drawn as center HTML and driven with W/S/A/D/E/R. It needs no client addon, so runtime.Menus falls back to it for a player another surface cannot draw for. More... | |
| struct | CenterHtmlView |
| struct | CharBuf |
A value for a fixed engine character array (char m_name[N]). More... | |
| class | ChatInput |
| Per-player pending-prompt registry for menu free-text input. More... | |
| struct | ChatMessage |
| struct | ChoiceIndex |
| struct | ChoiceRow |
| struct | ChoiceState |
| struct | ChoppersIncomingWarning |
| class | ClientConVars |
| Asks a connected client what one of its own convars is set to. More... | |
| struct | ClientDisconnect |
| struct | ClientLoadoutChanged |
| struct | ClientsideLessonClosed |
| struct | ClientsideReloadCustomEcon |
| class | Clock |
| The engine's simulation clock, read straight from IVEngineServer2::GetServerGlobals(). More... | |
| struct | Color |
An RGBA color in the engine's byte order, as m_clrRender and glow colors hold it. More... | |
| struct | CommandArgList |
| class | CommandBuilder |
| Fluent command registration, returned by CommandManager::Add. More... | |
| struct | CommandDefinition |
| One command as the builder assembled it. More... | |
| struct | CommandHandlerArgs |
| The parameter list of a handler, after the leading Caller. More... | |
| struct | CommandHandlerArgs< F > |
| struct | CommandHandlerArgs< R(*)(Caller, A...) noexcept > |
| struct | CommandHandlerArgs< R(*)(Caller, A...)> |
| struct | CommandHandlerArgs< R(C::*)(Caller, A...) const > |
| struct | CommandHandlerArgs< R(C::*)(Caller, A...) const noexcept > |
| struct | CommandHandlerArgs< R(C::*)(Caller, A...) noexcept > |
| struct | CommandHandlerArgs< R(C::*)(Caller, A...)> |
| struct | CommandHandlerArgs< R(Caller, A...)> |
| class | CommandManager |
| Typed commands for chat and the server console. More... | |
| class | CommandNames |
| class | CommandRouter |
| The registered commands, their usage lines, and the dispatch that runs one. More... | |
| struct | ConfirmMenu |
| struct | ConnectedClient |
| struct | ConnectRequest |
| class | Controller |
| A player's identity behind a slot: name, money, team, scoreboard row. It survives death and respawn; the body is Pawn(). Its own CBaseEntity fields, such as Health, mean nothing for gameplay. More... | |
| class | ConVar |
| struct | ConVarChange |
| class | ConVarOverrides |
| class | ConVarRawScope |
| class | ConVars |
| class | Cooldown |
| A per-key cooldown, such as one notice per player per minute. More... | |
| struct | CsGameDisconnected |
| struct | CsIntermission |
| struct | CsMatchEndRestart |
| struct | CsPreRestart |
| struct | CsPrevNextSpectator |
| struct | CsRoundFinalBeep |
| struct | CsRoundStartBeep |
| struct | CsWinPanelMatch |
| struct | CsWinPanelRound |
| struct | CursorRows |
| class | Damage |
Every entity's damage, from CBaseEntity::TakeDamageOld, and a way to deal it. More... | |
| struct | DamageHit |
| struct | DamageInfo |
| class | Database |
| Async database access over Postgres, MariaDB and SQLite. More... | |
| struct | DatabaseConfig |
| Connection parameters for every supported backend. More... | |
| class | DecayingScore |
| A score that loses half its weight every half-life - the building block for evidence that should fade with age rather than expire on a window edge. More... | |
| struct | DecoyDetonate |
| struct | DecoyFiring |
| struct | DecoyStarted |
| struct | DefuserDropped |
| struct | DefuserPickup |
| struct | DemoSkip |
| struct | DemoStart |
| struct | DemoStop |
| struct | Dialect |
| The DDL spellings the three drivers disagree on, one per migration placeholder. More... | |
| struct | DifficultyChanged |
| struct | DmBonusWeaponStart |
| struct | DoorBreak |
| struct | DoorClose |
| struct | DoorClosed |
| struct | DoorMoving |
| struct | DoorOpen |
| class | DownloadQueue |
| struct | DroneAboveRoof |
| struct | DroneCargoDetached |
| struct | DroneDispatched |
| struct | DronegunAttack |
| struct | DropRateModified |
| struct | DurationMenu |
| struct | DurationUnitLabels |
| struct | DynamicShadowLightChanged |
| struct | DzItemInteraction |
| struct | EmitSoundParams |
| class | EnabledCondition |
| struct | EnableRestartVoting |
| struct | EndmatchCmmStartRevealItems |
| struct | EndmatchMapvoteSelectingMap |
| class | EngineArgBinder |
| class | EngineClient |
| struct | EngineDamageInfo |
| struct | EngineDamageResult |
| class | EngineHooks |
| The engine hooks, installed once for the whole process. More... | |
| struct | EngineInterfaces |
| class | EngineMovementServices |
| class | EngineNavPhysics |
| class | EnginePawn |
| class | EngineWeaponServices |
| struct | EnterBombzone |
| struct | EnterBuyzone |
| struct | EnterRescueZone |
| class | Entity |
| A live entity, valid for this frame only. More... | |
| struct | EntityKilled |
| struct | EntityRef |
| class | EntitySystem |
runtime.Entities: finds and creates entities. Everything it returns is valid for this frame only; see Entity. More... | |
| struct | EntityVisible |
| struct | Error |
| One failure: a code to branch on, text for the log, and an optional translation key. More... | |
| class | Event |
| A multicast signal with a fixed handler signature: the one way to subscribe in VoltMod. More... | |
| struct | EventLifecycle |
| Starting and stopping an Event source, driven by whether anything is listening. More... | |
| struct | EventTicketModified |
| struct | ExitBombzone |
| struct | ExitBuyzone |
| struct | ExitRescueZone |
| struct | FailedCheck |
| struct | FinaleStart |
| struct | FirstbombsIncomingWarning |
| struct | FlareIgniteNpc |
| struct | FlashbangDetonate |
| class | Flow |
| class | Fn |
| class | Fn< Ret(Args...)> |
| struct | FoundBase |
| struct | GameDataDocument |
| struct | GameDataEntry |
| struct | GameDataLocation |
| struct | GameDataRecord |
| class | GameDataScanner |
| class | GameDataTable |
| struct | GameEnd |
| class | GameEvents |
| Creates, fires and listens to game events. More... | |
| struct | GameInit |
| struct | GameinstructorDraw |
| struct | GameinstructorNodraw |
| struct | GameMessage |
| struct | GameNewmap |
| struct | GamePhaseChanged |
| struct | GameStart |
| class | GameThreadQueue |
| Callbacks worker threads hand to the game thread: Push from any thread, RunAll on the game thread. More... | |
| struct | GameuiHidden |
| struct | GcConnected |
| struct | GgKilledEnemy |
| struct | GlowConfig |
| class | GlowVision |
| Players as team-colored outlines through walls, for one client or one team alone. More... | |
| struct | GrenadeBounce |
| struct | GrenadeThrown |
| struct | GuardianWaveRestart |
| struct | HeaderNameLess |
| struct | HegrenadeDetonate |
| struct | HelicopterGrenadePuntMiss |
| struct | HiddenPlayer |
| struct | HideDeathpanel |
| struct | HltvCameraman |
| struct | HltvChangedMode |
| struct | HltvChase |
| struct | HltvChat |
| struct | HltvFixed |
| struct | HltvMessage |
| struct | HltvRankCamera |
| struct | HltvRankEntity |
| struct | HltvReplay |
| struct | HltvReplayStatus |
| struct | HltvStatus |
| struct | HltvTitle |
| struct | HltvVersioninfo |
| class | HookResult |
| A hook before-handler's verdict. More... | |
| class | HookResult< void > |
| class | Host |
| struct | HostageCallForHelp |
| struct | HostageFollows |
| struct | HostageHurt |
| struct | HostageKilled |
| struct | HostageRescued |
| struct | HostageRescuedAll |
| struct | HostageStopsFollowing |
| struct | HostnameChanged |
| class | HttpClient |
| Runs HTTP requests off the game thread and their completions on it. More... | |
| struct | HttpRequest |
| struct | HttpResult |
| struct | Image |
| struct | InfernoExpire |
| struct | InfernoExtinguish |
| struct | InfernoStartburn |
| struct | InputHistorySample |
| struct | InputRow |
| struct | InspectWeapon |
| struct | InstalledScan |
| struct | InstructorCloseLesson |
| struct | InstructorServerHintCreate |
| struct | InstructorServerHintStop |
| struct | InstructorStartLesson |
| struct | Interfaces |
| Centralized holder for all HL2SDK interface pointers. More... | |
| struct | InventoryUpdated |
| struct | IPermissions |
The server's permission source, published by one plugin (admin-system) through runtime.Exchange. More... | |
| struct | IPluginAddons |
| struct | IPluginContext |
| struct | IPluginEvents |
| struct | IPluginGameData |
| struct | IPluginLanguages |
| struct | IPluginServices |
| struct | ItemEquip |
| struct | ItemPickup |
| struct | ItemPickupFailed |
| struct | ItemPickupSlerp |
| struct | ItemPurchase |
| struct | ItemRemove |
| struct | ItemSchemaInitialized |
| struct | JointeamFailed |
| class | Json |
| System.Text.Json-style helpers for mapping C++ types to and from JSON. More... | |
| class | KeyValues |
| Spawn keyvalues such as "origin", "spawnflags" or "effect_name". More... | |
| class | KHookForwarder |
| The loader's KHook, which every module's hooks go through. More... | |
| struct | Labeled |
| class | LanguageTable |
| class | LayoutPath |
| A layout resource the client will accept, checked before anything is spawned. More... | |
| class | LazyHook |
| An engine hook that exists only while one of its events has handlers. More... | |
| struct | LeakReport |
| struct | LoadConfigOptions |
| Paths and translation behavior for LoadConfig. More... | |
| struct | LoadedPlugin |
| struct | LoaderHandoff |
| struct | LoadList |
| class | LoadReport |
| struct | LocalPlayerControllerTeam |
| struct | LocalPlayerPawnChanged |
| struct | LocalPlayerTeam |
| struct | LootCrateOpened |
| struct | LootCrateVisible |
| class | Map |
| class | MappedFile |
| struct | MapShutdown |
| struct | MapTransition |
| struct | MatchEndConditions |
| struct | MaterialDefaultComplete |
| struct | MbInputLockCancel |
| struct | MbInputLockSuccess |
| class | MemberBinder |
| struct | MemoryRegion |
| struct | Menu |
| class | MenuBuilder |
| struct | MenuButton |
| class | MenuFreeze |
| Holding players still while a menu is open, for every menu surface. More... | |
| struct | MenuHeader |
| struct | MenuItem |
| struct | MenuOptions |
| class | MenuRouter |
runtime.Menus: the surface menus start on, chosen once per session. More... | |
| struct | MenuRow |
| class | MenuStack |
| One player's open menus, and the row behaviour every surface shares. More... | |
| class | MenuSurface |
| struct | MenuTab |
| class | Messages |
| Send chat, center print, center HTML, and alert messages. More... | |
| struct | Migration |
| struct | MigrationOptions |
| struct | MigrationResult |
| struct | ModuleScan |
| class | ModuleSymbols |
| struct | MolotovDetonate |
| class | Movement |
| Each player's command from CCSPlayer_MovementServices::RunCommand. More... | |
| class | MovementFreeze |
| Holds one pawn still and gives its move type back to that pawn only, so a player who respawns while held never inherits the dead body's. Keep one per player. More... | |
| class | MultiAddonManager |
| class | MultiRecipientFilter |
| Routes a user message or filtered sound to a chosen set of player slots. Starts empty; callers add each recipient (e.g. every connected slot for a broadcast). More... | |
| struct | NavBlocked |
| struct | NavGenerate |
| class | NetChannels |
| Per-client network-channel access: latency and the client's replicated userinfo cvars. More... | |
| struct | NextlevelChanged |
| class | Offset |
| class | Offset< void > |
| struct | OpenCrateInstr |
| class | Options |
| Owns a plugin's settings and republishes them whole on every Load. More... | |
| struct | OtherDeath |
| class | PanoramaMenu |
| Run menu sessions on a plugin's PanoramaMenuLayout. More... | |
| class | PanoramaMenuLayout |
The screen built from the menu Panorama block, as PanoramaMenu draws on it. More... | |
| struct | PanoramaMenuSettings |
| The "menu" section of a plugin with a Panorama menu screen. More... | |
| struct | ParachuteDeploy |
| struct | ParachutePickup |
| struct | PatternByte |
| class | Pawn |
| A player's body: health, armor, movement, aim, weapons. The engine replaces it on every spawn; the Controller is the identity that stays. More... | |
| class | PendingCommit |
| One held-back row commit per player: what a stepped row was left showing, applied once the stepping stops. More... | |
| class | PendingConVarQueries |
| Bookkeeping for ClientConVars: per-slot, cookie-keyed queries awaiting an answer. More... | |
| struct | PendingConVarQuery |
| One outstanding client convar query, identified by the cookie sent to the client. More... | |
| class | PerSlot |
| Per-player-slot value store that never leaks state across occupants. More... | |
| struct | PhysgunPickup |
| class | Player |
| One connected player, owned by PlayerManager for the length of the connection. More... | |
| struct | PlayerActivate |
| struct | PlayerAvengedTeammate |
| struct | PlayerBlind |
| struct | PlayerChangename |
| struct | PlayerChat |
| class | PlayerCommands |
| The RunCommand hook for every plugin: each command is decoded once, and only while a plugin listens. Game thread only. More... | |
| struct | PlayerConnect |
| struct | PlayerConnectFull |
| struct | PlayerDeath |
| struct | PlayerDecal |
| struct | PlayerDisconnect |
| struct | PlayerFalldamage |
| struct | PlayerFootstep |
| struct | PlayerFullUpdate |
| struct | PlayerGivenC4 |
| struct | PlayerHintmessage |
| struct | PlayerHurt |
| struct | PlayerInfo |
| struct | PlayerInput |
| Protobuf-free snapshot of the CUserCmd handed to CPlayer_MovementServices::RunCommand, decoded once per command by Movement. More... | |
| struct | PlayerJump |
| class | PlayerLanguages |
| class | PlayerManager |
| The roster: every connected player, and the signals for the connection lifecycle. More... | |
| struct | PlayerPicker |
| struct | PlayerPing |
| struct | PlayerPingStop |
| struct | PlayerRadio |
| struct | PlayerRef |
| A storable reference to a player: the slot plus the SteamID that occupied it. More... | |
| struct | PlayerResetVote |
| struct | PlayerScore |
| class | PlayerScreens |
| One layout's player screens, each created the first time something draws for that slot. More... | |
| struct | PlayerShoot |
| struct | PlayerSound |
| struct | PlayerSpawn |
| struct | PlayerSpawned |
| struct | PlayerStatsUpdated |
| struct | PlayerTeam |
| struct | PlayerView |
| class | Plugin |
| Everything a plugin owns for one load cycle. More... | |
| class | PluginContext |
| struct | PluginDescriptor |
| struct | PluginDocument |
| class | PluginLoader |
| Finds the installed plugins and loads the ones their dependencies allow. More... | |
| struct | PluginManifest |
| class | PluginRegistry |
| The loaded plugins and the engine events raised on them, one per process. More... | |
| class | Policy |
| The one permission and targeting gate, plus the plugin's reply callback. More... | |
| class | Precache |
| struct | PropSpec |
| class | PublishedInterfaces |
| struct | RagdollDissolved |
| struct | ReadGameTitledata |
| struct | RefusedPlugin |
| struct | Reply |
| What a command handler answers with. More... | |
| struct | RepostXboxAchievements |
| struct | ResetGameTitledata |
| struct | RoundAnnounceFinal |
| struct | RoundAnnounceLastRoundHalf |
| struct | RoundAnnounceMatchPoint |
| struct | RoundAnnounceMatchStart |
| struct | RoundAnnounceWarmup |
| struct | RoundEnd |
| struct | RoundEndUploadStats |
| struct | RoundFreezeEnd |
| struct | RoundMvp |
| struct | RoundOfficiallyEnded |
| struct | RoundPoststart |
| struct | RoundPrestart |
| class | Rounds |
runtime.Rounds: the running round's timer, and ending the round with the engine's own win panel and round_end, even with mp_ignore_round_win_conditions on. Team scores are not changed. More... | |
| struct | RoundStart |
| struct | RoundStartPostNav |
| struct | RoundStartPreEntity |
| struct | RoundTimeWarning |
| class | Runtime |
| Framework services for one load and unload cycle. More... | |
| struct | ScanRange |
| struct | ScanResult |
| class | Scheduler |
| One-shot delays and repeating timers, run on the game thread. More... | |
| class | SchemaCheck |
| class | Screen |
| A spawned Panorama layout created by ScreenManager. More... | |
| class | ScreenEntity |
The custom_hud_layout entity behind a Screen: spawning, removal, and every write. More... | |
| class | ScreenManager |
| Create Screen objects and report their button presses. More... | |
| struct | ScriptFunctionBinding |
| struct | ScriptTarget |
| struct | SeasoncoinLevelup |
| class | ServerAssets |
| class | ServerCommand |
| RAII server console command: registers a tier1 ConCommand on construction and unregisters on destruction. More... | |
| struct | ServerCvar |
| struct | ServerMessage |
| struct | ServerPreShutdown |
| struct | ServerShutdown |
| struct | ServerSpawn |
| class | ServiceExchange |
| Typed view of the host's table of interfaces plugins publish to each other. More... | |
| struct | SetInstructorGroupEnabled |
| struct | Sfuievent |
| class | SharedLibrary |
| struct | SharedState |
| struct | ShowDeathpanel |
| struct | ShowSurvivalRespawnStatus |
| struct | SilencerDetach |
| struct | SilencerOff |
| struct | SilencerOn |
| class | SingleRecipientFilter |
| Routes a user message to a single player slot. More... | |
| class | SlotEvents |
| "The occupant of this slot changed" - raised by PlayerManager, consumed below it. More... | |
| struct | SmokeBeaconParadrop |
| struct | SmokegrenadeDetonate |
| struct | SmokegrenadeExpired |
| struct | SpecModeUpdated |
| struct | SpecTargetUpdated |
| struct | SslModeName |
| struct | StandardPluginSettings |
| The "plugin" section of settings.jsonc. LoadConfig applies the locale. More... | |
| struct | StartHalftime |
| struct | StartSoundEventInfo |
| struct | StartVote |
| class | StatusService |
| Build text and JSON diagnostics from named providers. More... | |
| class | SteamId |
| Static utilities for converting between SteamID formats (64-bit, SteamID2, SteamID3). More... | |
| struct | StorePricesheetUpdated |
| struct | StringHash |
| class | Strings |
| Collection of static string manipulation utilities. More... | |
| struct | SubmenuRow |
| class | Subscription |
| Owns one registration and releases it on destruction. More... | |
| class | Subscriptions |
| Holds the subscriptions an object makes and releases them together, newest first. More... | |
| struct | SubtickMove |
| class | SummaryRows |
| struct | SurvivalAnnouncePhase |
| struct | SurvivalNoRespawnsFinal |
| struct | SurvivalNoRespawnsWarning |
| struct | SurvivalParadropBreak |
| struct | SurvivalParadropSpawn |
| struct | SurvivalTeammateRespawn |
| struct | SwitchTeam |
| struct | TagrenadeDetonate |
| struct | TargetFailure |
| struct | TargetQuery |
| struct | TargetRules |
| struct | TeamchangePending |
| struct | TeamInfo |
| struct | TeamIntroEnd |
| struct | TeamIntroStart |
| struct | TeamplayBroadcastAudio |
| struct | TeamplayRoundStart |
| struct | TeamScore |
| class | Teleport |
| Report player pawn moves through CBaseEntity::Teleport. More... | |
| struct | TextMessage |
| class | TextMessages |
| Outgoing TextMsg user messages, the game's own lines included. More... | |
| struct | TextRow |
| class | Time |
| struct | ToggleRow |
| struct | TournamentReward |
| class | Trace |
runtime.Trace: line and box traces against the physics world. Game-thread only. More... | |
| struct | TraceHit |
| struct | TraceOptions |
| class | Translations |
Localization system. Loads one JSON file per language; nested objects flatten into dotted keys (category.punish). Use Get(key, slot) for per-player text. More... | |
| struct | TrialTimeExpired |
| struct | TypeInfoKinds |
| struct | UgcFileDownloadFinished |
| struct | UgcFileDownloadStart |
| struct | UgcMapDownloadError |
| struct | UgcMapInfoReceived |
| struct | UgcMapUnsubscribed |
| struct | UnsafeServices |
| Opt-in access to raw engine interfaces and typed gamedata bindings. More... | |
| struct | UpdateMatchmakingStats |
| struct | UserDataDownloaded |
| struct | VipEscaped |
| struct | VipKilled |
| class | VirtualFn |
| class | VirtualFn< Ret(Object *, Args...)> |
| struct | VirtualSlot |
| class | Visibility |
| Which clients receive which entities, filtered after CheckTransmit. More... | |
| class | VoltCommand |
| class | Vote |
| The game's yes/no vote panel (F1/F2), with the ballots counted here. More... | |
| struct | VoteCast |
| struct | VoteCastNo |
| struct | VoteCastYes |
| struct | VoteChanged |
| struct | VoteEnded |
| struct | VoteFailed |
| struct | VoteOptions |
| struct | VotePassed |
| struct | VoteRequest |
| struct | VoteStarted |
| struct | VoteTally |
| struct | WaitingRequest |
| struct | WarmupEnd |
| class | WeaponDrop |
A player's own weapon drops, from CCSPlayer_WeaponServices::DropWeapon. More... | |
| struct | WeaponDropRequest |
| struct | WeaponFire |
| struct | WeaponFireOnEmpty |
| struct | WeaponhudSelection |
| struct | WeaponReload |
| struct | WeaponZoom |
| struct | WeaponZoomRifle |
| class | WorkshopDownloads |
| class | WriteCache |
| What each player, or everyone, was last sent on one screen, so an unchanged write is skipped. More... | |
| struct | WriteGameTitledata |
| struct | WriteProfileData |
Concepts | |
| concept | NamesArgKind |
| concept | CommandArg |
| concept | CommandSignature |
| concept | HasOneCallOperator |
| concept | ConVarValue |
| concept | RawConVarValue |
| concept | MenuRowSpec |
Enumerations | |
| enum class | ArgKind : uint8_t { Target , Targets , Duration , SteamId , PlayerOrSteamId , Int , U64 , Word , Rest } |
| Which binder runs for one declared argument. More... | |
| enum class | CommandAccess : uint8_t { Players , Anywhere , ServerOnly } |
| enum class | LogLevel : uint8_t { Info , Warn , Error } |
| enum class | ErrorCode : uint8_t { NotFound , NotReady , Invalid , Denied , Immune , Unsupported , Engine , Failed } |
| Why an operation did not produce a value. More... | |
| enum class | HookAction : uint8_t { Allow = 0 , Replace , Block } |
| enum class | Driver { Postgres , MariaDb , Sqlite } |
| enum class | GameDataSection : uint32_t { Function = 1u << 0 , Global = 1u << 1 , VTable = 1u << 2 , Offset = 1u << 3 } |
| enum class | Team : uint8_t { None = 0 , Spectator = 1 , T = 2 , CT = 3 } |
| enum class | HitGroup : int { Invalid = -1 , Generic = 0 , Head = 1 , Chest = 2 , Stomach = 3 , LeftArm = 4 , RightArm = 5 , LeftLeg = 6 , RightLeg = 7 , Neck = 8 } |
| enum class | ObserverMode : uint8_t { None = 0 , Fixed = 1 , InEye = 2 , Chase = 3 , Roaming = 4 } |
| enum class | RoundEndReason : uint32_t { CounterTerroristsWin = 8 , TerroristsWin = 9 , Draw = 10 } |
| enum class | TraceLayers { Sight , Solid , Surfaces } |
| enum class | ClientConVarStatus { Answered = 0 , NotFound , NotAConVar , Protected } |
| How the client answered a convar query (CCLCMsg_RespondCvarValue::status_code). More... | |
| enum class | VoteEndReason { AllVoted , TimeUp , Cancelled } |
| enum class | HttpMethod { Get , Post , Put , Patch , Delete } |
| enum class | ChoiceApply { AfterStep , OnActivate } |
| enum class | MenuRowKind { Text , Button , Submenu , Toggle , Choice , Input } |
| enum class | MenuButtonKind { Cancel , Back , Close , PreviousPage , NextPage , Tab , Row , StepDown , StepUp } |
| enum class | MessageKind { Chat , Center , CenterHtml , Alert } |
| enum class | Origin : uint8_t { Chat , Console } |
| enum class | TargetError { NoMatch , Immune , Ambiguous , MultiNotAllowed , DeadNotAllowed , BotNotAllowed } |
| enum class | TargetKind { All , Me , NotMe , Team , Dead , Alive , Bots , Humans , Random , RandomTeam , Slot , SteamId , Name } |
| enum class | ConVarType : int16_t { Invalid = -1 , Bool , Int16 , UInt16 , Int32 , UInt32 , Int64 , UInt64 , Float32 , Float64 , String , Color , Vector2 , Vector3 , Vector4 , QAngle , VectorWS } |
| enum class | AddonAction { Unchanged , Send , TrimToFirst , Kick , KeepMounted } |
| enum class | WriteKind { Text , Class } |
| using VoltMod::AnyConnection = typedef std::variant<std::monostate, PostgresConnection, MariaDbConnection, SqliteConnection> |
A connection of whichever driver is configured; monostate while closed.
Definition at line 24 of file Connection.hpp.
| using VoltMod::ByteHistogram = typedef std::array<size_t, 256> |
How often each byte value occurs in the memory being searched.
Definition at line 29 of file BytePattern.hpp.
| using VoltMod::EmitSoundFilterFn = typedef StartSoundEventInfo (*)(IRecipientFilter& filter, CEntityIndex sourceIndex, const EmitSoundParams& params) |
Definition at line 54 of file Entity.cpp.
| using VoltMod::GameDataLookup = typedef std::function<GameDataLocation(GameDataSection sections, std::string_view name)> |
Reads what gamedata holds for name, when sections admits the section holding it.
Injected so Bindings::Bind is unit-tested against a plain lambda; the app passes the host's lookup.
Definition at line 15 of file GameDataLookup.hpp.
Definition at line 20 of file Visibility.cpp.
| using VoltMod::HasDefault = typedef std::true_type |
HasDefault argument of VOLTMOD_COLUMN: the insert may leave this column out.
| using VoltMod::HostStartFn = typedef bool (*)(const LoaderHandoff* start, char* error, size_t errorSize) |
Start the host. On false, it wrote why into error, which holds errorSize bytes.
Definition at line 22 of file LoaderHandoff.hpp.
| using VoltMod::HostStopFn = typedef void (*)() |
Unload every plugin and remove the host's hooks.
Definition at line 24 of file LoaderHandoff.hpp.
| using VoltMod::HttpCompletion = typedef std::function<void(const HttpResult&)> |
Definition at line 21 of file HttpResult.hpp.
| using VoltMod::HttpHeaders = typedef std::map<std::string, std::string, HeaderNameLess> |
Header name -> value; Content-Type and content-type are one entry.
Definition at line 39 of file HttpClient.hpp.
| using VoltMod::InterfaceFactory = typedef void* (*)(const char* name, int* returnCode) |
A module's exported CreateInterface.
Definition at line 10 of file LoaderHandoff.hpp.
| using VoltMod::MariaDbConnection = typedef sqlpp::mysql::connection |
Definition at line 20 of file Connection.hpp.
Reads the value that vtable's index held before a hook patched it, or nullptr. An empty lookup reads the current slot. The injected lookup keeps vtable searches SDK-free; the default implementation is ReadOriginalSlot in Detours.hpp.
Definition at line 13 of file OriginalSlotLookup.hpp.
| using VoltMod::PairCooldown = typedef Cooldown<std::pair<TFirst, TSecond>, std::map<std::pair<TFirst, TSecond>, int64_t> > |
std::pair has no std::hash, so pair keys use an ordered map.
Definition at line 76 of file Cooldown.hpp.
| using VoltMod::PluginsByName = typedef std::map<std::string, const PluginManifest*, std::less<> > |
Definition at line 15 of file PluginDependencies.cpp.
| using VoltMod::PostEvent = typedef void (IGameEventSystem::*)(CSplitScreenSlot, bool, int, const uint64*, INetworkMessageInternal*, const CNetMessage*, unsigned long, NetChannelBufType_t) |
Definition at line 11 of file TextMessages.cpp.
| using VoltMod::PostgresConnection = typedef sqlpp::postgresql::connection |
Definition at line 19 of file Connection.hpp.
| using VoltMod::PostgresSslMode = typedef sqlpp::postgresql::connection_config::sslmode_t |
Definition at line 15 of file OpenConnection.cpp.
| using VoltMod::ProtoFieldDescriptor = typedef google::protobuf::FieldDescriptor |
Definition at line 20 of file ProtoReflect.hpp.
| using VoltMod::ProtoMessage = typedef google::protobuf::Message |
Definition at line 19 of file ProtoReflect.hpp.
| using VoltMod::QAngle = typedef ::QAngle |
| using VoltMod::RefusalsByName = typedef std::map<std::string, Error, std::less<> > |
Definition at line 16 of file PluginDependencies.cpp.
| using VoltMod::Required = typedef std::false_type |
HasDefault argument of VOLTMOD_COLUMN: every insert must supply this column.
A T or an Error. Check with if (result), read *result / result.error().
Definition at line 64 of file Result.hpp.
| using VoltMod::ScriptBindingLookup = typedef std::function<Result<ScriptTarget>(void* classTable, std::string_view name)> |
Finds VScript binding name on the class with vtable classTable or on its bases. Injected so the resolver stays SDK-free.
Definition at line 19 of file ScriptBindings.hpp.
| using VoltMod::SqliteConnection = typedef sqlpp::sqlite3::connection |
Definition at line 21 of file Connection.hpp.
| using VoltMod::Status = typedef std::expected<void, Error> |
A Result with nothing to return. return {}; succeeds.
Definition at line 67 of file Result.hpp.
| using VoltMod::StringMap = typedef std::unordered_map<std::string, Value, StringHash, std::equal_to<> > |
A string-keyed map that finds a std::string_view key without building a string.
Definition at line 21 of file StringMap.hpp.
Definition at line 16 of file ScreenEntity.cpp.
| using VoltMod::Tokens = typedef std::map<std::string, std::string> |
{token} -> replacement, for Strings::SubstituteTokens and the text built on it.
Definition at line 14 of file Strings.hpp.
| using VoltMod::Vector = typedef ::Vector |
|
strong |
What the hook does to one outgoing join message.
| Enumerator | |
|---|---|
| Unchanged | send the message as it is |
| Send | point the client at AddonDecision::Id and wait for its reconnect |
| TrimToFirst | the message names several addons; keep only AddonDecision::Id |
| Kick | the client refused AddonDecision::Id too often |
| KeepMounted | a map change names no addon; name AddonDecision::Id so the client keeps it |
Definition at line 14 of file DownloadQueue.hpp.
|
strong |
Which binder runs for one declared argument.
Derived from the handler's parameter list; plugins never write one. The enumerator name is also the suffix of the argument's usage-placeholder key (ArgKind::Target -> cmd.usage.target), so adding a kind adds one translation key and no switch.
Declaration order is the order of Args::All and of BoundArg's alternatives; a static_assert below holds the three together.
| Enumerator | |
|---|---|
| Target | |
| Targets | |
| Duration | |
| SteamId | |
| PlayerOrSteamId | |
| Int | |
| U64 | |
| Word | |
| Rest | |
|
strong |
When a ChoiceRow runs its Commit.
| Enumerator | |
|---|---|
| AfterStep | About 400 ms after the last step, so a burst of presses applies once. |
| OnActivate | Only on E or a click; stepping just changes what the row shows. |
Definition at line 64 of file MenuBuilder.hpp.
|
strong |
How the client answered a convar query (CCLCMsg_RespondCvarValue::status_code).
Definition at line 19 of file ClientConVars.hpp.
|
strong |
Who may run a command, and so where it can be typed.
Definition at line 75 of file CommandBuilder.hpp.
|
strong |
SDK-free mirror of EConVarType used by handle validation and console parsing. ConVar.cpp verifies every value against the SDK with static_asserts.
| Enumerator | |
|---|---|
| Invalid | |
| Bool | |
| Int16 | |
| UInt16 | |
| Int32 | |
| UInt32 | |
| Int64 | |
| UInt64 | |
| Float32 | |
| Float64 | |
| String | |
| Color | |
| Vector2 | |
| Vector3 | |
| Vector4 | |
| QAngle | |
| VectorWS | |
Definition at line 13 of file ConVarTypes.hpp.
|
strong |
Database backend selected at runtime by DatabaseConfig::driver.
| Enumerator | |
|---|---|
| Postgres | |
| MariaDb | |
| Sqlite | |
Definition at line 13 of file Driver.hpp.
|
strong |
Why an operation did not produce a value.
Coarse on purpose: the code is what a caller branches on, Error::Detail is what a log line says. Adding a code is an API change for every switch over it, so prefer a better Detail.
| Enumerator | |
|---|---|
| NotFound | The named thing does not exist (no such player, convar, row). |
| NotReady | It exists but the subsystem behind it is not usable yet. |
| Invalid | The caller's input does not parse or does not satisfy a precondition. |
| Denied | The caller lacks the permission the operation requires. |
| Immune | The target outranks the caller; a Denied that names the target, not the verb. |
| Unsupported | The build, the game version, or the gamedata does not offer this at all. |
| Engine | The engine or SDK refused, returned nothing, or is not where it was expected. |
| Failed | Anything else; the default so a value-initialized Error is never a false success. |
Definition at line 21 of file Result.hpp.
|
strong |
The sections of gamedata.jsonc, as flags: an address binds from a function or a global.
| Enumerator | |
|---|---|
| Function | |
| Global | |
| VTable | |
| Offset | |
Definition at line 10 of file GameDataLocation.hpp.
|
strong |
The body part a bullet hit. Damage with no bullet, such as fire, the bomb or a fall, is Invalid.
| Enumerator | |
|---|---|
| Invalid | |
| Generic | |
| Head | |
| Chest | |
| Stomach | |
| LeftArm | |
| RightArm | |
| LeftLeg | |
| RightLeg | |
| Neck | |
Definition at line 8 of file HitGroup.hpp.
|
strong |
What a before-handler decides should happen to the call it intercepted.
| Enumerator | |
|---|---|
| Allow | Let the engine's own handler run and keep its return value. |
| Replace | Let it run, but return this value instead of its own. |
| Block | Skip it entirely and return this value. |
Definition at line 11 of file HookResult.hpp.
|
strong |
| Enumerator | |
|---|---|
| Get | |
| Post | |
| Put | |
| Patch | |
| Delete | |
Definition at line 15 of file HttpClient.hpp.
|
strong |
|
strong |
What a pressed button on the menu stands for.
| Enumerator | |
|---|---|
| Cancel | |
| Back | |
| Close | |
| PreviousPage | |
| NextPage | |
| Tab | |
| Row | |
| StepDown | |
| StepUp | |
Definition at line 18 of file PanoramaMenuLayout.hpp.
|
strong |
Row type used by renderers.
Definition at line 26 of file MenuModel.hpp.
|
strong |
Where a message renders on the client.
| Enumerator | |
|---|---|
| Chat | Chat box line (color escapes honored). |
| Center | Plain center-screen print. |
| CenterHtml | Center HTML panel (same channel the menu system renders into). |
| Alert | Top-center alert bar. |
Definition at line 15 of file Messages.hpp.
|
strong |
How a dead or spectating player's camera follows; Pawn.cpp checks the values against the SDK.
| Enumerator | |
|---|---|
| None | |
| Fixed | |
| InEye | |
| Chase | |
| Roaming | |
Definition at line 9 of file ObserverMode.hpp.
|
strong |
Which surface an invocation arrived on. The usage line's prefix and whether a permission is checked at all both follow from it.
| Enumerator | |
|---|---|
| Chat | |
| Console | |
Definition at line 22 of file CommandRouter.hpp.
|
strong |
Why a round ended, as the engine's CSRoundEndReason numbers it; round_end reports the same.
| Enumerator | |
|---|---|
| CounterTerroristsWin | |
| TerroristsWin | |
| Draw | |
Definition at line 14 of file Rounds.hpp.
|
strong |
Definition at line 23 of file Targeting.hpp.
|
strong |
| Enumerator | |
|---|---|
| All | |
| Me | |
| NotMe | |
| Team | uses TargetQuery::Team |
| Dead | |
| Alive | |
| Bots | |
| Humans | |
| Random | |
| RandomTeam | uses TargetQuery::Team |
| Slot | |
| SteamId | |
| Name | |
Definition at line 40 of file Targeting.hpp.
|
strong |
|
strong |
|
strong |
|
strong |
Keeps a text and a class of the same name on the same element apart.
| Enumerator | |
|---|---|
| Text | |
| Class | |
Definition at line 14 of file WriteCache.hpp.
|
static |
Definition at line 40 of file Visibility.cpp.
References AddIndex(), MaxIndicesPerPlayer, and ReadFile().
Referenced by CollectHiddenPlayer().
|
static |
Definition at line 32 of file Visibility.cpp.
References MaxIndicesPerPlayer, and ReadFile().
Referenced by AddHandleVector(), and CollectHiddenPlayer().
|
static |
The server's addon list, or nullptr when the offset misses the string GetAddonName returns.
Definition at line 148 of file WorkshopDownloads.cpp.
References VoltMod::Log::Error(), and ReadFile().
|
static |
Ask the plugins about a joining client, and refuse it with the first reason one gives.
Definition at line 44 of file EngineHooks.cpp.
References VoltMod::HookResult< Ret >::Block(), and ReadFile().
Referenced by VoltMod::EngineHooks::EngineHooks().
| size_t VoltMod::AnchorOf | ( | const std::vector< PatternByte > & | pattern, |
| const ByteHistogram & | frequencies | ||
| ) |
Index of the pattern byte to search for, or pattern.size() when it is all wildcards.
Which byte is searched for is what decides a scan's cost, because the rest of the pattern is only compared where that byte lands. The first byte - the obvious anchor - is close to the worst one for x86-64: nearly every signature opens with a REX prefix (0x48), which saturates the image. Measured over CS2's server.dll, anchoring on the rarest byte instead scans ~16x faster.
Definition at line 47 of file BytePattern.cpp.
References ReadFile().
Referenced by FindPatternEx().
The unit vector angles aim along; roll does not change it.
Definition at line 7 of file Math.cpp.
References ReadFile().
Referenced by VoltMod::Trace::FromEyes().
| void VoltMod::AppendPlayerRows | ( | MenuBuilder & | builder, |
| PlayerManager & | players, | ||
| const PlayerPicker & | spec | ||
| ) |
Appends one row per connected player to builder.
Definition at line 9 of file PlayerRows.cpp.
References VoltMod::ButtonRow::Label, VoltMod::SubmenuRow::Label, and ReadFile().
Referenced by BuildPlayerPicker().
| std::vector< uint64_t > VoltMod::AppendToAddonList | ( | std::string & | field, |
| const std::vector< uint64_t > & | ids | ||
| ) |
Append each of ids that field lacks. Returns the ids appended.
Definition at line 239 of file DownloadQueue.cpp.
References ParseAddonList(), and ReadFile().
|
static |
Definition at line 45 of file Migrator.cpp.
References VoltMod::Time::Now(), and ReadFile().
Referenced by RunMigrations().
| consteval bool VoltMod::ArgKindsMatchOrder | ( | std::index_sequence< I... > | ) |
Whether every type in Args::All sits at the index its own ArgKind names.
Definition at line 181 of file Args.hpp.
References ReadFile().
|
static |
Definition at line 41 of file Vote.cpp.
References ReadFile().
Definition at line 62 of file VtableLookup.windows.cpp.
References ReadFile().
Referenced by FindBaseInRtti(), and TypeDescriptorMatches().
|
static |
Definition at line 160 of file VtableLookup.cpp.
References BaseEntrySize, IsReadableAddress(), LooksLikeTypeInfo(), MaxBases, ReadFile(), ReadU32(), ReadWord(), TypeInfoBaseList, TypeInfoCount, and TypeInfoFlags.
Referenced by CollectBases().
|
static |
Definition at line 13 of file Image.linux.cpp.
References ReadFile().
Referenced by DlIterateCallback().
|
static |
Definition at line 15 of file Image.windows.cpp.
References ReadFile().
| std::expected< std::vector< BoundArg >, ArgError > VoltMod::BindArgs | ( | const CommandDefinition & | def, |
| std::span< const std::string > | tokens, | ||
| Player * | caller, | ||
| ArgBinder & | binder | ||
| ) |
Bind tokens against def's argument descriptor.
Arity is the caller's job: this assumes tokens already satisfies def's required count, so a short list can only mean a trailing optional argument. Takes nothing from the router, which is why it is a free function - the descriptor and the binder are the whole input.
Definition at line 133 of file ArgBinding.cpp.
References BindDuration(), BindInt(), BindPlayerOrSteamId(), BindSteamId(), BindTarget(), BindTargets(), BindU64(), Duration, Int, VoltMod::Strings::Join(), PlayerOrSteamId, ReadFile(), Rest, Store(), Target, Targets, U64, VoltMod::Args::Word::Value, VoltMod::Args::Rest::Value, and Word.
Referenced by VoltMod::CommandRouter::Dispatch().
|
static |
Definition at line 78 of file ArgBinding.cpp.
References VoltMod::Strings::IsNumeric(), VoltMod::ArgError::Key, ParseDuration(), ReadFile(), and VoltMod::Args::Duration::Value.
Referenced by BindArgs().
Definition at line 101 of file ArgBinding.cpp.
References VoltMod::ArgError::Key, ParseInt64(), ReadFile(), and VoltMod::Args::Int::Value.
Referenced by BindArgs().
|
static |
One token to a player if anybody online answers to it, otherwise to a bare SteamID64.
The fallback is only for NoMatch: falling back on Immune would turn a refused target into an offline one and act on it anyway, and on Ambiguous it would pick nobody's id.
Definition at line 57 of file ArgBinding.cpp.
References VoltMod::Strings::IsNumeric(), NoMatch, VoltMod::Args::PlayerOrSteamId::Online, ParseInt64(), ReadFile(), VoltMod::Player::SteamId(), and TargetKey().
Referenced by BindArgs().
|
static |
Definition at line 91 of file ArgBinding.cpp.
References VoltMod::Strings::IsNumeric(), VoltMod::ArgError::Key, ParseInt64(), ReadFile(), and VoltMod::Args::SteamId::Value.
Referenced by BindArgs().
|
static |
One token to the single player it names, or the key explaining why it named none.
Definition at line 30 of file ArgBinding.cpp.
References ReadFile(), TargetKey(), and VoltMod::Args::Target::Value.
Referenced by BindArgs().
|
static |
One token to every player it names. AllowMultiple is what separates this from BindTarget.
Definition at line 41 of file ArgBinding.cpp.
References VoltMod::TargetRules::AllowMultiple, ReadFile(), TargetKey(), and VoltMod::Args::Targets::Value.
Referenced by BindArgs().
Definition at line 111 of file ArgBinding.cpp.
References VoltMod::ArgError::Key, ParseUInt64(), ReadFile(), and VoltMod::Args::U64::Value.
Referenced by BindArgs().
| std::shared_ptr< Menu > VoltMod::BuildConfirmMenu | ( | ConfirmMenu | spec | ) |
The menu ConfirmMenu describes.
Definition at line 62 of file MenuPresets.cpp.
References VoltMod::MenuItem::Describe, VoltMod::MenuRow::Label, and ReadFile().
| std::shared_ptr< Menu > VoltMod::BuildDurationMenu | ( | DurationMenu | spec | ) |
Builds a duration menu. Invalid text prompts again.
Definition at line 24 of file MenuPresets.cpp.
References VoltMod::InputRow::Label, ParseDuration(), and ReadFile().
Referenced by VoltMod::Flow< TState >::AddDurationStep().
| std::shared_ptr< Menu > VoltMod::BuildPlayerPicker | ( | PlayerManager & | players, |
| PlayerPicker | spec | ||
| ) |
Builds a menu containing only the AppendPlayerRows list.
Definition at line 47 of file PlayerRows.cpp.
References AppendPlayerRows(), VoltMod::MenuBuilder::Build(), BuildPlayerPicker(), and VoltMod::PlayerPicker::Title.
Referenced by BuildPlayerPicker().
The engine's own implementation of method, bypassing every hook on the slot.
Definition at line 218 of file Hook.hpp.
References ReadFile().
| Result< Driver > VoltMod::CheckConfig | ( | const DatabaseConfig & | config | ) |
The driver config names, or why it cannot connect.
Definition at line 88 of file OpenConnection.cpp.
References VoltMod::Error::Invalid(), ParseDriver(), ParseSslMode(), Postgres, ReadFile(), and Sqlite.
Referenced by VoltMod::Database::Connect().
|
static |
Definition at line 71 of file VtableLookup.windows.cpp.
Referenced by FindBaseInRtti(), and FindTypeDescriptor().
|
static |
A client's address, or empty for a bot, which has no net channel.
Definition at line 60 of file EngineHooks.cpp.
References ReadFile(), and Text.
Referenced by VoltMod::EngineHooks::EngineHooks().
client's player slot, or -1 when it or the offset is unavailable.
Definition at line 17 of file ServerSideClients.cpp.
References ReadFile().
Definition at line 60 of file SharedLibrary.cpp.
References ReadFile().
|
static |
Definition at line 193 of file VtableLookup.cpp.
References BaseCount(), BaseEntrySize, CollectBases(), HasSingleBase(), LooksLikeTypeInfo(), MaxDepth, NameIs(), VoltMod::FoundBase::Offset, ReadFile(), ReadWord(), TypeInfoBase, TypeInfoBaseList, and VirtualBaseFlag.
Referenced by CollectBases(), and FindBaseOffsetByTypeInfo().
|
static |
Definition at line 67 of file Visibility.cpp.
References AddHandleVector(), AddIndex(), VoltMod::Controller::Controller(), VoltMod::Entity::Raw(), and ReadFile().
Referenced by VoltMod::Visibility::OnCheckTransmit().
A non-negative number from this platform's column, or why there is none.
Definition at line 50 of file GameDataScanner.cpp.
References PlatformColumn(), PlatformName, ReadFile(), and Unbound().
| template Result< ConVar< std::string > > VoltMod::ConVars::Find< std::string > | ( | std::string_view | ) |
Console and network text for a supported convar value. Bools use 1 and 0 for clients.
Referenced by VoltMod::ConVar< T >::Set(), VoltMod::ConVarOverrides::Set(), and VoltMod::ConVar< T >::SetFor().
| std::string VoltMod::ConVarText< bool > | ( | const bool & | value | ) |
Definition at line 42 of file ConVarTypes.cpp.
| std::string VoltMod::ConVarText< bool > | ( | const bool & | value | ) |
Definition at line 42 of file ConVarTypes.cpp.
| std::string VoltMod::ConVarText< float > | ( | const float & | value | ) |
Definition at line 54 of file ConVarTypes.cpp.
| std::string VoltMod::ConVarText< float > | ( | const float & | value | ) |
Definition at line 54 of file ConVarTypes.cpp.
| std::string VoltMod::ConVarText< int > | ( | const int & | value | ) |
Definition at line 48 of file ConVarTypes.cpp.
| std::string VoltMod::ConVarText< int > | ( | const int & | value | ) |
Definition at line 48 of file ConVarTypes.cpp.
| std::string VoltMod::ConVarText< std::string > | ( | const std::string & | value | ) |
Definition at line 60 of file ConVarTypes.cpp.
| std::string VoltMod::ConVarText< std::string > | ( | const std::string & | value | ) |
Definition at line 60 of file ConVarTypes.cpp.
| bool VoltMod::ConVarTypeMatches | ( | ConVarType | type | ) |
Whether a handle for T can access engine kind type.
All integer kinds use int; the engine accessor preserves their storage width. Bool remains a separate kind because accepting an int handle for it silently drops writes.
Definition at line 12 of file ConVarTypes.cpp.
| template bool VoltMod::ConVarTypeMatches< std::string > | ( | ConVarType | ) |
| void VoltMod::CountBytes | ( | const uint8_t * | base, |
| size_t | size, | ||
| ByteHistogram & | counts | ||
| ) |
Add the byte values in [base, base + size) to counts.
Definition at line 39 of file BytePattern.cpp.
References ReadFile().
Referenced by FrequenciesOf().
|
static |
The rows of menu as the cursor sees them: how many, and which it may land on.
Definition at line 15 of file CenterHtmlMenu.cpp.
References VoltMod::CursorRows::Count, IsRowActionable(), and ReadFile().
| std::vector< ArgDesc > VoltMod::DescribeArgs | ( | ) |
The descriptor the router binds against, derived from the handler's parameter list.
Definition at line 280 of file Args.hpp.
References VoltMod::ArgDesc::Kind.
|
static |
Shared description callback for menu specs.
Definition at line 11 of file MenuBuilder.cpp.
Referenced by VoltMod::Internal::ChoiceItem(), VoltMod::ButtonRow::ToItem(), VoltMod::ToggleRow::ToItem(), VoltMod::InputRow::ToItem(), VoltMod::SubmenuRow::ToItem(), and VoltMod::TextRow::ToItem().
The spellings driver wants.
Definition at line 71 of file Migrator.hpp.
References MariaDb, Postgres, and Sqlite.
Referenced by ResolveDialect().
Definition at line 29 of file Image.linux.cpp.
References BaseName(), and ReadFile().
Referenced by FindModuleAndRanges().
|
inline |
The config spelling of driver; also the per-dialect migrations folder name.
Definition at line 27 of file Driver.hpp.
References Name, and VoltMod::Strings::ToLower().
Definition at line 57 of file VtableLookup.windows.cpp.
References ReadFile().
Referenced by FindLocator(), FindTypeDescriptor(), and TableAfter().
|
static |
Definition at line 25 of file Messages.cpp.
References VoltMod::ChatColors::Default, and ReadFile().
Referenced by Render().
Position of value in E's declaration order, for indexing a per-enumerator array.
Definition at line 57 of file EnumNames.hpp.
References ReadFile().
Every enumerator of E, in declaration order.
Definition at line 64 of file EnumNames.hpp.
|
static |
The cxxabi typeinfo vptrs exported by this process, cached for its lifetime.
Definition at line 157 of file VtableLookup.linux.cpp.
References ReadFile(), and VoltMod::TypeInfoKinds::SingleBase.
Referenced by FindBaseIn().
| InterfaceFactory VoltMod::FactoryAt | ( | const void * | address | ) |
CreateInterface of the loaded module whose image holds address.
Definition at line 34 of file Loader.linux.cpp.
References ReadFile().
Referenced by Patch().
|
static |
The line a failed handler replies with: its own localized line, else its key, else the log text.
Definition at line 16 of file CommandRouter.cpp.
References ReadFile().
Referenced by VoltMod::CommandRouter::Dispatch().
| const void * VoltMod::FilterClient | ( | const Bindings & | bindings, |
| const INetworkMessageProcessingPreFilter & | filter | ||
| ) |
Return the client containing filter, or nullptr when its offset is unavailable.
Definition at line 8 of file ServerSideClients.cpp.
References ReadFile().
| std::expected< std::vector< int >, TargetFailure > VoltMod::FilterPlayers | ( | std::span< const PlayerView > | players, |
| const TargetQuery & | query, | ||
| const TargetRules & | rules, | ||
| int | callerSlot, | ||
| const std::function< std::size_t(std::size_t)> & | randomIndex = {} |
||
| ) |
The slots of players that match query under rules; random kinds pick one through randomIndex(count). A failure says why the matches were rejected, so the caller can reply.
Definition at line 104 of file Targeting.cpp.
References Ambiguous, BotNotAllowed, DeadNotAllowed, Immune, MultiNotAllowed, NoMatch, ReadFile(), VoltMod::Strings::StartsWith(), and VoltMod::Strings::ToLower().
Referenced by VoltMod::EngineArgBinder::Resolve().
|
static |
Definition at line 14 of file TextMessages.cpp.
References VoltMod::HookResult< Ret >::Block(), ReadFile(), and VoltMod::TextMessage::Text.
|
static |
Naming the version is the point: a game update is what breaks one.
Definition at line 18 of file EngineInterfaces.cpp.
References VoltMod::Error::Engine(), and ReadFile().
Referenced by FindOptional(), and ResolveEngineInterfaces().
| Result< BaseSubobject > VoltMod::FindBaseIn | ( | const Image & | module, |
| std::string_view | className, | ||
| std::string_view | baseName | ||
| ) |
Find base baseName inside className in module through RTTI.
Definition at line 173 of file VtableLookup.linux.cpp.
References ExportedTypeInfoKinds(), FindBaseOffsetByTypeInfo(), FindVirtualTableByTypeInfo(), FindVirtualTableIn(), NotFound, VoltMod::Error::NotFound(), VoltMod::BaseSubobject::Offset, RangesOf(), and ReadFile().
Referenced by VoltMod::ModuleSymbols::Base(), and RttiOf().
| Result< BaseSubobject > VoltMod::FindBaseInRtti | ( | const PeRtti & | rtti, |
| std::string_view | className, | ||
| std::string_view | baseName | ||
| ) |
Definition at line 145 of file VtableLookup.windows.cpp.
References AtRva(), BaseMemberOffset, BaseSize, BaseVirtualOffset, ClassAndStructNames(), FindLocator(), HierarchyBaseCount, HierarchyBaseList, HierarchySize, VoltMod::Error::Invalid(), LocatorHierarchy, MaxBases, VoltMod::Error::NotFound(), VoltMod::BaseSubobject::Offset, PrimaryLocator(), ReadFile(), TableAfter(), TypeDescriptorMatches(), and VoltMod::Error::Unsupported().
Referenced by RttiOf().
| Result< int > VoltMod::FindBaseOffsetByTypeInfo | ( | const void * | typeInfo, |
| std::string_view | baseName, | ||
| const TypeInfoKinds & | kinds | ||
| ) |
Find baseName in the class described by Itanium typeInfo. Uses the same NotFound, Invalid, and Unsupported errors as FindBaseIn.
Definition at line 233 of file VtableLookup.cpp.
References CollectBases(), VoltMod::Error::Invalid(), LengthPrefixedName(), LooksLikeTypeInfo(), VoltMod::Error::NotFound(), ReadFile(), and VoltMod::Error::Unsupported().
Referenced by FindBaseIn().
|
static |
Definition at line 25 of file ScriptBindings.cpp.
References VoltMod::ScriptFunctionBinding::Descriptor, and ReadFile().
Referenced by FindScriptBinding().
Definition at line 55 of file SharedLibrary.cpp.
References ReadFile().
Referenced by StartHost(), and VoltMod::SharedLibrary::Symbol().
| const uint8_t * VoltMod::FindFirst | ( | const uint8_t * | base, |
| size_t | size, | ||
| const std::vector< PatternByte > & | pattern, | ||
| size_t | anchor | ||
| ) |
First match of pattern in [base, base + size), searched for by its anchor byte.
| anchor | from AnchorOf, against the frequencies of the memory being searched. Any index of a non-wildcard byte gives the same answer; only the speed differs. |
Definition at line 80 of file BytePattern.cpp.
References Matches(), and ReadFile().
Referenced by FindPatternEx().
Definition at line 58 of file SigScanner.cpp.
References FindModuleAndRanges(), PlatformModuleName(), and ReadFile().
Referenced by FindVirtualTable(), and VoltMod::ModuleSymbols::Module().
|
static |
Definition at line 103 of file VtableLookup.windows.cpp.
References End(), FindValue(), LocatorOffset, LocatorSelf, LocatorSize, LocatorTypeDescriptor, and ReadFile().
Referenced by FindBaseInRtti(), and PrimaryLocator().
| bool VoltMod::FindModuleAndRanges | ( | std::string_view | fileName, |
| Image & | module, | ||
| std::vector< ScanRange > & | ranges | ||
| ) |
Locate the exact platform fileName and populate its mapping and readable scan ranges.
Windows returns the mapped image as one range. Linux returns individual PT_LOAD segments because the full module span may contain unmapped gaps.
Definition at line 61 of file Image.linux.cpp.
References DlIterateCallback(), VoltMod::ModuleScan::Name, and ReadFile().
Referenced by FindImage(), FindPatternEx(), and RangesOf().
|
static |
Definition at line 108 of file Loader.cpp.
References LoadNextServer(), and ReadFile().
Referenced by CreateInterface().
|
static |
Definition at line 29 of file EngineInterfaces.cpp.
References VoltMod::Log::Error(), Find(), and ReadFile().
Referenced by ResolveEngineInterfaces().
| ScanResult VoltMod::FindPatternEx | ( | std::string_view | moduleName, |
| const std::string & | pattern | ||
| ) |
Scan a loaded module for a byte pattern with ? wildcards. Address holds the first match, while Unique reports whether it is safe to bind.
Definition at line 64 of file SigScanner.cpp.
References AnchorOf(), VoltMod::Log::Error(), FindFirst(), FindModuleAndRanges(), FrequenciesOf(), ParsePattern(), PlatformModuleName(), ReadFile(), and VoltMod::Log::Warn().
Referenced by Scan().
| Result< ScriptTarget > VoltMod::FindScriptBinding | ( | void * | classTable, |
| std::string_view | name | ||
| ) |
The ScriptBindingLookup the host uses.
Definition at line 75 of file ScriptBindings.cpp.
References VoltMod::ScriptTarget::Address, FindBinding(), VoltMod::ScriptTarget::Index, VoltMod::Error::NotFound(), ReadFile(), and VirtualIndex().
Referenced by VoltMod::Host::Start().
Definition at line 205 of file VtableLookup.windows.cpp.
References Name, and ReadFile().
|
static |
Definition at line 72 of file VtableLookup.linux.cpp.
References ReadFile().
Referenced by FindVirtualTableIn().
|
static |
Definition at line 76 of file VtableLookup.windows.cpp.
References ClassAndStructNames(), End(), FindValue(), ReadFile(), and TypeDescriptorName.
Referenced by PrimaryLocator().
|
static |
Definition at line 32 of file VtableLookup.windows.cpp.
References ReadFile().
Referenced by FindLocator(), FindTypeDescriptor(), and TableAfter().
| void * VoltMod::FindVirtualTable | ( | std::string_view | moduleName, |
| std::string_view | className | ||
| ) |
Find className's primary vtable in loaded moduleName, or nullptr. It uses compiler metadata: MSVC RTTI on Windows (top-level, non-template classes only), and on Linux the Itanium _ZTV symbol, or the Itanium RTTI when the module hides that symbol.
Definition at line 18 of file VtableLookup.cpp.
References FindImage(), FindVirtualTableIn(), PlatformModuleName(), ReadFile(), and VoltMod::Log::Warn().
Referenced by HookSessionManifest().
| void * VoltMod::FindVirtualTableByTypeInfo | ( | std::span< const ScanRange > | ranges, |
| const void * | typeInfo, | ||
| intptr_t | offsetToTop | ||
| ) |
Find the single vtable with typeInfo and offsetToTop whose first slot holds code. Returns nullptr when no candidate exists or the metadata is ambiguous.
Definition at line 260 of file VtableLookup.cpp.
References FindWords(), IsExecutableAddress(), ReadFile(), and ReadWord().
Referenced by FindBaseIn().
| void * VoltMod::FindVirtualTableByTypeName | ( | std::span< const ScanRange > | ranges, |
| std::string_view | className | ||
| ) |
Definition at line 77 of file VtableLookup.cpp.
References FindWords(), IsExecutableAddress(), LengthPrefixedName(), ReadFile(), and ReadWord().
Referenced by FindVirtualTableIn().
Definition at line 129 of file VtableLookup.linux.cpp.
References FindSymbolValue(), FindVirtualTableByTypeName(), LengthPrefixedName(), RangesOf(), and ReadFile().
Referenced by FindBaseIn(), FindVirtualTable(), RttiOf(), and VoltMod::ModuleSymbols::Table().
Definition at line 139 of file VtableLookup.windows.cpp.
References PrimaryLocator(), ReadFile(), and TableAfter().
Referenced by RttiOf().
|
static |
Definition at line 54 of file VtableLookup.cpp.
References ReadFile(), and ReadWord().
Referenced by FindVirtualTableByTypeInfo(), and FindVirtualTableByTypeName().
|
static |
Definition at line 61 of file Entity.cpp.
References ReadFile().
Referenced by VoltMod::Entity::AcceptInput(), and VoltMod::Entity::SetScale().
|
static |
Definition at line 15 of file Translations.cpp.
References FlattenInto(), and ReadFile().
Referenced by FlattenInto(), and VoltMod::Translations::Load().
|
static |
Definition at line 56 of file CenterHtmlRender.cpp.
References ReadFile(), and VoltMod::Theme::WarmGray.
Referenced by RenderFooter().
|
static |
Byte frequencies are stable for a mapped module, so cache them by base address. Count explicit scan ranges because a Linux module's overall span may include unmapped gaps.
Definition at line 30 of file SigScanner.cpp.
References CountBytes(), and ReadFile().
Referenced by FindPatternEx().
| std::string_view VoltMod::GameBuild | ( | ) |
steam.inf's ServerVersion, or "unknown"; read once per process.
Definition at line 10 of file GameBuild.cpp.
References ReadAllText(), ReadFile(), and VoltMod::Strings::Trim().
Referenced by VoltMod::GameDataScanner::LogSummary(), VoltMod::Schema::VerifySchemaLayout(), WriteGameDataRecord(), and VoltMod::Schema::WriteSchemaDump().
|
static |
csgo/addons/voltmod/bin/<platform>/ holds this module, so csgo is four directories up.
Definition at line 46 of file Loader.cpp.
References OwnPath(), and ReadFile().
Referenced by LoadNextServer().
|
static |
Definition at line 9 of file Rounds.cpp.
References VoltMod::Schema::CCSGameRulesProxy::GameRules(), and ReadFile().
Referenced by VoltMod::Rounds::End(), VoltMod::Rounds::SetTime(), and VoltMod::Rounds::TimeLeft().
| std::vector< std::string > VoltMod::GameSearchPaths | ( | std::string_view | gameinfo | ) |
The Game values under SearchPaths in a gameinfo.gi, in file order.
Other keys (Game_LowViolence, Mod...), comments, quotes and trailing conditions are dropped. The values are relative to the game directory.
Definition at line 36 of file GameSearchPaths.cpp.
References NextWord(), ReadFile(), and SameKey().
Referenced by LoadNextServer().
|
static |
Definition at line 150 of file VtableLookup.cpp.
References IsReadableAddress(), LooksLikeTypeInfo(), ReadFile(), ReadWord(), and TypeInfoBase.
Referenced by CollectBases().
| Result< Subscription > VoltMod::HookFunction | ( | std::string_view | name, |
| const Fn< Ret(Object *, Args...)> & | function, | ||
| Before && | before, | ||
| After && | after = nullptr |
||
| ) |
Hook a signature-bound function at its entry.
Use this for functions without a vtable slot. The hook affects every caller of the matched code, including callers from other classes that share it.
| name | Names the hook in the log and in any error. |
| function | The binding; its first parameter is the object the function runs on. |
| before | Handler invoked before the engine call, or nullptr. |
| after | Handler invoked after the engine call, or nullptr. |
Definition at line 200 of file Hook.hpp.
References VoltMod::Log::Info(), Installed(), ReadFile(), VoltMod::Internal::ToSubscription(), and VoltMod::Error::Unsupported().
| Subscription VoltMod::HookInterface | ( | Ret(Iface::*)(Args...) | method, |
| Iface * | instance, | ||
| Before && | before, | ||
| After && | after = nullptr |
||
| ) |
Hook one virtual method of an engine interface for a subscription's lifetime.
Only instance is hooked, even when other objects share its vtable. Pass nullptr for an unused handler. A before-handler that only observes returns nothing.
Definition at line 142 of file Hook.hpp.
References Installed(), ReadFile(), and VoltMod::Internal::ToSubscription().
Referenced by VoltMod::EngineHooks::EngineHooks().
|
static |
Hand every map's resource manifest to the plugins. The game rules system is in every session.
Definition at line 67 of file EngineHooks.cpp.
References FindVirtualTable(), HookVirtual(), and ReadFile().
Referenced by VoltMod::EngineHooks::EngineHooks().
|
static |
Definition at line 12 of file Teleport.cpp.
References HookVirtual(), IsValidSlot(), ReadFile(), and VoltMod::Pawn::Slot().
Referenced by VoltMod::Teleport::Teleport().
| Result< Subscription > VoltMod::HookVirtual | ( | std::string_view | name, |
| const VirtualFn< Ret(Object *, Args...)> & | function, | ||
| Before && | before, | ||
| After && | after = nullptr |
||
| ) |
Hook a gamedata-bound virtual function on objects sharing its class vtable.
The hook catches calls through that table only, even when its slot code is shared by other classes.
| name | Names the hook in the log and in any error. |
| function | Gamedata-resolved slot and class table. Its first parameter is the object. |
| before | Handler invoked before the engine call, or nullptr. |
| after | Handler invoked after the engine call, or nullptr. |
Definition at line 168 of file Hook.hpp.
References VoltMod::Log::Info(), Installed(), ReadFile(), VoltMod::Internal::ToSubscription(), and VoltMod::Error::Unsupported().
Referenced by HookSessionManifest(), and HookTeleport().
|
static |
Definition at line 44 of file Messages.cpp.
References Alert, Center, and ReadFile().
Referenced by VoltMod::Messages::Broadcast(), and VoltMod::Messages::Send().
| int64_t VoltMod::Insert | ( | Conn & | conn, |
| const Statement & | insert, | ||
| std::string_view | table, | ||
| std::string_view | key = "id" |
||
| ) |
Insert one row and return its generated id. Postgres reads the <table>_<key>_seq sequence of a SERIAL column; the other drivers report it on the insert result.
Definition at line 39 of file Connection.hpp.
References ReadFile().
|
static |
Definition at line 45 of file PluginLoader.cpp.
References VoltMod::InstalledPlugins::Discover(), and ResolvePath().
Referenced by HookFunction(), HookInterface(), HookVirtual(), and VoltMod::PluginLoader::LoadAll().
Whether address lies in committed, executable memory.
This accepts hook trampolines allocated outside a module while rejecting vtable slots that point at data, such as RTTI, strings, or the tail of a shorter table.
Definition at line 174 of file SigScanner.cpp.
References QueryRegion(), and ReadFile().
Referenced by FindVirtualTableByTypeInfo(), and FindVirtualTableByTypeName().
Definition at line 110 of file VtableLookup.cpp.
References IsReadableAddress(), ReadFile(), and ReadWord().
Definition at line 147 of file Entity.cpp.
References ReadFile().
Referenced by VoltMod::Entity::SetModel(), and VoltMod::Entity::SetRender().
| bool VoltMod::IsOpen | ( | const AnyConnection & | connection | ) |
Definition at line 108 of file OpenConnection.cpp.
References ReadFile().
True for the two teams that play a round.
Definition at line 18 of file Team.hpp.
References CT, ReadFile(), and T.
Referenced by VoltMod::Controller::ChangeTeam(), VoltMod::Visibility::HideFromTeam(), VoltMod::GlowVision::Refresh(), and VoltMod::Visibility::ShowOnlyToTeam().
Whether the complete span [address, address + bytes) is readable in one mapping.
Use this before dereferencing untrusted object bytes. Calling IsExecutableAddress on p[0] is already too late because evaluating p[0] performs the unsafe read.
Definition at line 185 of file SigScanner.cpp.
References QueryRegion(), and ReadFile().
Referenced by BaseCount(), HasSingleBase(), IsInstanceOf(), LooksLikeTypeInfo(), NameIs(), and VirtualIndex().
True when item is one a player may act on right now: it describes itself as both enabled and selectable. A cursor lands only on these, and only these activate.
Definition at line 128 of file MenuModel.hpp.
References VoltMod::MenuRow::Enabled, and ReadFile().
Referenced by VoltMod::MenuStack::Activate(), and CursorRowsFor().
|
static |
Definition at line 9 of file MenuCursor.cpp.
References ReadFile().
Referenced by VoltMod::MenuCursor::First(), VoltMod::MenuCursor::JumpPage(), and VoltMod::MenuCursor::Step().
True if slot is a valid player-slot index.
Definition at line 13 of file Slot.hpp.
References MaxPlayers, and ReadFile().
Referenced by VoltMod::MenuStack::Activate(), VoltMod::PendingConVarQueries::Add(), VoltMod::PendingCommit::Apply(), VoltMod::ChatInput::BeginCapture(), VoltMod::MenuStack::Breadcrumb(), VoltMod::ChatInput::CancelCapture(), VoltMod::PanoramaMenu::CanShow(), VoltMod::MenuStack::Clear(), VoltMod::PendingConVarQueries::Clear(), VoltMod::MenuFreeze::Close(), VoltMod::CenterHtmlMenu::Close(), VoltMod::CenterHtmlMenu::CloseAll(), VoltMod::PendingConVarQueries::Count(), VoltMod::MenuStack::Current(), VoltMod::MenuStack::Depth(), VoltMod::PendingCommit::Drop(), VoltMod::EngineHooks::EngineHooks(), VoltMod::ScreenEntity::EnsureSpawned(), VoltMod::Controller::ExecuteCommand(), VoltMod::PlayerScreens::Find(), VoltMod::PendingConVarQueries::Find(), VoltMod::PlayerScreens::For(), VoltMod::ScreenManager::ForPlayer(), VoltMod::GameEvents::GetClientLegacyListener(), VoltMod::NetChannels::GetNetInfo(), VoltMod::ChatInput::GetPrompt(), VoltMod::NetChannels::GetUserInfoCvar(), VoltMod::PendingCommit::Hold(), HookTeleport(), VoltMod::PendingCommit::Index(), VoltMod::ChatInput::IsCapturing(), VoltMod::PluginRegistry::IsConnected(), VoltMod::Visibility::IsPawnHidden(), VoltMod::WorkshopDownloads::IsReady(), VoltMod::LanguageTable::Language(), VoltMod::PendingConVarQueries::NextCookie(), VoltMod::GameEvents::On(), VoltMod::MenuFreeze::Open(), VoltMod::CenterHtmlMenu::Open(), VoltMod::CenterHtmlMenu::OpenSession(), VoltMod::PerSlot< T >::operator[](), VoltMod::PerSlot< T >::operator[](), OwnerSlot(), VoltMod::MenuStack::Pop(), VoltMod::MenuStack::PopToRoot(), VoltMod::PendingConVarQueries::Prune(), VoltMod::MenuStack::Push(), VoltMod::ClientConVars::Query(), VoltMod::PluginRegistry::RaiseClientConnected(), VoltMod::PluginRegistry::RaiseClientFullyConnected(), VoltMod::PerSlot< T >::Reset(), VoltMod::MenuStack::Root(), VoltMod::Messages::SendCenterHtml(), VoltMod::Visibility::SetControllerHidden(), VoltMod::LanguageTable::SetLanguage(), VoltMod::Visibility::SetPawnHidden(), VoltMod::CenterHtml::Show(), VoltMod::Visibility::ShowOnlyTo(), VoltMod::Pawn::Slot(), VoltMod::Vote::Start(), VoltMod::CenterHtml::Stop(), VoltMod::PendingConVarQueries::Take(), VoltMod::Vote::TryCastBallot(), VoltMod::ChatInput::TryConsume(), and VoltMod::Visibility::Visibility().
[A-Za-z_][A-Za-z0-9_]* - the table name is interpolated into SQL, so reject anything else.
Definition at line 25 of file Migrator.cpp.
References ReadFile().
Referenced by RunMigrations().
English text for the keys the framework itself emits, and each language's own name for a language picker. Translations::Get returns the raw key on a miss, so without this every plugin had to hand-copy all of them into every language file or players saw the literal string cmd.noPermission. A plugin's own file still wins - these are the floor, not an override.
Definition at line 42 of file Translations.cpp.
References ReadFile().
|
static |
Why the last OpenModule or FindExport failed.
Definition at line 43 of file SharedLibrary.cpp.
References ReadFile().
Referenced by LoadNextServer(), VoltMod::SharedLibrary::Open(), StartHost(), and VoltMod::SharedLibrary::Symbol().
| std::string VoltMod::LengthPrefixedName | ( | std::string_view | className | ) |
Definition at line 72 of file VtableLookup.cpp.
References ReadFile().
Referenced by FindBaseOffsetByTypeInfo(), FindVirtualTableByTypeName(), and FindVirtualTableIn().
|
static |
Definition at line 40 of file PluginLoader.cpp.
References LibrarySuffix, PluginFile(), and ResolvePath().
|
static |
Definition at line 20 of file Runtime.cpp.
References VoltMod::Internal::HostSubscription(), and ReadFile().
Referenced by VoltMod::Runtime::Runtime().
|
static |
Definition at line 32 of file Runtime.cpp.
References VoltMod::Internal::HostSubscription(), and ReadFile().
| TConfig VoltMod::LoadConfig | ( | Runtime & | runtime, |
| TConfig | config = {}, |
||
| const LoadConfigOptions & | options = {} |
||
| ) |
Load the plugin's settings, then its translations, and return config.
Meant for the App's Config member initializer, so every member below it is built with settings: ConfigManager Config = VoltMod::LoadConfig<ConfigManager>(Runtime);.
The required "Configuration" step reads the plugin's LoadConfigOptions::SettingsFile through TConfig::LoadSettings when available, otherwise Options::Load. A failure keeps the defaults, and the framework refuses the plugin before Load runs. Translation loading then applies plugin.locale and reads the plugin's translations directory when enabled.
Definition at line 35 of file LoadConfig.hpp.
|
static |
The first server library on the Game paths: Metamod's loader where it is installed, else the game's.
Definition at line 63 of file Loader.cpp.
References g_gameDir, g_start, VoltMod::LoaderHandoff::GameDir, GameDir(), GameSearchPaths(), LastError(), PlatformDir, ReadFile(), and ServerFile.
Referenced by FindNextFactory().
Definition at line 127 of file VtableLookup.cpp.
References IsReadableAddress(), ReadFile(), and ReadWord().
Referenced by BaseCount(), CollectBases(), FindBaseOffsetByTypeInfo(), and HasSingleBase().
| Log::Handler VoltMod::MakeConsoleHandler | ( | std::string | prefix | ) |
The default handler: tier0 ConColorMsg/Msg, one colour per level.
The returned handler owns a copy of prefix and reaches the engine, so it may only be invoked on the game thread - which is exactly the contract VoltMod::Log::Handler already states.
Definition at line 11 of file ConsoleLogger.cpp.
References Error, Info, ReadFile(), and Warn.
Referenced by VoltMod::Host::Start().
|
static |
Definition at line 32 of file Trace.cpp.
References MaskOf(), and ReadFile().
Referenced by VoltMod::Trace::Box(), and VoltMod::Trace::Line().
|
static |
Definition at line 54 of file OpenConnection.cpp.
References ParseSslMode(), ReadFile(), and TlsModes.
Referenced by OpenConnection().
|
static |
Definition at line 18 of file Trace.cpp.
References ReadFile(), Sight, SightMask, Surfaces, and SurfacesMask.
Referenced by MakeFilter().
|
static |
Whether pattern matches at at, which must have room for all of it.
Definition at line 68 of file BytePattern.cpp.
References ReadFile().
Referenced by FindFirst().
Pointer to the field of type T located offset bytes into base.
Definition at line 21 of file MemoryAccess.hpp.
References ReadFile(), and T.
The loaded module whose image holds address, without taking a reference to it.
Definition at line 27 of file Loader.windows.cpp.
References ReadFile().
Identifier of value, or an empty view when it is not a declared enumerator.
Definition at line 33 of file EnumNames.hpp.
Definition at line 143 of file VtableLookup.cpp.
References IsReadableAddress(), ReadFile(), and ReadWord().
Referenced by CollectBases().
|
static |
Definition at line 62 of file Trace.cpp.
References ReadFile().
Referenced by VoltMod::Trace::Box(), and VoltMod::Trace::Line().
|
static |
Take the next bare or quoted word off the front of line.
Definition at line 19 of file GameSearchPaths.cpp.
References Blank, and ReadFile().
Referenced by GameSearchPaths().
Definition at line 15 of file Rounds.cpp.
References VoltMod::Error::NotReady().
Referenced by VoltMod::Rounds::End(), and VoltMod::Rounds::SetTime().
Definition at line 10 of file LayoutPath.cpp.
References VoltMod::Error::Invalid(), and ReadFile().
Referenced by VoltMod::LayoutPath::Parse().
|
static |
Definition at line 54 of file Visibility.cpp.
References VoltMod::Pawn::Controller(), VoltMod::Controller::InputPawn(), and ReadFile().
Referenced by VoltMod::Visibility::OnCheckTransmit().
|
static |
Definition at line 153 of file Loader.cpp.
References VoltMod::LoaderHandoff::EngineFactory, g_connect, g_start, and ReadFile().
Referenced by Patch().
Definition at line 181 of file Loader.cpp.
References g_disconnect, ReadFile(), and StopHost().
Referenced by Patch().
|
static |
Definition at line 159 of file Loader.cpp.
References g_init, and StartHost().
Referenced by Patch().
Definition at line 174 of file Loader.cpp.
References g_shutdown, and StopHost().
Referenced by Patch().
| void VoltMod::OpenConnection | ( | AnyConnection & | connection, |
| Driver | driver, | ||
| const DatabaseConfig & | config | ||
| ) |
Opens a driver connection into connection. Throws what the driver throws, whose text can hold the password.
Definition at line 124 of file OpenConnection.cpp.
References InMemory, MariaDb, MariaDbSettings(), Postgres, PostgresSettings(), ReadFile(), Sqlite, and SqliteSettings().
Definition at line 49 of file SharedLibrary.cpp.
References ReadFile().
Referenced by VoltMod::SharedLibrary::Open().
Null on failure, with the reason in LastError.
Definition at line 8 of file Loader.linux.cpp.
References ReadFile().
Referenced by StartHost().
|
constexpr |
Definition at line 18 of file GameDataLocation.hpp.
References ReadFile().
The other playing team; Team::None for a team that does not play.
Definition at line 24 of file Team.hpp.
References CT, None, ReadFile(), and T.
Referenced by VoltMod::Pawn::GiveItem().
Whether every optional argument in A trails the required ones.
Definition at line 239 of file Args.hpp.
References ReadFile().
|
static |
Definition at line 64 of file GameDataScanner.cpp.
References ReadFile().
The slot of the player whose pawn owns movementServices, or -1.
Definition at line 16 of file PlayerCommands.cpp.
References VoltMod::Schema::CBasePlayerPawn::ControllerRef(), IsValidSlot(), VoltMod::Schema::CPlayer_MovementServices::OwnerEntity(), and ReadFile().
| std::filesystem::path VoltMod::OwnPath | ( | ) |
This module's own file.
Definition at line 24 of file Loader.linux.cpp.
References ReadFile().
Referenced by GameDir(), and StartHost().
Returns the number of pages needed for items, with at least one page.
Definition at line 14 of file MenuModel.hpp.
References ReadFile().
Referenced by VoltMod::MenuCursor::JumpPage(), and RenderMenuHtml().
The enumerator spelled name, or nullopt.
Case-insensitive: enumerators are PascalCase, but the text being parsed is almost always a lowercase config value ("observe", "grants"), and a case-sensitive match would send every such call back to a hand-written chain. Pair it with value_or to supply the fallback.
Definition at line 46 of file EnumNames.hpp.
| std::vector< uint64_t > VoltMod::ParseAddonList | ( | std::string_view | field | ) |
Split a join message's comma-separated addons field, skipping malformed entries.
Definition at line 226 of file DownloadQueue.cpp.
References ParseUInt64(), ReadFile(), and SplitAddonList().
Referenced by AppendToAddonList(), and VoltMod::DownloadQueue::DecideJoinMessage().
|
inline |
Parse a config driver value ("postgres", "mariadb", "sqlite"); nullopt for anything else.
Definition at line 21 of file Driver.hpp.
References ReadFile().
Referenced by CheckConfig().
| int VoltMod::ParseDuration | ( | std::string_view | text | ) |
Parse a human duration string into seconds. Accepts a bare integer (seconds) or an integer with a unit suffix: s seconds, m minutes, h hours, d days, w weeks (case-insensitive). The literals 0, perm, and permanent mean "permanent" (returns 0). Surrounding whitespace is ignored. This is the single canonical duration grammar; Time::ParseDuration delegates here. Returns -1 on parse failure or int overflow, 0 for permanent, otherwise seconds.
Definition at line 35 of file Strings.cpp.
References ReadFile().
Referenced by BindDuration(), BuildDurationMenu(), and VoltMod::Validation::ParseDurations().
| std::optional< int64_t > VoltMod::ParseInt64 | ( | std::string_view | text | ) |
text as an int64_t, or nullopt unless it is entirely digits (with an optional sign).
Definition at line 13 of file Strings.cpp.
References ReadFile().
Referenced by BindInt(), BindPlayerOrSteamId(), BindSteamId(), and ParseTargetToken().
|
inline |
Leading NNNN version of a migration filename, or nullopt when it has none.
Definition at line 40 of file Migrator.hpp.
References ReadFile().
Referenced by RunMigrations().
| std::vector< PatternByte > VoltMod::ParsePattern | ( | const std::string & | pattern | ) |
Parse a pattern like 48 8B ? ? 05 into bytes and wildcards.
?. That is reported here and leaves the caller dropping the signature, rather than searching for something the author did not write. Definition at line 11 of file BytePattern.cpp.
References VoltMod::Log::Error(), and ReadFile().
Referenced by FindPatternEx().
|
static |
Definition at line 35 of file OpenConnection.cpp.
References VoltMod::SslModeName::Name, ReadFile(), and SslModes.
Referenced by CheckConfig(), MariaDbSettings(), and PostgresSettings().
| TargetQuery VoltMod::ParseTargetToken | ( | std::string_view | token | ) |
Definition at line 11 of file Targeting.cpp.
References CT, VoltMod::SteamId::FromSteamId(), VoltMod::SteamId::FromSteamId3(), VoltMod::SteamId::IsValid(), ParseInt64(), ReadFile(), Spectator, VoltMod::Strings::StartsWith(), T, and VoltMod::Strings::ToLower().
Referenced by VoltMod::EngineArgBinder::Resolve().
| std::optional< uint64_t > VoltMod::ParseUInt64 | ( | std::string_view | text | ) |
text as a uint64_t, or nullopt unless it is entirely digits. A leading - is rejected rather than wrapped, which is the whole reason this is not ParseInt64 with a cast.
Definition at line 24 of file Strings.cpp.
References ReadFile().
Referenced by BindU64(), ParseAddonList(), and RemoveFromAddonList().
Definition at line 189 of file Loader.cpp.
References FactoryAt(), g_connect, g_disconnect, g_init, g_shutdown, g_start, OnConnect(), OnDisconnect(), OnInit(), OnShutdown(), ReadFile(), VoltMod::LoaderHandoff::ServerFactory, and SwapSlot().
|
static |
Worker thread: touches nothing but the request.
Definition at line 32 of file HttpClient.cpp.
References Delete, Get, Patch, Post, Put, ReadFile(), and ToResult().
Referenced by VoltMod::HttpClient::Requests::Work().
Definition at line 80 of file GameDataDocument.hpp.
References ReadFile().
Referenced by ColumnValue().
| std::string VoltMod::PlatformModuleName | ( | std::string_view | moduleName | ) |
Definition at line 49 of file SigScanner.cpp.
References ReadFile().
Referenced by FindImage(), FindPatternEx(), FindVirtualTable(), and VoltMod::Schema::ServerScope().
| std::string VoltMod::PluginDir | ( | std::string_view | plugin | ) |
"addons/voltmod/plugins/<plugin>". Pure string building, so safe at static init.
Definition at line 20 of file Paths.cpp.
References ReadFile().
Referenced by PluginFile().
| std::string VoltMod::PluginFile | ( | std::string_view | plugin, |
| std::string_view | relative | ||
| ) |
"addons/voltmod/plugins/<plugin>/<relative>".
Definition at line 25 of file Paths.cpp.
References PluginDir(), and ReadFile().
Referenced by LibraryPath(), VoltMod::ServerAssets::Mount(), and VoltMod::Runtime::PluginFile().
|
static |
Definition at line 41 of file OpenConnection.cpp.
References ParseSslMode(), and ReadFile().
Referenced by OpenConnection().
| bool VoltMod::PostUserMessage | ( | Interfaces & | interfaces, |
| INetworkMessageInternal *& | cached, | ||
| std::string_view | partialName, | ||
| IRecipientFilter & | filter, | ||
| const std::function< bool(CNetMessage *)> & | fill | ||
| ) |
Send one user message: resolve its type, allocate it, let fill populate it, post it to filter, and deallocate it.
The deallocate has to pair with the allocate on every exit path, including the one where the protobuf cast fails. Getting that wrong leaks a net message per send, which is why every sender goes through here instead of repeating the sequence.
| cached | the caller's cache of the resolved message type, filled on the first call. Message types are stable for the process, so this is resolved once per sender. |
| partialName | matched with FindNetworkMessagePartial, e.g. "TextMsg" or "VoteStart". Partial rather than exact because a registered message is named with its id appended ("CUserMessageTextMsg [124]"), so INetworkMessages::FindNetworkMessage matches nothing at all - there is no name a caller could pass it that would. |
| fill | returns false to abandon the send; the message is still deallocated. |
Definition at line 12 of file NetMessage.cpp.
References ReadFile().
Referenced by VoltMod::Messages::Shake().
|
static |
Definition at line 133 of file VtableLookup.windows.cpp.
References FindLocator(), FindTypeDescriptor(), and ReadFile().
Referenced by FindBaseInRtti(), and FindVirtualTableInRtti().
| const ProtoFieldDescriptor * VoltMod::ProtoField | ( | const ProtoMessage & | message, |
| std::string_view | name | ||
| ) |
Descriptor for name, or nullptr when the field is absent.
Definition at line 8 of file ProtoReflect.cpp.
References ReadFile().
Referenced by VoteField().
|
static |
Definition at line 134 of file SigScanner.cpp.
References VoltMod::MemoryRegion::End, and ReadFile().
Referenced by IsExecutableAddress(), and IsReadableAddress().
|
static |
Definition at line 11 of file PluginRegistry.cpp.
References ReadFile().
Referenced by VoltMod::PluginRegistry::RaisePlayerCommand(), and VoltMod::PluginRegistry::RaisePlayerCommandDone().
| std::size_t VoltMod::RandomIndex | ( | std::size_t | count | ) |
A uniformly random index in [0, count), or 0 when count is 0.
The framework's single source of randomness, so features that need a random pick (@random targeting, a random menu entry) do not each seed their own generator - or fall back to something like the tick counter, which repeats within a frame.
Game-thread only; the generator is not synchronised.
Definition at line 7 of file Random.cpp.
References ReadFile().
Referenced by VoltMod::EngineArgBinder::Resolve().
Definition at line 122 of file VtableLookup.linux.cpp.
References FindModuleAndRanges(), and ReadFile().
Referenced by FindBaseIn(), and FindVirtualTableIn().
| Result< std::string > VoltMod::ReadAllText | ( | std::string_view | path | ) |
Read path (resolved via ResolvePath) into a string.
Binary mode: the bytes reach the caller exactly as written, so no text-mode line-ending translation can alter an offset or split a UTF-8 sequence.
Definition at line 12 of file File.cpp.
References VoltMod::Error::NotFound(), ReadFile(), and ResolvePath().
Referenced by VoltMod::ConVars::ExecuteFile(), GameBuild(), VoltMod::Translations::Load(), VoltMod::Json::ReadFile(), and RunMigrations().
Definition at line 50 of file VtableLookup.windows.cpp.
References ReadFile(), and T.
Read the value of type T located offset bytes into base.
Definition at line 28 of file MemoryAccess.hpp.
References ReadFile().
|
static |
Definition at line 56 of file Loader.cpp.
References ReadFile().
Referenced by VoltMod::LoadReport::AbortReason(), VoltMod::Schema::CGameSceneNode::AbsOrigin(), VoltMod::Schema::CGameSceneNode::AbsRotation(), VoltMod::Schema::CBaseEntity::AbsVelocity(), VoltMod::Schema::CVoteController::AcceptingVotesTimer(), VoltMod::Entity::AcceptInput(), VoltMod::Schema::CCSPlayerController_InGameMoneyServices::Account(), VoltMod::Schema::CCSPlayerController::ActionTrackingServices(), VoltMod::MenuStack::Activate(), VoltMod::Schema::CVoteController::ActiveIssueIndex(), VoltMod::Schema::CPlayer_WeaponServices::ActiveWeapon(), VoltMod::Schema::CBaseEntity::ActualMoveType(), VoltMod::CommandRouter::Add(), VoltMod::MenuBuilder::Add(), VoltMod::DecayingScore::Add(), VoltMod::PendingConVarQueries::Add(), VoltMod::PlayerManager::Add(), VoltMod::MenuBuilder::Add(), VoltMod::CommandManager::Add(), VoltMod::Subscriptions::Add(), VoltMod::CallbackRegistry< T >::Add(), VoltMod::MultiAddonManager::Add(), VoltMod::PluginContext::Add(), VoltMod::WorkshopDownloads::Add(), VoltMod::DownloadQueue::Add(), VoltMod::CallbackList< Fn >::Add(), VoltMod::HttpRequest::AddAuth(), VoltMod::Flow< TState >::AddDurationStep(), AddHandleVector(), AddIndex(), AddonList(), VoltMod::Flow< TState >::AddOptionsStep(), VoltMod::CallbackRegistry< T >::AddOwned(), VoltMod::MultiRecipientFilter::AddRecipient(), VoltMod::PanoramaMenuLayout::AddText(), AdmitClient(), VoltMod::Movement::AfterCommand(), VoltMod::Schema::CCSPlayerPawn::AimPunchServices(), VoltMod::CommandBuilder::Alias(), AnchorOf(), VoltMod::Entity::Angles(), AngleToForward(), VoltMod::MenuStack::AnyOpen(), AppendPlayerRows(), AppendToAddonList(), VoltMod::Damage::Apply(), VoltMod::PendingCommit::Apply(), VoltMod::ChoiceState::Apply(), ApplyMigration(), ArgKindsMatchOrder(), VoltMod::Schema::CCSPlayerPawn::ArmorValue(), AsProto(), VoltMod::CharBuf< N >::Assign(), VoltMod::MappedFile::At(), AtRva(), VoltMod::Internal::PluginModule::Attach(), VoltMod::Policy::Authorize(), VoltMod::Policy::AuthorizeSteamId(), VoltMod::ScreenManager::Available(), VoltMod::ModuleSymbols::Base(), BaseCount(), BaseName(), VoltMod::Movement::BeforeCommand(), VoltMod::ChatInput::BeginCapture(), VoltMod::Bindings::Bind(), BindArgs(), BindDuration(), BindInt(), BindPlayerOrSteamId(), BindSteamId(), BindTarget(), BindTargets(), BindU64(), VoltMod::Schema::CBaseEntity::BodyComponent(), VoltMod::Trace::Box(), VoltMod::MenuStack::Breadcrumb(), VoltMod::Messages::Broadcast(), VoltMod::Messages::BroadcastKey(), BuildConfirmMenu(), BuildDurationMenu(), VoltMod::StatusService::BuildJson(), VoltMod::StatusService::BuildText(), VoltMod::MenuBuilder::Button(), VoltMod::PanoramaMenuLayout::ButtonFor(), VoltMod::ButtonPresses::ButtonPresses(), VoltMod::Controller::Buttons(), VoltMod::Schema::CPlayer_MovementServices::Buttons(), VoltMod::Schema::CInButtonState::ButtonStates(), VoltMod::PlayerManager::BySteamId(), VoltMod::Internal::HostCallback< Member >::Call(), CallOriginal(), VoltMod::Schema::CBasePlayerPawn::CameraServices(), VoltMod::ChatInput::CancelCapture(), VoltMod::PanoramaMenu::CanShow(), VoltMod::WriteCache::Changed(), VoltMod::Map::ChangeLevel(), VoltMod::Controller::ChangeTeam(), VoltMod::Map::ChangeToWorkshop(), VoltMod::CharBuf< N >::CharBuf(), VoltMod::CharBuf< N >::CharBuf(), VoltMod::ChatInput::ChatInput(), CheckConfig(), VoltMod::Internal::ChoiceItem(), VoltMod::Schema::CCSPlayerController::Clan(), VoltMod::Schema::CCSCustomHudLayout::ClassNames(), VoltMod::CallbackRegistry< T >::Clear(), VoltMod::GameThreadQueue::Clear(), VoltMod::PlayerManager::Clear(), VoltMod::Trace::Clear(), VoltMod::MenuStack::Clear(), VoltMod::PendingConVarQueries::Clear(), VoltMod::PendingConVarQueries::ClearAll(), VoltMod::Messages::ClearCenterHtml(), ClientAddress(), VoltMod::ClientConVars::ClientConVars(), VoltMod::Internal::ClientLanguage::ClientLanguage(), VoltMod::DownloadQueue::ClientLeft(), VoltMod::GameEvents::ClientListensTo(), VoltMod::DownloadQueue::ClientMountList(), VoltMod::DownloadQueue::ClientReconnected(), ClientSlot(), VoltMod::MenuFreeze::Close(), VoltMod::CenterHtmlMenu::Close(), VoltMod::MenuRouter::Close(), VoltMod::PanoramaMenu::Close(), VoltMod::CenterHtmlMenu::CloseAll(), VoltMod::MenuRouter::CloseAll(), VoltMod::PanoramaMenu::CloseAll(), VoltMod::CenterHtmlMenu::CloseAll(), VoltMod::MenuRouter::CloseAll(), VoltMod::PanoramaMenu::CloseAll(), CloseLibrary(), VoltMod::Internal::CodeFor(), CollectBases(), CollectHiddenPlayer(), ColumnValue(), VoltMod::ServerCommand::Impl::CommandCallback(), VoltMod::HttpClient::Requests::Complete(), VoltMod::Schema::ComponentOwner(), VoltMod::Flow< TState >::Confirm(), VoltMod::Database::Connect(), VoltMod::Image::Contains(), VoltMod::Strings::ContainsIgnoreCase(), VoltMod::Controller::Controller(), VoltMod::EntitySystem::Controller(), VoltMod::Schema::CBasePlayerPawn::ControllerRef(), VoltMod::Schema::CParticleSystem::ControlPointRef(), VoltMod::ConVarRawScope< T >::ConVarRawScope(), VoltMod::Strings::CopyToBuffer(), VoltMod::PendingConVarQueries::Count(), CountBytes(), VoltMod::Flow< TState >::Create(), VoltMod::EntitySystem::Create(), VoltMod::GameEvents::CreateEvent(), VoltMod::Visibility::CreateGlow(), VoltMod::Visibility::CreateGlow(), VoltMod::MenuStack::Current(), VoltMod::WriteCache::CursorChanged(), CursorRowsFor(), VoltMod::DownloadQueue::DecideJoinMessage(), VoltMod::PluginLoader::Defer(), VoltMod::Scheduler::Delay(), VoltMod::Log::DeliverPending(), VoltMod::Error::Denied(), VoltMod::MenuStack::Depth(), VoltMod::MenuStack::Describe(), VoltMod::CommandBuilder::Describe(), VoltMod::Schema::DescribeClass(), VoltMod::Schema::DescribeEnum(), VoltMod::Schema::DescribeType(), VoltMod::GlowVision::Destroy(), VoltMod::KeyValues::Detach(), VoltMod::Schema::CCSCustomHudLayout::DialogVariableNames(), VoltMod::Database::Disconnect(), VoltMod::PluginContext::DisconnectClients(), VoltMod::InstalledPlugins::Discover(), VoltMod::CommandRouter::Dispatch(), VoltMod::CallbackRegistry< T >::Dispatch(), VoltMod::CallbackList< Fn >::Dispatch(), VoltMod::CallbackRegistry< T >::DispatchIf(), VoltMod::CallbackList< Fn >::DispatchTo(), VoltMod::Strings::DisplayNameOr(), DlIterateCallback(), VoltMod::KHookForwarder::DoRecall(), VoltMod::PendingCommit::Drop(), VoltMod::Schema::CCSPlayer_MovementServices::DuckAmount(), VoltMod::Schema::CCSPlayer_MovementServices::Ducked(), VoltMod::Schema::CCSPlayer_MovementServices::DuckOverride(), VoltMod::Schema::DumpedBuild(), VoltMod::Log::Emit(), VoltMod::Entity::EmitSound(), VoltMod::Entity::EmitSound(), VoltMod::MenuBuilder::EmptyText(), VoltMod::MenuFreeze::Enable(), End(), VoltMod::Rounds::End(), VoltMod::Vote::End(), VoltMod::Schema::CBeam::EndPos(), VoltMod::Schema::CBeam::EndWidth(), VoltMod::Error::Engine(), VoltMod::EngineHooks::EngineHooks(), VoltMod::NetChannels::EngineLatency(), EnsureColorPrefix(), VoltMod::ScreenEntity::EnsureSpawned(), VoltMod::Schema::CCSPlayerPawn::EntitySpottedState(), EnumIndex(), VoltMod::Log::Error(), VoltMod::Strings::EscapeHtml(), VoltMod::Scheduler::EveryFrame(), VoltMod::Controller::ExecuteCommand(), VoltMod::Schema::CVoteController::ExecuteCommandTimer(), VoltMod::ConVars::ExecuteFile(), VoltMod::ConVars::ExecuteServerCommand(), ExportedTypeInfoKinds(), VoltMod::Schema::CCSPlayerPawn::EyeAngles(), FactoryAt(), VoltMod::Caller::Fail(), VoltMod::Error::Failed(), FailureLine(), VoltMod::Validation::FallbackIfEmpty(), VoltMod::Validation::FallbackIfEmpty(), FilterClient(), FilterPlayers(), FilterTextMessage(), VoltMod::Validation::FilterValid(), Find(), VoltMod::PlayerScreens::Find(), VoltMod::PendingConVarQueries::Find(), VoltMod::EntitySystem::Find(), VoltMod::GameDataScanner::Find(), VoltMod::ConVars::Find(), VoltMod::CommandRouter::Find(), VoltMod::PublishedInterfaces::Find(), VoltMod::CallbackRegistry< T >::Find(), VoltMod::EntitySystem::FindAll(), FindBaseIn(), FindBaseInRtti(), FindBaseOffsetByTypeInfo(), FindBinding(), FindExport(), VoltMod::Schema::FindField(), FindFirst(), FindImage(), FindLocator(), FindModuleAndRanges(), FindNextFactory(), FindOptional(), VoltMod::KHookForwarder::FindOriginal(), VoltMod::KHookForwarder::FindOriginalVirtual(), FindPatternEx(), VoltMod::PluginRegistry::FindPlugin(), FindScriptBinding(), FindSection(), FindSymbolValue(), FindTypeDescriptor(), FindValue(), FindVirtualTable(), FindVirtualTableByTypeInfo(), FindVirtualTableByTypeName(), FindVirtualTableIn(), FindVirtualTableInRtti(), FindWords(), VoltMod::Flow< TState >::Finish(), VoltMod::GameEvents::FireEvent(), VoltMod::GameEvents::FireGameEvent(), FireInput(), VoltMod::MenuCursor::First(), VoltMod::Schema::CBaseEntity::Flags(), VoltMod::Schema::CCSPlayerPawnBase::FlashDuration(), VoltMod::Schema::CCSPlayerPawnBase::FlashMaxAlpha(), FlattenInto(), FooterChunk(), VoltMod::PlayerScreens::For(), VoltMod::Time::FormatDuration(), VoltMod::Time::FormatDurationLabel(), VoltMod::Time::FormatExpiry(), VoltMod::Time::FormatTimestamp(), VoltMod::ScreenManager::ForPlayer(), VoltMod::GameEvents::FreeEvent(), FrequenciesOf(), VoltMod::ArgUnpack< T >::From(), VoltMod::ArgUnpack< Args::Opt< T > >::From(), VoltMod::BulletImpact::From(), VoltMod::AchievementEarned::From(), VoltMod::AchievementEarnedLocal::From(), VoltMod::AchievementEvent::From(), VoltMod::AddBulletHitMarker::From(), VoltMod::AddPlayerSonarIcon::From(), VoltMod::AmmoPickup::From(), VoltMod::AmmoRefill::From(), VoltMod::BombAbortdefuse::From(), VoltMod::BombAbortplant::From(), VoltMod::BombBeep::From(), VoltMod::BombBegindefuse::From(), VoltMod::BombBeginplant::From(), VoltMod::BombDefused::From(), VoltMod::BombDropped::From(), VoltMod::BombExploded::From(), VoltMod::BombPlanted::From(), VoltMod::BonusUpdated::From(), VoltMod::BotTakeover::From(), VoltMod::BreakBreakable::From(), VoltMod::BreakProp::From(), VoltMod::BrokenBreakable::From(), VoltMod::BulletDamage::From(), VoltMod::BuymenuClose::From(), VoltMod::ChoppersIncomingWarning::From(), VoltMod::ClientsideLessonClosed::From(), VoltMod::ClientsideReloadCustomEcon::From(), VoltMod::CsPrevNextSpectator::From(), VoltMod::CsWinPanelRound::From(), VoltMod::DecoyDetonate::From(), VoltMod::DecoyFiring::From(), VoltMod::DecoyStarted::From(), VoltMod::DefuserDropped::From(), VoltMod::DefuserPickup::From(), VoltMod::DemoSkip::From(), VoltMod::DifficultyChanged::From(), VoltMod::DmBonusWeaponStart::From(), VoltMod::DoorBreak::From(), VoltMod::DoorClose::From(), VoltMod::DoorClosed::From(), VoltMod::DoorMoving::From(), VoltMod::DoorOpen::From(), VoltMod::DroneAboveRoof::From(), VoltMod::DroneCargoDetached::From(), VoltMod::DroneDispatched::From(), VoltMod::DronegunAttack::From(), VoltMod::DzItemInteraction::From(), VoltMod::EnableRestartVoting::From(), VoltMod::EndmatchMapvoteSelectingMap::From(), VoltMod::EnterBombzone::From(), VoltMod::EnterBuyzone::From(), VoltMod::EnterRescueZone::From(), VoltMod::EntityKilled::From(), VoltMod::EntityVisible::From(), VoltMod::ExitBombzone::From(), VoltMod::ExitBuyzone::From(), VoltMod::ExitRescueZone::From(), VoltMod::FinaleStart::From(), VoltMod::FirstbombsIncomingWarning::From(), VoltMod::FlareIgniteNpc::From(), VoltMod::FlashbangDetonate::From(), VoltMod::GameEnd::From(), VoltMod::GameMessage::From(), VoltMod::GameNewmap::From(), VoltMod::GamePhaseChanged::From(), VoltMod::GameStart::From(), VoltMod::GgKilledEnemy::From(), VoltMod::GrenadeBounce::From(), VoltMod::GrenadeThrown::From(), VoltMod::HegrenadeDetonate::From(), VoltMod::HltvCameraman::From(), VoltMod::HltvChangedMode::From(), VoltMod::HltvChase::From(), VoltMod::HltvChat::From(), VoltMod::HltvFixed::From(), VoltMod::HltvMessage::From(), VoltMod::HltvRankCamera::From(), VoltMod::HltvRankEntity::From(), VoltMod::HltvReplay::From(), VoltMod::HltvReplayStatus::From(), VoltMod::HltvStatus::From(), VoltMod::HltvTitle::From(), VoltMod::HltvVersioninfo::From(), VoltMod::HostageCallForHelp::From(), VoltMod::HostageFollows::From(), VoltMod::HostageHurt::From(), VoltMod::HostageKilled::From(), VoltMod::HostageRescued::From(), VoltMod::HostageStopsFollowing::From(), VoltMod::HostnameChanged::From(), VoltMod::InfernoExpire::From(), VoltMod::InfernoExtinguish::From(), VoltMod::InfernoStartburn::From(), VoltMod::InspectWeapon::From(), VoltMod::InstructorCloseLesson::From(), VoltMod::InstructorServerHintCreate::From(), VoltMod::InstructorServerHintStop::From(), VoltMod::InstructorStartLesson::From(), VoltMod::ItemEquip::From(), VoltMod::ItemPickup::From(), VoltMod::ItemPickupFailed::From(), VoltMod::ItemPickupSlerp::From(), VoltMod::ItemPurchase::From(), VoltMod::ItemRemove::From(), VoltMod::JointeamFailed::From(), VoltMod::LootCrateOpened::From(), VoltMod::LootCrateVisible::From(), VoltMod::MatchEndConditions::From(), VoltMod::MolotovDetonate::From(), VoltMod::NavBlocked::From(), VoltMod::NextlevelChanged::From(), VoltMod::OpenCrateInstr::From(), VoltMod::OtherDeath::From(), VoltMod::ParachuteDeploy::From(), VoltMod::ParachutePickup::From(), VoltMod::PlayerActivate::From(), VoltMod::PlayerAvengedTeammate::From(), VoltMod::PlayerBlind::From(), VoltMod::PlayerChangename::From(), VoltMod::PlayerChat::From(), VoltMod::PlayerConnect::From(), VoltMod::PlayerConnectFull::From(), VoltMod::PlayerDeath::From(), VoltMod::PlayerDisconnect::From(), VoltMod::PlayerFalldamage::From(), VoltMod::PlayerFootstep::From(), VoltMod::PlayerFullUpdate::From(), VoltMod::PlayerGivenC4::From(), VoltMod::PlayerHintmessage::From(), VoltMod::PlayerHurt::From(), VoltMod::PlayerInfo::From(), VoltMod::PlayerJump::From(), VoltMod::PlayerPing::From(), VoltMod::PlayerPingStop::From(), VoltMod::PlayerRadio::From(), VoltMod::PlayerResetVote::From(), VoltMod::PlayerScore::From(), VoltMod::PlayerShoot::From(), VoltMod::PlayerSound::From(), VoltMod::PlayerSpawn::From(), VoltMod::PlayerSpawned::From(), VoltMod::PlayerStatsUpdated::From(), VoltMod::PlayerTeam::From(), VoltMod::RagdollDissolved::From(), VoltMod::ReadGameTitledata::From(), VoltMod::RepostXboxAchievements::From(), VoltMod::ResetGameTitledata::From(), VoltMod::RoundEnd::From(), VoltMod::RoundMvp::From(), VoltMod::RoundStart::From(), VoltMod::SeasoncoinLevelup::From(), VoltMod::ServerCvar::From(), VoltMod::ServerMessage::From(), VoltMod::ServerPreShutdown::From(), VoltMod::ServerShutdown::From(), VoltMod::ServerSpawn::From(), VoltMod::SetInstructorGroupEnabled::From(), VoltMod::Sfuievent::From(), VoltMod::ShowDeathpanel::From(), VoltMod::ShowSurvivalRespawnStatus::From(), VoltMod::SilencerDetach::From(), VoltMod::SilencerOff::From(), VoltMod::SilencerOn::From(), VoltMod::SmokeBeaconParadrop::From(), VoltMod::SmokegrenadeDetonate::From(), VoltMod::SmokegrenadeExpired::From(), VoltMod::SpecModeUpdated::From(), VoltMod::SpecTargetUpdated::From(), VoltMod::StartVote::From(), VoltMod::SurvivalAnnouncePhase::From(), VoltMod::SurvivalNoRespawnsFinal::From(), VoltMod::SurvivalNoRespawnsWarning::From(), VoltMod::SurvivalParadropBreak::From(), VoltMod::SurvivalParadropSpawn::From(), VoltMod::SurvivalTeammateRespawn::From(), VoltMod::SwitchTeam::From(), VoltMod::TagrenadeDetonate::From(), VoltMod::TeamInfo::From(), VoltMod::TeamScore::From(), VoltMod::TeamchangePending::From(), VoltMod::TeamplayBroadcastAudio::From(), VoltMod::TeamplayRoundStart::From(), VoltMod::TournamentReward::From(), VoltMod::TrialTimeExpired::From(), VoltMod::UgcFileDownloadFinished::From(), VoltMod::UgcFileDownloadStart::From(), VoltMod::UgcMapDownloadError::From(), VoltMod::UgcMapInfoReceived::From(), VoltMod::UgcMapUnsubscribed::From(), VoltMod::VipEscaped::From(), VoltMod::VipKilled::From(), VoltMod::VoteCast::From(), VoltMod::VoteCastNo::From(), VoltMod::VoteCastYes::From(), VoltMod::VoteChanged::From(), VoltMod::VoteFailed::From(), VoltMod::VoteOptions::From(), VoltMod::VotePassed::From(), VoltMod::VoteStarted::From(), VoltMod::WeaponFire::From(), VoltMod::WeaponFireOnEmpty::From(), VoltMod::WeaponReload::From(), VoltMod::WeaponZoom::From(), VoltMod::WeaponZoomRifle::From(), VoltMod::WeaponhudSelection::From(), VoltMod::WriteGameTitledata::From(), VoltMod::Trace::FromEyes(), VoltMod::SteamId::FromSteamId(), VoltMod::SteamId::FromSteamId3(), VoltMod::PendingConVarQueries::Full(), GameBuild(), VoltMod::GameDataScanner::GameDataScanner(), VoltMod::GameDataTable::GameDataTable(), GameDir(), VoltMod::GameEvents::GameEvents(), VoltMod::Schema::CCSGameRulesProxy::GameRules(), GameRules(), GameSearchPaths(), VoltMod::ConVar< T >::Get(), VoltMod::EntitySystem::Get(), VoltMod::PlayerManager::Get(), VoltMod::PlayerManager::Get(), VoltMod::ServiceExchange::Get(), VoltMod::Translations::Get(), VoltMod::Translations::Get(), VoltMod::Translations::Get(), VoltMod::Translations::Get(), VoltMod::SteamId::GetAccountId(), VoltMod::Translations::GetAvailableLanguages(), VoltMod::GameEvents::GetClientLegacyListener(), VoltMod::KHookForwarder::GetCurrentValuePtr(), VoltMod::Time::GetExpirationTime(), VoltMod::NetChannels::GetNetInfo(), VoltMod::SingleRecipientFilter::GetNetworkBufType(), VoltMod::MultiRecipientFilter::GetNetworkBufType(), VoltMod::Translations::GetOr(), VoltMod::SingleRecipientFilter::GetPredictedPlayerSlot(), VoltMod::MultiRecipientFilter::GetPredictedPlayerSlot(), VoltMod::ChatInput::GetPrompt(), VoltMod::NetChannels::GetUserInfoCvar(), VoltMod::Pawn::GiveItem(), VoltMod::Schema::CCSCustomHudLayout::GlobalLayoutState(), VoltMod::Pawn::Godmode(), VoltMod::Schema::CBaseEntity::GravityScale(), VoltMod::Schema::CBaseEntity::GroundEntity(), VoltMod::CommandManager::HandleChatMessage(), VoltMod::Schema::HashElements(), VoltMod::DownloadQueue::HasMissing(), HasSingleBase(), VoltMod::Pawn::Heal(), VoltMod::Schema::CBaseEntity::Health(), VoltMod::PanoramaMenuLayout::Hide(), VoltMod::Visibility::HideFromTeam(), VoltMod::Schema::CVoteController::HighestCountIndex(), HistoryTableDdl(), VoltMod::MovementFreeze::Hold(), VoltMod::PendingCommit::Hold(), VoltMod::Pawn::HoldFire(), HookFunction(), HookInterface(), HookSessionManifest(), HookTeleport(), HookVirtual(), VoltMod::Internal::HostSubscription(), HudDestination(), VoltMod::Error::Immune(), VoltMod::PendingCommit::Index(), VoltMod::Log::Info(), VoltMod::Schema::CCSPlayerController::InGameMoneyServices(), VoltMod::Schema::CCSCustomHudLayoutState::InputCaptureEnabled(), Insert(), VoltMod::StatusService::InstallCommand(), VoltMod::Error::Invalid(), VoltMod::WriteCache::Invalidate(), VoltMod::Pawn::IsAlive(), VoltMod::ChatInput::IsCapturing(), VoltMod::PluginRegistry::IsConnected(), IsExecutableAddress(), VoltMod::Time::IsExpired(), VoltMod::WriteCache::IsFirstFailure(), VoltMod::CommandManager::IsForeign(), IsInstanceOf(), IsModelEntity(), VoltMod::Strings::IsNumeric(), VoltMod::Pawn::IsOnGround(), IsOpen(), VoltMod::MenuStack::IsOpen(), VoltMod::CenterHtmlMenu::IsOpen(), VoltMod::MenuRouter::IsOpen(), VoltMod::PanoramaMenu::IsOpen(), VoltMod::Visibility::IsPawnHidden(), VoltMod::PendingCommit::IsPending(), IsPlaying(), IsReadableAddress(), VoltMod::MultiAddonManager::IsReady(), VoltMod::PluginContext::IsReady(), VoltMod::WorkshopDownloads::IsReady(), IsRowActionable(), VoltMod::Schema::CCSPlayerPawn::IsScoped(), IsSelectable(), VoltMod::SteamId::IsValid(), VoltMod::Map::IsValid(), IsValidSlot(), IsValidTableName(), VoltMod::Schema::CVoteController::IsYesNoVote(), VoltMod::Schema::CBasePlayerPawn::ItemServices(), VoltMod::Strings::Join(), VoltMod::Strings::JoinNonEmpty(), VoltMod::MenuCursor::JumpPage(), VoltMod::Controller::Kick(), VoltMod::Schema::CSPerRoundStats_t::Kills(), KitDefaults(), VoltMod::Internal::HostPlayerLanguages::Language(), VoltMod::LanguageTable::Language(), LastError(), VoltMod::Schema::CPlayer_WeaponServices::LastWeapon(), VoltMod::Schema::CCSPlayerPawn::LastWeaponFireUsercmd(), VoltMod::Schema::CCSCustomHudLayout::Layout(), LengthPrefixedName(), VoltMod::Schema::CBaseEntity::LifeState(), VoltMod::Trace::Line(), ListenForCommands(), ListenForPresses(), VoltMod::Translations::Load(), VoltMod::Options< TSettings, TSnapshot >::Load(), VoltMod::PluginLoader::LoadAll(), LoadNextServer(), VoltMod::GameDataScanner::LogSummary(), LooksLikeTypeInfo(), VoltMod::GameDataTable::Lookup(), VoltMod::KHookForwarder::LookupSignature(), MakeConsoleHandler(), MakeFilter(), VoltMod::Internal::MakePluginModule(), VoltMod::MappedFile::MappedFile(), MariaDbSettings(), VoltMod::DownloadQueue::MarkSending(), MaskOf(), Matches(), VoltMod::Schema::CCSPlayerController_ActionTrackingServices::MatchStats(), VoltMod::Schema::CBaseEntity::MaxHealth(), VoltMod::Schema::CPlayer_MovementServices::Maxspeed(), MemberPtr(), VoltMod::MenuBuilder::MenuBuilder(), VoltMod::Schema::MergeScope(), VoltMod::PluginContext::MinLogLevel(), VoltMod::DownloadQueue::MissingFor(), VoltMod::Pawn::ModelName(), VoltMod::Schema::CModelState::ModelName(), VoltMod::Schema::CSkeletonInstance::ModelState(), VoltMod::ModuleSymbols::Module(), ModuleAt(), VoltMod::Controller::Money(), VoltMod::Time::MonotonicMs(), VoltMod::Time::MonotonicSeconds(), VoltMod::ServerAssets::Mount(), VoltMod::Schema::CBasePlayerPawn::MovementServices(), VoltMod::Schema::CBaseEntity::MoveTypeRaw(), VoltMod::Schema::CPlayer_WeaponServices::MyWeapons(), VoltMod::Schema::CBaseCombatCharacter::MyWearables(), VoltMod::Player::Name(), NameIs(), NavPhysics(), VoltMod::Schema::NetworkClass(), VoltMod::PendingConVarQueries::NextCookie(), VoltMod::Schema::CBasePlayerWeapon::NextPrimaryAttackTick(), VoltMod::Schema::CBasePlayerWeapon::NextSecondaryAttackTick(), VoltMod::Scheduler::NextTick(), VoltMod::DownloadQueue::NextToSend(), NextWord(), VoltMod::Validation::NormalizeTag(), VoltMod::Error::NotFound(), VoltMod::Schema::NotifyComponentOwner(), VoltMod::Schema::NotifyEntity(), VoltMod::Error::NotReady(), NotSourceXml(), VoltMod::Time::Now(), VoltMod::Pawn::ObserverMode(), VoltMod::Schema::CPlayer_ObserverServices::ObserverMode(), VoltMod::Schema::CBasePlayerPawn::ObserverServices(), VoltMod::Schema::CPlayer_ObserverServices::ObserverTarget(), ObserverTarget(), VoltMod::Caller::Ok(), VoltMod::GameEvents::On(), VoltMod::PluginContext::OnBuildGameSessionManifest(), VoltMod::PluginContext::OnButtonPress(), VoltMod::Visibility::OnCheckTransmit(), VoltMod::PluginContext::OnCheckTransmit(), VoltMod::PluginContext::OnClientConnected(), VoltMod::WorkshopDownloads::OnClientConnected(), VoltMod::PluginContext::OnClientConnecting(), VoltMod::PluginContext::OnClientDisconnected(), VoltMod::WorkshopDownloads::OnClientDisconnected(), VoltMod::PluginContext::OnClientFullyConnected(), VoltMod::PlayerManager::OnClientFullyConnected(), VoltMod::PluginContext::OnClientSettingsChanged(), VoltMod::PlayerManager::OnClientSettingsChanged(), OnConnect(), VoltMod::PluginContext::OnConsoleCommand(), OnDisconnect(), VoltMod::ButtonPresses::OnFrame(), VoltMod::WorkshopDownloads::OnFrame(), VoltMod::PluginContext::OnFrame(), VoltMod::Scheduler::OnGameFrame(), VoltMod::Schema::CCSPlayerPawn::OnGroundLastTick(), VoltMod::Schema::CVoteController::OnlyTeamToVote(), VoltMod::PluginContext::OnPlayerCommand(), VoltMod::PluginContext::OnPlayerCommandDone(), VoltMod::ScreenManager::OnPress(), VoltMod::GameEvents::OnServerStartup(), VoltMod::PluginContext::OnServerStartup(), VoltMod::SharedLibrary::Open(), VoltMod::MenuFreeze::Open(), VoltMod::CenterHtmlMenu::Open(), VoltMod::MenuRouter::Open(), VoltMod::PanoramaMenu::Open(), OpenConnection(), OpenLibrary(), OpenModule(), VoltMod::CenterHtmlMenu::OpenSession(), VoltMod::MenuRouter::OpenSession(), VoltMod::PanoramaMenu::OpenSession(), VoltMod::Internal::OpenUnsafe(), VoltMod::MemberBinder::operator()(), VoltMod::Fn< Ret(Args...)>::operator()(), VoltMod::MemberBinder::operator()(), VoltMod::EnabledCondition::operator()(), VoltMod::VirtualFn< Ret(Object *, Args...)>::operator()(), VoltMod::MemberBinder::operator()(), VoltMod::HeaderNameLess::operator()(), VoltMod::StringHash::operator()(), VoltMod::MemberBinder::operator()(), VoltMod::Event< Args >::operator+=(), VoltMod::CharBuf< N >::operator=(), VoltMod::Internal::InstalledHook< HookKind, Object, Ret, Args >::operator=(), VoltMod::SharedLibrary::operator=(), VoltMod::CharBuf< N >::operator=(), VoltMod::Subscription::operator=(), VoltMod::Subscriptions::operator=(), VoltMod::PerSlot< T >::operator[](), VoltMod::PerSlot< T >::operator[](), operator|(), Opposite(), VoltMod::LoadReport::Optional(), OptionalsTrail(), VoltMod::Entity::Origin(), OriginalSlot(), VoltMod::Schema::CBaseEntity::OwnerEntity(), VoltMod::CommandNames::OwnerOf(), OwnerSlot(), OwnPath(), PageCount(), VoltMod::ChatColors::PaletteChoices(), VoltMod::Schema::CCSCustomHudLayout::PanelIds(), VoltMod::PanoramaMenu::PanoramaMenu(), VoltMod::PanoramaMenuLayout::PanoramaMenuLayout(), VoltMod::ButtonPressMessage::Parse(), VoltMod::LayoutPath::Parse(), ParseAddonList(), ParseDriver(), VoltMod::Time::ParseDuration(), ParseDuration(), VoltMod::Validation::ParseDurations(), ParseInt64(), ParseMigrationVersion(), VoltMod::ChatColors::ParseNamed(), ParsePattern(), ParseSslMode(), ParseTargetToken(), ParseUInt64(), Patch(), VoltMod::EntitySystem::Pawn(), VoltMod::EntitySystem::Pawn(), VoltMod::Schema::CBasePlayerController::PawnRef(), VoltMod::ClientConVars::PendingCount(), Perform(), VoltMod::CommandBuilder::Permission(), VoltMod::PerSlot< T >::PerSlot(), PlatformColumn(), PlatformModuleName(), VoltMod::Entity::PlayAnimation(), VoltMod::PlayerCommands::PlayerCommands(), VoltMod::Schema::CVoteController::PlayerHoldingVote(), VoltMod::Translations::PlayerLanguage(), VoltMod::Schema::CCSCustomHudLayout::PlayerLayoutStates(), VoltMod::Schema::CBasePlayerController::PlayerName(), VoltMod::Schema::CVoteController::PlayerOverrideForVote(), VoltMod::Schema::CCSPlayerController::PlayerPawn(), PluginDir(), PluginFile(), VoltMod::Runtime::PluginFile(), VoltMod::MenuStack::Pop(), VoltMod::MenuStack::PopToRoot(), PostgresSettings(), PostUserMessage(), VoltMod::Schema::CVoteController::PotentialIssues(), VoltMod::Schema::CVoteController::PotentialVotes(), VoltMod::Schema::CCSPlayer_AimPunchServices::PredictableBaseAngle(), VoltMod::Schema::CCSPlayer_AimPunchServices::PredictableBaseAngleVel(), VoltMod::Schema::CCSPlayer_AimPunchServices::PredictableBaseTick(), VoltMod::Schema::CCSPlayer_AimPunchServices::PredictableBaseTickInterpAmount(), VoltMod::MenuRouter::Prefer(), PrimaryLocator(), VoltMod::CenterHtmlMenu::Prompt(), VoltMod::MenuRouter::Prompt(), VoltMod::PanoramaMenu::Prompt(), ProtoField(), VoltMod::PendingConVarQueries::Prune(), VoltMod::Offset< void >::Ptr(), VoltMod::PublishedInterfaces::Publish(), VoltMod::PluginContext::Publish(), VoltMod::ServiceExchange::Publish(), VoltMod::ServiceExchange::Publish(), VoltMod::MenuStack::Push(), VoltMod::GameThreadQueue::Push(), VoltMod::ClientConVars::Query(), QueryRegion(), VoltMod::Strings::QuoteConsoleArg(), VoltMod::Event< Args >::Raise(), VoltMod::SlotEvents::Raise(), VoltMod::PluginRegistry::RaiseBuildGameSessionManifest(), VoltMod::PluginRegistry::RaiseButtonPress(), VoltMod::PluginRegistry::RaiseCheckTransmit(), VoltMod::PluginRegistry::RaiseClientConnected(), VoltMod::PluginRegistry::RaiseClientConnecting(), VoltMod::PluginRegistry::RaiseClientDisconnected(), VoltMod::PluginRegistry::RaiseClientFullyConnected(), VoltMod::PluginRegistry::RaiseClientSettingsChanged(), RaiseCommand(), VoltMod::PluginRegistry::RaiseConsoleCommand(), VoltMod::PluginRegistry::RaiseFrame(), VoltMod::PluginRegistry::RaisePlayerCommand(), VoltMod::PluginRegistry::RaisePlayerCommandDone(), VoltMod::PluginRegistry::RaiseServerStartup(), RandomIndex(), RangesOf(), VoltMod::Offset< T >::Read(), ReadAllText(), ReadAt(), ReadAt(), ReadFile(), ReadOriginalSlot(), ReadU32(), ReadVarint(), ReadWord(), VoltMod::Entity::Ref(), VoltMod::PlayerManager::RefFor(), RefOf(), VoltMod::GlowVision::Refresh(), RefuseUnsatisfied(), VoltMod::CommandNames::Register(), VoltMod::StatusService::RegisterSection(), Rel32ReadInBounds(), Rel32Site(), Rel32Target(), VoltMod::MovementFreeze::Release(), VoltMod::Entity::Remove(), VoltMod::PlayerManager::Remove(), VoltMod::PluginContext::Remove(), VoltMod::WorkshopDownloads::Remove(), VoltMod::CallbackRegistry< T >::Remove(), VoltMod::DownloadQueue::Remove(), VoltMod::CallbackList< Fn >::Remove(), VoltMod::Entity::RemoveAfter(), VoltMod::PluginContext::RemoveAll(), VoltMod::CommandNames::RemoveAll(), VoltMod::PublishedInterfaces::RemoveAll(), VoltMod::GameEvents::RemoveAllListeners(), VoltMod::Cooldown< TKey, TMap >::RemoveExpired(), RemoveFromAddonList(), VoltMod::KHookForwarder::RemoveHook(), VoltMod::PluginRegistry::RemovePlugin(), VoltMod::WriteCache::RemoveSlot(), VoltMod::Pawn::RemoveWeapon(), Render(), RenderCaptureOverlay(), VoltMod::Schema::CBaseModelEntity::RenderColor(), RenderFooter(), RenderHeader(), RenderItems(), RenderMenuHtml(), VoltMod::Schema::CBaseModelEntity::RenderMode(), VoltMod::Scheduler::Repeat(), ReplaceAll(), VoltMod::PluginContext::ReplayMissedEvents(), VoltMod::DownloadQueue::Required(), VoltMod::LoadReport::Required(), VoltMod::PluginDependencies::RequiredDependents(), VoltMod::PluginLoader::RequireLoaded(), VoltMod::Subscription::Reset(), VoltMod::Cooldown< TKey, TMap >::Reset(), VoltMod::PerSlot< T >::Reset(), VoltMod::LanguageTable::Reset(), VoltMod::PerSlot< T >::ResetAll(), VoltMod::Schema::CVoteController::ResetVoteTimer(), VoltMod::PluginDependencies::Resolve(), VoltMod::EngineArgBinder::Resolve(), VoltMod::Internal::Resolve(), VoltMod::GameDataScanner::ResolveAll(), ResolveDialect(), ResolveEngineInterfaces(), ResolvePath(), ResolveRelativeAddress(), VoltMod::Controller::Respawn(), RestIsLast(), VoltMod::ConVarOverrides::Restore(), VoltMod::ConVarOverrides::RestoreAll(), VoltMod::MenuStack::Root(), VoltMod::Schema::CCSGameRules::RoundStartTime(), VoltMod::Schema::CCSGameRules::RoundTime(), RowText(), RttiOf(), VoltMod::CommandBuilder::Run(), VoltMod::Database::Run(), VoltMod::GameThreadQueue::RunAll(), VoltMod::Database::RunAsync(), RunCommand(), RunMigrations(), VoltMod::PluginLoader::RunPending(), VoltMod::Runtime::Runtime(), Rva(), SameFileName(), SameKey(), VoltMod::PlayerInput::SampleAt(), VoltMod::KHookForwarder::SaveReturnValue(), VoltMod::Caller::Say(), VoltMod::Caller::SayRaw(), Scan(), VoltMod::Schema::CBodyComponent::SceneNode(), SceneNode(), VoltMod::SchemaCheck::SchemaCheck(), VoltMod::Schema::CCSPlayerController::Score(), VoltMod::ScreenEntity::ScreenEntity(), VoltMod::Cooldown< TKey, TMap >::SecondsLeft(), VoltMod::Cooldown< TKey, TMap >::SecondsLeft(), VoltMod::ChoiceState::Select(), VoltMod::ChoiceState::Selected(), VoltMod::Pawn::SelectWeapon(), VoltMod::HttpClient::Send(), VoltMod::Messages::Send(), VoltMod::Messages::SendCenterHtml(), VoltMod::Messages::SendKey(), VoltMod::Schema::ServerScope(), VoltMod::ConVarOverrides::Set(), VoltMod::KeyValues::Set(), VoltMod::KeyValues::Set(), VoltMod::KeyValues::Set(), VoltMod::KeyValues::Set(), VoltMod::KeyValues::Set(), VoltMod::KeyValues::Set(), VoltMod::KeyValues::Set(), VoltMod::KeyValues::Set(), VoltMod::Schema::CBaseEntity::SetAbsVelocity(), VoltMod::Schema::CCSPlayerController_InGameMoneyServices::SetAccount(), VoltMod::Schema::CVoteController::SetActiveIssueIndex(), VoltMod::Schema::CPlayer_WeaponServices::SetActiveWeapon(), VoltMod::Schema::CBaseEntity::SetActualMoveType(), VoltMod::Schema::CCSPlayerPawn::SetArmorValue(), SetBaseDir(), SetBool(), VoltMod::Schema::CCSPlayerController::SetClan(), VoltMod::Visibility::SetControllerHidden(), VoltMod::Schema::CBasePlayerPawn::SetControllerRef(), VoltMod::Schema::CParticleSystem::SetControlPointRef(), VoltMod::Schema::CCSPlayer_MovementServices::SetDuckAmount(), VoltMod::Schema::CCSPlayer_MovementServices::SetDucked(), VoltMod::Schema::CCSPlayer_MovementServices::SetDuckOverride(), VoltMod::PanoramaMenuLayout::SetEmpty(), 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::PanoramaMenuLayout::SetFooter(), VoltMod::ConVar< T >::SetFor(), VoltMod::Pawn::SetGodmode(), VoltMod::Schema::CBaseEntity::SetGravityScale(), VoltMod::Schema::CBaseEntity::SetGroundEntity(), VoltMod::DecayingScore::SetHalfLife(), VoltMod::Log::SetHandler(), VoltMod::PanoramaMenuLayout::SetHeader(), VoltMod::Schema::CBaseEntity::SetHealth(), VoltMod::Schema::CVoteController::SetHighestCountIndex(), VoltMod::PanoramaMenuLayout::SetHomeVisible(), VoltMod::Schema::CCSCustomHudLayoutState::SetInputCaptureEnabled(), SetInt(), VoltMod::Schema::CCSPlayerPawn::SetIsScoped(), VoltMod::Schema::CVoteController::SetIsYesNoVote(), VoltMod::Internal::HostPlayerLanguages::SetLanguage(), VoltMod::LanguageTable::SetLanguage(), VoltMod::Translations::SetLanguage(), VoltMod::Schema::CPlayer_WeaponServices::SetLastWeapon(), VoltMod::Schema::CCSPlayerPawn::SetLastWeaponFireUsercmd(), VoltMod::Schema::CCSCustomHudLayout::SetLayout(), VoltMod::Schema::CBaseEntity::SetLifeState(), VoltMod::Schema::CBaseEntity::SetMaxHealth(), VoltMod::Schema::CPlayer_MovementServices::SetMaxspeed(), VoltMod::Log::SetMinimumLevel(), VoltMod::PluginContext::SetMinLogLevel(), VoltMod::Entity::SetModel(), VoltMod::Controller::SetMoney(), VoltMod::Schema::CBaseEntity::SetMoveTypeRaw(), VoltMod::Schema::CBasePlayerWeapon::SetNextPrimaryAttackTick(), VoltMod::Schema::CBasePlayerWeapon::SetNextSecondaryAttackTick(), VoltMod::Schema::CPlayer_ObserverServices::SetObserverMode(), VoltMod::Pawn::SetObserverMode(), VoltMod::Schema::CPlayer_ObserverServices::SetObserverTarget(), VoltMod::Schema::CCSPlayerPawn::SetOnGroundLastTick(), VoltMod::Schema::CVoteController::SetOnlyTeamToVote(), VoltMod::Schema::CBaseEntity::SetOwnerEntity(), VoltMod::PanoramaMenuLayout::SetPager(), VoltMod::Visibility::SetPawnHidden(), VoltMod::Schema::CBasePlayerController::SetPawnRef(), VoltMod::Schema::CVoteController::SetPlayerHoldingVote(), VoltMod::Translations::SetPlayerLanguage(), VoltMod::Schema::CCSCustomHudLayout::SetPlayerLayoutStates(), VoltMod::Schema::CBasePlayerController::SetPlayerName(), VoltMod::Schema::CVoteController::SetPlayerOverrideForVote(), VoltMod::Schema::CCSPlayerController::SetPlayerPawn(), VoltMod::Schema::CVoteController::SetPotentialVotes(), VoltMod::Schema::CCSPlayer_AimPunchServices::SetPredictableBaseAngle(), VoltMod::Schema::CCSPlayer_AimPunchServices::SetPredictableBaseAngleVel(), VoltMod::Schema::CCSPlayer_AimPunchServices::SetPredictableBaseTick(), VoltMod::Schema::CCSPlayer_AimPunchServices::SetPredictableBaseTickInterpAmount(), VoltMod::PanoramaMenuLayout::SetPrompt(), VoltMod::Entity::SetRender(), VoltMod::Schema::CBaseModelEntity::SetRenderColor(), VoltMod::Schema::CBaseModelEntity::SetRenderMode(), VoltMod::Schema::CCSGameRules::SetRoundStartTime(), VoltMod::Schema::CCSGameRules::SetRoundTime(), VoltMod::PanoramaMenuLayout::SetRow(), VoltMod::Entity::SetScale(), VoltMod::PluginRegistry::SetSchemaLayout(), VoltMod::Schema::CCSPlayerController::SetScore(), VoltMod::Schema::CCSPlayerPawn::SetShotsFired(), VoltMod::PanoramaMenuLayout::SetSidebarVisible(), VoltMod::Schema::EntitySpottedState_t::SetSpotted(), VoltMod::Schema::EntitySpottedState_t::SetSpottedByMask(), SetStr(), SetString(), VoltMod::PanoramaMenuLayout::SetTab(), VoltMod::Schema::CBaseEntity::SetTeamNum(), VoltMod::Rounds::SetTime(), VoltMod::KHookForwarder::SetupHook(), VoltMod::KHookForwarder::SetupVirtualHook(), VoltMod::Pawn::SetVelocity(), VoltMod::Schema::CCSPlayerPawn::SetVelocityModifier(), VoltMod::Schema::CPlayer_CameraServices::SetViewEntity(), VoltMod::Schema::CBaseModelEntity::SetViewOffset(), VoltMod::Entity::SetVisible(), VoltMod::Schema::CVoteController::SetVoteOptionCount(), VoltMod::Schema::CVoteController::SetVotesCast(), SetWeapon(), VoltMod::Schema::CBeam::SetWidth(), VoltMod::Schema::CCSPlayerBase_CameraServices::SetZoomOwner(), VoltMod::Messages::Shake(), VoltMod::ScreenManager::Shared(), VoltMod::Schema::CCSPlayerPawn::ShotsFired(), VoltMod::PanoramaMenuLayout::Show(), VoltMod::CenterHtml::Show(), VoltMod::Visibility::ShowOnlyTo(), VoltMod::Visibility::ShowOnlyToTeam(), VoltMod::Visibility::ShowToEveryone(), VoltMod::SingleRecipientFilter::SingleRecipientFilter(), SkipField(), VoltMod::Pawn::Slot(), VoltMod::Entity::Spawn(), VoltMod::EntitySystem::Spawn(), VoltMod::EntitySystem::SpawnBeam(), VoltMod::EntitySystem::SpawnLine(), VoltMod::EntitySystem::SpawnParticle(), VoltMod::EntitySystem::SpawnProp(), SplitAddonList(), SplitStatements(), VoltMod::Schema::EntitySpottedState_t::Spotted(), VoltMod::Schema::EntitySpottedState_t::SpottedByMask(), SqliteSettings(), VoltMod::Host::Start(), VoltMod::Cooldown< TKey, TMap >::Start(), VoltMod::Vote::Start(), StartHost(), VoltMod::Strings::StartsWith(), VoltMod::MenuCursor::Step(), VoltMod::ChoiceState::Step(), VoltMod::MenuStack::Step(), VoltMod::HttpClient::Stop(), VoltMod::CenterHtml::Stop(), VoltMod::CenterHtml::StopAll(), VoltMod::Entity::StopSound(), Store(), VoltMod::ChatColors::Strip(), VoltMod::CommandSyntax::StripPrefix(), VoltMod::Pawn::StripWeapons(), VoltMod::MenuBuilder::Submenu(), VoltMod::Strings::SubstituteTokens(), VoltMod::MenuBuilder::Subtitle(), VoltMod::LoadReport::Summary(), SwapSlot(), VoltMod::SharedLibrary::Symbol(), VoltMod::MovementFreeze::Sync(), VoltMod::ModuleSymbols::Table(), TableAfter(), VoltMod::HttpClient::Requests::Take(), VoltMod::SummaryRows::Take(), VoltMod::PendingConVarQueries::Take(), TargetKey(), VoltMod::Schema::CBaseEntity::TeamNum(), VoltMod::Entity::Teleport(), Text(), VoltMod::MenuBuilder::Text(), VoltMod::Caller::Text(), VoltMod::Rounds::TimeLeft(), TimerOn(), ToHit(), VoltMod::ButtonRow::ToItem(), VoltMod::ToggleRow::ToItem(), VoltMod::ChoiceRow< T >::ToItem(), VoltMod::InputRow::ToItem(), VoltMod::SubmenuRow::ToItem(), VoltMod::CommandSyntax::Tokenize(), TokenizeOneCommand(), VoltMod::Internal::ToKHook(), VoltMod::Internal::ToKHook(), VoltMod::Internal::ToKHookAction(), VoltMod::Strings::ToLower(), ToResult(), VoltMod::SteamId::ToSteamId(), VoltMod::SteamId::ToSteamId3(), VoltMod::Internal::ToSubscription(), VoltMod::CenterHtmlMenu::Translate(), VoltMod::MenuRouter::Translate(), VoltMod::PanoramaMenu::Translate(), VoltMod::Strings::Trim(), VoltMod::Strings::TruncateUtf8(), VoltMod::Vote::TryCastBallot(), VoltMod::ChatInput::TryConsume(), VoltMod::Cooldown< TKey, TMap >::TryStart(), VoltMod::Cooldown< TKey, TMap >::TryStart(), TypeDescriptorMatches(), Unbound(), VoltMod::ServerAssets::Unmount(), VoltMod::PublishedInterfaces::Unpublish(), VoltMod::PluginContext::Unsubscribe(), VoltMod::Error::Unsupported(), Upsert(), VoltMod::CommandRouter::Usage(), VoltMod::CommandBuilder::UsageKey(), UsagePlaceholderKey(), VoltMod::Runtime::UsePanorama(), VoltMod::Flow< TState >::Validate(), ValidateDescriptor(), VoltMod::DecayingScore::Value(), VoltMod::Args::Opt< T >::ValueOr(), VoltMod::Schema::CCSPlayerPawn::VelocityModifier(), VoltMod::Schema::VerifySchemaLayout(), VoltMod::CharBuf< N >::View(), VoltMod::Schema::CPlayer_CameraServices::ViewEntity(), VoltMod::Schema::CBaseModelEntity::ViewOffset(), VirtualIndex(), VoltMod::Visibility::Visibility(), VoltMod::VoltCommand::VoltCommand(), VoltMod::Vote::Vote(), VoteField(), VoltMod::Schema::CVoteController::VoteOptionCount(), VoltMod::Schema::CVoteController::VoteOptions(), VoltMod::Schema::CVoteController::VotesCast(), VoltMod::Log::Wanted(), VoltMod::Log::Warn(), WarnLeaks(), VoltMod::Pawn::Weapons(), VoltMod::Schema::CBasePlayerPawn::WeaponServices(), WhenEnabled(), VoltMod::Schema::CBeam::Width(), VoltMod::HttpClient::Requests::Work(), WrapIndex(), VoltMod::Offset< T >::Write(), WriteAllText(), WriteAt(), VoltMod::ScreenEntity::WriteClass(), VoltMod::ScreenEntity::WriteCursor(), VoltMod::Schema::WriteDumpFile(), WriteGameDataRecord(), VoltMod::PluginContext::WriteLog(), VoltMod::Schema::WriteSchemaDump(), VoltMod::ScreenEntity::WriteText(), VoltMod::Precache::WriteTo(), VoltMod::Schema::CCSPlayerBase_CameraServices::ZoomOwner(), and VoltMod::MappedFile::~MappedFile().
What vtable's index held before a hook patched it, or nullptr.
Definition at line 21 of file Detours.hpp.
References KHook::__exported__khook, and ReadFile().
Referenced by VoltMod::Host::Start().
Definition at line 19 of file ButtonPressMessage.cpp.
References VoltMod::Error::Invalid(), MaxVarintBytes, and ReadFile().
Referenced by VoltMod::ButtonPressMessage::Parse(), and SkipField().
Definition at line 40 of file VtableLookup.cpp.
References ReadFile().
Referenced by BaseCount(), CollectBases(), FindVirtualTableByTypeInfo(), FindVirtualTableByTypeName(), FindWords(), HasSingleBase(), IsInstanceOf(), LooksLikeTypeInfo(), and NameIs().
|
static |
Definition at line 19 of file PluginDependencies.cpp.
References VoltMod::Error::NotFound(), VoltMod::Error::NotReady(), and ReadFile().
Referenced by VoltMod::PluginDependencies::Resolve().
|
constexprnoexcept |
Whether the four-byte displacement at matchAddress + ripOffset fits entirely within the mapped image. Invalid and overflowing offsets return false before any read occurs.
Definition at line 37 of file RelativeAddress.hpp.
References ReadFile(), Rel32Site(), and Rel32Size.
Referenced by ResolveRelativeAddress().
Definition at line 19 of file RelativeAddress.hpp.
References ReadFile().
Referenced by Rel32ReadInBounds(), and ResolveRelativeAddress().
|
constexprnoexcept |
Resolve displacement from site. ripSize is the distance from the site to the end of the instruction and defaults to the four-byte displacement width.
Definition at line 28 of file RelativeAddress.hpp.
References ReadFile().
Referenced by ResolveRelativeAddress().
Remove one entry per id in ids, keeping the other entries verbatim.
Definition at line 262 of file DownloadQueue.cpp.
References ParseUInt64(), ReadFile(), and SplitAddonList().
|
static |
Definition at line 39 of file Messages.cpp.
References Chat, EnsureColorPrefix(), and ReadFile().
Referenced by VoltMod::Messages::Broadcast(), and VoltMod::Messages::Send().
| std::string VoltMod::RenderCaptureOverlay | ( | const std::string & | menuTitle, |
| std::string_view | prompt | ||
| ) |
Renders the chat-input capture overlay shown while a player is typing a value.
Definition at line 230 of file CenterHtmlRender.cpp.
References VoltMod::Strings::EscapeHtml(), VoltMod::Theme::Gold, VoltMod::Theme::NavClose, ReadFile(), VoltMod::Theme::WarmGray, and VoltMod::Theme::WarmWhite.
| std::string VoltMod::RenderFooter | ( | bool | isSubmenu, |
| bool | isPaginated, | ||
| bool | selectedRowSteps, | ||
| int | slot, | ||
| Translations & | translations | ||
| ) |
The footer HTML for a menu: the key hints.
| isSubmenu | True if this menu is a submenu (shows "Back" hint), false if it's a root menu (shows "Close" hint). |
| isPaginated | True if the menu has multiple pages of items (shows page navigation hints) |
| selectedRowSteps | True when A/D steps the selected row's value rather than paging (shows "Change"/"Confirm" hints). |
| slot | Player slot used to look up the nav-label translations. |
| translations | Table the nav labels are looked up in. |
Definition at line 64 of file CenterHtmlRender.cpp.
References FooterChunk(), VoltMod::Theme::Gold, VoltMod::Theme::NavBack, VoltMod::Theme::NavClose, VoltMod::Theme::NavGold, and ReadFile().
Referenced by RenderMenuHtml().
| std::string VoltMod::RenderHeader | ( | const CenterHtmlHeader & | header | ) |
The header HTML for a menu. Empty parts of header add nothing.
Definition at line 26 of file CenterHtmlRender.cpp.
References VoltMod::Strings::EscapeHtml(), VoltMod::Theme::Gold, ReadFile(), and VoltMod::Theme::WarmGray.
Referenced by RenderMenuHtml().
|
static |
Definition at line 151 of file CenterHtmlRender.cpp.
References VoltMod::Theme::Amber, VoltMod::Theme::Disabled, ReadFile(), RowText(), VoltMod::Theme::WarmGray, and VoltMod::Theme::WarmWhite.
Referenced by RenderMenuHtml().
| std::string VoltMod::RenderMenuHtml | ( | const Menu * | menu, |
| const CenterHtmlView & | view, | ||
| Translations & | translations | ||
| ) |
Renders the HTML for a menu, including its items and layout. translations localizes the default footer's nav labels and the empty-menu line, each looked up only where it is drawn.
Definition at line 190 of file CenterHtmlRender.cpp.
References CenterHtmlRowsPerPage, VoltMod::MenuRow::Enabled, VoltMod::Strings::EscapeHtml(), PageCount(), ReadFile(), RenderFooter(), RenderHeader(), RenderItems(), and VoltMod::Theme::WarmGray.
|
static |
Definition at line 159 of file Strings.cpp.
References ReadFile().
Referenced by VoltMod::Strings::SubstituteTokens().
Substitute every dialect placeholder in sql for driver.
A placeholder is @NAME@ or @NAME(args)@ with NAME in [A-Z_], the same rule the CLI's renderer uses; any other @, such as one in an address literal, is ordinary text. An unknown placeholder fails rather than leaving a hole in a statement.
Definition at line 95 of file Migrator.hpp.
References DialectFor(), VoltMod::Error::Invalid(), and ReadFile().
Referenced by RunMigrations().
| Result< EngineInterfaces > VoltMod::ResolveEngineInterfaces | ( | const LoaderHandoff & | start | ) |
Fails when an interface the engine hooks need is missing; the optional ones are logged.
Definition at line 37 of file EngineInterfaces.cpp.
References Find(), FindOptional(), and ReadFile().
Referenced by VoltMod::Host::Start().
| std::filesystem::path VoltMod::ResolvePath | ( | std::string_view | relativePath | ) |
a relative path against the base directory. If the path is already absolute, returns it as-is.
| relativePath | The relative path to resolve. |
Definition at line 14 of file Paths.cpp.
References g_baseDir, and ReadFile().
Referenced by Installed(), LibraryPath(), VoltMod::Translations::Load(), VoltMod::ServerAssets::Mount(), ReadAllText(), RunMigrations(), SqliteSettings(), WriteAllText(), and VoltMod::Schema::WriteSchemaDump().
| uintptr_t VoltMod::ResolveRelativeAddress | ( | const Image & | module, |
| uintptr_t | matchAddress, | ||
| int | ripOffset, | ||
| int | ripSize = Rel32Size |
||
| ) |
Resolve the 32-bit displacement at matchAddress + ripOffset relative to the instruction end.
Definition at line 108 of file SigScanner.cpp.
References ReadFile(), Rel32ReadInBounds(), Rel32Site(), and Rel32Target().
Whether at most one Args::Rest appears in A, as the final argument. A Rest eats the remainder of the line, so anything after it could never be reached.
Definition at line 260 of file Args.hpp.
References ReadFile(), and Rest.
Definition at line 116 of file CenterHtmlRender.cpp.
References Choice, VoltMod::Strings::EscapeHtml(), ReadFile(), and Toggle.
Referenced by RenderItems().
Definition at line 246 of file VtableLookup.windows.cpp.
References FindBaseIn(), FindBaseInRtti(), FindVirtualTableIn(), FindVirtualTableInRtti(), VoltMod::Error::NotFound(), ReadFile(), and RttiOf().
Referenced by RttiOf().
|
static |
Offer a command to the plugins, and keep it from the engine when one consumes it.
Definition at line 36 of file EngineHooks.cpp.
References VoltMod::HookResult< Ret >::Block(), ReadFile(), and Text.
Referenced by VoltMod::EngineHooks::EngineHooks().
| MigrationResult VoltMod::RunMigrations | ( | Database & | db, |
| std::string_view | dir, | ||
| const MigrationOptions & | options = {} |
||
| ) |
Apply the NNNN_*.sql files in dir newer than the database's version, in order, each in its own transaction under a lock. ResolveDialect fills their placeholders for the live driver. A missing directory is a no-op; on failure the database stays at the last applied version.
Definition at line 57 of file Migrator.cpp.
References ApplyMigration(), VoltMod::Log::Error(), HistoryTableDdl(), VoltMod::Log::Info(), IsValidTableName(), ParseMigrationVersion(), ReadAllText(), ReadFile(), ResolveDialect(), ResolvePath(), SplitStatements(), VoltMod::MigrationResult::Success, and VoltMod::Log::Warn().
Definition at line 20 of file GameDataScanner.cpp.
References ReadFile().
Definition at line 22 of file Image.windows.cpp.
References ReadFile().
Definition at line 11 of file GameSearchPaths.cpp.
References ReadFile().
Referenced by GameSearchPaths().
|
static |
Definition at line 25 of file GameDataScanner.cpp.
References FindPatternEx(), ReadFile(), and Unbound().
|
static |
Definition at line 72 of file Entity.cpp.
References ReadFile().
Referenced by VoltMod::Entity::Angles(), and VoltMod::Entity::Origin().
Set the base directory for path resolution (the host's csgo directory). Must be called during initialization before any file loading.
| baseDir | The base directory path to use for resolving relative paths. |
Definition at line 9 of file Paths.cpp.
References g_baseDir, and ReadFile().
Referenced by VoltMod::Host::Start().
|
static |
Definition at line 68 of file Vote.cpp.
References ReadFile(), and VoteField().
|
static |
Definition at line 60 of file Vote.cpp.
References ReadFile(), and VoteField().
|
static |
Assigned in place: CUtlString allocates inside tier0, the allocator the engine frees with.
Definition at line 27 of file ScreenEntity.cpp.
References ReadFile().
|
static |
Definition at line 76 of file Vote.cpp.
References ReadFile(), and VoteField().
|
static |
Definition at line 31 of file Damage.cpp.
References ReadFile().
Definition at line 39 of file ButtonPressMessage.cpp.
References VoltMod::Error::Invalid(), ReadFile(), ReadVarint(), WireFixed32, WireFixed64, WireLengthDelimited, and WireVarint.
Referenced by VoltMod::ButtonPressMessage::Parse().
|
static |
The comma-separated entries of field, verbatim; none for an empty field.
Definition at line 203 of file DownloadQueue.cpp.
References ReadFile().
Referenced by ParseAddonList(), and RemoveFromAddonList().
|
inline |
Split a migration file into single statements: -- line comments are stripped, a ; outside a single-quoted literal ends a statement, and blank statements are dropped. One statement per ; - procedure bodies are not supported, because MariaDB and SQLite run raw SQL one statement at a time.
Definition at line 168 of file Migrator.hpp.
References ReadFile().
Referenced by RunMigrations().
|
static |
Definition at line 70 of file OpenConnection.cpp.
References InMemory, ReadFile(), and ResolvePath().
Referenced by OpenConnection().
Definition at line 119 of file Loader.cpp.
References VoltMod::LoaderHandoff::EngineFactory, FindExport(), g_start, g_stopHost, HostFile, HostStartName, HostStopName, LastError(), OpenModule(), OwnPath(), ReadFile(), and VoltMod::LoaderHandoff::ServerFactory.
Referenced by OnInit().
Definition at line 166 of file Loader.cpp.
References g_stopHost.
Referenced by OnDisconnect(), and OnShutdown().
|
static |
Store parsed, or return its error. Each binder above returns its own argument type.
Definition at line 123 of file ArgBinding.cpp.
References ReadFile().
Referenced by BindArgs().
Definition at line 126 of file VtableLookup.windows.cpp.
References End(), FindValue(), and ReadFile().
Referenced by FindBaseInRtti(), and FindVirtualTableInRtti().
|
static |
The reply key and tokens for a target that did not resolve.
Definition at line 10 of file ArgBinding.cpp.
References Ambiguous, BotNotAllowed, DeadNotAllowed, Immune, VoltMod::ArgError::Key, MultiNotAllowed, NoMatch, and ReadFile().
Referenced by BindPlayerOrSteamId(), BindTarget(), and BindTargets().
The engine passes null for an absent string.
Definition at line 30 of file EngineHooks.cpp.
References ReadFile().
|
static |
Definition at line 12 of file MenuStack.cpp.
References ReadFile().
|
static |
Definition at line 50 of file Trace.cpp.
References VoltMod::TraceHit::Hit, ReadFile(), and RefOf().
Referenced by VoltMod::Trace::Box(), and VoltMod::Trace::Line().
Tokenizes command into args when it is exactly one non-empty command.
Definition at line 69 of file Controller.cpp.
References ReadFile().
Referenced by VoltMod::Controller::ExecuteCommand().
|
static |
Definition at line 22 of file HttpClient.cpp.
References VoltMod::HttpResult::Error, and ReadFile().
Referenced by Perform().
|
static |
Definition at line 90 of file VtableLookup.windows.cpp.
References AtRva(), ReadFile(), and TypeDescriptorName.
Referenced by FindBaseInRtti().
Definition at line 15 of file GameDataScanner.cpp.
References VoltMod::Error::NotFound(), and ReadFile().
Referenced by ColumnValue(), VoltMod::ModuleSymbols::Module(), Scan(), and VoltMod::ModuleSymbols::Table().
Definition at line 10 of file ModuleSymbols.cpp.
References VoltMod::Error::NotFound(), and ReadFile().
Update by a natural key, inserting only when nothing matched: the portable upsert, since the three drivers disagree on ON CONFLICT / ON DUPLICATE KEY.
Not atomic, so the key needs a UNIQUE constraint to turn a race between two servers into one failed job rather than a duplicate row. Relies on Database setting CLIENT_FOUND_ROWS, which makes MariaDB count matched rows instead of changed ones.
Definition at line 61 of file Connection.hpp.
References ReadFile().
Translation key for an argument kind's usage placeholder.
Definition at line 30 of file CommandRouter.cpp.
References Name, and ReadFile().
| Status VoltMod::ValidateDescriptor | ( | const PluginDescriptor * | descriptor, |
| std::string_view | hostVersion | ||
| ) |
Whether descriptor is one a host of hostVersion can load, with the reason it is not.
Definition at line 123 of file InstalledPlugins.cpp.
References VoltMod::Error::Invalid(), PluginEntryName, and ReadFile().
The vtable index function dispatches through, or -1 when it is not virtual.
Definition at line 44 of file ScriptBindings.cpp.
References IsReadableAddress(), and ReadFile().
Referenced by FindScriptBinding().
|
static |
ProtoField plus what a missing field costs here; see Engine/ProtoReflect.hpp for why the fields are reached by name at all.
Definition at line 48 of file Vote.cpp.
References ProtoField(), ReadFile(), and VoltMod::Log::Warn().
Referenced by SetBool(), SetInt(), and SetString().
|
static |
Definition at line 24 of file PluginLoader.cpp.
References ReadFile(), and VoltMod::Log::Warn().
|
static |
action, run only while enabled takes the slot.
Definition at line 29 of file MenuBuilder.cpp.
References ReadFile().
Referenced by VoltMod::Internal::ChoiceItem(), VoltMod::ButtonRow::ToItem(), VoltMod::ToggleRow::ToItem(), VoltMod::InputRow::ToItem(), and VoltMod::SubmenuRow::ToItem().
Wraps value into [0, count), including when value is negative.
Definition at line 20 of file MenuModel.hpp.
References ReadFile().
Referenced by VoltMod::MenuCursor::JumpPage(), VoltMod::MenuCursor::Step(), and VoltMod::ChoiceState::Step().
| Status VoltMod::WriteAllText | ( | std::string_view | path, |
| std::string_view | text | ||
| ) |
Write text to path (resolved via ResolvePath), creating its directory.
Binary mode, so the file is byte-identical on every platform.
Definition at line 24 of file File.cpp.
References VoltMod::Error::Invalid(), ReadFile(), and ResolvePath().
Referenced by VoltMod::Schema::WriteDumpFile(), and WriteGameDataRecord().
Write value to the field of type T located offset bytes into base.
Definition at line 35 of file MemoryAccess.hpp.
References ReadFile().
| void VoltMod::WriteGameDataRecord | ( | const GameDataRecord & | resolved | ) |
Write resolved to addons/voltmod/gamedata/dumps/resolved.json once per build; failures only log.
Definition at line 37 of file GameDataRecord.cpp.
References VoltMod::GameDataRecord::Build, GameBuild(), VoltMod::Log::Info(), ReadFile(), VoltMod::Json::ReadFile(), VoltMod::Log::Warn(), WriteAllText(), and VoltMod::Json::WritePretty().
Referenced by VoltMod::GameDataTable::GameDataTable().
Definition at line 30 of file Vote.cpp.
Referenced by VoltMod::Vote::Start().
Definition at line 121 of file VtableLookup.cpp.
Referenced by BaseCount(), and CollectBases().
Definition at line 27 of file VtableLookup.windows.cpp.
Referenced by FindBaseInRtti().
Definition at line 29 of file VtableLookup.windows.cpp.
Referenced by FindBaseInRtti().
Definition at line 28 of file VtableLookup.windows.cpp.
Referenced by FindBaseInRtti().
|
staticconstexpr |
Definition at line 9 of file GameSearchPaths.cpp.
Referenced by NextWord().
Rows one center-HTML page holds. A renderer limit, not a menu-model limit.
Definition at line 13 of file CenterHtmlRender.hpp.
Referenced by RenderMenuHtml().
EHudPanelClassStatus_t values.
Definition at line 19 of file ScreenEntity.cpp.
Definition at line 20 of file ScreenEntity.cpp.
|
staticconstexpr |
Definition at line 15 of file VoltCommand.cpp.
|
staticconstexpr |
Definition at line 30 of file EntitySystem.cpp.
|
staticconstexpr |
Definition at line 23 of file ButtonPresses.cpp.
How soon a client must reconnect for its addon to count as downloaded.
Definition at line 25 of file WorkshopDownloads.cpp.
Referenced by VoltMod::WorkshopDownloads::OnClientConnected().
|
staticconstexpr |
Definition at line 163 of file SchemaCheck.cpp.
Referenced by VoltMod::SchemaCheck::SchemaCheck().
How many enumerators E declares.
Definition at line 53 of file EnumNames.hpp.
The slot value meaning everyone: a layout's global state rather than one player's.
Definition at line 10 of file Slot.hpp.
Referenced by VoltMod::ScreenEntity::EnsureSpawned(), and VoltMod::ScreenManager::Shared().
A player back within this long is not asked to download again.
Definition at line 29 of file WorkshopDownloads.cpp.
Referenced by VoltMod::WorkshopDownloads::OnClientDisconnected().
|
static |
Definition at line 7 of file Paths.cpp.
Referenced by ResolvePath(), and SetBaseDir().
|
static |
Definition at line 29 of file Loader.cpp.
Referenced by OnConnect(), and Patch().
Definition at line 30 of file Loader.cpp.
Referenced by OnDisconnect(), and Patch().
|
static |
Definition at line 23 of file Loader.cpp.
|
static |
Definition at line 24 of file Loader.cpp.
Referenced by LoadNextServer().
|
static |
Definition at line 132 of file Host.cpp.
Referenced by VoltMod_HostStart(), and VoltMod_HostStop().
|
static |
Definition at line 31 of file Loader.cpp.
Definition at line 32 of file Loader.cpp.
Referenced by OnShutdown(), and Patch().
|
static |
Definition at line 25 of file Loader.cpp.
Referenced by LoadNextServer(), OnConnect(), Patch(), and StartHost().
|
static |
Definition at line 26 of file Loader.cpp.
Referenced by StartHost(), and StopHost().
|
staticconstexpr |
Definition at line 36 of file Host.cpp.
Referenced by VoltMod::Host::Start().
Definition at line 13 of file GlowVision.cpp.
Definition at line 16 of file GlowVision.cpp.
Definition at line 15 of file GlowVision.cpp.
Definition at line 14 of file GlowVision.cpp.
Definition at line 24 of file VtableLookup.windows.cpp.
Referenced by FindBaseInRtti().
Definition at line 25 of file VtableLookup.windows.cpp.
Referenced by FindBaseInRtti().
Definition at line 26 of file VtableLookup.windows.cpp.
Referenced by FindBaseInRtti().
|
inlineconstexpr |
Definition at line 18 of file Loader.hpp.
Referenced by StartHost().
Definition at line 26 of file LoaderHandoff.hpp.
Referenced by StartHost().
Definition at line 27 of file LoaderHandoff.hpp.
Referenced by StartHost().
|
staticconstexpr |
Definition at line 33 of file OpenConnection.cpp.
Referenced by OpenConnection(), and SqliteSettings().
|
inlineconstexpr |
Definition at line 31 of file Connection.hpp.
|
inlineconstexpr |
Dialect tests for the if constexpr branches of a job body run against auto& conn.
Definition at line 28 of file Connection.hpp.
|
inlineconstexpr |
Definition at line 34 of file Connection.hpp.
|
staticconstexpr |
Definition at line 10 of file MenuStack.cpp.
Separates the parts of a key; not legal in an element id or a variable name.
Definition at line 7 of file WriteCache.cpp.
|
staticconstexpr |
Definition at line 20 of file PluginLoader.cpp.
Referenced by LibraryPath().
Definition at line 21 of file VtableLookup.windows.cpp.
Referenced by FindBaseInRtti().
Definition at line 19 of file VtableLookup.windows.cpp.
Referenced by FindLocator().
Definition at line 22 of file VtableLookup.windows.cpp.
Referenced by FindLocator().
Definition at line 23 of file VtableLookup.windows.cpp.
Referenced by FindLocator().
Definition at line 20 of file VtableLookup.windows.cpp.
Referenced by FindLocator().
|
staticconstexpr |
Definition at line 45 of file InstalledPlugins.cpp.
Referenced by VoltMod::InstalledPlugins::Discover().
Definition at line 124 of file VtableLookup.cpp.
Referenced by BaseCount(), and FindBaseInRtti().
Definition at line 30 of file VtableLookup.windows.cpp.
Definition at line 125 of file VtableLookup.cpp.
Referenced by CollectBases().
Offers of one addon before a declining client is dropped.
Definition at line 27 of file WorkshopDownloads.cpp.
Definition at line 17 of file Visibility.cpp.
Referenced by AddHandleVector(), and AddIndex().
Maximum player slots on a CS2 server (slots 0..MaxPlayers-1).
Definition at line 7 of file Slot.hpp.
Referenced by VoltMod::MenuStack::AnyOpen(), VoltMod::Messages::Broadcast(), VoltMod::Messages::BroadcastKey(), VoltMod::PluginContext::DisconnectClients(), VoltMod::MenuFreeze::Enable(), IsValidSlot(), VoltMod::Visibility::OnCheckTransmit(), VoltMod::GlowVision::Refresh(), VoltMod::PluginContext::ReplayMissedEvents(), and VoltMod::CenterHtml::StopAll().
Jobs beyond this are refused while the database stalls.
Definition at line 10 of file Client.cpp.
Definition at line 58 of file Entity.cpp.
Referenced by VoltMod::Entity::SetScale().
A varint is at most ten bytes; more is malformed rather than merely large.
Definition at line 17 of file ButtonPressMessage.cpp.
Referenced by ReadVarint().
Requests beyond this many waiting fail at once.
Definition at line 20 of file HttpClient.cpp.
Referenced by VoltMod::HttpClient::Send().
Definition at line 18 of file HttpClient.cpp.
Referenced by VoltMod::HttpClient::Send().
Definition at line 57 of file Entity.cpp.
Referenced by VoltMod::Entity::SetScale().
Definition at line 34 of file Vote.cpp.
Referenced by VoltMod::Vote::TryCastBallot().
|
inlineconstexpr |
Definition at line 17 of file Loader.hpp.
Referenced by LoadNextServer().
|
inlineconstexpr |
Definition at line 76 of file GameDataDocument.hpp.
Referenced by ColumnValue().
The one symbol the host resolves in a plugin library. A new name whenever the descriptor's layout changes, so an older library is never read.
Definition at line 36 of file PluginDescriptor.hpp.
Referenced by ValidateDescriptor().
Definition at line 12 of file GlowVision.cpp.
After a failed connect, jobs fail at once for this long.
Definition at line 12 of file Client.cpp.
Definition at line 17 of file RelativeAddress.hpp.
Referenced by Rel32ReadInBounds().
|
inlineconstexpr |
Definition at line 22 of file Loader.hpp.
Referenced by LoadNextServer().
|
staticconstexpr |
Definition at line 10 of file EntitySystemSpawn.cpp.
Referenced by VoltMod::EntitySystem::SpawnProp().
Definition at line 11 of file EntitySystemSpawn.cpp.
Referenced by VoltMod::EntitySystem::SpawnProp().
|
staticconstexpr |
Definition at line 8 of file LayoutPath.cpp.
Referenced by VoltMod::LayoutPath::Name(), and VoltMod::LayoutPath::Parse().
|
staticconstexpr |
Definition at line 23 of file OpenConnection.cpp.
Referenced by ParseSslMode().
CS2 refuses to intern past this many entries per table; stop short so a runaway caller cannot fill them.
Definition at line 23 of file ScreenEntity.cpp.
Definition at line 24 of file ScreenEntity.cpp.
|
staticconstexpr |
|
staticconstexpr |
The modes MariaDB, which takes a bool, reads as "the connection must use TLS".
Definition at line 30 of file OpenConnection.cpp.
Referenced by MariaDbSettings().
Definition at line 18 of file VtableLookup.windows.cpp.
Referenced by FindTypeDescriptor(), and TypeDescriptorMatches().
Definition at line 117 of file VtableLookup.cpp.
Referenced by CollectBases(), and HasSingleBase().
Definition at line 120 of file VtableLookup.cpp.
Referenced by BaseCount(), and CollectBases().
|
staticconstexpr |
Definition at line 119 of file VtableLookup.cpp.
Referenced by BaseCount().
Definition at line 118 of file VtableLookup.cpp.
Referenced by BaseCount().
|
staticconstexpr |
Definition at line 22 of file ButtonPresses.cpp.
Definition at line 122 of file VtableLookup.cpp.
Referenced by CollectBases().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Definition at line 24 of file ButtonPresses.cpp.
Definition at line 14 of file ButtonPressMessage.cpp.
Referenced by SkipField().
Definition at line 12 of file ButtonPressMessage.cpp.
Referenced by SkipField().
Definition at line 13 of file ButtonPressMessage.cpp.
Referenced by VoltMod::ButtonPressMessage::Parse(), and SkipField().
Protobuf wire types; only these can appear ahead of the fields we want.
Definition at line 11 of file ButtonPressMessage.cpp.
Referenced by SkipField().
Definition at line 28 of file Vote.cpp.
Referenced by VoltMod::Vote::Start().
Definition at line 33 of file Vote.cpp.
Referenced by VoltMod::Vote::TryCastBallot().