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

◆ EEKilled()

override void ManBase::EEKilled ( Object killer)
inlineprotected

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

1046 {
1047 //Print(Object.GetDebugName(this) + " STS=" + GetSimulationTimeStamp() + " event EEKilled, player has died at STS=" + GetSimulationTimeStamp());
1048
1049 if (m_AdminLog)
1050 {
1051 m_AdminLog.PlayerKilled(this, killer);
1052 }
1053
1055 delete GetBleedingManagerServer();
1056
1057 // kill character in database
1058 if (GetHive())
1059 {
1060 GetHive().CharacterKill(this);
1061 }
1062
1063 // disable voice communication
1064 GetGame().EnableVoN(this, false);
1065 if (!GetGame().IsDedicatedServer())
1066 ClientData.RemovePlayerBase(this);
1068
1069 if (GetEconomyProfile() && !m_CorpseProcessing && m_CorpseState == 0 && GetGame().GetMission().InsertCorpse(this))
1070 {
1071 m_CorpseProcessing = true;
1072 //Print("EEKilled - processing corpse");
1073 }
1074
1075 if (GetGame().IsMultiplayer() && GetGame().IsServer())
1076 {
1077 if (GetGame().GetMission())
1078 {
1079 GetGame().GetMission().SyncRespawnModeInfo(GetIdentity());
1080 }
1081 }
1082
1083 super.EEKilled(killer);
1084 }
proto native Hive GetHive()
proto native void EnableVoN(Object player, bool enable)
Enable/disable VoN for target player.
proto native Mission GetMission()
proto native void CharacterKill(Man player)
SymptomManager GetSymptomManager()
Определения PlayerBase.c:2665
bool m_CorpseProcessing
Определения PlayerBase.c:100
BleedingSourcesManagerServer GetBleedingManagerServer()
Определения PlayerBase.c:2655
PluginAdminLog m_AdminLog
Определения PlayerBase.c:272
int m_CorpseState
Определения PlayerBase.c:101
void SyncRespawnModeInfo(PlayerIdentity identity)
server-side
void OnPlayerKilled()
Определения StateManager.c:129
proto native CGame GetGame()

Перекрестные ссылки Hive::CharacterKill(), CGame::EnableVoN(), GetBleedingManagerServer(), GetGame(), GetHive(), CGame::GetMission(), GetSymptomManager(), m_AdminLog, m_CorpseProcessing, m_CorpseState, ClientData::RemovePlayerBase() и Mission::SyncRespawnModeInfo().