DarkflameServer/dGame/dEntity/EntityInfo.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
645 B
C
Raw Normal View History

#pragma once
#include <vector>
#include "dCommonVars.h"
#include "NiPoint3.h"
#include "NiQuaternion.h"
#include "LDFFormat.h"
class Spawner;
struct EntityInfo {
EntityInfo() {
spawner = nullptr;
spawnerID = 0;
hasSpawnerNodeID = false;
spawnerNodeID = 0;
id = 0;
lot = LOT_NULL;
pos = { 0,0,0 };
rot = { 0,0,0,0 };
settings = {};
networkSettings = {};
scale = 1.0f;
}
Spawner* spawner;
LWOOBJID spawnerID;
2022-07-28 13:39:57 +00:00
bool hasSpawnerNodeID;
uint32_t spawnerNodeID;
2022-07-28 13:39:57 +00:00
LWOOBJID id;
LOT lot;
NiPoint3 pos;
NiQuaternion rot;
std::vector<LDFBaseData*> settings;
std::vector<LDFBaseData*> networkSettings;
float scale;
};