MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ASReadHotspot

Function ASReadHotspot

Source/Scripting/angelscript/asfuncs.cpp:3080–3086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3078}
3079
3080Hotspot* ASReadHotspot(int which) {
3081 if (which < 0 || which >= (int)the_scenegraph->hotspots_.size()) {
3082 std::string callstack = active_context_stack.top()->GetCallstack();
3083 FatalError("Error", "There is no hotspot %d\n Called from:\n%s", which, callstack.c_str());
3084 }
3085 return (Hotspot*)the_scenegraph->hotspots_[which];
3086}
3087
3088MovementObject* ASReadCharacterID(int which) {
3089 if (which == -1) {

Callers

nothing calls this directly

Calls 5

GetCallstackMethod · 0.80
topMethod · 0.80
FatalErrorFunction · 0.50
sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected