Crossfire Server, Trunk
cf_handle.cpp File Reference
#include <global.h>
#include <ob_methods.h>
#include <ob_types.h>
#include <sounds.h>
#include <sproto.h>
+ Include dependency graph for cf_handle.cpp:

Go to the source code of this file.

Functions

static method_ret cf_handle_type_apply (object *op, object *applier, int aflags)
 
void init_type_cf_handle (void)
 

Detailed Description

The implementation of the CF_Handle class of objects.

Definition in file cf_handle.cpp.

Function Documentation

◆ cf_handle_type_apply()

static method_ret cf_handle_type_apply ( object op,
object applier,
int  aflags 
)
static

Attempts to apply a handle.

Parameters
opThe handle to apply
applierThe object attempting to apply the handle.
aflagsSpecial flags (always apply/unapply)
Returns
The return value is always METHOD_OK

Definition at line 50 of file cf_handle.cpp.

References draw_ext_info(), METHOD_OK, MSG_TYPE_APPLY, MSG_TYPE_APPLY_SUCCESS, NDI_UNIQUE, object_update(), give::op, play_sound_map(), push_button(), SET_ANIMATION, SOUND_TYPE_ITEM, UP_OBJ_FACE, and nlohmann::detail::void().

Referenced by init_type_cf_handle().

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

◆ init_type_cf_handle()

void init_type_cf_handle ( void  )

Initializer for the CF_HANDLE object type.

Definition at line 39 of file cf_handle.cpp.

References CF_HANDLE, cf_handle_type_apply(), and register_apply().

Referenced by register_all_ob_types().

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