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

Go to the source code of this file.

Functions

template<>
GeneralMessageasset_create (const std::string &name)
 
template<>
void asset_destroy (GeneralMessage *item)
 

Function Documentation

◆ asset_create()

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

Definition at line 17 of file Messages.cpp.

References add_string(), GeneralMessage::identifier, and name.

+ Here is the call graph for this function:

◆ asset_destroy()

template<>
void asset_destroy ( GeneralMessage item)

Definition at line 24 of file Messages.cpp.

References FREE_AND_CLEAR_STR_IF, GeneralMessage::identifier, GeneralMessage::message, GeneralMessage::quest_code, and GeneralMessage::title.

Referenced by Messages::replace().

+ Here is the caller graph for this function: