Phantasmal MUD Lib for DGD

Phantasmal Site > Phantasmal API > API Listing > set_user

API Function: set_user

Summary:
set the mobile's user object

Defined In LPC Object:
/usr/common/lib/mobile.c

Prototype:
void set_user(object new_user)

Can Be Called By:
Anybody

Description:

Sets the mobile's user object. This function should probably be carefully access-protected in inherited classes.

This function isn't access-protected. You should access-protect your version of this and all other inherited functions, including upgraded() and destructed().

Return Value:

None.

Errors:
Usually none.

See Also:
get_user , get_body