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

◆ StopFire()

void StopFire ( FireplaceFireState fire_state = FireplaceFireState.END_FIRE)
protected

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

1926 {
1927 //roof check
1928 if (IsBurning())
1930
1931 StopHeating();
1933 SetBurningState(false);
1934 StartCooling();
1935 SetFireState(fire_state);
1936
1937 //Update navmesh
1938 if (!IsFireplaceIndoor())
1939 {
1940 SetAffectPathgraph(false, false);
1941 GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(GetGame().UpdatePathgraphRegionByObject, 100, false, this);
1942 }
1943
1944 Synchronize();
1945 }
void StartCooling()
Определения FireplaceBase.c:1956
void SetFireState(FireplaceFireState state)
Определения FireplaceBase.c:1711
void StopHeating()
Определения FireplaceBase.c:1947
void SpendFireConsumable(float amount)
Определения FireplaceBase.c:1468
bool IsBurning()
Определения FireplaceBase.c:1619
void Synchronize()
Определения FireplaceBase.c:484
void SetBurningState(bool is_burning)
Определения FireplaceBase.c:1625
bool IsFireplaceIndoor()
Определения FireplaceBase.c:542
override void CheckForRoofLimited(float timeTresholdMS=3000)
Roof check for entity, limited by time (anti-spam solution)
Определения ItemBase.c:8729
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
const int CALL_CATEGORY_SYSTEM
Определения tools.c:8

Перекрестные ссылки CALL_CATEGORY_SYSTEM, ScriptCallQueue::CallLater(), CheckForRoofLimited(), CGame::GetCallQueue(), GetGame(), IsBurning(), IsFireplaceIndoor(), SetBurningState(), SetFireState(), SpendFireConsumable(), StartCooling(), StopHeating() и Synchronize().

Используется в Heating(), OnAction() и StartHeating().