Atrinik Server  4.0
Functions
container.h File Reference

Go to the source code of this file.

Functions

bool container_check_magical (object *op, object *container)
 
bool container_close (object *applier, object *op)
 

Detailed Description

Container related header file.

Definition in file container.h.

Function Documentation

bool container_check_magical ( object op,
object container 
)

Check if both objects are magical containers.

Parameters
opObject being put into the container.
containerThe container.
Returns
True if both op and container are magical containers, false otherwise.

Definition at line 53 of file container.c.

bool container_close ( object applier,
object op 
)

Close a container and remove player from the container's linked list.

Parameters
applierThe player. If NULL, we will unlink all players from the container 'op'.
opThe container object. If NULL, unlink the applier's current container.
Returns
True if the container was closed and has no players left looking into the container, false otherwise.

Definition at line 176 of file container.c.