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

◆ RemovePlantEx()

void RemovePlantEx ( vector pos)
private

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

542 {
543 if ( GetGame() && GetGame().IsServer() )
544 {
546
548 {
549 ItemBase item = ItemBase.Cast( GetGame().CreateObjectEx( "PlantMaterial", pos, ECE_PLACE_ON_SURFACE ) );
551 }
552
553 RemoveSlot();
554 }
555 }
const int ECE_PLACE_ON_SURFACE
Определения CentralEconomy.c:37
void UnlockFromParent()
Unlocks this item from its attachment slot of its parent.
Определения ItemBase.c:5695
void RemoveSlot()
Определения PlantBase.c:640
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
proto native CGame GetGame()

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