1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 03:19:40 +00:00

[Server] Use consistent pattern for script function category names

This commit is contained in:
David Cernat 2017-03-04 14:11:00 +02:00
parent cea1425db1
commit 82dcec5ec5
5 changed files with 24 additions and 24 deletions

View file

@ -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

View file

@ -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},\

View file

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

View file

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

View file

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