Atrinik Server  4.0
Data Structures | Macros | Typedefs | Enumerations
party.h File Reference

Go to the source code of this file.

Data Structures

struct  party_struct
 

Macros

#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_OWNER, PARTY_LOOT_RANDOM,
  PARTY_LOOT_SPLIT, 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_OWNER 

Only corpse owner can loot the corpse.

PARTY_LOOT_RANDOM 

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

PARTY_LOOT_SPLIT 

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

PARTY_LOOT_MAX 

Total number of the modes.

Definition at line 52 of file party.h.