Atrinik Server  4.0
Functions
handle.c File Reference
#include <global.h>
#include <object.h>
#include <object_methods.h>
#include <key.h>

Go to the source code of this file.

Functions

static int apply_func (object *op, object *applier, int aflags)
 
static int trigger_func (object *op, object *cause, int state)
 
static void process_func (object *op)
 
 OBJECT_TYPE_INIT_DEFINE (handle)
 

Detailed Description

Handles code for handles.

Author
Alex Tokar

Definition in file handle.c.

Function Documentation

static int apply_func ( object op,
object applier,
int  aflags 
)
static

Applies an object.

Parameters
opThe object to apply.
applierThe object that executes the apply action.
aflagsSpecial (always apply/unapply) flags.

Definition at line 39 of file handle.c.

OBJECT_TYPE_INIT_DEFINE ( handle  )

Initialize the handle type object methods.

Definition at line 146 of file handle.c.

static void process_func ( object op)
static

Processes an object, giving it the opportunity to move or react.

Parameters
opThe object to process.

Definition at line 123 of file handle.c.

static int trigger_func ( object op,
object cause,
int  state 
)
static

An object is triggered by another one.

Parameters
opThe object being triggered.
causeThe object that is the cause of the trigger.
stateTrigger state.

Definition at line 102 of file handle.c.