FluffyManager.ManagerJob_Foraging.ExposeData C# (CSharp) Method

ExposeData() public method

public ExposeData ( ) : void
return void
        public override void ExposeData()
        {
            // scribe base things
            base.ExposeData();

            // settings
            Scribe_References.LookReference( ref ForagingArea, "ForagingArea" );
            // TODO: verify LookMode.Def is correct here.
            Scribe_Collections.LookDictionary( ref AllowedPlants, "AllowedPlants", LookMode.Def, LookMode.Value );
            Scribe_Values.LookValue( ref ForceFullyMature, "ForceFullyMature", false );

            // trigger
            Scribe_Deep.LookDeep( ref Trigger, "Trigger", this );

            if ( Manager.LoadSaveMode == Manager.Modes.Normal )
            {
                // scribe history
                Scribe_Deep.LookDeep( ref History, "History" );
            }
        }