Module m_save
Documentation for the modules-m_save module in /secure/modules/m_save.c.
Module Information
This module implements persistence
Functions
-
void add_save(mixed *vars)
Mark a variable as one that gets saved.
-
string *get_saved()
returns the array of variables that get saved.
-
void set_save_recurse(int flag)
sets whether or not a save is recursive.
- varargs string save_to_string(int recursep)
saves an object into a string representation. You can skip an object from being saved by adding:
int do_not_restore() { return 1; }
in the object.
- varargs string save_things_to_string(int recursep)
saves an object into a string representation. You can skip an object from being saved by adding:
int do_not_restore() { return 1; }
in the object. This function is identical to save_to_string(), but skips players and monsters (is_living()).
File generated by Lima 1.1a4 reStructured Text daemon.