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

◆ StopFire()

void StopFire ( FireplaceFireState fire_state = FireplaceFireState.END_FIRE)
protected

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

1934 {
1935 //roof check
1936 if (IsBurning())
1938
1939 StopHeating();
1941 SetBurningState(false);
1942 StartCooling();
1943 SetFireState(fire_state);
1944
1945 //Update navmesh
1946 if (!IsFireplaceIndoor())
1947 {
1948 SetAffectPathgraph(false, false);
1949 GetGame().GetCallQueue(CALL_CATEGORY_SYSTEM).CallLater(GetGame().UpdatePathgraphRegionByObject, 100, false, this);
1950 }
1951
1952 Synchronize();
1953 }
void StartCooling()
Определения FireplaceBase.c:1964
void SetFireState(FireplaceFireState state)
Определения FireplaceBase.c:1719
void StopHeating()
Определения FireplaceBase.c:1955
void SpendFireConsumable(float amount)
Определения FireplaceBase.c:1470
bool IsBurning()
Определения FireplaceBase.c:1621
void Synchronize()
Определения FireplaceBase.c:486
void SetBurningState(bool is_burning)
Определения FireplaceBase.c:1627
bool IsFireplaceIndoor()
Определения FireplaceBase.c:544
override void CheckForRoofLimited(float timeTresholdMS=3000)
Roof check for entity, limited by time (anti-spam solution)
Определения ItemBase.c:8871
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
Определения 3_Game/tools/tools.c:8

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

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