mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-20 13:44:21 +00:00
remove ref
This commit is contained in:
@@ -203,7 +203,7 @@ void Spawner::Update(const float deltaTime) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::vector<LWOOBJID>& Spawner::GetSpawnedObjectIDs() const {
|
const std::vector<LWOOBJID> Spawner::GetSpawnedObjectIDs() const {
|
||||||
std::vector<LWOOBJID> ids;
|
std::vector<LWOOBJID> ids;
|
||||||
ids.reserve(m_Entities.size());
|
ids.reserve(m_Entities.size());
|
||||||
for (const auto objId : m_Entities | std::views::keys) {
|
for (const auto objId : m_Entities | std::views::keys) {
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ public:
|
|||||||
void SetRespawnTime(const float time);
|
void SetRespawnTime(const float time);
|
||||||
void SetNumToMaintain(const int32_t value);
|
void SetNumToMaintain(const int32_t value);
|
||||||
bool GetIsSpawnSmashGroup() const { return m_SpawnSmashFoundGroup; };
|
bool GetIsSpawnSmashGroup() const { return m_SpawnSmashFoundGroup; };
|
||||||
const std::vector<LWOOBJID>& GetSpawnedObjectIDs() const;
|
const std::vector<LWOOBJID> GetSpawnedObjectIDs() const;
|
||||||
|
|
||||||
SpawnerInfo m_Info;
|
SpawnerInfo m_Info;
|
||||||
bool m_Active = true;
|
bool m_Active = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user