|
void | OnReceive (int channel) |
|
void | OnReceiveInt (int channel, int value) |
|
void | OnReceiveFloat (int channel, float value) |
|
void | OnReceiveString (int channel, string value) |
|
void | OnReceiveParam (int channel, Param params) |
| This method is called when an object inheriting from this class subscribes to a channel, and a message along with an object reference is broadcast on that channel, if the object was created just for the purpose of relaying information and is not referenced anywhere else, it should be deleted after processing inside this method.
|
|
void | MessageReceiverBase () |
|
void | Subscribe (int channel) |
|
void | Unsubscribe (int channel) |
|
void | UnsubscribeAll () |
|
void | Broadcast (int channel) |
|
void | BroadcastInt (int channel, int value) |
|
void | BroadcastFloat (int channel, float value) |
|
void | BroadcastString (int channel, string value) |
|
void | BroadcastParam (int channel, Param params) |
|
void | Log (string message) |
|
void | DisplayElementBase (PlayerBase player) |
|
bool | IsClientOnly () |
|
bool | IsValueChanged () |
|
void | UpdateHUD () |
|
int | GetNumberOfBits () |
|
void | SetValue (int value, int range=0) |
|
int | GetValue () |
|
int | BitToDec (int mask, int index, int length) |
|
int | GetCompareMask () |
|
int | GetType () |
|
int | TranslateLevelToStatus (int level) |
|
◆ MessageReceiverBase()
15 {
17 }
PluginBase GetPlugin(typename plugin_type)
Definition PluginManager.c:316
PluginMessageManager m_ModuleMessageManager
Definition MessageReceiverBase.c:4
Перекрестные ссылки GetPlugin() и m_ModuleMessageManager.
◆ BitToDec()
61 {
65 }
int GetCompareMask()
Definition DisplayElementBase.c:67
◆ Broadcast()
◆ BroadcastFloat()
◆ BroadcastInt()
◆ BroadcastParam()
◆ BroadcastString()
◆ DisplayElementBase()
18 {
22
23 }
PlayerBase m_Player
Definition DisplayElementBase.c:13
string m_System
Definition MessageReceiverBase.c:5
PluginPlayerStatus m_ModulePlayerStatus
Definition DisplayElementBase.c:15
Перекрестные ссылки GetPlugin(), m_ModulePlayerStatus, m_Player и m_System.
◆ GetCompareMask()
68 {
71 }
int GetNumberOfBits()
Definition DisplayElementBase.c:41
static proto float Pow(float v, float power)
Return power of v ^ power.
Перекрестные ссылки Math::Pow().
◆ GetNumberOfBits()
42 {
44 }
int NUM_OF_BITS
Definition DisplayElementBase.c:11
◆ GetType()
74 {
76 }
int m_Type
Definition DisplayElementBase.c:6
Перекрестные ссылки m_Type.
◆ GetValue()
56 {
58 }
int m_Value
Definition DisplayElementBase.c:3
Перекрестные ссылки m_Value.
◆ IsClientOnly()
27 {
29 }
bool m_IsClientOnly
Definition DisplayElementBase.c:12
◆ IsValueChanged()
32 {
34 }
int m_ValueLast
Definition DisplayElementBase.c:4
Перекрестные ссылки m_Value.
◆ Log()
61 {
63 }
static void Log(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message with normal prio.
Definition Debug.c:136
Перекрестные ссылки Debug::Log() и m_System.
◆ OnReceive()
◆ OnReceiveFloat()
◆ OnReceiveInt()
◆ OnReceiveParam()
This method is called when an object inheriting from this class subscribes to a channel, and a message along with an object reference is broadcast on that channel, if the object was created just for the purpose of relaying information and is not referenced anywhere else, it should be deleted after processing inside this method.
◆ OnReceiveString()
◆ SetValue()
47 {
50 {
52 }
53 }
int m_Range
Definition DisplayElementBase.c:7
Перекрестные ссылки m_Value.
◆ Subscribe()
◆ TranslateLevelToStatus()
int TranslateLevelToStatus |
( |
int | level | ) |
|
|
inlineprivate |
79 {
81 return 2;
83 return 3;
85 return 4;
87 return 5;
88 return 1;
89 }
DSLevels
Definition DisplayStatus.c:2
◆ Unsubscribe()
◆ UnsubscribeAll()
◆ UpdateHUD()
◆ m_Colors
◆ m_IsClientOnly
◆ m_Key
◆ m_Labels
◆ m_ModuleMessageManager
PluginMessageManager m_ModuleMessageManager |
|
private |
◆ m_ModulePlayerStatus
PluginPlayerStatus m_ModulePlayerStatus |
|
private |
◆ m_Player
◆ m_Pos
◆ m_Range
◆ m_System
◆ m_Type
◆ m_Value
◆ m_ValueLast
◆ NUM_OF_BITS
Объявления и описания членов классов находятся в файлах: