MCPcopy Create free account
hub / github.com/CytopiaTeam/Cytopia / MessageCallback

Method MessageCallback

src/Scripting/ScriptEngine.cxx:99–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void ScriptEngine::MessageCallback(const asSMessageInfo *msg)
100{
101 const char *type = "Error";
102 if (msg->type == asMSGTYPE_INFORMATION)
103 type = "Info";
104 else if (msg->type == asMSGTYPE_WARNING)
105 type = "Warning";
106
107 printf("%s (%d, %d): %s = %s", msg->section, msg->row, msg->col, type, msg->message);
108}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected