DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ EmoteManager()

void EmoteManager ( PlayerBase player)
protected

См. определение в файле EmoteManager.c строка 151

152 {
153 m_Player = player;
154 m_HIC = m_Player.GetInputController();
155 m_ItemIsOn = false;
156 m_controllsLocked = false;
158 m_RPSOutcome = -1;
160
162 m_InterruptInputs.Insert("UAMoveForward");
163 m_InterruptInputs.Insert("UAMoveBack");
164 m_InterruptInputs.Insert("UATurnLeft");
165 m_InterruptInputs.Insert("UATurnRight");
166 m_InterruptInputs.Insert("UAMoveLeft");
167 m_InterruptInputs.Insert("UAMoveRight");
168 m_InterruptInputs.Insert("UAStand");
169 m_InterruptInputs.Insert("UACrouch");
170 m_InterruptInputs.Insert("UAProne");
171 m_InterruptInputs.Insert("UAGetOver");
172
174 m_HandInventoryLocation.SetHands(m_Player, null);
175
176 if (GetGame().IsServer())
177 {
178 m_AdminLog = PluginAdminLog.Cast(GetPlugin(PluginAdminLog));
179 }
180
182 m_ReservationTimer.Run(8, this, "CheckEmoteLockedState", null, true);
183
184 m_HumanSwimSettings = m_Player.GetDayZPlayerType().CommandSwimSettingsW();
185
187 }
ref Timer m_ReservationTimer
Определения EmoteManager.c:143
bool m_controllsLocked
Определения EmoteManager.c:128
int m_RPSOutcome
Определения EmoteManager.c:136
const int CALLBACK_CMD_INVALID
Определения EmoteManager.c:138
ref array< string > m_InterruptInputs
Определения EmoteManager.c:113
int m_DeferredEmoteExecution
Определения EmoteManager.c:131
PluginAdminLog m_AdminLog
Определения EmoteManager.c:142
ref InventoryLocation m_HandInventoryLocation
Определения EmoteManager.c:115
void ConstructData()
Определения EmoteManager.c:195
bool m_InventoryAccessLocked
Определения EmoteManager.c:129
SHumanCommandSwimSettings m_HumanSwimSettings
Определения EmoteManager.c:149
HumanInputController m_HIC
Определения EmoteManager.c:112
bool m_ItemIsOn
Определения EmoteManager.c:125
DayZPlayer m_Player
Определения Hand_Events.c:42
PluginBase GetPlugin(typename plugin_type)
Определения PluginManager.c:316
InventoryLocation.
Определения InventoryLocation.c:29
Определения DayZPlayerImplement.c:63
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()

Перекрестные ссылки CALLBACK_CMD_INVALID, ConstructData(), GetGame(), GetPlugin(), m_AdminLog, m_controllsLocked, m_DeferredEmoteExecution, m_HandInventoryLocation, m_HIC, m_HumanSwimSettings, m_InterruptInputs, m_InventoryAccessLocked, m_ItemIsOn, m_Player, m_ReservationTimer и m_RPSOutcome.

Используется в ManBase::GetEmoteManager() и ManBase::Init().