- added GetClassName script function.
This commit is contained in:
parent
2478cd0467
commit
8708c69f83
2 changed files with 8 additions and 0 deletions
|
|
@ -552,3 +552,9 @@ void DObject::CheckIfSerialized () const
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DObject, GetClassName)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DObject);
|
||||
ACTION_RETURN_INT(self->GetClass()->TypeName);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue