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

Go to the source code of this file.

Functions

void init_ob_methods (void)
 

Variables

static ob_methods base_type
 
static ob_methods legacy_type
 

Detailed Description

Those functions deal with the object/type system.

Definition in file ob_methods.c.

Function Documentation

◆ init_ob_methods()

void init_ob_methods ( void  )

Initializes the ob_method system. This means initializing legacy_type, base_type, and also calling init_ob_types() from ob_types.c

Definition at line 35 of file ob_methods.c.

References ob_methods::apply, base_type, ob_methods::describe, init_ob_method_struct(), init_ob_types(), legacy_ob_apply(), legacy_ob_describe(), legacy_ob_process(), legacy_type, ob_methods::move_on, ob_methods::process, and register_all_ob_types().

Referenced by init().

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

Variable Documentation

◆ base_type

ob_methods base_type
static

Definition at line 27 of file ob_methods.c.

Referenced by init_ob_methods(), and init_ob_types().

◆ legacy_type

ob_methods legacy_type
static

Definition at line 29 of file ob_methods.c.

Referenced by init_ob_methods().