MCPcopy Create free account
hub / github.com/bwapi/bwapi / getOpcodeName

Function getOpcodeName

bwapi/BWScriptEmulator/ScriptEnum.cpp:366–371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364namespace AISCRIPT
365{
366 const char * const getOpcodeName(int iOpcode)
367 {
368 if ( iOpcode < 0 || iOpcode > Enum::LAST )
369 return pszOpcodeName[Enum::LAST];
370 return pszOpcodeName[iOpcode];
371 }
372 const char * const getUnitName(int iUnitType)
373 {
374 int t = iUnitType;

Callers 2

saveDebugMethod · 0.85
getNameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected