Crossfire Server, Trunk
Treasures.cpp File Reference
#include "Treasures.h"
+ Include dependency graph for Treasures.cpp:

Go to the source code of this file.

Functions

template<>
treasurelistasset_create (const std::string &name)
 
template<>
void asset_destroy (treasurelist *item)
 

Function Documentation

◆ asset_create()

template<>
treasurelist* asset_create ( const std::string &  name)

Definition at line 16 of file Treasures.cpp.

References add_string(), give::name, and treasurelist::name.

+ Here is the call graph for this function:

◆ asset_destroy()

template<>
void asset_destroy ( treasurelist item)

Definition at line 23 of file Treasures.cpp.

References free_string(), and treasure_free().

Referenced by Treasures::replace().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: