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

◆ RemovePlantEx()

void RemovePlantEx ( vector pos)
private

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

610 {
611 if ( GetGame() && GetGame().IsServer() )
612 {
614
616 {
617 ItemBase item = ItemBase.Cast( GetGame().CreateObjectEx( "PlantMaterial", pos, ECE_PLACE_ON_SURFACE ) );
619 }
620
621 RemoveSlot();
622 }
623 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
void UnlockFromParent()
Unlocks this item from its attachment slot of its parent.
Определения ItemBase.c:5623
void RemoveSlot()
Определения PlantBase.c:705
float m_CurrentPlantMaterialQuantity
Определения PlantBase.c:23
override bool SetQuantity(float value, bool destroy_config=true, bool destroy_forced=false, bool allow_client=false, bool clamp_to_stack_max=true)
Определения PileOfWoodenPlanks.c:88
Определения InventoryItem.c:731
proto native CGame GetGame()

Перекрестные ссылки ECE_PLACE_ON_SURFACE, GetGame(), m_CurrentPlantMaterialQuantity, RemoveSlot(), ItemBase::SetQuantity() и UnlockFromParent().