L L4D2node

CLogicNavigation::TurnOn

0x006efa60 · 49 bytes · __thiscall

_ZN16CLogicNavigation6TurnOnEv.part.14

Decompiled

undefined (1 param)

/* CLogicNavigation::TurnOn() [clone .part.14] */

void __thiscall CLogicNavigation::TurnOn(CLogicNavigation *this)

{
  CLogicNavigation *in_EAX;
  
  in_EAX[0x444] = (CLogicNavigation)0x1;
  CGlobalEntityList::AddListenerEntity
            ((CGlobalEntityList *)gEntList,(IEntityListener *)(in_EAX + 0x440));
  UpdateProperty(in_EAX);
  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)