Added a GetClassStatic function to all entities, as well as cFurnaceEntity, cChestEntity and cWorld
Using templates to generate ForEach* functions instead of MACROS Better error reporting in ForEach* functions git-svn-id: http://mc-server.googlecode.com/svn/trunk@1191 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -70,7 +70,19 @@ cEntity::~cEntity()
|
||||
|
||||
|
||||
|
||||
CLASS_DEF_GETCLASS(cEntity);
|
||||
const char * cEntity::GetClass(void) const
|
||||
{
|
||||
return "cEntity";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
const char * cEntity::GetClassStatic(void)
|
||||
{
|
||||
return "cEntity";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user