mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-05 02:04:04 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
40
dGame/dEntity/EntityInfo.h
Normal file
40
dGame/dEntity/EntityInfo.h
Normal file
@@ -0,0 +1,40 @@
|
||||
#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;
|
||||
|
||||
bool hasSpawnerNodeID;
|
||||
uint32_t spawnerNodeID;
|
||||
|
||||
LWOOBJID id;
|
||||
LOT lot;
|
||||
NiPoint3 pos;
|
||||
NiQuaternion rot;
|
||||
std::vector<LDFBaseData*> settings;
|
||||
std::vector<LDFBaseData*> networkSettings;
|
||||
float scale;
|
||||
};
|
Reference in New Issue
Block a user