예제 #1
0
VariableInfo* Script::GetVariableByName(const char* varName)
{
    VarListVisitor visitor(&varList);
    const VarInfoEntry* varEntry = visitor.Find(ScriptVarFinder(varName));
    if (varEntry)
        return varEntry->data;
    else
        return NULL;
}
예제 #2
0
파일: GameForms.cpp 프로젝트: ashmedai/NVSE
Script::VariableInfo* Script::GetVariableByName(const char* varName)
{
	VariableInfo* pVariableInfo = vars.Find(ScriptVarFinder(varName));
	return pVariableInfo;
}