Crossfire Server, Trunk
1.75.0
server.h
Go to the documentation of this file.
1
#ifndef _SERVER_H
2
#define _SERVER_H
3
4
#include <signal.h>
5
#include <vector>
6
7
extern
volatile
sig_atomic_t
shutdown_flag
;
8
9
void
player_map_change_common
(
object
* op,
mapstruct
*
const
oldmap,
10
mapstruct
*
const
newmap);
11
void
login_check_shutdown
(
object
*
const
op);
12
13
bool
can_follow
(
object
*,
player
*);
14
15
struct
ServerSettings
{
16
std::vector<std::string>
disabled_plugins
;
17
};
18
19
extern
ServerSettings
serverSettings
;
20
21
#endif
player
One player.
Definition:
player.h:107
login_check_shutdown
void login_check_shutdown(object *const op)
Warn op if a server shutdown is scheduled.
Definition:
server.cpp:1493
ServerSettings::disabled_plugins
std::vector< std::string > disabled_plugins
List of disabled plugins, 'All' means all.
Definition:
server.h:16
can_follow
bool can_follow(object *, player *)
Definition:
c_wiz.cpp:2796
serverSettings
ServerSettings serverSettings
Definition:
init.cpp:42
mapstruct
This is a game-map.
Definition:
map.h:318
ServerSettings
Definition:
server.h:15
player_map_change_common
void player_map_change_common(object *op, mapstruct *const oldmap, mapstruct *const newmap)
Definition:
server.cpp:282
shutdown_flag
volatile sig_atomic_t shutdown_flag
Definition:
server.cpp:53
crossfire-crossfire-server
include
server.h
Generated on Fri Aug 1 2025 00:34:52 for Crossfire Server, Trunk by
1.8.17