[Server] Use consistent pattern for script function category names

pull/183/merge
David Cernat 8 years ago
parent cea1425db1
commit 82dcec5ec5

@ -7,23 +7,23 @@
#include "../Types.hpp"
#define CHARCLASSFUNCTIONS \
{"SetDefaultClass", CharClassFunctions::SetDefaultClass},\
{"SetClassName", CharClassFunctions::SetClassName},\
{"SetClassDesc", CharClassFunctions::SetClassDesc},\
{"SetClassMajorAttribute", CharClassFunctions::SetClassMajorAttribute},\
{"SetClassSpecialization", CharClassFunctions::SetClassSpecialization},\
{"SetClassMajorSkill", CharClassFunctions::SetClassMajorSkill},\
{"SetClassMinorSkill", CharClassFunctions::SetClassMinorSkill},\
{"GetDefaultClass", CharClassFunctions::GetDefaultClass},\
{"GetClassName", CharClassFunctions::GetClassName},\
{"GetClassDesc", CharClassFunctions::GetClassDesc},\
{"GetClassMajorAttribute", CharClassFunctions::GetClassMajorAttribute},\
{"GetClassSpecialization", CharClassFunctions::GetClassSpecialization},\
{"GetClassMajorSkill", CharClassFunctions::GetClassMajorSkill},\
{"GetClassMinorSkill", CharClassFunctions::GetClassMinorSkill},\
{"IsClassDefault", CharClassFunctions::IsClassDefault},\
{"SendClass", CharClassFunctions::SendClass}
#define CHARCLASSAPI \
{"SetDefaultClass", CharClassFunctions::SetDefaultClass},\
{"SetClassName", CharClassFunctions::SetClassName},\
{"SetClassDesc", CharClassFunctions::SetClassDesc},\
{"SetClassMajorAttribute", CharClassFunctions::SetClassMajorAttribute},\
{"SetClassSpecialization", CharClassFunctions::SetClassSpecialization},\
{"SetClassMajorSkill", CharClassFunctions::SetClassMajorSkill},\
{"SetClassMinorSkill", CharClassFunctions::SetClassMinorSkill},\
{"GetDefaultClass", CharClassFunctions::GetDefaultClass},\
{"GetClassName", CharClassFunctions::GetClassName},\
{"GetClassDesc", CharClassFunctions::GetClassDesc},\
{"GetClassMajorAttribute", CharClassFunctions::GetClassMajorAttribute},\
{"GetClassSpecialization", CharClassFunctions::GetClassSpecialization},\
{"GetClassMajorSkill", CharClassFunctions::GetClassMajorSkill},\
{"GetClassMinorSkill", CharClassFunctions::GetClassMinorSkill},\
{"IsClassDefault", CharClassFunctions::IsClassDefault},\
{"SendClass", CharClassFunctions::SendClass}
class CharClassFunctions

@ -5,7 +5,7 @@
#ifndef OPENMW_GUI_HPP
#define OPENMW_GUI_HPP
#define GUIFUNCTIONS \
#define GUIAPI \
{"MessageBox", GUIFunctions::_MessageBox},\
{"CustomMessageBox", GUIFunctions::CustomMessageBox},\
{"InputDialog", GUIFunctions::InputDialog},\

@ -5,7 +5,7 @@
#ifndef OPENMW_STATS_HPP
#define OPENMW_STATS_HPP
#define STATSFUNCTIONS \
#define STATSAPI \
{"GetName", StatsFunctions::GetName},\
{"SetName", StatsFunctions::SetName},\
\

@ -1,7 +1,7 @@
#ifndef OPENMW_WORLD_HPP
#define OPENMW_WORLD_HPP
#define WORLDFUNCTIONS \
#define WORLDAPI \
{"InitScriptEvent", WorldFunctions::InitScriptEvent},\
\
{"GetObjectChangesSize", WorldFunctions::GetObjectChangesSize},\

@ -94,13 +94,13 @@ public:
POSITIONAPI,
CELLAPI,
STATSFUNCTIONS,
STATSAPI,
ITEMAPI,
QUESTAPI,
SPELLAPI,
GUIFUNCTIONS,
CHARCLASSFUNCTIONS,
WORLDFUNCTIONS,
GUIAPI,
CHARCLASSAPI,
WORLDAPI,
MISCELLANEOUSAPI
};

Loading…
Cancel
Save