L L4D2node

CNavArea::GetLightIntensity

0x00701720 · 53 bytes · __thiscall

_ZNK8CNavArea17GetLightIntensityEff

Decompiled

undefined (3 params)

/* CNavArea::GetLightIntensity(float, float) const */

void __thiscall CNavArea::GetLightIntensity(CNavArea *this,float param_1,float param_2)

{
  float local_10;
  float local_c;
  undefined4 local_8;
  
  local_8 = 0;
  local_10 = param_1;
  local_c = param_2;
  GetLightIntensity(this,(Vector *)&local_10);
  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.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)