mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-11 21:01:29 +00:00
33 lines
603 B
C++
33 lines
603 B
C++
#ifndef EQEMU_LUA_HATE_ENTRY_H
|
|
#define EQEMU_LUA_HATE_ENTRY_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);
|
|
};
|
|
|
|
#endif
|
|
#endif
|