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

Go to the source code of this file.

Functions

static void auto_apply_func (object *op)
 
static int apply_func (object *op, object *applier, int aflags)
 
 OBJECT_TYPE_INIT_DEFINE (treasure_t)
 

Detailed Description

Handles code for treasure.

Author
Alex Tokar

Definition in file treasure.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 75 of file treasure.c.

static void auto_apply_func ( object op)
static

Processes an object with FLAG_AUTO_APPLY.

Parameters
opThe object to process.

Definition at line 38 of file treasure.c.

OBJECT_TYPE_INIT_DEFINE ( treasure_t  )

Initialize the treasure type object methods.

Definition at line 107 of file treasure.c.