public void Serialize(IO.EndianStream s) { s.Stream(ref Action); if (Action) { s.Stream(ref ActionType, BActionTypeStreamer.Instance); BSaveGame.StreamFreeListItemPtr(s, ref ActionPtr); } else { ActionType = Phx.BActionType.Invalid; ActionPtr = TypeExtensions.kNone; } }
ActionListEntry(bool dummy) { Action = false; ActionType = Phx.BActionType.Invalid; ActionPtr = TypeExtensions.kNone; }