Open source remastering of the Freespace 2 engine
multi_kick.cpp File Reference

Go to the source code of this file.


#define MAX_BAN_SLOTS   30


void send_player_kick_packet (int player_index, int ban=1, int reason=KICK_REASON_NORM)
void process_player_kick_packet (ubyte *data, header *hinfo)
void multi_kick_add_ban (net_addr *addr)
int multi_kick_can_kick (net_player *player)
void multi_kick_init ()
void multi_kick_process ()
void multi_kick_player (int player_index, int ban, int reason)
int multi_kick_is_banned (net_addr *addr)
void multi_dcf_kick ()
void multi_kick_get_text (net_player *pl, int reason, char *str)


net_addr Multi_kick_ban_slots [MAX_BAN_SLOTS]
int Multi_kick_num_ban_slots

Macro Definition Documentation

#define MAX_BAN_SLOTS   30

Definition at line 30 of file multi_kick.cpp.


Definition at line 28 of file multi_kick.cpp.

Function Documentation

void multi_dcf_kick ( )

Definition at line 138 of file multi_kick.cpp.

void multi_kick_add_ban ( net_addr addr)

Definition at line 195 of file multi_kick.cpp.

int multi_kick_can_kick ( net_player player)

Definition at line 264 of file multi_kick.cpp.

void multi_kick_get_text ( net_player pl,
int  reason,
char *  str 

Definition at line 165 of file multi_kick.cpp.

void multi_kick_init ( )

Definition at line 56 of file multi_kick.cpp.

int multi_kick_is_banned ( net_addr addr)

Definition at line 121 of file multi_kick.cpp.

void multi_kick_player ( int  player_index,
int  ban,
int  reason 

Definition at line 82 of file multi_kick.cpp.

void multi_kick_process ( )

Definition at line 64 of file multi_kick.cpp.

void process_player_kick_packet ( ubyte data,
header hinfo 

Definition at line 228 of file multi_kick.cpp.

void send_player_kick_packet ( int  player_index,
int  ban = 1,
int  reason = KICK_REASON_NORM 

Definition at line 209 of file multi_kick.cpp.

Variable Documentation

net_addr Multi_kick_ban_slots[MAX_BAN_SLOTS]

Definition at line 31 of file multi_kick.cpp.

int Multi_kick_num_ban_slots

Definition at line 32 of file multi_kick.cpp.