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

Function AttachTokenIterator

Source/Scripting/angelscript/asfuncs.cpp:3063–3070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3061}
3062
3063void AttachTokenIterator(ASContext* context) {
3064 context->RegisterObjectType("TokenIterator", sizeof(TokenIterator), asOBJ_VALUE | asOBJ_POD | asOBJ_APP_CLASS);
3065 context->RegisterObjectMethod("TokenIterator", "void Init()", asMETHOD(TokenIterator, Init), asCALL_THISCALL);
3066 context->RegisterObjectMethod("TokenIterator", "bool FindNextToken(const string& in)", asMETHOD(TokenIterator, FindNextToken), asCALL_THISCALL);
3067 context->RegisterObjectMethod("TokenIterator", "string GetToken(const string& in)", asMETHOD(TokenIterator, GetToken), asCALL_THISCALL);
3068 context->DocsCloseBrace();
3069 context->RegisterGlobalFunction("void Breakpoint(int)", asFUNCTION(Breakpoint), asCALL_CDECL);
3070}
3071
3072MovementObject* ASReadCharacter(int which) {
3073 if (which < 0 || which >= (int)the_scenegraph->movement_objects_.size()) {

Callers 6

InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85

Calls 4

RegisterObjectTypeMethod · 0.80
DocsCloseBraceMethod · 0.80
RegisterObjectMethodMethod · 0.45

Tested by

no test coverage detected