Phantasmal Site > Phantasmal API > API Listing > add_unq_text_mobiles
API Function: add_unq_text_mobiles
- Summary:
- add and register mobiles as UNQ text
- Defined In LPC Object:
- /usr/common/sys/mobiled.c
- Prototype:
- void add_unq_text_mobiles(string unq_text, string filename)
- Can Be Called By:
- System, Common, Game
- Description:
-
Creates and registers mobiles based on the supplied UNQ text.
The UNQ text is parsed according to the standard mobile UNQ
DTD and the mobile binder's current configuration. It is
assumed that the mobiles' bodies, if any, already exist and
are registered by number with the MapD.
This function is optional, in the sense that everything it
does can be done in your own way and your own format, if
you're so inclined.
- Return Value:
-
None.
- Errors:
- Many errors can occur in parsing, cloning and setting data.
- See Also:
- add_mobile_number ,
get_mobile_by_num ,
add_dtd_unq_mobiles
|