14 if (!
super.OnStoreLoad(
ctx, version))
17 if (version >= 108 && !
ctx.Read(m_NoteContents))
27 ctx.Write(m_NoteContents);
32 return m_NoteContents;
45 return !GetHierarchyParent();
57 Fireplace.IgniteEntityAsFireplace(
this,
fire_source);
62 return Fireplace.CanIgniteEntityAsFireplace(
this);
void AddAction(typename actionName)
override bool OnStoreLoad(ParamsReadContext ctx, int version)
override bool CanBeIgnitedBy(EntityAI igniter=null)
override void SetActions()
override bool HasFlammableMaterial()
override WrittenNoteData GetWrittenNoteData()
override void OnIgnitedThis(EntityAI fire_source)
override void OnStoreSave(ParamsWriteContext ctx)
override bool IsThisIgnitionSuccessful(EntityAI item_source=null)
override bool CanIgniteItem(EntityAI ignite_target=null)
ref WrittenNoteData m_NoteContents
override void OnIgnitedTarget(EntityAI ignited_item)
Serialization general interface. Serializer API works with: