_GLOBAL__sub_I_hltv
0x00097d20 · 1621 bytes · unknown
Decompiled
undefined (0 params)
void _GLOBAL__sub_I_hltv(void)
{
vec2_origin._0_4_ = 0;
vec2_origin._4_4_ = 0;
vec2_invalid._0_4_ = 0x7f7fffff;
vec2_invalid._4_4_ = 0x7f7fffff;
vec4_origin._0_4_ = 0;
vec4_origin._4_4_ = 0;
vec4_origin._8_4_ = 0;
vec4_origin._12_4_ = 0;
vec4_invalid._0_4_ = 0x7f7fffff;
vec4_invalid._4_4_ = 0x7f7fffff;
vec4_invalid._8_4_ = 0x7f7fffff;
vec4_invalid._12_4_ = 0x7f7fffff;
UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
ConVar::ConVar((ConVar *)tv_maxclients,"tv_maxclients","128",0,
"Maximum client number on SourceTV server.",true,0.0,true,255.0);
__cxa_atexit(ConVar::~ConVar,tv_maxclients,&__dso_handle);
ConVar::ConVar((ConVar *)tv_autorecord,"tv_autorecord","0",0,
"Automatically records all games as SourceTV demos.");
__cxa_atexit(ConVar::~ConVar,tv_autorecord,&__dso_handle);
ConVar::ConVar((ConVar *)tv_name,"tv_name","SourceTV",0,"SourceTV host name",tv_name_changed_f);
__cxa_atexit(ConVar::~ConVar,tv_name,&__dso_handle);
ConVar::ConVar((ConVar *)tv_password,"tv_password","",0x20120,"SourceTV password for all clients")
;
__cxa_atexit(ConVar::~ConVar,tv_password,&__dso_handle);
ConVar::ConVar((ConVar *)tv_overridemaster,"tv_overridemaster","0",0,
"Overrides the SourceTV master root address.");
__cxa_atexit(ConVar::~ConVar,tv_overridemaster,&__dso_handle);
ConVar::ConVar((ConVar *)tv_dispatchmode,"tv_dispatchmode","1",0,
"Dispatch clients to relay proxies: 0=never, 1=if appropriate, 2=always");
__cxa_atexit(ConVar::~ConVar,tv_dispatchmode,&__dso_handle);
ConVar::ConVar((ConVar *)tv_transmitall,"tv_transmitall","0",0x2000,
"Transmit all entities (not only director view)");
__cxa_atexit(ConVar::~ConVar,tv_transmitall,&__dso_handle);
ConVar::ConVar((ConVar *)tv_debug,"tv_debug","0",0,"SourceTV debug info.");
__cxa_atexit(ConVar::~ConVar,tv_debug,&__dso_handle);
ConVar::ConVar((ConVar *)tv_title,"tv_title","SourceTV",0,"Set title for SourceTV spectator UI",
tv_title_changed_f);
__cxa_atexit(ConVar::~ConVar,tv_title,&__dso_handle);
ConVar::ConVar((ConVar *)tv_deltacache,"tv_deltacache","2",0,
"Enable delta entity bit stream cache");
__cxa_atexit(ConVar::~ConVar,tv_deltacache,&__dso_handle);
ConVar::ConVar((ConVar *)tv_relayvoice,"tv_relayvoice","1",0,"Relay voice data: 0=off, 1=on");
__cxa_atexit(ConVar::~ConVar,tv_relayvoice,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)tv_status_command,"tv_status",tv_status,"Show SourceTV server status.",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,tv_status_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)tv_relay_command,"tv_relay",tv_relay,
"Connect to SourceTV server and relay broadcast.",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,tv_relay_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)tv_stop_command,"tv_stop",tv_stop,"Stops the SourceTV broadcast.",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,tv_stop_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)tv_retry_command,"tv_retry",tv_retry,
"Reconnects the SourceTV relay proxy.",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,tv_retry_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)tv_record_command,"tv_record",tv_record,"Starts SourceTV demo recording."
,0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,tv_record_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)tv_stoprecord_command,"tv_stoprecord",tv_stoprecord,
"Stops SourceTV demo recording.",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,tv_stoprecord_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)tv_clients_command,"tv_clients",tv_clients,
"Shows list of connected SourceTV clients.",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,tv_clients_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)tv_msg_command,"tv_msg",tv_msg,"Send a screen message to all clients.",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,tv_msg_command,&__dso_handle);
return;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
Just a Signatures{} block, ready to drop into a gamedata
file. Wire it up in your plugin however you like - SDKCall, DHooks,
raw memory ops, or anything else.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
⚠ This function has no mangled symbol — it may be internal/static. The
Linux gamedata field uses @-prefix symbol resolution which
requires an exported mangled name. You'll need a Linux byte signature
for this one (extract via extract_signature.java).
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.