Atrinik Server 2.5
Functions | Variables
types/beacon.c File Reference
#include <global.h>

Go to the source code of this file.

Functions

void beacon_add (object *ob)
void beacon_remove (object *ob)
objectbeacon_locate (const char *name)

Variables

static objectlinkbeacons_list

Detailed Description

Beacon related code.

Definition in file beacon.c.


Function Documentation

void beacon_add ( object ob)

Add a beacon to beacons_list.

Parameters:
obBeacon to add.

Definition at line 38 of file beacon.c.

object* beacon_locate ( const char *  name)

Locate a beacon object in beacons_list.

Parameters:
nameName of the beacon to locate. Must be a shared string.
Returns:
The beacon object if found, NULL otherwise.

Definition at line 69 of file beacon.c.

void beacon_remove ( object ob)

Remove a beacon from beacons_list.

Parameters:
obBeacon to remove.

Definition at line 50 of file beacon.c.


Variable Documentation

The beacons list.

Definition at line 33 of file beacon.c.