Lua work - loading works, I think checking for sub works. Calling subs is in the beginning stages and binding is starting

This commit is contained in:
KimLS
2013-05-10 20:13:35 -07:00
parent 43d0350870
commit dc045591e4
18 changed files with 5917 additions and 63 deletions
+50
View File
@@ -0,0 +1,50 @@
#ifndef EQEMU_LUA_ENTITY_H
#define EQEMU_LUA_ENTITY_H
#ifdef LUA_EQEMU
class Entity;
//class Lua_Client;
//class Lua_NPC;
class Lua_Mob;
//class Lua_Merc;
//class Lua_Corpse;
//class Lua_Object;
//class Lua_Doors;
//class Lua_Trap;
//class Lua_Beacon;
class Lua_Entity
{
public:
Lua_Entity() { }
Lua_Entity(Entity *d) : d_(d) { }
virtual ~Lua_Entity() { }
bool IsClient();
bool IsNPC();
bool IsMob();
bool IsMerc();
bool IsCorpse();
bool IsPlayerCorpse();
bool IsNPCCorpse();
bool IsObject();
bool IsDoor();
bool IsTrap();
bool IsBeacon();
int GetID();
//Lua_Client CastToClient();
//Lua_NPC CastToNPC();
Lua_Mob CastToMob();
//Lua_Merc CastToMerc();
//Lua_Corpse CastToCorpse();
//Lua_Object CastToObject();
//Lua_Doors CastToDoors();
//Lua_Trap CastToTrap();
//Lua_Beacon CastToBeacon();
void *d_;
};
#endif
#endif