mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 16:32:21 +00:00
Raid/Group lua stuff, renamed corpses
This commit is contained in:
1 parent
d14608356d
commit
55a964267e
28 files changed
+399
-66
No files matched your search
@@ -2,6 +2,32 @@
|
||||
#define EQEMU_LUA_HATE_LIST_H
|
||||
#ifdef LUA_EQEMU
|
||||
|
||||
#include "lua_ptr.h"
|
||||
|
||||
class Lua_Mob;
|
||||
struct tHateEntry;
|
||||
|
||||
luabind::scope lua_register_hate_entry();
|
||||
luabind::scope lua_register_hate_list();
|
||||
|
||||
class Lua_HateEntry : public Lua_Ptr<void>
|
||||
{
|
||||
typedef tHateEntry NativeType;
|
||||
public:
|
||||
Lua_HateEntry() { }
|
||||
Lua_HateEntry(tHateEntry *d) : Lua_Ptr(d) { }
|
||||
virtual ~Lua_HateEntry() { }
|
||||
|
||||
Lua_Mob GetEnt();
|
||||
void SetEnt(Lua_Mob e);
|
||||
int GetDamage();
|
||||
void SetDamage(int value);
|
||||
int GetHate();
|
||||
void SetHate(int value);
|
||||
int GetFrenzy();
|
||||
void SetFrenzy(bool value);
|
||||
};
|
||||
|
||||
struct Lua_HateList
|
||||
{
|
||||
std::vector<Lua_HateEntry> entries;
|
||||
|
||||
Reference in new issue
Block a user