Atrinik Server 2.5
Data Structures | Defines | Typedefs | Enumerations | Variables
include/party.h File Reference

Go to the source code of this file.

Data Structures

struct  party_struct

Defines

#define PARTY_MESSAGE_STATUS   1
#define PARTY_MESSAGE_CHAT   2
#define CMD_PARTY_LIST   1
#define CMD_PARTY_WHO   2
#define CMD_PARTY_JOIN   3
#define CMD_PARTY_PASSWORD   4
#define CMD_PARTY_LEAVE   5
#define CMD_PARTY_UPDATE   6
#define CMD_PARTY_REMOVE_MEMBER   7

Typedefs

typedef struct party_struct party_struct

Enumerations

enum  { PARTY_LOOT_NORMAL, PARTY_LOOT_LEADER, PARTY_LOOT_RANDOM, PARTY_LOOT_MAX }

Variables

party_structfirst_party
const char *const party_loot_modes [PARTY_LOOT_MAX]
const char *const party_loot_modes_help [PARTY_LOOT_MAX]

Detailed Description

Party code header file.

Definition in file party.h.


Typedef Documentation

typedef struct party_struct party_struct

Party structure.


Enumeration Type Documentation

anonymous enum

Party looting modes.

Enumerator:
PARTY_LOOT_NORMAL 

Normal looting: any party member can loot the corpse.

PARTY_LOOT_LEADER 

Only leader can loot the corpse.

PARTY_LOOT_RANDOM 

Loot is randomly split between party members when the corpse is opened.

PARTY_LOOT_MAX 

Total number of the modes.

Definition at line 49 of file party.h.