Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenApoc/OpenApoc
/ getSp
Method
getSp
game/state/stateobject.h:181–186 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
179
return *this;
180
}
181
sp<T> getSp() const
182
{
183
if (!obj)
184
resolve();
185
return obj;
186
}
187
const T *get() const
188
{
189
if (!obj)
Callers
7
update
Method · 0.80
start
Method · 0.80
updateTB
Method · 0.80
exitBattle
Method · 0.80
displayImplementation
Method · 0.80
setCurrentLabInfo
Method · 0.80
handleMouseDown
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected