Atrinik Server  4.0
Functions
magic_mirror.h File Reference

Go to the source code of this file.

Functions

mapstructmagic_mirror_get_map (object *op)
 

Detailed Description

Magic mirror related header file.

Definition in file magic_mirror.h.

Function Documentation

mapstruct* magic_mirror_get_map ( object op)

Get map to which a magic mirror is pointing to. Almost always this should be used instead of accessing magic_mirror_struct::map directly, as it will make sure the map is loaded and will reset the swap timeout.

Parameters
opMagic mirror to get map of.
Returns
The map. Can be NULL in case of loading error.

Definition at line 121 of file magic_mirror.c.