L L4D2node

_GLOBAL__sub_I_g_pDatacenter

0x000332a0 · 695 bytes · unknown

Decompiled

undefined (0 params)

void _GLOBAL__sub_I_g_pDatacenter(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 *)mm_datacenter_update_interval,"mm_datacenter_update_interval","3600",2,
                 "Interval between datacenter stats updates.");
  __cxa_atexit(ConVar::~ConVar,mm_datacenter_update_interval,&__dso_handle);
  ConVar::ConVar((ConVar *)mm_datacenter_retry_interval,"mm_datacenter_retry_interval","75",2,
                 "Interval between datacenter stats retries.");
  __cxa_atexit(ConVar::~ConVar,mm_datacenter_retry_interval,&__dso_handle);
  ConVar::ConVar((ConVar *)mm_datacenter_retry_infochunks_attempts,
                 "mm_datacenter_retry_infochunks_attempts","3",2,
                 "How many times can we retry retrieving each info chunk before failing.");
  __cxa_atexit(ConVar::~ConVar,mm_datacenter_retry_infochunks_attempts,&__dso_handle);
  ConVar::ConVar((ConVar *)mm_datacenter_query_delay,"mm_datacenter_query_delay","5",2,
                 "Delay after datacenter update is enabled before data is actually queried.");
  __cxa_atexit(ConVar::~ConVar,mm_datacenter_query_delay,&__dso_handle);
  ConVar::ConVar((ConVar *)mm_datacenter_report_version,"mm_datacenter_report_version","5",2,
                 "Data version to report to DC.");
  __cxa_atexit(ConVar::~ConVar,mm_datacenter_report_version,&__dso_handle);
  ConVar::ConVar((ConVar *)mm_datacenter_delay_mount_frames,"mm_datacenter_delay_mount_frames","6",2
                 ,"How many frames to delay before attempting to mount the xlsp patch.");
  __cxa_atexit(ConVar::~ConVar,mm_datacenter_delay_mount_frames,&__dso_handle);
  CDatacenter::CDatacenter((CDatacenter *)&g_Datacenter);
  __cxa_atexit(CDatacenter::~CDatacenter,&g_Datacenter,&__dso_handle);
  ConCommand::ConCommand
            ((ConCommand *)mm_datacenter_debugprint_command,"mm_datacenter_debugprint",
             mm_datacenter_debugprint,"Shows information retrieved from data center",0,
             (int_____char_const__char *)0x0);
  __cxa_atexit(ConCommand::~ConCommand,mm_datacenter_debugprint_command,&__dso_handle);
  return;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

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.



        
        

⚠ 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.

Return-type handling cheatsheet (DHookReturn)