Pol
Revision:cb584c9
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
repsys.h
Go to the documentation of this file.
1
7
#ifndef REPSYS_H
8
#define REPSYS_H
9
10
#include "
polclock.h
"
11
12
namespace
Pol
13
{
14
namespace
Mobile
15
{
16
class
Character;
17
class
NPC
;
18
}
19
namespace
Network
20
{
21
class
Client;
22
}
23
namespace
Core
24
{
25
class
RepSystem
26
{
27
friend
class
Mobile::NPC
;
28
friend
class
Mobile::Character
;
29
30
private
:
31
static
void
on_pc_attacks_pc(
Mobile::Character
* attacker,
Mobile::Character
* defender );
32
static
void
on_pc_damages_pc(
Mobile::Character
* attacker,
Mobile::Character
* defender );
33
static
void
on_pc_helps_pc(
Mobile::Character
* helper,
Mobile::Character
* helped );
34
35
static
void
de_escalate(
Mobile::Character
* amy,
Mobile::Character
* bob );
36
37
static
void
restart_crim_timer(
Mobile::Character
* chr );
38
static
unsigned
char
hilite_color_idx(
const
Mobile::Character
* chr,
39
const
Mobile::Character
* who );
40
static
unsigned
short
name_color(
const
Mobile::Character
* seen_by,
41
const
Mobile::Character
* who );
42
43
static
void
repsys_task(
Mobile::Character
* chr );
44
static
void
schedule_repsys_task(
Mobile::Character
* chr,
polclock_t
runat );
45
46
static
void
show_repdata
(
Network::Client
* client,
Mobile::Character
* mob );
47
48
friend
void
show_repdata
(
Mobile::Character
* looker,
Mobile::Character
* mob );
49
};
50
}
51
}
52
#endif
Pol::Core::RepSystem
Definition:
repsys.h:25
polclock.h
Pol::Core::show_repdata
void show_repdata(Mobile::Character *looker, Mobile::Character *mob)
Definition:
textcmd.cpp:306
Pol::Mobile::NPC
Definition:
npc.h:85
Pol::Network::Client
Definition:
client.h:133
Pol::Mobile::Character
Definition:
charactr.h:334
Pol::Core::polclock_t
int polclock_t
Definition:
polclock.h:26
Pol::Core::FilterType::Mobile
Pol
Definition:
berror.cpp:12
Pol::Core::FilterType::NPC
pol
repsys.h
Generated on Wed Oct 10 2018 02:42:26 for Pol by
1.8.11