mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-18 13:28:09 +00:00
Resolved some more comments
This commit is contained in:
@@ -83,4 +83,4 @@ private:
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -102,4 +102,4 @@ private:
|
||||
std::unordered_map<size_t, Piece> m_Pieces;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -7,15 +7,19 @@
|
||||
#include "ChatPackets.h"
|
||||
#include "EntityManager.h"
|
||||
#include "EntityInfo.h"
|
||||
#include "ServerPreconditions.hpp"
|
||||
#include "ServerPreconditions.h"
|
||||
#include "MovementAIComponent.h"
|
||||
#include "BaseCombatAIComponent.h"
|
||||
|
||||
using namespace Cinema::Recording;
|
||||
|
||||
std::unordered_map<LWOOBJID, Recorder*> m_Recorders = {};
|
||||
namespace {
|
||||
|
||||
std::unordered_map<int32_t, std::string> m_EffectAnimations = {};
|
||||
std::unordered_map<LWOOBJID, Recorder*> m_Recorders = {};
|
||||
|
||||
std::unordered_map<int32_t, std::string> m_EffectAnimations = {};
|
||||
|
||||
}
|
||||
|
||||
Recorder::Recorder() {
|
||||
this->m_StartTime = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch());
|
||||
@@ -23,8 +27,7 @@ Recorder::Recorder() {
|
||||
this->m_LastRecordTime = this->m_StartTime;
|
||||
}
|
||||
|
||||
Recorder::~Recorder() {
|
||||
}
|
||||
Recorder::~Recorder() = default;
|
||||
|
||||
void Recorder::AddRecord(Record* record)
|
||||
{
|
||||
@@ -522,8 +525,6 @@ void Cinema::Recording::Recorder::RegisterEffectForActor(LWOOBJID actorID, const
|
||||
|
||||
m_EffectAnimations.emplace(effectId, animationName);
|
||||
|
||||
result.finalize();
|
||||
|
||||
recorder->AddRecord(new AnimationRecord(animationName));
|
||||
}
|
||||
}
|
||||
|
@@ -398,4 +398,4 @@ public:
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <tinyxml2.h>
|
||||
|
||||
#include "ServerPreconditions.hpp"
|
||||
#include "ServerPreconditions.h"
|
||||
#include "EntityManager.h"
|
||||
#include "EntityInfo.h"
|
||||
#include "MissionComponent.h"
|
||||
|
@@ -117,4 +117,4 @@ private:
|
||||
static std::unordered_map<std::string, Scene> m_Scenes;
|
||||
};
|
||||
|
||||
} // namespace Cinema
|
||||
} // namespace Cinema
|
||||
|
Reference in New Issue
Block a user