См. определение в файле PlantBase.c строка 198
199 {
200 super.OnStoreSave( ctx );
201
203
204 if (slot)
205 {
206 int slot_index = slot.GetSlotIndex();
207 slot.SetPlant(this);
208
209 ctx.
Write( slot_index );
210
212 }
213 else
214 {
215 ErrorEx(
"[Warning] A plant existed without a garden. Therefore it was deleted from the world to prevent issues! Position: " +
GetPosition(),
ErrorExSeverity.INFO);
217 }
218 }
void OnStoreSaveCustom(ParamsWriteContext ctx)
proto native void ObjectDelete(Object obj)
proto bool Write(void value_out)
proto native CGame GetGame()
class JsonUndergroundAreaTriggerData GetPosition
Перекрестные ссылки ErrorEx, GetGame(), GetPosition, GetSlot(), CGame::ObjectDelete(), OnStoreSaveCustom() и Serializer::Write().