Phantasmal Site > Phantasmal API > API Listing > to_unq_text
API Function: to_unq_text
- Summary:
- serialize the mobile as UNQ text
- Defined In LPC Object:
- /usr/common/lib/mobile.c
- Prototype:
- string to_unq_text(void)
- Can Be Called By:
- System, Common, Game
- Description:
-
This is a simple default implementation of to_unq_text() for
mobiles. You'll want to override this for more customized
mobile types.
You should access-protect your version of this and all other
inherited functions, including upgraded() and destructed().
- Return Value:
-
The serialized object as a string, or nil for failure.
- Errors:
- Usually none.
- See Also:
- mobile_from_dtd_unq
|