C Scripts and remove unneeded includes from base cppscripts header

Remove the MissionComponent and Loot includes from all base scripts and place their needed includes in the respective scripts.
This commit is contained in:
EmosewaMC
2022-06-22 22:19:49 -07:00
parent a91309c5f8
commit dc53c45d65
50 changed files with 52 additions and 24 deletions

View File

@@ -2,6 +2,7 @@
#include <sstream>
#include "MissionComponent.h"
#include "EntityManager.h"
#include "PropertyDataMessage.h"
#include "UserManager.h"

View File

@@ -6,6 +6,8 @@
#include "Game.h"
#include "dLogger.h"
#include "CharacterComponent.h"
#include "MissionComponent.h"
#include "MissionTaskType.h"
#include "dServer.h"
#include "PacketUtils.h"

View File

@@ -1,5 +1,8 @@
#pragma once
#ifndef __MISSIONSTATE__H__
#define __MISSIONSTATE__H__
/**
* Represents the possible states a mission can be in
*/
@@ -49,3 +52,5 @@ enum class MissionState : int {
*/
MISSION_STATE_COMPLETE_READY_TO_COMPLETE = 12
};
#endif //!__MISSIONSTATE__H__