Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenTTD/OpenTTD
/ AddRef
Method
AddRef
src/script/api/script_object.hpp:49–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
47
virtual ~SimpleCountedObject() = default;
48
49
inline void AddRef() { ++this->ref_count; }
50
void Release();
51
virtual void FinalRelease() {};
52
Callers
4
DefSQConstructorCallback
Function · 0.45
DefSQAdvancedConstructorCallback
Function · 0.45
_cloned
Method · 0.45
ScriptObjectRef
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected