Crossfire Server, Trunk
|
#include "Treasures.h"
Go to the source code of this file.
Functions | |
template<> | |
treasurelist * | asset_create (const std::string &name) |
template<> | |
void | asset_destroy (treasurelist *item) |
treasurelist* asset_create | ( | const std::string & | name | ) |
Definition at line 16 of file Treasures.cpp.
References add_string(), give::name, and treasurelist::name.
void asset_destroy | ( | treasurelist * | item | ) |
Definition at line 23 of file Treasures.cpp.
References free_string(), and treasure_free().
Referenced by Treasures::replace().