7 ShowSelection(
"folded");
8 HideSelection(
"unfolded");
26 super.OnVariablesSynchronized();
34 super.OnStoreSave( ctx );
39 if ( !super.OnStoreLoad( ctx, version ) )
47 super.AfterStoreLoad();
69 override void OnWasAttached(
EntityAI parent,
int slot_id)
71 super.OnWasAttached(parent,slot_id);
73 HideSelection(
"folded");
74 ShowSelection(
"unfolded");
79 super.OnWasDetached(parent,slot_id);
81 ShowSelection(
"folded");
82 HideSelection(
"unfolded");
90 override int GetViewIndex()
92 if ( MemoryPointExists(
"invView2" ) )
95 GetInventory().GetCurrentInventoryLocation( il );
129class Flag_LivoniaArmy
extends Flag_Base {};
135class Flag_Cannibals
extends Flag_Base {};
140class Flag_LivoniaPolice
extends Flag_Base {};
void AddAction(typename actionName)
Serialization general interface. Serializer API works with:
override void OnVariablesSynchronized()
class Flag_Base extends ItemBase Flag_Base
proto native CGame GetGame()
InventoryLocationType
types of Inventory Location
void OnStoreSave(ParamsWriteContext ctx)
bool OnStoreLoad(ParamsReadContext ctx, int version)
override void OnWasDetached(EntityAI parent, int slot_id)