Atrinik Server  4.0
magic_mirror.h File Reference

Go to the source code of this file.


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.

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

Definition at line 121 of file magic_mirror.c.