Atrinik Server  4.0
container.h File Reference

Go to the source code of this file.


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.

opObject being put into the container.
containerThe container.
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.

applierThe player. If NULL, we will unlink all players from the container 'op'.
opThe container object. If NULL, unlink the applier's current container.
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.