Persistence
module MyMod
public class Entry {
// both of these will be persisted
public persistent let related: TweakDBID;
public persistent let lasting: Int32;
// this won't be persisted
public let temporary: Int32;
}
public class MySystem extends ScriptableSystem {
private persistent let m_entries: array<ref<Entry>>;
}Last updated
Was this helpful?