Player event export plus lua_object api

This commit is contained in:
KimLS
2013-06-03 16:49:47 -07:00
parent bc82bff4b4
commit 85c7e1b059
7 changed files with 397 additions and 72 deletions
+35
View File
@@ -28,6 +28,41 @@ public:
return nullptr;
}
void Depop();
void Repop();
void SetModelName(const char *name);
const char *GetModelName();
float GetX();
float GetY();
float GetZ();
float GetHeading();
void SetX(float x);
void SetY(float y);
void SetZ(float z);
void SetHeading(float h);
void SetLocation(float x, float y, float z);
void SetItemID(uint32 item_id);
uint32 GetItemID();
void SetIcon(uint32 icon);
uint32 GetIcon();
void SetType(uint32 type);
uint32 GetType();
uint32 GetDBID();
void ClearUser();
void SetID(int user);
int GetID();
bool Save();
uint32 VarSave();
void DeleteItem(int index);
void StartDecay();
void Delete();
void Delete(bool reset_state);
bool IsGroundSpawn();
void Close();
const char *GetEntityVariable(const char *name);
void SetEntityVariable(const char *name, const char *value);
bool EntityVariableExists(const char *name);
};
#endif