| 153 | } |
| 154 | |
| 155 | void PathPointObject::RegisterToScript(ASContext* as_context) { |
| 156 | as_context->RegisterObjectType("PathPointObject", 0, asOBJ_REF | asOBJ_NOCOUNT); |
| 157 | as_context->RegisterObjectMethod("PathPointObject", |
| 158 | "int NumConnectionIDs()", |
| 159 | asFUNCTION(ASNumConnectionIDs), asCALL_CDECL_OBJFIRST); |
| 160 | as_context->RegisterObjectMethod("PathPointObject", |
| 161 | "int GetConnectionID(int which)", |
| 162 | asFUNCTION(ASGetConnectionID), asCALL_CDECL_OBJFIRST); |
| 163 | as_context->DocsCloseBrace(); |
| 164 | } |
| 165 | |
| 166 | void PathPointObject::Draw() { |
| 167 | if (g_debug_runtime_disable_pathpoint_object_draw) { |
nothing calls this directly
no test coverage detected