cleanup enums to make them more consistent

This commit is contained in:
Aaron Kimbre
2023-01-22 17:38:47 -06:00
parent cff94b6c22
commit faf42d2f8c
133 changed files with 898 additions and 808 deletions

View File

@@ -7,7 +7,7 @@
class User;
class Entity;
class NiPoint3;
enum class MissionState : int32_t;
enum class eMissionState : int32_t;
namespace CppScripts {
/**
@@ -49,7 +49,7 @@ namespace CppScripts {
*
* Equivalent to 'function onMissionDialogueOK(self, msg)'
*/
virtual void OnMissionDialogueOK(Entity* self, Entity* target, int missionID, MissionState missionState) {};
virtual void OnMissionDialogueOK(Entity* self, Entity* target, int missionID, eMissionState missionState) {};
/**
* Invoked when the client or the server invoked an event server-side.
@@ -327,7 +327,7 @@ namespace CppScripts {
/**
* Used by items to tell their owner that they were equipped.
*
*
* @param itemOwner The owner of the item
* @param itemObjId The items Object ID
*/
@@ -335,7 +335,7 @@ namespace CppScripts {
/**
* Used by items to tell their owner that they were unequipped.
*
*
* @param itemOwner The owner of the item
* @param itemObjId The items Object ID
*/