diff --git a/Changelog.md b/Changelog.md index be63cc7..1c3e692 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,28 @@ +# 0.19.1 +![](media/changelog/0.19.1.png) + +> Better Hints, Better Food, Better Names + +This is a small (devlog-less) update that fixes some issues and adds some small features. Enjoy! + +Additions +- Added the ability to create and sell apps with a high Programming skill +- Added an emergency food system where rations are delivered to a household whose funds are very low + +Improvements +- Improved in-game hints by turning them into a popup and adding icons +- Restore Entertainment need for skills based on how high the skill level is +- Display the names of food plates and woodworking objects in the action and hover descriptions +- Made the lot movement tool less scary when first opened +- Always auto-save, even when lot or character creator conditions are unmet + +Fixes +- Fixed a rare crash when changelog images fail to download +- Fixed being able to pick up food plates that other Tinies are currently eating +- Fixed ambient sounds not fading properly between day and night +- Fixed the sell action not being saved and loaded properly +- Fixed the ability to create new outfits even when funds are too low to do so + # 0.19.0 ![](media/changelog/0.19.0.png) diff --git a/docs/api/.manifest b/docs/api/.manifest index df28a99..e65c8dd 100644 --- a/docs/api/.manifest +++ b/docs/api/.manifest @@ -29,7 +29,6 @@ "TinyLife.Actions.ActionInfo.GetInvolvedObject``1(TinyLife.Objects.ObjectCategory,System.Boolean,System.Func{``0,System.Boolean})": "TinyLife.Actions.ActionInfo.yml", "TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean)": "TinyLife.Actions.ActionInfo.yml", "TinyLife.Actions.ActionInfo.Map": "TinyLife.Actions.ActionInfo.yml", - "TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Actions.ActionInfo.yml", "TinyLife.Actions.ActionInfo.Person": "TinyLife.Actions.ActionInfo.yml", "TinyLife.Actions.ActionInfo.ToFreeActionSpot(TinyLife.Objects.ObjectCategory)": "TinyLife.Actions.ActionInfo.yml", "TinyLife.Actions.ActionInfo.Validate(TinyLife.Objects.Person)": "TinyLife.Actions.ActionInfo.yml", @@ -47,6 +46,7 @@ "TinyLife.Actions.ActionType.AskAboutGamingRig": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.AskAboutPersonality": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.AskToLeave": "TinyLife.Actions.ActionType.yml", + "TinyLife.Actions.ActionType.AskToTaste": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.BeAwayFromLotEmployment": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.BoastAboutPagesWritten": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.BreakUp": "TinyLife.Actions.ActionType.yml", @@ -79,6 +79,9 @@ "TinyLife.Actions.ActionType.CanExecuteResult.Valid": "TinyLife.Actions.ActionType.CanExecuteResult.yml", "TinyLife.Actions.ActionType.CanExecuteResult.WaitingRequired": "TinyLife.Actions.ActionType.CanExecuteResult.yml", "TinyLife.Actions.ActionType.CanExecuteResult.WrongRelationshipType": "TinyLife.Actions.ActionType.CanExecuteResult.yml", + "TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml", + "TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean)": "TinyLife.Actions.ActionType.yml", + "TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.CanWorkAtDeskObject(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.ChangeOutfit": "TinyLife.Actions.ActionType.yml", @@ -95,6 +98,7 @@ "TinyLife.Actions.ActionType.ConfideIn": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.Construct(TinyLife.Actions.ActionInfo,System.Nullable{TinyLife.Actions.ActionVariety})": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.CookFood": "TinyLife.Actions.ActionType.yml", + "TinyLife.Actions.ActionType.CreateApp": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.DeliverMail": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.Die": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.DiscussWorkoutRegimen": "TinyLife.Actions.ActionType.yml", @@ -107,6 +111,7 @@ "TinyLife.Actions.ActionType.GaugeRelationship": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.GetDisplayName(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.GetFoodSomewhereElse": "TinyLife.Actions.ActionType.yml", + "TinyLife.Actions.ActionType.GetFurnitureMail": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.GetIconName": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.GetIngredientsFamily": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.GetIngredientsSingle": "TinyLife.Actions.ActionType.yml", @@ -131,8 +136,6 @@ "TinyLife.Actions.ActionType.IsDislikedOrMean(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.IsEmptyHanded(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.IsFunctional(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", - "TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml", - "TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.IsNotEmbarrassed(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.IsNotExpired(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.IsNotUncomfortable(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", @@ -172,6 +175,7 @@ "TinyLife.Actions.ActionType.PracticeWriting": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.PrepareFood": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.PsychSelfUp": "TinyLife.Actions.ActionType.yml", + "TinyLife.Actions.ActionType.PublishApp": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.PutAway": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.PutDown": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.QuitJob": "TinyLife.Actions.ActionType.yml", @@ -179,6 +183,7 @@ "TinyLife.Actions.ActionType.Register(TinyLife.Actions.ActionType.TypeSettings)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.RegisterAll(System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionType.TypeSettings})": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.Repair": "TinyLife.Actions.ActionType.yml", + "TinyLife.Actions.ActionType.ResearchProgrammingPatterns": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.RunOnTreadmill": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.Scrap": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.SelfPublishBook": "TinyLife.Actions.ActionType.yml", @@ -253,6 +258,7 @@ "TinyLife.Actions.ActionVariety.CustomLayout": "TinyLife.Actions.ActionVariety.yml", "TinyLife.Actions.ActionVariety.Description": "TinyLife.Actions.ActionVariety.yml", "TinyLife.Actions.ActionVariety.DisplayName": "TinyLife.Actions.ActionVariety.yml", + "TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo)": "TinyLife.Actions.ActionVariety.yml", "TinyLife.Actions.ActionVariety.GetData``1(System.String)": "TinyLife.Actions.ActionVariety.yml", "TinyLife.Actions.ActionVariety.GetDataKeys": "TinyLife.Actions.ActionVariety.yml", "TinyLife.Actions.ActionVariety.GetDisplayName": "TinyLife.Actions.ActionVariety.yml", @@ -500,6 +506,7 @@ "TinyLife.Actions.TalkAction.TalkSettings.SpeakStyle": "TinyLife.Actions.TalkAction.TalkSettings.yml", "TinyLife.Actions.TalkAction.TalkSettings.SuccessEmotion": "TinyLife.Actions.TalkAction.TalkSettings.yml", "TinyLife.Actions.TalkAction.TalkSettings.TalkMinutes": "TinyLife.Actions.TalkAction.TalkSettings.yml", + "TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single)": "TinyLife.Actions.TalkAction.TalkSettings.yml", "TinyLife.Actions.TalkAction.UpdateConversation(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Actions.TalkAction.yml", "TinyLife.Actions.Typeless": "TinyLife.Actions.Typeless.yml", "TinyLife.Actions.Typeless.PathfindToPersonAction": "TinyLife.Actions.Typeless.PathfindToPersonAction.yml", @@ -532,7 +539,7 @@ "TinyLife.Actions.Typeless.TypelessAction.ElapsedTime": "TinyLife.Actions.Typeless.TypelessAction.yml", "TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml", "TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml", - "TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml", + "TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml", "TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml", "TinyLife.Actions.Typeless.TypelessAction.FindFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Boolean,System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml", "TinyLife.Actions.Typeless.TypelessAction.ForceFail": "TinyLife.Actions.Typeless.TypelessAction.yml", @@ -605,6 +612,7 @@ "TinyLife.Emotions.EmotionModifier.AsexualFoolingDeclined": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.AsexualFoolingPartner": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.Asleep": "TinyLife.Emotions.EmotionModifier.yml", + "TinyLife.Emotions.EmotionModifier.BadChildFood": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.BadCreation": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.BadCreationAngry": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.BadFood": "TinyLife.Emotions.EmotionModifier.yml", @@ -614,6 +622,7 @@ "TinyLife.Emotions.EmotionModifier.BoringWork": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.BrokenUpWith": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.CaughtBeingInappropriate": "TinyLife.Emotions.EmotionModifier.yml", + "TinyLife.Emotions.EmotionModifier.ChildChef": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.Condition": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.CreativelyInspired": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.DarkRoom": "TinyLife.Emotions.EmotionModifier.yml", @@ -622,6 +631,7 @@ "TinyLife.Emotions.EmotionModifier.DirtyDishes": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.DirtyHandsAfterToilet": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.DirtyObject": "TinyLife.Emotions.EmotionModifier.yml", + "TinyLife.Emotions.EmotionModifier.EmergencyFood": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.Emotion": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.EnergizingDumbbells": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.EnergizingJog": "TinyLife.Emotions.EmotionModifier.yml", @@ -630,6 +640,7 @@ "TinyLife.Emotions.EmotionModifier.FailedJoke": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.FailedPublishing": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.FailedRomance": "TinyLife.Emotions.EmotionModifier.yml", + "TinyLife.Emotions.EmotionModifier.FinishedApp": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.FinishedBook": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.FinishedMod": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.Fired": "TinyLife.Emotions.EmotionModifier.yml", @@ -643,6 +654,7 @@ "TinyLife.Emotions.EmotionModifier.FunPlaying": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.FunSchoolDay": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.GetCausedEmotion(TinyLife.Objects.Person)": "TinyLife.Emotions.EmotionModifier.yml", + "TinyLife.Emotions.EmotionModifier.GoodChildFood": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.GoodFood": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.GoodWalkthrough": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.GradesDown": "TinyLife.Emotions.EmotionModifier.yml", @@ -684,6 +696,7 @@ "TinyLife.Emotions.EmotionModifier.ProteinShakeFrisky": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.ProteinShakeFriskyAsexual": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.PsychedUp": "TinyLife.Emotions.EmotionModifier.yml", + "TinyLife.Emotions.EmotionModifier.PublishedApp": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.PulledMuscle": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.RageQuit": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.ReadBook": "TinyLife.Emotions.EmotionModifier.yml", @@ -695,6 +708,7 @@ "TinyLife.Emotions.EmotionModifier.ScrappedSomeonesProject": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.SelfCraftedFurniture": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.SleptOutside": "TinyLife.Emotions.EmotionModifier.yml", + "TinyLife.Emotions.EmotionModifier.SomeoneTriedMyFood": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.StandingDeskPositive": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.StandingDeskSore": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.StartedDating": "TinyLife.Emotions.EmotionModifier.yml", @@ -710,6 +724,7 @@ "TinyLife.Emotions.EmotionModifier.Types": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.UncomfortableCraftedFurniture": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.UpsettingConversation": "TinyLife.Emotions.EmotionModifier.yml", + "TinyLife.Emotions.EmotionModifier.UsefulProgrammingResearch": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.WonTournament": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.WoodworkingSplinter": "TinyLife.Emotions.EmotionModifier.yml", "TinyLife.Emotions.EmotionModifier.WritersBlock": "TinyLife.Emotions.EmotionModifier.yml", @@ -743,7 +758,7 @@ "TinyLife.GameImpl": "TinyLife.GameImpl.yml", "TinyLife.GameImpl.Camera": "TinyLife.GameImpl.yml", "TinyLife.GameImpl.CanBeExtremelyFast": "TinyLife.GameImpl.yml", - "TinyLife.GameImpl.CanSaveOrSwitchModes": "TinyLife.GameImpl.yml", + "TinyLife.GameImpl.CanSwitchGameModes": "TinyLife.GameImpl.yml", "TinyLife.GameImpl.CurrentHousehold": "TinyLife.GameImpl.yml", "TinyLife.GameImpl.CurrentLot": "TinyLife.GameImpl.yml", "TinyLife.GameImpl.CurrentTime": "TinyLife.GameImpl.yml", @@ -893,6 +908,7 @@ "TinyLife.Goals.JobType.Register(TinyLife.Goals.JobType)": "TinyLife.Goals.JobType.yml", "TinyLife.Goals.JobType.RequiredAges": "TinyLife.Goals.JobType.yml", "TinyLife.Goals.JobType.RequiredPromotionSkills": "TinyLife.Goals.JobType.yml", + "TinyLife.Goals.JobType.SourceString": "TinyLife.Goals.JobType.yml", "TinyLife.Goals.JobType.ToScheduleString": "TinyLife.Goals.JobType.yml", "TinyLife.Goals.JobType.Types": "TinyLife.Goals.JobType.yml", "TinyLife.Goals.JobType.WorkHours": "TinyLife.Goals.JobType.yml", @@ -946,10 +962,12 @@ "TinyLife.Goals.Project.CreateActions(TinyLife.Goals.Project.ActionSettings)": "TinyLife.Goals.Project.yml", "TinyLife.Goals.Project.DailyPay": "TinyLife.Goals.Project.yml", "TinyLife.Goals.Project.DailyPayReductionFactor": "TinyLife.Goals.Project.yml", - "TinyLife.Goals.Project.GetAndReduceDailyPay": "TinyLife.Goals.Project.yml", "TinyLife.Goals.Project.GetVarieties(TinyLife.Actions.ActionInfo,System.String,System.Predicate{TinyLife.Goals.Project},System.Func{TinyLife.Goals.Project,System.String})": "TinyLife.Goals.Project.yml", "TinyLife.Goals.Project.MakeProgress(System.Single,System.Single,TinyLife.Actions.ActionInfo,TinyLife.Skills.SkillType,System.Single)": "TinyLife.Goals.Project.yml", "TinyLife.Goals.Project.Name": "TinyLife.Goals.Project.yml", + "TinyLife.Goals.Project.OnNewDay": "TinyLife.Goals.Project.yml", + "TinyLife.Goals.Project.OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.Action{System.String},System.String)": "TinyLife.Goals.Project.yml", + "TinyLife.Goals.Project.OpenScrapPrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.String,System.Action)": "TinyLife.Goals.Project.yml", "TinyLife.Goals.Project.Person": "TinyLife.Goals.Project.yml", "TinyLife.Goals.Project.Progress": "TinyLife.Goals.Project.yml", "TinyLife.Goals.Project.Quality": "TinyLife.Goals.Project.yml", @@ -1179,6 +1197,7 @@ "TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room)": "TinyLife.Objects.Furniture.yml", "TinyLife.Objects.Furniture.GetDescription": "TinyLife.Objects.Furniture.yml", "TinyLife.Objects.Furniture.GetDirty(System.TimeSpan)": "TinyLife.Objects.Furniture.yml", + "TinyLife.Objects.Furniture.GetDisplayName": "TinyLife.Objects.Furniture.yml", "TinyLife.Objects.Furniture.GetFreeActionSpot(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory)": "TinyLife.Objects.Furniture.yml", "TinyLife.Objects.Furniture.GetFreeActionSpotInfo(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory)": "TinyLife.Objects.Furniture.yml", "TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory)": "TinyLife.Objects.Furniture.yml", @@ -1242,6 +1261,7 @@ "TinyLife.Objects.FurnitureType.FullyCushionedWoodworkingSofa": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.GetBestRotation(MLEM.Misc.Direction2)": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.GetCoveredTiles(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Point)": "TinyLife.Objects.FurnitureType.yml", + "TinyLife.Objects.FurnitureType.GetDisplayName(TinyLife.Objects.Furniture)": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.GetPrice": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.GetReferenceTexture(System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.GetRoofingInTheWay(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,MLEM.Misc.Direction2)": "TinyLife.Objects.FurnitureType.yml", @@ -1343,6 +1363,7 @@ "TinyLife.Objects.FurnitureType.TypeSettings.ElectricityRating": "TinyLife.Objects.FurnitureType.TypeSettings.yml", "TinyLife.Objects.FurnitureType.TypeSettings.GetData``1(System.String)": "TinyLife.Objects.FurnitureType.TypeSettings.yml", "TinyLife.Objects.FurnitureType.TypeSettings.GetDataKeys": "TinyLife.Objects.FurnitureType.TypeSettings.yml", + "TinyLife.Objects.FurnitureType.TypeSettings.GetDisplayName": "TinyLife.Objects.FurnitureType.TypeSettings.yml", "TinyLife.Objects.FurnitureType.TypeSettings.HeldPivot": "TinyLife.Objects.FurnitureType.TypeSettings.yml", "TinyLife.Objects.FurnitureType.TypeSettings.HeldScale": "TinyLife.Objects.FurnitureType.TypeSettings.yml", "TinyLife.Objects.FurnitureType.TypeSettings.Icon": "TinyLife.Objects.FurnitureType.TypeSettings.yml", @@ -1361,7 +1382,6 @@ "TinyLife.Objects.FurnitureType.VerticalDumbbellRack": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.WindowPlants": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.Wisteria": "TinyLife.Objects.FurnitureType.yml", - "TinyLife.Objects.FurnitureType.WoodenToyBox": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.WoodworkingChair": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.WoodworkingChairArmrests": "TinyLife.Objects.FurnitureType.yml", "TinyLife.Objects.FurnitureType.WoodworkingCloset": "TinyLife.Objects.FurnitureType.yml", @@ -1494,7 +1514,7 @@ "TinyLife.Objects.ObjectSpot.#ctor(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Predicate{TinyLife.Objects.FurnitureType},System.Single,MLEM.Misc.Direction2[])": "TinyLife.Objects.ObjectSpot.yml", "TinyLife.Objects.ObjectSpot.#ctor(Microsoft.Xna.Framework.Vector2,System.Predicate{TinyLife.Objects.FurnitureType},System.Single,MLEM.Misc.Direction2[])": "TinyLife.Objects.ObjectSpot.yml", "TinyLife.Objects.ObjectSpot.BarSpots": "TinyLife.Objects.ObjectSpot.yml", - "TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean)": "TinyLife.Objects.ObjectSpot.yml", + "TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean,System.Single)": "TinyLife.Objects.ObjectSpot.yml", "TinyLife.Objects.ObjectSpot.DeskSpots(System.Single,System.Boolean)": "TinyLife.Objects.ObjectSpot.yml", "TinyLife.Objects.ObjectSpot.DoubleShelfSpots(System.Single)": "TinyLife.Objects.ObjectSpot.yml", "TinyLife.Objects.ObjectSpot.GetContents``1(TinyLife.Objects.Furniture,System.Boolean)": "TinyLife.Objects.ObjectSpot.yml", @@ -1634,9 +1654,9 @@ "TinyLife.Objects.Person.MaxRecentActionsAmount": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Money": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Needs": "TinyLife.Objects.Person.yml", - "TinyLife.Objects.Person.OccupiedActionSpot": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OccupiedFurniture": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnActionsChanged": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnActionsCompleted": "TinyLife.Objects.Person.yml", @@ -1674,6 +1694,7 @@ "TinyLife.Objects.Person.RemoveEmotion(TinyLife.Emotions.EmotionModifier)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.ResetToStatic(System.Boolean)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,System.Single)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Skills.SkillType,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Rotation": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.SetCurrentOutfit(System.Int32)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.SetCurrentOutfit(TinyLife.Objects.ClothesIntention)": "TinyLife.Objects.Person.yml", @@ -1691,6 +1712,7 @@ "TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Validate": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.VisitLot(TinyLife.World.Lot)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.VisuallyOccupiedSpot": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.VisualPosition": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.VoicePitch": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.WalkSpeedDelegate": "TinyLife.Objects.Person.WalkSpeedDelegate.yml", @@ -1884,6 +1906,7 @@ "TinyLife.Skills.FoodType.GetPrice(System.Int32)": "TinyLife.Skills.FoodType.yml", "TinyLife.Skills.FoodType.IngredientSource": "TinyLife.Skills.FoodType.IngredientSource.yml", "TinyLife.Skills.FoodType.IngredientSource.Barbecue": "TinyLife.Skills.FoodType.IngredientSource.yml", + "TinyLife.Skills.FoodType.IngredientSource.ChildStove": "TinyLife.Skills.FoodType.IngredientSource.yml", "TinyLife.Skills.FoodType.IngredientSource.Fridge": "TinyLife.Skills.FoodType.IngredientSource.yml", "TinyLife.Skills.FoodType.IngredientSource.Other": "TinyLife.Skills.FoodType.IngredientSource.yml", "TinyLife.Skills.FoodType.IngredientSource.ProteinShakeMaker": "TinyLife.Skills.FoodType.IngredientSource.yml", @@ -1891,6 +1914,7 @@ "TinyLife.Skills.FoodType.Name": "TinyLife.Skills.FoodType.yml", "TinyLife.Skills.FoodType.NeedsCooking": "TinyLife.Skills.FoodType.yml", "TinyLife.Skills.FoodType.OnEaten": "TinyLife.Skills.FoodType.yml", + "TinyLife.Skills.FoodType.OnFoodEaten": "TinyLife.Skills.FoodType.yml", "TinyLife.Skills.FoodType.Price": "TinyLife.Skills.FoodType.yml", "TinyLife.Skills.FoodType.Register(TinyLife.Skills.FoodType)": "TinyLife.Skills.FoodType.yml", "TinyLife.Skills.FoodType.RequiredCookingLevel": "TinyLife.Skills.FoodType.yml", @@ -2002,7 +2026,7 @@ "TinyLife.Tools.LotTool.Update(Microsoft.Xna.Framework.GameTime)": "TinyLife.Tools.LotTool.yml", "TinyLife.Tools.MoveLotTool": "TinyLife.Tools.MoveLotTool.yml", "TinyLife.Tools.MoveLotTool.#ctor": "TinyLife.Tools.MoveLotTool.yml", - "TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes": "TinyLife.Tools.MoveLotTool.yml", + "TinyLife.Tools.MoveLotTool.CanSwitchGameModes": "TinyLife.Tools.MoveLotTool.yml", "TinyLife.Tools.MoveLotTool.Closed": "TinyLife.Tools.MoveLotTool.yml", "TinyLife.Tools.MoveLotTool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)": "TinyLife.Tools.MoveLotTool.yml", "TinyLife.Tools.MoveLotTool.GetMouseCursor": "TinyLife.Tools.MoveLotTool.yml", @@ -2011,7 +2035,7 @@ "TinyLife.Tools.MoveLotTool.Update(Microsoft.Xna.Framework.GameTime)": "TinyLife.Tools.MoveLotTool.yml", "TinyLife.Tools.MoveTool": "TinyLife.Tools.MoveTool.yml", "TinyLife.Tools.MoveTool.#ctor": "TinyLife.Tools.MoveTool.yml", - "TinyLife.Tools.MoveTool.CanSaveOrSwitchModes": "TinyLife.Tools.MoveTool.yml", + "TinyLife.Tools.MoveTool.CanSwitchGameModes": "TinyLife.Tools.MoveTool.yml", "TinyLife.Tools.MoveTool.Closed": "TinyLife.Tools.MoveTool.yml", "TinyLife.Tools.MoveTool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)": "TinyLife.Tools.MoveTool.yml", "TinyLife.Tools.MoveTool.GetMouseCursor": "TinyLife.Tools.MoveTool.yml", @@ -2073,9 +2097,9 @@ "TinyLife.Tools.TileTool.Update(Microsoft.Xna.Framework.GameTime)": "TinyLife.Tools.TileTool.yml", "TinyLife.Tools.Tool": "TinyLife.Tools.Tool.yml", "TinyLife.Tools.Tool.#ctor(MLEM.Textures.TextureRegion,System.Boolean)": "TinyLife.Tools.Tool.yml", - "TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single})": "TinyLife.Tools.Tool.yml", + "TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single})": "TinyLife.Tools.Tool.yml", "TinyLife.Tools.Tool.BuildTools": "TinyLife.Tools.Tool.yml", - "TinyLife.Tools.Tool.CanSaveOrSwitchModes": "TinyLife.Tools.Tool.yml", + "TinyLife.Tools.Tool.CanSwitchGameModes": "TinyLife.Tools.Tool.yml", "TinyLife.Tools.Tool.Closed": "TinyLife.Tools.Tool.yml", "TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32})": "TinyLife.Tools.Tool.yml", "TinyLife.Tools.Tool.DisplayAsTab": "TinyLife.Tools.Tool.yml", @@ -2139,12 +2163,13 @@ "TinyLife.Uis.CursorType.Range": "TinyLife.Uis.CursorType.yml", "TinyLife.Uis.CursorType.Wall": "TinyLife.Uis.CursorType.yml", "TinyLife.Uis.InGameHint": "TinyLife.Uis.InGameHint.yml", - "TinyLife.Uis.InGameHint.#ctor(System.String,System.Func{System.Boolean})": "TinyLife.Uis.InGameHint.yml", + "TinyLife.Uis.InGameHint.#ctor(System.String,MLEM.Textures.TextureRegion,System.Func{System.Boolean})": "TinyLife.Uis.InGameHint.yml", "TinyLife.Uis.InGameHint.ClothesIntentions": "TinyLife.Uis.InGameHint.yml", "TinyLife.Uis.InGameHint.Condition": "TinyLife.Uis.InGameHint.yml", "TinyLife.Uis.InGameHint.Display": "TinyLife.Uis.InGameHint.yml", "TinyLife.Uis.InGameHint.HasBeenDisplayed": "TinyLife.Uis.InGameHint.yml", "TinyLife.Uis.InGameHint.Hints": "TinyLife.Uis.InGameHint.yml", + "TinyLife.Uis.InGameHint.Icon": "TinyLife.Uis.InGameHint.yml", "TinyLife.Uis.InGameHint.InteractionPages": "TinyLife.Uis.InGameHint.yml", "TinyLife.Uis.InGameHint.Interactions": "TinyLife.Uis.InGameHint.yml", "TinyLife.Uis.InGameHint.Introduction": "TinyLife.Uis.InGameHint.yml", @@ -2168,7 +2193,6 @@ "TinyLife.Uis.Notifications.Add(TinyLife.Objects.MapObject,System.String,TinyLife.Uis.NotifType)": "TinyLife.Uis.Notifications.yml", "TinyLife.Uis.Notifications.MaxHistoryLength": "TinyLife.Uis.Notifications.yml", "TinyLife.Uis.NotifType": "TinyLife.Uis.NotifType.yml", - "TinyLife.Uis.NotifType.Hint": "TinyLife.Uis.NotifType.yml", "TinyLife.Uis.NotifType.Info": "TinyLife.Uis.NotifType.yml", "TinyLife.Uis.NotifType.VeryImportant": "TinyLife.Uis.NotifType.yml", "TinyLife.Uis.NotifType.VeryPositive": "TinyLife.Uis.NotifType.yml", @@ -2284,6 +2308,10 @@ "TinyLife.World.ExportedLot.Tiles": "TinyLife.World.ExportedLot.yml", "TinyLife.World.ExportedLot.Type": "TinyLife.World.ExportedLot.yml", "TinyLife.World.ExportedLot.Walls": "TinyLife.World.ExportedLot.yml", + "TinyLife.World.FurnitureMail": "TinyLife.World.FurnitureMail.yml", + "TinyLife.World.FurnitureMail.#ctor(System.Guid,TinyLife.Objects.Furniture)": "TinyLife.World.FurnitureMail.yml", + "TinyLife.World.FurnitureMail.Item": "TinyLife.World.FurnitureMail.yml", + "TinyLife.World.FurnitureMail.OnCollected(TinyLife.Actions.Action)": "TinyLife.World.FurnitureMail.yml", "TinyLife.World.GrassyAutoTile": "TinyLife.World.GrassyAutoTile.yml", "TinyLife.World.GrassyAutoTile.#ctor(System.String,System.String,System.Int32,System.Collections.Generic.Dictionary{MLEM.Misc.Direction2,MLEM.Textures.TextureRegion},TinyLife.Utilities.ColorScheme[],System.Int32[],System.Boolean,System.Single,System.Boolean,MLEM.Textures.TextureRegion,System.Int32[])": "TinyLife.World.GrassyAutoTile.yml", "TinyLife.World.GrassyAutoTile.Draw(System.Object,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item})": "TinyLife.World.GrassyAutoTile.yml", @@ -2444,7 +2472,6 @@ "TinyLife.World.Map.RemoveRoof(TinyLife.World.Roof)": "TinyLife.World.Map.yml", "TinyLife.World.Map.RemoveWall(TinyLife.World.Wall,System.Boolean)": "TinyLife.World.Map.yml", "TinyLife.World.Map.RoadRadius": "TinyLife.World.Map.yml", - "TinyLife.World.Map.SendMail(TinyLife.World.Mail)": "TinyLife.World.Map.yml", "TinyLife.World.Map.SetTile(Microsoft.Xna.Framework.Point,TinyLife.World.Tile)": "TinyLife.World.Map.yml", "TinyLife.World.Map.Size": "TinyLife.World.Map.yml", "TinyLife.World.Map.SizeInSections": "TinyLife.World.Map.yml", diff --git a/docs/api/TinyLife.Actions.Action.yml b/docs/api/TinyLife.Actions.Action.yml index 61391a9..5c43025 100644 --- a/docs/api/TinyLife.Actions.Action.yml +++ b/docs/api/TinyLife.Actions.Action.yml @@ -44,9 +44,7 @@ items: content: 'public abstract class Action : TypelessAction, IGenericDataHolder' content.vb: >- Public MustInherit Class Action - Inherits TypelessAction - Implements IGenericDataHolder inheritance: - System.Object @@ -84,7 +82,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -216,16 +214,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Typeless.TypelessAction.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.Action.Update* @@ -257,12 +259,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n" example: [] syntax: content: public override void OnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The type that this action completed with content.vb: Public Overrides Sub OnCompleted(type As CompletionType) overridden: TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.Action.OnCompleted* @@ -294,14 +298,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nValidates this action's data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the .\n" example: [] syntax: content: public override bool Validate(Person person) parameters: - id: person type: TinyLife.Objects.Person + description: The person that this action belongs to return: type: System.Boolean + description: Whether or not the action is still valid (or if it has invalid data) content.vb: Public Overrides Function Validate(person As Person) As Boolean overridden: TinyLife.Actions.Typeless.TypelessAction.Validate(TinyLife.Objects.Person) overload: TinyLife.Actions.Action.Validate* @@ -653,13 +660,13 @@ items: parameters: - id: person type: TinyLife.Objects.Person - description: The person that wants to converse with us + description: The person that wants to converse with us. - id: type type: TinyLife.Actions.ActionType - description: The type of action that should be enqueued + description: The type of action that should be enqueued. Might be null, in which case a generic or unknown action is querying this function. return: type: System.Boolean - description: Whether or not enqueueing a social action is possible + description: Whether or not enqueueing a social action is possible. content.vb: Public Overridable Function CanEnqueueConversation(person As Person, type As ActionType) As Boolean overload: TinyLife.Actions.Action.CanEnqueueConversation* modifiers.csharp: @@ -1949,31 +1956,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1981,6 +1981,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2028,20 +2035,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2049,6 +2049,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.ActionInfo.yml b/docs/api/TinyLife.Actions.ActionInfo.yml index 11c26b0..9107420 100644 --- a/docs/api/TinyLife.Actions.ActionInfo.yml +++ b/docs/api/TinyLife.Actions.ActionInfo.yml @@ -16,7 +16,6 @@ items: - TinyLife.Actions.ActionInfo.GetInvolvedObject``1(TinyLife.Objects.ObjectCategory,System.Boolean,System.Func{``0,System.Boolean}) - TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean) - TinyLife.Actions.ActionInfo.Map - - TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - TinyLife.Actions.ActionInfo.Person - TinyLife.Actions.ActionInfo.ToFreeActionSpot(TinyLife.Objects.ObjectCategory) - TinyLife.Actions.ActionInfo.Validate(TinyLife.Objects.Person) @@ -49,9 +48,7 @@ items: Public Class ActionInfo - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object @@ -395,7 +392,6 @@ items: syntax: content: >- public T GetInvolvedObject(ObjectCategory category = null, bool includeIndirectly = true, Func predicate = null) - where T : MapObject parameters: - id: category @@ -500,54 +496,6 @@ items: - public modifiers.vb: - Public -- uid: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - commentId: M:TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - id: OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - parent: TinyLife.Actions.ActionInfo - langs: - - csharp - - vb - name: OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable) - nameWithType: ActionInfo.OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable) - fullName: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory, System.Boolean, System.Nullable) - type: Method - source: - remote: - path: TinyLife/Actions/ActionInfo.cs - branch: master - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: OccupyFreeActionSpot - path: Actions/ActionInfo.cs - startLine: 175 - assemblies: - - Tiny Life - namespace: TinyLife.Actions - summary: "\nThis is a shorthand method for .\nNote that this method needs to be called every update frame for the person to keep occupying the action spot.\n" - example: [] - syntax: - content: public bool OccupyFreeActionSpot(ObjectCategory context = null, bool enter = false, Direction2? rotation = default(Direction2? )) - parameters: - - id: context - type: TinyLife.Objects.ObjectCategory - description: The category that the action spot should have - - id: enter - type: System.Boolean - description: Whether or not the action spot should be entered - - id: rotation - type: System.Nullable{MLEM.Misc.Direction2} - description: The rotation that the person should have, or the action spot's rotation by default - return: - type: System.Boolean - description: Whether or not we were able to occupy a free action spot - content.vb: Public Function OccupyFreeActionSpot(context As ObjectCategory = Nothing, enter As Boolean = False, rotation As Direction2? = Nothing) As Boolean - overload: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot* - nameWithType.vb: ActionInfo.OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable(Of Direction2)) - modifiers.csharp: - - public - modifiers.vb: - - Public - fullName.vb: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory, System.Boolean, System.Nullable(Of MLEM.Misc.Direction2)) - name.vb: OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable(Of Direction2)) - uid: TinyLife.Actions.ActionInfo.Validate(TinyLife.Objects.Person) commentId: M:TinyLife.Actions.ActionInfo.Validate(TinyLife.Objects.Person) id: Validate(TinyLife.Objects.Person) @@ -566,7 +514,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: Actions/ActionInfo.cs - startLine: 185 + startLine: 172 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -602,7 +550,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FromLocation path: Actions/ActionInfo.cs - startLine: 231 + startLine: 218 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -646,7 +594,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FromObjectGeneric path: Actions/ActionInfo.cs - startLine: 241 + startLine: 228 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -690,7 +638,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FromSelf path: Actions/ActionInfo.cs - startLine: 250 + startLine: 237 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1741,97 +1689,6 @@ references: name: ActionInfo nameWithType: ActionInfo fullName: TinyLife.Actions.ActionInfo -- uid: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - commentId: M:TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - isExternal: true -- uid: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot* - commentId: Overload:TinyLife.Actions.ActionInfo.OccupyFreeActionSpot - name: OccupyFreeActionSpot - nameWithType: ActionInfo.OccupyFreeActionSpot - fullName: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot -- uid: System.Nullable{MLEM.Misc.Direction2} - commentId: T:System.Nullable{MLEM.Misc.Direction2} - parent: System - definition: System.Nullable`1 - name: Nullable - nameWithType: Nullable - fullName: System.Nullable - nameWithType.vb: Nullable(Of Direction2) - fullName.vb: System.Nullable(Of MLEM.Misc.Direction2) - name.vb: Nullable(Of Direction2) - spec.csharp: - - uid: System.Nullable`1 - name: Nullable - nameWithType: Nullable - fullName: System.Nullable - isExternal: true - - name: < - nameWithType: < - fullName: < - - uid: MLEM.Misc.Direction2 - name: Direction2 - nameWithType: Direction2 - fullName: MLEM.Misc.Direction2 - isExternal: true - - name: '>' - nameWithType: '>' - fullName: '>' - spec.vb: - - uid: System.Nullable`1 - name: Nullable - nameWithType: Nullable - fullName: System.Nullable - isExternal: true - - name: '(Of ' - nameWithType: '(Of ' - fullName: '(Of ' - - uid: MLEM.Misc.Direction2 - name: Direction2 - nameWithType: Direction2 - fullName: MLEM.Misc.Direction2 - isExternal: true - - name: ) - nameWithType: ) - fullName: ) -- uid: System.Nullable`1 - commentId: T:System.Nullable`1 - isExternal: true - name: Nullable - nameWithType: Nullable - fullName: System.Nullable - nameWithType.vb: Nullable(Of T) - fullName.vb: System.Nullable(Of T) - name.vb: Nullable(Of T) - spec.csharp: - - uid: System.Nullable`1 - name: Nullable - nameWithType: Nullable - fullName: System.Nullable - isExternal: true - - name: < - nameWithType: < - fullName: < - - name: T - nameWithType: T - fullName: T - - name: '>' - nameWithType: '>' - fullName: '>' - spec.vb: - - uid: System.Nullable`1 - name: Nullable - nameWithType: Nullable - fullName: System.Nullable - isExternal: true - - name: '(Of ' - nameWithType: '(Of ' - fullName: '(Of ' - - name: T - nameWithType: T - fullName: T - - name: ) - nameWithType: ) - fullName: ) - uid: TinyLife.Actions.ActionInfo.Validate* commentId: Overload:TinyLife.Actions.ActionInfo.Validate name: Validate diff --git a/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml b/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml index a39e701..ed6873b 100644 --- a/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml +++ b/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml @@ -50,7 +50,6 @@ items: content: 'public struct TypeSettings : IGenericDataHolder' content.vb: >- Public Structure TypeSettings - Implements IGenericDataHolder implements: - MLEM.Misc.IGenericDataHolder @@ -497,7 +496,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions - summary: "\nA function that determines this action's actual display name.\nThe function is given the default display name () and an for the current situation.\nIf this value is null (which it is by default), the default display name will be displayed.\n" + summary: "\nA function that determines this action's actual display name.\nThe function is given the default display name () and an for the current situation, the latter of which may be null.\nIf this value is null (which it is by default), the default display name will be displayed.\n" example: [] syntax: content: public Func GetDisplayName diff --git a/docs/api/TinyLife.Actions.ActionType.yml b/docs/api/TinyLife.Actions.ActionType.yml index 4fe62c8..a056538 100644 --- a/docs/api/TinyLife.Actions.ActionType.yml +++ b/docs/api/TinyLife.Actions.ActionType.yml @@ -12,6 +12,7 @@ items: - TinyLife.Actions.ActionType.AskAboutGamingRig - TinyLife.Actions.ActionType.AskAboutPersonality - TinyLife.Actions.ActionType.AskToLeave + - TinyLife.Actions.ActionType.AskToTaste - TinyLife.Actions.ActionType.BeAwayFromLotEmployment - TinyLife.Actions.ActionType.BoastAboutPagesWritten - TinyLife.Actions.ActionType.BreakUp @@ -21,6 +22,9 @@ items: - TinyLife.Actions.ActionType.CanDoImportantAction(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.CanExecuteAll(TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Actions.ActionType.CanExecuteDelegate[]) + - TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean) + - TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean) + - TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean) - TinyLife.Actions.ActionType.CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.CanWorkAtDeskObject(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.ChangeOutfit @@ -37,6 +41,7 @@ items: - TinyLife.Actions.ActionType.ConfideIn - TinyLife.Actions.ActionType.Construct(TinyLife.Actions.ActionInfo,System.Nullable{TinyLife.Actions.ActionVariety}) - TinyLife.Actions.ActionType.CookFood + - TinyLife.Actions.ActionType.CreateApp - TinyLife.Actions.ActionType.DeliverMail - TinyLife.Actions.ActionType.Die - TinyLife.Actions.ActionType.DiscussWorkoutRegimen @@ -49,6 +54,7 @@ items: - TinyLife.Actions.ActionType.GaugeRelationship - TinyLife.Actions.ActionType.GetDisplayName(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.GetFoodSomewhereElse + - TinyLife.Actions.ActionType.GetFurnitureMail - TinyLife.Actions.ActionType.GetIconName - TinyLife.Actions.ActionType.GetIngredientsFamily - TinyLife.Actions.ActionType.GetIngredientsSingle @@ -73,8 +79,6 @@ items: - TinyLife.Actions.ActionType.IsDislikedOrMean(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.IsEmptyHanded(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.IsFunctional(TinyLife.Actions.ActionInfo,System.Boolean) - - TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean) - - TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean) - TinyLife.Actions.ActionType.IsNotEmbarrassed(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.IsNotExpired(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.IsNotUncomfortable(TinyLife.Actions.ActionInfo,System.Boolean) @@ -114,6 +118,7 @@ items: - TinyLife.Actions.ActionType.PracticeWriting - TinyLife.Actions.ActionType.PrepareFood - TinyLife.Actions.ActionType.PsychSelfUp + - TinyLife.Actions.ActionType.PublishApp - TinyLife.Actions.ActionType.PutAway - TinyLife.Actions.ActionType.PutDown - TinyLife.Actions.ActionType.QuitJob @@ -121,6 +126,7 @@ items: - TinyLife.Actions.ActionType.Register(TinyLife.Actions.ActionType.TypeSettings) - TinyLife.Actions.ActionType.RegisterAll(System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionType.TypeSettings}) - TinyLife.Actions.ActionType.Repair + - TinyLife.Actions.ActionType.ResearchProgrammingPatterns - TinyLife.Actions.ActionType.RunOnTreadmill - TinyLife.Actions.ActionType.Scrap - TinyLife.Actions.ActionType.SelfPublishBook @@ -195,7 +201,6 @@ items: Public Class ActionType - Implements IEmotionSource inheritance: - System.Object @@ -311,6 +316,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nA (localized) string that is displayed when hovering over an that has this source\n" example: [] syntax: content: public string SourceString { get; } @@ -352,7 +358,7 @@ items: summary: "\nCreates a new instance of this .\n" example: [] syntax: - content: public Action Construct(ActionInfo info, ActionVariety? variety = default(ActionVariety? )) + content: public Action Construct(ActionInfo info, ActionVariety? variety = null) parameters: - id: info type: TinyLife.Actions.ActionInfo @@ -2357,10 +2363,80 @@ items: - Tiny Life namespace: TinyLife.Actions syntax: - content: public static readonly ActionType ModGame + content: public static readonly ActionType[] ModGame + return: + type: TinyLife.Actions.ActionType[] + content.vb: Public Shared ReadOnly ModGame As ActionType() + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly +- uid: TinyLife.Actions.ActionType.CreateApp + commentId: F:TinyLife.Actions.ActionType.CreateApp + id: CreateApp + parent: TinyLife.Actions.ActionType + langs: + - csharp + - vb + name: CreateApp + nameWithType: ActionType.CreateApp + fullName: TinyLife.Actions.ActionType.CreateApp + type: Field + source: + remote: + path: TinyLife/Actions/ActionType.Misc.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: CreateApp + path: Actions/ActionType.Misc.cs + startLine: 281 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + syntax: + content: public static readonly ActionType[] CreateApp + return: + type: TinyLife.Actions.ActionType[] + content.vb: Public Shared ReadOnly CreateApp As ActionType() + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly +- uid: TinyLife.Actions.ActionType.PublishApp + commentId: F:TinyLife.Actions.ActionType.PublishApp + id: PublishApp + parent: TinyLife.Actions.ActionType + langs: + - csharp + - vb + name: PublishApp + nameWithType: ActionType.PublishApp + fullName: TinyLife.Actions.ActionType.PublishApp + type: Field + source: + remote: + path: TinyLife/Actions/ActionType.Misc.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: PublishApp + path: Actions/ActionType.Misc.cs + startLine: 287 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + syntax: + content: public static readonly ActionType PublishApp return: type: TinyLife.Actions.ActionType - content.vb: Public Shared ReadOnly ModGame As ActionType + content.vb: Public Shared ReadOnly PublishApp As ActionType modifiers.csharp: - public - static @@ -2387,7 +2463,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HackSomeone path: Actions/ActionType.Misc.cs - startLine: 284 + startLine: 293 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2404,6 +2480,41 @@ items: - Public - Shared - ReadOnly +- uid: TinyLife.Actions.ActionType.ResearchProgrammingPatterns + commentId: F:TinyLife.Actions.ActionType.ResearchProgrammingPatterns + id: ResearchProgrammingPatterns + parent: TinyLife.Actions.ActionType + langs: + - csharp + - vb + name: ResearchProgrammingPatterns + nameWithType: ActionType.ResearchProgrammingPatterns + fullName: TinyLife.Actions.ActionType.ResearchProgrammingPatterns + type: Field + source: + remote: + path: TinyLife/Actions/ActionType.Misc.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: ResearchProgrammingPatterns + path: Actions/ActionType.Misc.cs + startLine: 298 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + syntax: + content: public static readonly ActionType ResearchProgrammingPatterns + return: + type: TinyLife.Actions.ActionType + content.vb: Public Shared ReadOnly ResearchProgrammingPatterns As ActionType + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly - uid: TinyLife.Actions.ActionType.WatchTv commentId: F:TinyLife.Actions.ActionType.WatchTv id: WatchTv @@ -2422,7 +2533,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WatchTv path: Actions/ActionType.Misc.cs - startLine: 289 + startLine: 303 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2457,7 +2568,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Repair path: Actions/ActionType.Misc.cs - startLine: 300 + startLine: 314 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2492,7 +2603,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PayBills path: Actions/ActionType.Misc.cs - startLine: 313 + startLine: 327 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2527,7 +2638,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PracticeWriting path: Actions/ActionType.Misc.cs - startLine: 327 + startLine: 341 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2562,7 +2673,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WriteBook path: Actions/ActionType.Misc.cs - startLine: 335 + startLine: 349 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2597,7 +2708,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SelfPublishBook path: Actions/ActionType.Misc.cs - startLine: 348 + startLine: 359 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2632,7 +2743,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HaveBookPublished path: Actions/ActionType.Misc.cs - startLine: 349 + startLine: 360 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2667,7 +2778,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LockDoor path: Actions/ActionType.Misc.cs - startLine: 350 + startLine: 361 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2702,7 +2813,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AdmireLgbtFlag path: Actions/ActionType.Misc.cs - startLine: 358 + startLine: 369 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2737,7 +2848,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShakeTree path: Actions/ActionType.Misc.cs - startLine: 361 + startLine: 372 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2772,7 +2883,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RunOnTreadmill path: Actions/ActionType.Misc.cs - startLine: 364 + startLine: 375 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2807,7 +2918,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GoJogging path: Actions/ActionType.Misc.cs - startLine: 372 + startLine: 383 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2842,7 +2953,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LiftWeights path: Actions/ActionType.Misc.cs - startLine: 380 + startLine: 391 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2877,7 +2988,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MixProteinShake path: Actions/ActionType.Misc.cs - startLine: 388 + startLine: 399 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2912,7 +3023,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWater path: Actions/ActionType.Misc.cs - startLine: 397 + startLine: 408 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2947,7 +3058,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WashHands path: Actions/ActionType.Misc.cs - startLine: 405 + startLine: 416 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2982,7 +3093,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToggleLight path: Actions/ActionType.Misc.cs - startLine: 412 + startLine: 423 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3017,7 +3128,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToggleAllLights path: Actions/ActionType.Misc.cs - startLine: 415 + startLine: 426 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3052,7 +3163,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GrillFood path: Actions/ActionType.Misc.cs - startLine: 426 + startLine: 437 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3087,7 +3198,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ThrowAway path: Actions/ActionType.Misc.cs - startLine: 436 + startLine: 447 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3122,7 +3233,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Scrap path: Actions/ActionType.Misc.cs - startLine: 444 + startLine: 455 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3157,7 +3268,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CleanEverything path: Actions/ActionType.Misc.cs - startLine: 450 + startLine: 461 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3192,7 +3303,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Clean path: Actions/ActionType.Misc.cs - startLine: 456 + startLine: 467 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3227,7 +3338,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Woodworking path: Actions/ActionType.Misc.cs - startLine: 464 + startLine: 475 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3262,7 +3373,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LightFireplace path: Actions/ActionType.Misc.cs - startLine: 486 + startLine: 497 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3297,7 +3408,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PsychSelfUp path: Actions/ActionType.Misc.cs - startLine: 522 + startLine: 546 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3332,7 +3443,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Store path: Actions/ActionType.Misc.cs - startLine: 525 + startLine: 549 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3349,6 +3460,41 @@ items: - Public - Shared - ReadOnly +- uid: TinyLife.Actions.ActionType.GetFurnitureMail + commentId: F:TinyLife.Actions.ActionType.GetFurnitureMail + id: GetFurnitureMail + parent: TinyLife.Actions.ActionType + langs: + - csharp + - vb + name: GetFurnitureMail + nameWithType: ActionType.GetFurnitureMail + fullName: TinyLife.Actions.ActionType.GetFurnitureMail + type: Field + source: + remote: + path: TinyLife/Actions/ActionType.Misc.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetFurnitureMail + path: Actions/ActionType.Misc.cs + startLine: 553 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + syntax: + content: public static readonly ActionType GetFurnitureMail + return: + type: TinyLife.Actions.ActionType + content.vb: Public Shared ReadOnly GetFurnitureMail As ActionType + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly - uid: TinyLife.Actions.ActionType.ConfideIn commentId: F:TinyLife.Actions.ActionType.ConfideIn id: ConfideIn @@ -3699,6 +3845,41 @@ items: - Public - Shared - ReadOnly +- uid: TinyLife.Actions.ActionType.AskToTaste + commentId: F:TinyLife.Actions.ActionType.AskToTaste + id: AskToTaste + parent: TinyLife.Actions.ActionType + langs: + - csharp + - vb + name: AskToTaste + nameWithType: ActionType.AskToTaste + fullName: TinyLife.Actions.ActionType.AskToTaste + type: Field + source: + remote: + path: TinyLife/Actions/ActionType.Social.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: AskToTaste + path: Actions/ActionType.Social.cs + startLine: 112 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + syntax: + content: public static readonly ActionType AskToTaste + return: + type: TinyLife.Actions.ActionType + content.vb: Public Shared ReadOnly AskToTaste As ActionType + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly - uid: TinyLife.Actions.ActionType.Talk commentId: F:TinyLife.Actions.ActionType.Talk id: Talk @@ -3717,7 +3898,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Talk path: Actions/ActionType.Social.cs - startLine: 114 + startLine: 123 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3752,7 +3933,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AskAboutDay path: Actions/ActionType.Social.cs - startLine: 118 + startLine: 127 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3787,7 +3968,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TellEngagingStory path: Actions/ActionType.Social.cs - startLine: 122 + startLine: 131 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3822,7 +4003,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TellStory path: Actions/ActionType.Social.cs - startLine: 127 + startLine: 136 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3857,7 +4038,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TalkAboutWork path: Actions/ActionType.Social.cs - startLine: 131 + startLine: 140 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3892,7 +4073,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TalkAboutNeighborhood path: Actions/ActionType.Social.cs - startLine: 137 + startLine: 146 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3927,7 +4108,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TalkAboutOutdoors path: Actions/ActionType.Social.cs - startLine: 142 + startLine: 151 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3962,7 +4143,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TalkAboutFood path: Actions/ActionType.Social.cs - startLine: 146 + startLine: 155 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3997,7 +4178,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DiscussWorkoutRegimen path: Actions/ActionType.Social.cs - startLine: 150 + startLine: 159 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4032,7 +4213,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CompareMuscleSize path: Actions/ActionType.Social.cs - startLine: 157 + startLine: 166 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4067,7 +4248,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GushAboutPartner path: Actions/ActionType.Social.cs - startLine: 164 + startLine: 173 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4102,7 +4283,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AskAboutGamingRig path: Actions/ActionType.Social.cs - startLine: 170 + startLine: 179 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4137,7 +4318,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AskAboutComputerSpecs path: Actions/ActionType.Social.cs - startLine: 175 + startLine: 184 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4172,7 +4353,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BoastAboutPagesWritten path: Actions/ActionType.Social.cs - startLine: 180 + startLine: 189 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4207,7 +4388,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PoseMathPuzzle path: Actions/ActionType.Social.cs - startLine: 186 + startLine: 195 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4242,7 +4423,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ExpressFearOfCrowds path: Actions/ActionType.Social.cs - startLine: 191 + startLine: 200 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4277,7 +4458,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TalkAboutNaps path: Actions/ActionType.Social.cs - startLine: 196 + startLine: 205 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4312,7 +4493,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TalkAboutWatchingTv path: Actions/ActionType.Social.cs - startLine: 202 + startLine: 211 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4347,7 +4528,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InviteToHousehold path: Actions/ActionType.Social.cs - startLine: 207 + startLine: 216 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4382,7 +4563,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TellJoke path: Actions/ActionType.Social.cs - startLine: 254 + startLine: 263 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4417,7 +4598,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TellFunnyStory path: Actions/ActionType.Social.cs - startLine: 260 + startLine: 269 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4452,7 +4633,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TellRidiculousStory path: Actions/ActionType.Social.cs - startLine: 265 + startLine: 274 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4487,7 +4668,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TellComplexJoke path: Actions/ActionType.Social.cs - startLine: 270 + startLine: 279 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4522,7 +4703,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlayTrick path: Actions/ActionType.Social.cs - startLine: 276 + startLine: 285 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4557,7 +4738,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: JokeAboutWork path: Actions/ActionType.Social.cs - startLine: 282 + startLine: 291 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4592,7 +4773,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: JokeAboutOwnUnemployment path: Actions/ActionType.Social.cs - startLine: 289 + startLine: 298 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4627,7 +4808,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: JokeAboutTreadmillAccidents path: Actions/ActionType.Social.cs - startLine: 296 + startLine: 305 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4662,7 +4843,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: JokeAboutWritingStyle path: Actions/ActionType.Social.cs - startLine: 303 + startLine: 312 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4697,7 +4878,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: JokeAboutAromance path: Actions/ActionType.Social.cs - startLine: 310 + startLine: 319 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4732,7 +4913,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: JokeAboutAsexuality path: Actions/ActionType.Social.cs - startLine: 317 + startLine: 326 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4767,7 +4948,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TellJokeAboutSomething path: Actions/ActionType.Social.cs - startLine: 324 + startLine: 333 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4802,7 +4983,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Insult path: Actions/ActionType.Social.cs - startLine: 338 + startLine: 347 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4837,7 +5018,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ImplyMotherIsCamel path: Actions/ActionType.Social.cs - startLine: 343 + startLine: 352 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4872,7 +5053,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MakeFunOfUnemployment path: Actions/ActionType.Social.cs - startLine: 348 + startLine: 357 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4907,7 +5088,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MakeFunOfLaziness path: Actions/ActionType.Social.cs - startLine: 354 + startLine: 363 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4942,7 +5123,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MakeFunOfIntroversion path: Actions/ActionType.Social.cs - startLine: 359 + startLine: 368 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4977,7 +5158,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MakeFunOfNiceness path: Actions/ActionType.Social.cs - startLine: 365 + startLine: 374 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5012,7 +5193,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ComplainAboutRelationship path: Actions/ActionType.Social.cs - startLine: 370 + startLine: 379 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5047,7 +5228,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MakeFunOfPoorFitness path: Actions/ActionType.Social.cs - startLine: 376 + startLine: 385 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5082,7 +5263,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BreakUp path: Actions/ActionType.Social.cs - startLine: 383 + startLine: 392 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5117,7 +5298,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Flirt path: Actions/ActionType.Social.cs - startLine: 412 + startLine: 421 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5152,7 +5333,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ComplimentLooks path: Actions/ActionType.Social.cs - startLine: 417 + startLine: 426 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5187,7 +5368,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MakeRisqueRemark path: Actions/ActionType.Social.cs - startLine: 422 + startLine: 431 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5222,7 +5403,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StartDating path: Actions/ActionType.Social.cs - startLine: 429 + startLine: 438 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5257,7 +5438,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FoolAround path: Actions/ActionType.Social.cs - startLine: 444 + startLine: 453 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5274,23 +5455,23 @@ items: - Public - Shared - ReadOnly -- uid: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean) - commentId: M:TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean) - id: IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean) +- uid: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean) + commentId: M:TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean) + id: CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean) parent: TinyLife.Actions.ActionType langs: - csharp - vb - name: IsHoldingOrValidParent(ActionInfo, ObjectCategory, Func, Boolean, Boolean) - nameWithType: ActionType.IsHoldingOrValidParent(ActionInfo, ObjectCategory, Func, Boolean, Boolean) - fullName: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Func, System.Boolean, System.Boolean) + name: CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func, Boolean, Boolean, Boolean) + nameWithType: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func, Boolean, Boolean, Boolean) + fullName: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Func, System.Boolean, System.Boolean, System.Boolean) type: Method source: remote: path: TinyLife/Actions/ActionType.Utilities.cs branch: master repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: IsHoldingOrValidParent + id: CanPickUpOrIsHoldingForTarget path: Actions/ActionType.Utilities.cs startLine: 32 assemblies: @@ -5299,7 +5480,7 @@ items: summary: "\nA helper method intended to be used with that returns in the following cases:\n
  • The held object isAllowed and the action object matches the goalParent category
  • The held object is null and the action objectt isAllowed
\nThis helper method is useful in cases like , where the action should be allowed if the person is holding a food plate and clicking a chair, or if a person is clicking the food plate itself.\n" example: [] syntax: - content: public static ActionType.CanExecuteResult IsHoldingOrValidParent(ActionInfo info, ObjectCategory goalParent, Func isAllowed, bool parentHasToExist = false, bool allowAnyInvolved = false) + content: public static ActionType.CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, ObjectCategory goalParent, Func isAllowed, bool parentHasToExist = false, bool allowAnyInvolved = false, bool needsObjectSpot = false) parameters: - id: info type: TinyLife.Actions.ActionInfo @@ -5316,37 +5497,39 @@ items: - id: allowAnyInvolved type: System.Boolean description: Whether any should be passed to isAllowed, instead of just the action object + - id: needsObjectSpot + type: System.Boolean return: type: TinyLife.Actions.ActionType.CanExecuteResult description: A result that represents the validity of the action - content.vb: Public Shared Function IsHoldingOrValidParent(info As ActionInfo, goalParent As ObjectCategory, isAllowed As Func(Of Furniture, Boolean), parentHasToExist As Boolean = False, allowAnyInvolved As Boolean = False) As ActionType.CanExecuteResult - overload: TinyLife.Actions.ActionType.IsHoldingOrValidParent* - nameWithType.vb: ActionType.IsHoldingOrValidParent(ActionInfo, ObjectCategory, Func(Of Furniture, Boolean), Boolean, Boolean) + content.vb: Public Shared Function CanPickUpOrIsHoldingForTarget(info As ActionInfo, goalParent As ObjectCategory, isAllowed As Func(Of Furniture, Boolean), parentHasToExist As Boolean = False, allowAnyInvolved As Boolean = False, needsObjectSpot As Boolean = False) As ActionType.CanExecuteResult + overload: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget* + nameWithType.vb: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func(Of Furniture, Boolean), Boolean, Boolean, Boolean) modifiers.csharp: - public - static modifiers.vb: - Public - Shared - fullName.vb: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Boolean, System.Boolean) - name.vb: IsHoldingOrValidParent(ActionInfo, ObjectCategory, Func(Of Furniture, Boolean), Boolean, Boolean) -- uid: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean) - commentId: M:TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean) - id: IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean) + fullName.vb: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Boolean, System.Boolean, System.Boolean) + name.vb: CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func(Of Furniture, Boolean), Boolean, Boolean, Boolean) +- uid: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean) + commentId: M:TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean) + id: CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean) parent: TinyLife.Actions.ActionType langs: - csharp - vb - name: IsHoldingOrValidParent(ActionInfo, Func<(Furniture Parent, Furniture Item), Boolean>, Func, Boolean, Boolean) - nameWithType: ActionType.IsHoldingOrValidParent(ActionInfo, Func<(Furniture Parent, Furniture Item), Boolean>, Func, Boolean, Boolean) - fullName: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo, System.Func, System.Boolean>, System.Func, System.Boolean, System.Boolean) + name: CanPickUpOrIsHoldingForTarget(ActionInfo, Func<(Furniture Parent, Furniture Item), Boolean>, Func, Boolean, Boolean, Boolean) + nameWithType: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, Func<(Furniture Parent, Furniture Item), Boolean>, Func, Boolean, Boolean, Boolean) + fullName: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, System.Func, System.Boolean>, System.Func, System.Boolean, System.Boolean, System.Boolean) type: Method source: remote: path: TinyLife/Actions/ActionType.Utilities.cs branch: master repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: IsHoldingOrValidParent + id: CanPickUpOrIsHoldingForTarget path: Actions/ActionType.Utilities.cs startLine: 50 assemblies: @@ -5355,7 +5538,7 @@ items: summary: "\nA helper method intended to be used with that returns in the following cases:\n
  • The held object isAllowed and the action object matches the isParentAllowed condition
  • The held object is null and the action objectt isAllowed
\nThis helper method is useful in cases like , where the action should be allowed if the person is holding a food plate and clicking a chair, or if a person is clicking the food plate itself.\n" example: [] syntax: - content: public static ActionType.CanExecuteResult IsHoldingOrValidParent(ActionInfo info, Func<(Furniture Parent, Furniture Item), bool> isParentAllowed, Func isAllowed, bool parentHasToExist = false, bool allowAnyInvolved = false) + content: public static ActionType.CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, Func<(Furniture Parent, Furniture Item), bool> isParentAllowed, Func isAllowed, bool parentHasToExist = false, bool allowAnyInvolved = false, bool needsObjectSpot = false) parameters: - id: info type: TinyLife.Actions.ActionInfo @@ -5372,20 +5555,68 @@ items: - id: allowAnyInvolved type: System.Boolean description: Whether any should be passed to isAllowed, instead of just the action object + - id: needsObjectSpot + type: System.Boolean return: type: TinyLife.Actions.ActionType.CanExecuteResult description: A result that represents the validity of the action - content.vb: Public Shared Function IsHoldingOrValidParent(info As ActionInfo, isParentAllowed As Func(Of(Parent As Furniture, Item As Furniture)(Of Furniture , Furniture), Boolean), isAllowed As Func(Of Furniture, Boolean), parentHasToExist As Boolean = False, allowAnyInvolved As Boolean = False) As ActionType.CanExecuteResult - overload: TinyLife.Actions.ActionType.IsHoldingOrValidParent* - nameWithType.vb: ActionType.IsHoldingOrValidParent(ActionInfo, Func(Of (Parent As Furniture, Item As Furniture)(Of Furniture, Furniture), Boolean), Func(Of Furniture, Boolean), Boolean, Boolean) + content.vb: Public Shared Function CanPickUpOrIsHoldingForTarget(info As ActionInfo, isParentAllowed As Func(Of(Parent As Furniture, Item As Furniture)(Of Furniture , Furniture), Boolean), isAllowed As Func(Of Furniture, Boolean), parentHasToExist As Boolean = False, allowAnyInvolved As Boolean = False, needsObjectSpot As Boolean = False) As ActionType.CanExecuteResult + overload: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget* + nameWithType.vb: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, Func(Of (Parent As Furniture, Item As Furniture)(Of Furniture, Furniture), Boolean), Func(Of Furniture, Boolean), Boolean, Boolean, Boolean) modifiers.csharp: - public - static modifiers.vb: - Public - Shared - fullName.vb: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo, System.Func(Of System.ValueTuple(Of TinyLife.Objects.Furniture, TinyLife.Objects.Furniture), System.Boolean), System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Boolean, System.Boolean) - name.vb: IsHoldingOrValidParent(ActionInfo, Func(Of (Parent As Furniture, Item As Furniture)(Of Furniture, Furniture), Boolean), Func(Of Furniture, Boolean), Boolean, Boolean) + fullName.vb: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, System.Func(Of System.ValueTuple(Of TinyLife.Objects.Furniture, TinyLife.Objects.Furniture), System.Boolean), System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Boolean, System.Boolean, System.Boolean) + name.vb: CanPickUpOrIsHoldingForTarget(ActionInfo, Func(Of (Parent As Furniture, Item As Furniture)(Of Furniture, Furniture), Boolean), Func(Of Furniture, Boolean), Boolean, Boolean, Boolean) +- uid: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean) + commentId: M:TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean) + id: CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean) + parent: TinyLife.Actions.ActionType + langs: + - csharp + - vb + name: CanPickUpOrIsHoldingForTarget(ActionInfo, Func, Func<(Person Person, Furniture Item), Boolean>, Boolean) + nameWithType: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, Func, Func<(Person Person, Furniture Item), Boolean>, Boolean) + fullName: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, System.Func, System.Func, System.Boolean>, System.Boolean) + type: Method + source: + remote: + path: TinyLife/Actions/ActionType.Utilities.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: CanPickUpOrIsHoldingForTarget + path: Actions/ActionType.Utilities.cs + startLine: 77 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + syntax: + content: public static ActionType.CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, Func isAllowed, Func<(Person Person, Furniture Item), bool> isPersonAllowed = null, bool allowAnyInvolved = false) + parameters: + - id: info + type: TinyLife.Actions.ActionInfo + - id: isAllowed + type: System.Func{TinyLife.Objects.Furniture,System.Boolean} + - id: isPersonAllowed + type: System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean} + - id: allowAnyInvolved + type: System.Boolean + return: + type: TinyLife.Actions.ActionType.CanExecuteResult + content.vb: Public Shared Function CanPickUpOrIsHoldingForTarget(info As ActionInfo, isAllowed As Func(Of Furniture, Boolean), isPersonAllowed As Func(Of(Person As Person, Item As Furniture)(Of Person , Furniture), Boolean) = Nothing, allowAnyInvolved As Boolean = False) As ActionType.CanExecuteResult + overload: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget* + nameWithType.vb: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, Func(Of Furniture, Boolean), Func(Of (Person As Person, Item As Furniture)(Of Person, Furniture), Boolean), Boolean) + modifiers.csharp: + - public + - static + modifiers.vb: + - Public + - Shared + fullName.vb: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Func(Of System.ValueTuple(Of TinyLife.Objects.Person, TinyLife.Objects.Furniture), System.Boolean), System.Boolean) + name.vb: CanPickUpOrIsHoldingForTarget(ActionInfo, Func(Of Furniture, Boolean), Func(Of (Person As Person, Item As Furniture)(Of Person, Furniture), Boolean), Boolean) - uid: TinyLife.Actions.ActionType.CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean) commentId: M:TinyLife.Actions.ActionType.CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean) id: CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean) @@ -5404,7 +5635,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanPlaceHeldItem path: Actions/ActionType.Utilities.cs - startLine: 76 + startLine: 105 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5448,7 +5679,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasChairOrIsStandingDesk path: Actions/ActionType.Utilities.cs - startLine: 97 + startLine: 126 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5492,7 +5723,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsDislikedOrMean path: Actions/ActionType.Utilities.cs - startLine: 113 + startLine: 142 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5536,7 +5767,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsReadyForRomance path: Actions/ActionType.Utilities.cs - startLine: 131 + startLine: 160 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5580,7 +5811,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsComfortable path: Actions/ActionType.Utilities.cs - startLine: 158 + startLine: 187 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5624,7 +5855,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsNotUncomfortable path: Actions/ActionType.Utilities.cs - startLine: 169 + startLine: 198 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5668,7 +5899,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsNotEmbarrassed path: Actions/ActionType.Utilities.cs - startLine: 179 + startLine: 208 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5712,7 +5943,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsEmptyHanded path: Actions/ActionType.Utilities.cs - startLine: 189 + startLine: 218 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5756,7 +5987,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsFunctional path: Actions/ActionType.Utilities.cs - startLine: 199 + startLine: 228 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5800,7 +6031,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanWorkAtDeskObject path: Actions/ActionType.Utilities.cs - startLine: 216 + startLine: 245 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5844,11 +6075,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsNotExpired path: Actions/ActionType.Utilities.cs - startLine: 226 + startLine: 255 assemblies: - Tiny Life namespace: TinyLife.Actions - summary: "\nA helper method intended to be used with that determines whether the action object is expired, and returns if it is\n" + summary: "\nA helper method intended to be used with that determines whether the action object or any involved objects are expired, and returns if it is\n" example: [] syntax: content: public static ActionType.CanExecuteResult IsNotExpired(ActionInfo info, bool automatic) @@ -5888,7 +6119,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanDoImportantAction path: Actions/ActionType.Utilities.cs - startLine: 238 + startLine: 266 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5932,7 +6163,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AreDating path: Actions/ActionType.Utilities.cs - startLine: 248 + startLine: 276 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -5976,7 +6207,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanExecuteAll path: Actions/ActionType.Utilities.cs - startLine: 265 + startLine: 293 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -6026,7 +6257,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanBeSexual path: Actions/ActionType.Utilities.cs - startLine: 281 + startLine: 309 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -6070,7 +6301,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillPriorityMod path: Actions/ActionType.Utilities.cs - startLine: 295 + startLine: 323 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -7158,11 +7389,11 @@ references: - uid: TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean) commentId: M:TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean) isExternal: true -- uid: TinyLife.Actions.ActionType.IsHoldingOrValidParent* - commentId: Overload:TinyLife.Actions.ActionType.IsHoldingOrValidParent - name: IsHoldingOrValidParent - nameWithType: ActionType.IsHoldingOrValidParent - fullName: TinyLife.Actions.ActionType.IsHoldingOrValidParent +- uid: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget* + commentId: Overload:TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget + name: CanPickUpOrIsHoldingForTarget + nameWithType: ActionType.CanPickUpOrIsHoldingForTarget + fullName: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget - uid: TinyLife.Objects.ObjectCategory commentId: T:TinyLife.Objects.ObjectCategory parent: TinyLife.Objects @@ -7388,6 +7619,100 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean} + commentId: T:System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean} + parent: System + definition: System.Func`2 + name: Func<(T1, T2), Boolean> + nameWithType: Func<(T1, T2), Boolean> + fullName: System.Func, System.Boolean> + nameWithType.vb: Func(Of (T1, T2)(Of Person, Furniture), Boolean) + fullName.vb: System.Func(Of System.ValueTuple(Of TinyLife.Objects.Person, TinyLife.Objects.Furniture), System.Boolean) + name.vb: Func(Of (T1, T2)(Of Person, Furniture), Boolean) + spec.csharp: + - uid: System.Func`2 + name: Func + nameWithType: Func + fullName: System.Func + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: TinyLife.Objects.Person + name: Person + nameWithType: Person + fullName: TinyLife.Objects.Person + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Objects.Furniture + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture + - name: '>' + nameWithType: '>' + fullName: '>' + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.Boolean + name: Boolean + nameWithType: Boolean + fullName: System.Boolean + isExternal: true + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Func`2 + name: Func + nameWithType: Func + fullName: System.Func + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: TinyLife.Objects.Person + name: Person + nameWithType: Person + fullName: TinyLife.Objects.Person + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Objects.Furniture + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture + - name: ) + nameWithType: ) + fullName: ) + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.Boolean + name: Boolean + nameWithType: Boolean + fullName: System.Boolean + isExternal: true + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Actions.ActionType.CanExecuteResult.Hidden commentId: F:TinyLife.Actions.ActionType.CanExecuteResult.Hidden isExternal: true diff --git a/docs/api/TinyLife.Actions.ActionVariety.yml b/docs/api/TinyLife.Actions.ActionVariety.yml index 6a9a715..d789e40 100644 --- a/docs/api/TinyLife.Actions.ActionVariety.yml +++ b/docs/api/TinyLife.Actions.ActionVariety.yml @@ -11,6 +11,7 @@ items: - TinyLife.Actions.ActionVariety.CustomLayout - TinyLife.Actions.ActionVariety.Description - TinyLife.Actions.ActionVariety.DisplayName + - TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo) - TinyLife.Actions.ActionVariety.GetData``1(System.String) - TinyLife.Actions.ActionVariety.GetDataKeys - TinyLife.Actions.ActionVariety.GetDisplayName @@ -34,7 +35,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ActionVariety path: Actions/ActionVariety.cs - startLine: 17 + startLine: 18 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -44,7 +45,6 @@ items: content: 'public struct ActionVariety : IGenericDataHolder' content.vb: >- Public Structure ActionVariety - Implements IGenericDataHolder implements: - MLEM.Misc.IGenericDataHolder @@ -81,7 +81,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: Actions/ActionVariety.cs - startLine: 22 + startLine: 23 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -114,7 +114,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PassivePriority path: Actions/ActionVariety.cs - startLine: 28 + startLine: 29 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -147,7 +147,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanExecute path: Actions/ActionVariety.cs - startLine: 34 + startLine: 35 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -180,7 +180,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayName path: Actions/ActionVariety.cs - startLine: 39 + startLine: 40 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -213,7 +213,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Description path: Actions/ActionVariety.cs - startLine: 44 + startLine: 45 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -246,7 +246,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CustomLayout path: Actions/ActionVariety.cs - startLine: 50 + startLine: 51 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -279,7 +279,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Actions/ActionVariety.cs - startLine: 58 + startLine: 59 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -315,7 +315,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDisplayName path: Actions/ActionVariety.cs - startLine: 66 + startLine: 67 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -350,7 +350,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanBeExecuted path: Actions/ActionVariety.cs - startLine: 77 + startLine: 78 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -392,7 +392,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPassivePriority path: Actions/ActionVariety.cs - startLine: 93 + startLine: 94 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -431,7 +431,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetData path: Actions/ActionVariety.cs - startLine: 98 + startLine: 99 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -469,7 +469,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetData path: Actions/ActionVariety.cs - startLine: 104 + startLine: 105 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -512,7 +512,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDataKeys path: Actions/ActionVariety.cs - startLine: 109 + startLine: 110 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -529,6 +529,43 @@ items: - public modifiers.vb: - Public +- uid: TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo) + commentId: M:TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo) + id: FreePeople(TinyLife.Actions.ActionInfo) + parent: TinyLife.Actions.ActionVariety + langs: + - csharp + - vb + name: FreePeople(ActionInfo) + nameWithType: ActionVariety.FreePeople(ActionInfo) + fullName: TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo) + type: Method + source: + remote: + path: TinyLife/Actions/ActionVariety.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: FreePeople + path: Actions/ActionVariety.cs + startLine: 116 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + syntax: + content: public static IEnumerable FreePeople(ActionInfo info) + parameters: + - id: info + type: TinyLife.Actions.ActionInfo + return: + type: System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionVariety} + content.vb: Public Shared Function FreePeople(info As ActionInfo) As IEnumerable(Of ActionVariety) + overload: TinyLife.Actions.ActionVariety.FreePeople* + modifiers.csharp: + - public + - static + modifiers.vb: + - Public + - Shared - uid: TinyLife.Actions.ActionVariety.ImageLayout(System.Single,MLEM.Ui.Elements.Element.DrawCallback,MLEM.Misc.Padding) commentId: M:TinyLife.Actions.ActionVariety.ImageLayout(System.Single,MLEM.Ui.Elements.Element.DrawCallback,MLEM.Misc.Padding) id: ImageLayout(System.Single,MLEM.Ui.Elements.Element.DrawCallback,MLEM.Misc.Padding) @@ -547,7 +584,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ImageLayout path: Actions/ActionVariety.cs - startLine: 123 + startLine: 138 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -594,7 +631,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PortraitLayout path: Actions/ActionVariety.cs - startLine: 142 + startLine: 157 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1626,6 +1663,92 @@ references: name: System.Collections.Generic nameWithType: System.Collections.Generic fullName: System.Collections.Generic +- uid: TinyLife.Actions.ActionVariety.FreePeople* + commentId: Overload:TinyLife.Actions.ActionVariety.FreePeople + name: FreePeople + nameWithType: ActionVariety.FreePeople + fullName: TinyLife.Actions.ActionVariety.FreePeople +- uid: System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionVariety} + commentId: T:System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionVariety} + parent: System.Collections.Generic + definition: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + nameWithType.vb: IEnumerable(Of ActionVariety) + fullName.vb: System.Collections.Generic.IEnumerable(Of TinyLife.Actions.ActionVariety) + name.vb: IEnumerable(Of ActionVariety) + spec.csharp: + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: TinyLife.Actions.ActionVariety + name: ActionVariety + nameWithType: ActionVariety + fullName: TinyLife.Actions.ActionVariety + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: TinyLife.Actions.ActionVariety + name: ActionVariety + nameWithType: ActionVariety + fullName: TinyLife.Actions.ActionVariety + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Collections.Generic.IEnumerable`1 + commentId: T:System.Collections.Generic.IEnumerable`1 + isExternal: true + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + nameWithType.vb: IEnumerable(Of T) + fullName.vb: System.Collections.Generic.IEnumerable(Of T) + name.vb: IEnumerable(Of T) + spec.csharp: + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + isExternal: true + - name: < + nameWithType: < + fullName: < + - name: T + nameWithType: T + fullName: T + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - name: T + nameWithType: T + fullName: T + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Actions.ActionVariety.CustomLayout commentId: F:TinyLife.Actions.ActionVariety.CustomLayout isExternal: true diff --git a/docs/api/TinyLife.Actions.BehaviorAction-1.yml b/docs/api/TinyLife.Actions.BehaviorAction-1.yml index ec1dc8d..c2f9a61 100644 --- a/docs/api/TinyLife.Actions.BehaviorAction-1.yml +++ b/docs/api/TinyLife.Actions.BehaviorAction-1.yml @@ -39,9 +39,7 @@ items: description: The type of that this action uses content.vb: >- Public MustInherit Class BehaviorAction(Of T As ActionBehavior) - Inherits Action - Implements IGenericDataHolder inheritance: - System.Object @@ -84,7 +82,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -174,14 +172,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: protected BehaviorAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Protected Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.BehaviorAction`1.#ctor* nameWithType.vb: BehaviorAction(Of T).BehaviorAction(ActionType, ActionInfo) @@ -212,6 +213,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n" example: [] syntax: content: public override void Initialize() @@ -248,16 +250,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Action.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.BehaviorAction`1.Update* @@ -291,11 +297,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns the map object that is displayed in the action queue in the top left of the screen.\nNote that this value is ignored if this action's type has a .\nBy default, the is returned.\n" example: [] syntax: content: public override MapObject GetIconObject() return: type: TinyLife.Objects.MapObject + description: The icon object content.vb: Public Overrides Function GetIconObject As MapObject overridden: TinyLife.Actions.Action.GetIconObject overload: TinyLife.Actions.BehaviorAction`1.GetIconObject* @@ -329,12 +337,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n" example: [] syntax: content: public override void OnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The type that this action completed with content.vb: Public Overrides Sub OnCompleted(type As CompletionType) overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.BehaviorAction`1.OnCompleted* @@ -368,14 +378,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns an action that should be queued up immediately after this action completes.\nThe queued up action is immediately started in the slot that this action occupied.\nCan be null, and is null by default.\n" example: [] syntax: content: public override Action GetNextAction(CompletionType completion) parameters: - id: completion type: TinyLife.Actions.CompletionType + description: The type that this action completed with return: type: TinyLife.Actions.Action + description: The follow-up action content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action overridden: TinyLife.Actions.Action.GetNextAction(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.BehaviorAction`1.GetNextAction* @@ -1926,31 +1939,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1958,6 +1964,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2005,20 +2018,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2026,6 +2032,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.BehaviorMultiAction-1.yml b/docs/api/TinyLife.Actions.BehaviorMultiAction-1.yml index 7f7f8fd..40bd26d 100644 --- a/docs/api/TinyLife.Actions.BehaviorMultiAction-1.yml +++ b/docs/api/TinyLife.Actions.BehaviorMultiAction-1.yml @@ -40,9 +40,7 @@ items: description: The type of that this action uses content.vb: >- Public MustInherit Class BehaviorMultiAction(Of T As MultiActionBehavior) - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -94,7 +92,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -184,14 +182,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: protected BehaviorMultiAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Protected Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.BehaviorMultiAction`1.#ctor* nameWithType.vb: BehaviorMultiAction(Of T).BehaviorMultiAction(ActionType, ActionInfo) @@ -222,11 +223,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.BehaviorMultiAction`1.CreateFirstActions* @@ -260,6 +263,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -296,16 +300,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n" example: [] syntax: content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.BehaviorMultiAction`1.AndThenUpdate* @@ -339,11 +347,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns the map object that is displayed in the action queue in the top left of the screen.\nNote that this value is ignored if this action's type has a .\nBy default, the is returned.\n" example: [] syntax: content: public override MapObject GetIconObject() return: type: TinyLife.Objects.MapObject + description: The icon object content.vb: Public Overrides Function GetIconObject As MapObject overridden: TinyLife.Actions.Action.GetIconObject overload: TinyLife.Actions.BehaviorMultiAction`1.GetIconObject* @@ -377,12 +387,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n" example: [] syntax: content: protected override void AndThenOnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The completion of the main action content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType) overridden: TinyLife.Actions.MultiAction.AndThenOnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.BehaviorMultiAction`1.AndThenOnCompleted* @@ -416,14 +428,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns an action that should be queued up immediately after this action completes.\nThe queued up action is immediately started in the slot that this action occupied.\nCan be null, and is null by default.\n" example: [] syntax: content: public override Action GetNextAction(CompletionType completion) parameters: - id: completion type: TinyLife.Actions.CompletionType + description: The type that this action completed with return: type: TinyLife.Actions.Action + description: The follow-up action content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action overridden: TinyLife.Actions.Action.GetNextAction(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.BehaviorMultiAction`1.GetNextAction* @@ -2224,31 +2239,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2256,6 +2264,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2303,20 +2318,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2324,6 +2332,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.Behaviors.ActionBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.ActionBehavior.yml index 23522be..007a3e0 100644 --- a/docs/api/TinyLife.Actions.Behaviors.ActionBehavior.yml +++ b/docs/api/TinyLife.Actions.Behaviors.ActionBehavior.yml @@ -350,7 +350,6 @@ items: syntax: content: >- public static T CreateDefaultInstance(Action action) - where T : ActionBehavior parameters: - id: action diff --git a/docs/api/TinyLife.Actions.Behaviors.ComputerBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.ComputerBehavior.yml index b9c57fd..5809640 100644 --- a/docs/api/TinyLife.Actions.Behaviors.ComputerBehavior.yml +++ b/docs/api/TinyLife.Actions.Behaviors.ComputerBehavior.yml @@ -33,7 +33,6 @@ items: content: 'public class ComputerBehavior : WorkAtDeskObjectBehavior' content.vb: >- Public Class ComputerBehavior - Inherits WorkAtDeskObjectBehavior inheritance: - System.Object @@ -119,6 +118,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nInitializes this action behavior.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override void Initialize() @@ -153,16 +153,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nUpdates this action behavior every update frame.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last update frame - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.Behaviors.ComputerBehavior.Update* @@ -194,12 +198,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nCauses any activities that this action behavior executes to be marked as completed.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override void OnCompleted(CompletionType completion) parameters: - id: completion type: TinyLife.Actions.CompletionType + description: '' content.vb: Public Overrides Sub OnCompleted(completion As CompletionType) overridden: TinyLife.Actions.Behaviors.ActionBehavior.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.Behaviors.ComputerBehavior.OnCompleted* diff --git a/docs/api/TinyLife.Actions.Behaviors.GetAndSitDownBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.GetAndSitDownBehavior.yml index 5d1a6fa..ba8d33a 100644 --- a/docs/api/TinyLife.Actions.Behaviors.GetAndSitDownBehavior.yml +++ b/docs/api/TinyLife.Actions.Behaviors.GetAndSitDownBehavior.yml @@ -37,7 +37,6 @@ items: content: 'public class GetAndSitDownBehavior : MultiActionBehavior' content.vb: >- Public Class GetAndSitDownBehavior - Inherits MultiActionBehavior inheritance: - System.Object @@ -132,11 +131,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nCreates a set of actions that should be executed before the main starts.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action} + description: '' content.vb: Public Overrides Function CreateFirstActions As IEnumerable(Of Action) overridden: TinyLife.Actions.Behaviors.MultiActionBehavior.CreateFirstActions overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.CreateFirstActions* @@ -168,6 +169,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nInitializes this action behavior.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override void Initialize() @@ -202,16 +204,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nUpdates this action behavior every update frame.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last update frame - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Behaviors.ActionBehavior.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.Update* @@ -243,11 +249,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nReturns this action behavior's icon object.\nThis method is automatically called when using in .\nBy default, this method returns the underlying 's .\n" example: [] syntax: content: public override MapObject GetIconObject() return: type: TinyLife.Objects.MapObject + description: The icon object content.vb: Public Overrides Function GetIconObject As MapObject overridden: TinyLife.Actions.Behaviors.ActionBehavior.GetIconObject overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.GetIconObject* @@ -279,14 +287,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nReturns the action that should be executed after this action behavior's underlying completes.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override Action GetNextAction(CompletionType completion) parameters: - id: completion type: TinyLife.Actions.CompletionType + description: The underlying action's completion type return: type: TinyLife.Actions.Action + description: The action that should be executed next, or null content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action overridden: TinyLife.Actions.Behaviors.ActionBehavior.GetNextAction(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.GetNextAction* @@ -323,7 +334,6 @@ items: syntax: content: >- public T GetInteractingItem() - where T : Furniture typeParameters: - id: T @@ -362,11 +372,11 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nA helper method that returns the item instance that is currently being interacted with in this action.\nSince this action type is rather complex, this is the favored way over .\n" example: [] syntax: content: >- public static T GetInteractingItemForAction(ActionInfo info, params FurnitureType[] workItems) - where T : Furniture parameters: - id: info @@ -375,8 +385,10 @@ items: type: TinyLife.Objects.FurnitureType[] typeParameters: - id: T + description: The type that the object is expected to be return: type: '{T}' + description: The object, or null if there is none content.vb: Public Shared Function GetInteractingItemForAction(Of T As Furniture)(info As ActionInfo, ParamArray workItems As FurnitureType()) As T overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.GetInteractingItemForAction* nameWithType.vb: GetAndSitDownBehavior.GetInteractingItemForAction(Of T)(ActionInfo, FurnitureType()) diff --git a/docs/api/TinyLife.Actions.Behaviors.MultiActionBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.MultiActionBehavior.yml index d2818d6..474a75c 100644 --- a/docs/api/TinyLife.Actions.Behaviors.MultiActionBehavior.yml +++ b/docs/api/TinyLife.Actions.Behaviors.MultiActionBehavior.yml @@ -31,7 +31,6 @@ items: content: 'public abstract class MultiActionBehavior : ActionBehavior' content.vb: >- Public MustInherit Class MultiActionBehavior - Inherits ActionBehavior inheritance: - System.Object @@ -87,12 +86,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nCreates a new action behavior with the given underlying action.\nTo create an action behavior of a given type automatically, use .\n" example: [] syntax: content: protected MultiActionBehavior(Action action) parameters: - id: action type: TinyLife.Actions.Action + description: The action that this behavior is acting upon content.vb: Protected Sub New(action As Action) overload: TinyLife.Actions.Behaviors.MultiActionBehavior.#ctor* modifiers.csharp: diff --git a/docs/api/TinyLife.Actions.Behaviors.SinkBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.SinkBehavior.yml index 082a846..2ab3da5 100644 --- a/docs/api/TinyLife.Actions.Behaviors.SinkBehavior.yml +++ b/docs/api/TinyLife.Actions.Behaviors.SinkBehavior.yml @@ -33,7 +33,6 @@ items: content: 'public class SinkBehavior : MultiActionBehavior' content.vb: >- Public Class SinkBehavior - Inherits MultiActionBehavior inheritance: - System.Object @@ -82,12 +81,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nCreates a new action behavior with the given underlying action.\nTo create an action behavior of a given type automatically, use .\n" example: [] syntax: content: public SinkBehavior(Action action) parameters: - id: action type: TinyLife.Actions.Action + description: The action that this behavior is acting upon content.vb: Public Sub New(action As Action) overload: TinyLife.Actions.Behaviors.SinkBehavior.#ctor* modifiers.csharp: @@ -116,11 +117,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nCreates a set of actions that should be executed before the main starts.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action} + description: '' content.vb: Public Overrides Function CreateFirstActions As IEnumerable(Of Action) overridden: TinyLife.Actions.Behaviors.MultiActionBehavior.CreateFirstActions overload: TinyLife.Actions.Behaviors.SinkBehavior.CreateFirstActions* @@ -152,16 +155,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nUpdates this action behavior every update frame.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last update frame - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Behaviors.ActionBehavior.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.Behaviors.SinkBehavior.Update* @@ -189,16 +196,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCompleted path: Actions/Behaviors/SinkBehavior.cs - startLine: 42 + startLine: 43 assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nCauses any activities that this action behavior executes to be marked as completed.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override void OnCompleted(CompletionType completion) parameters: - id: completion type: TinyLife.Actions.CompletionType + description: '' content.vb: Public Overrides Sub OnCompleted(completion As CompletionType) overridden: TinyLife.Actions.Behaviors.ActionBehavior.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.Behaviors.SinkBehavior.OnCompleted* diff --git a/docs/api/TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.yml index 57c08dd..d5243d6 100644 --- a/docs/api/TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.yml +++ b/docs/api/TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.yml @@ -33,7 +33,6 @@ items: content: 'public class WorkAtDeskObjectBehavior : MultiActionBehavior' content.vb: >- Public Class WorkAtDeskObjectBehavior - Inherits MultiActionBehavior inheritance: - System.Object @@ -84,12 +83,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nCreates a new action behavior with the given underlying action.\nTo create an action behavior of a given type automatically, use .\n" example: [] syntax: content: public WorkAtDeskObjectBehavior(Action action) parameters: - id: action type: TinyLife.Actions.Action + description: The action that this behavior is acting upon content.vb: Public Sub New(action As Action) overload: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.#ctor* modifiers.csharp: @@ -118,11 +119,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nCreates a set of actions that should be executed before the main starts.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action} + description: '' content.vb: Public Overrides Function CreateFirstActions As IEnumerable(Of Action) overridden: TinyLife.Actions.Behaviors.MultiActionBehavior.CreateFirstActions overload: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.CreateFirstActions* @@ -154,16 +157,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nUpdates this action behavior every update frame.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last update frame - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Behaviors.ActionBehavior.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.Update* @@ -195,14 +202,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Behaviors + summary: "\nReturns the action that should be executed after this action behavior's underlying completes.\nThis method is automatically called when using in .\n" example: [] syntax: content: public override Action GetNextAction(CompletionType completion) parameters: - id: completion type: TinyLife.Actions.CompletionType + description: The underlying action's completion type return: type: TinyLife.Actions.Action + description: The action that should be executed next, or null content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action overridden: TinyLife.Actions.Behaviors.ActionBehavior.GetNextAction(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.GetNextAction* diff --git a/docs/api/TinyLife.Actions.DieAction.yml b/docs/api/TinyLife.Actions.DieAction.yml index ec75dcd..54d6888 100644 --- a/docs/api/TinyLife.Actions.DieAction.yml +++ b/docs/api/TinyLife.Actions.DieAction.yml @@ -39,9 +39,7 @@ items: content: 'public class DieAction : Action, IGenericDataHolder' content.vb: >- Public Class DieAction - Inherits Action - Implements IGenericDataHolder inheritance: - System.Object @@ -82,7 +80,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -171,14 +169,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public DieAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.DieAction.#ctor* modifiers.csharp: @@ -207,6 +208,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n" example: [] syntax: content: public override void Initialize() @@ -241,11 +243,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns a localized string that explains this action in short.\nBy default, this method returns .\n" example: [] syntax: content: public override string GetDisplayName() return: type: System.String + description: This action's display name content.vb: Public Overrides Function GetDisplayName As String overridden: TinyLife.Actions.Action.GetDisplayName overload: TinyLife.Actions.DieAction.GetDisplayName* @@ -277,14 +281,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns whether or not this action can be canceled by the given outside source.\nNote that the outside source can be null, and if it is, it means that the player canceled the action manually.\nBy default, actions can only be canceled if the cancelSource is null.\n" example: [] syntax: content: public override bool CanCancel(Action cancelSource) parameters: - id: cancelSource type: TinyLife.Actions.Action + description: The source of the cancelation, or null if the player canceled it return: type: System.Boolean + description: true if the action can be canceled content.vb: Public Overrides Function CanCancel(cancelSource As Action) As Boolean overridden: TinyLife.Actions.Action.CanCancel(TinyLife.Actions.Action) overload: TinyLife.Actions.DieAction.CanCancel* @@ -316,16 +323,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns true if the given person can (automatically) enqueue a social action with the that is executing this action.\nNote that enqueueing a social action manually is still possible even if this method returns false.\nBy default, only returns false on this method.\n" example: [] syntax: content: public override bool CanEnqueueConversation(Person person, ActionType type) parameters: - id: person type: TinyLife.Objects.Person + description: The person that wants to converse with us. - id: type type: TinyLife.Actions.ActionType + description: The type of action that should be enqueued. Might be null, in which case a generic or unknown action is querying this function. return: type: System.Boolean + description: Whether or not enqueueing a social action is possible. content.vb: Public Overrides Function CanEnqueueConversation(person As Person, type As ActionType) As Boolean overridden: TinyLife.Actions.Action.CanEnqueueConversation(TinyLife.Objects.Person,TinyLife.Actions.ActionType) overload: TinyLife.Actions.DieAction.CanEnqueueConversation* @@ -357,16 +368,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Action.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.DieAction.Update* @@ -398,11 +413,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n" example: [] syntax: content: public override CompletionType IsCompleted() return: type: TinyLife.Actions.CompletionType + description: The current completion type of this action content.vb: Public Overrides Function IsCompleted As CompletionType overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted overload: TinyLife.Actions.DieAction.IsCompleted* @@ -434,12 +451,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n" example: [] syntax: content: public override void OnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The type that this action completed with content.vb: Public Overrides Sub OnCompleted(type As CompletionType) overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.DieAction.OnCompleted* @@ -1960,31 +1979,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1992,6 +2004,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2039,20 +2058,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2060,6 +2072,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.GoHereAction.yml b/docs/api/TinyLife.Actions.GoHereAction.yml index 41a9050..c1af090 100644 --- a/docs/api/TinyLife.Actions.GoHereAction.yml +++ b/docs/api/TinyLife.Actions.GoHereAction.yml @@ -34,9 +34,7 @@ items: content: 'public class GoHereAction : MultiAction, IGenericDataHolder' content.vb: >- Public Class GoHereAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -90,7 +88,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -136,14 +134,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public GoHereAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.GoHereAction.#ctor* modifiers.csharp: @@ -172,11 +173,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.GoHereAction.CreateFirstActions* @@ -208,6 +211,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -242,11 +246,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n" example: [] syntax: content: protected override CompletionType AndThenIsCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether the main action is completed content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted overload: TinyLife.Actions.GoHereAction.AndThenIsCompleted* @@ -278,14 +284,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns whether or not this action can be canceled by the given outside source.\nNote that the outside source can be null, and if it is, it means that the player canceled the action manually.\nBy default, actions can only be canceled if the cancelSource is null.\n" example: [] syntax: content: public override bool CanCancel(Action cancelSource) parameters: - id: cancelSource type: TinyLife.Actions.Action + description: The source of the cancelation, or null if the player canceled it return: type: System.Boolean + description: true if the action can be canceled content.vb: Public Overrides Function CanCancel(cancelSource As Action) As Boolean overridden: TinyLife.Actions.MultiAction.CanCancel(TinyLife.Actions.Action) overload: TinyLife.Actions.GoHereAction.CanCancel* @@ -2180,31 +2189,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2212,6 +2214,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2259,20 +2268,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2280,6 +2282,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.MultiAction.yml b/docs/api/TinyLife.Actions.MultiAction.yml index 3c4de4d..0cbe65e 100644 --- a/docs/api/TinyLife.Actions.MultiAction.yml +++ b/docs/api/TinyLife.Actions.MultiAction.yml @@ -46,9 +46,7 @@ items: content: 'public abstract class MultiAction : Action, IGenericDataHolder' content.vb: >- Public MustInherit Class MultiAction - Inherits Action - Implements IGenericDataHolder inheritance: - System.Object @@ -100,7 +98,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -242,12 +240,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nRepresents the amount of time that this action has "properly" been in progress for.\nThis is used by and and returns true only once the first actions are completed or the conversation has started, respectively.\nBy default, is returned.\n" example: [] syntax: content: public override TimeSpan InProgressTime { get; } parameters: [] return: type: System.TimeSpan + description: The amount of time that this action has properly been in progress for content.vb: Public Overrides ReadOnly Property InProgressTime As TimeSpan overridden: TinyLife.Actions.Typeless.TypelessAction.InProgressTime overload: TinyLife.Actions.MultiAction.InProgressTime* @@ -281,14 +281,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public MultiAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.MultiAction.#ctor* modifiers.csharp: @@ -541,16 +544,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n" example: [] syntax: content: public sealed override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public NotOverridable Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Action.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.MultiAction.Update* @@ -584,6 +591,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n" example: [] syntax: content: public sealed override void Initialize() @@ -620,11 +628,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n" example: [] syntax: content: public sealed override CompletionType IsCompleted() return: type: TinyLife.Actions.CompletionType + description: The current completion type of this action content.vb: Public NotOverridable Overrides Function IsCompleted As CompletionType overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted overload: TinyLife.Actions.MultiAction.IsCompleted* @@ -658,12 +668,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n" example: [] syntax: content: public sealed override void OnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The type that this action completed with content.vb: Public NotOverridable Overrides Sub OnCompleted(type As CompletionType) overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.MultiAction.OnCompleted* @@ -697,14 +709,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nValidates this action's data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the .\n" example: [] syntax: content: public override bool Validate(Person person) parameters: - id: person type: TinyLife.Objects.Person + description: The person that this action belongs to return: type: System.Boolean + description: Whether or not the action is still valid (or if it has invalid data) content.vb: Public Overrides Function Validate(person As Person) As Boolean overridden: TinyLife.Actions.Action.Validate(TinyLife.Objects.Person) overload: TinyLife.Actions.MultiAction.Validate* @@ -736,14 +751,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns whether or not this action can be canceled by the given outside source.\nNote that the outside source can be null, and if it is, it means that the player canceled the action manually.\nBy default, actions can only be canceled if the cancelSource is null.\n" example: [] syntax: content: public override bool CanCancel(Action cancelSource) parameters: - id: cancelSource type: TinyLife.Actions.Action + description: The source of the cancelation, or null if the player canceled it return: type: System.Boolean + description: true if the action can be canceled content.vb: Public Overrides Function CanCancel(cancelSource As Action) As Boolean overridden: TinyLife.Actions.Action.CanCancel(TinyLife.Actions.Action) overload: TinyLife.Actions.MultiAction.CanCancel* @@ -2286,31 +2304,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2318,6 +2329,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2365,20 +2383,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2386,6 +2397,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.OutOfTownAction.yml b/docs/api/TinyLife.Actions.OutOfTownAction.yml index 9e15b44..e33b793 100644 --- a/docs/api/TinyLife.Actions.OutOfTownAction.yml +++ b/docs/api/TinyLife.Actions.OutOfTownAction.yml @@ -38,9 +38,7 @@ items: content: 'public abstract class OutOfTownAction : MultiAction, IGenericDataHolder' content.vb: >- Public MustInherit Class OutOfTownAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -94,7 +92,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -225,11 +223,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.OutOfTownAction.CreateFirstActions* @@ -261,6 +261,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -295,16 +296,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n" example: [] syntax: content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.OutOfTownAction.AndThenUpdate* @@ -336,14 +341,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns an action that should be queued up immediately after this action completes.\nThe queued up action is immediately started in the slot that this action occupied.\nCan be null, and is null by default.\n" example: [] syntax: content: public override Action GetNextAction(CompletionType completion) parameters: - id: completion type: TinyLife.Actions.CompletionType + description: The type that this action completed with return: type: TinyLife.Actions.Action + description: The follow-up action content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action overridden: TinyLife.Actions.Action.GetNextAction(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.OutOfTownAction.GetNextAction* @@ -375,16 +383,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns true if the given person can (automatically) enqueue a social action with the that is executing this action.\nNote that enqueueing a social action manually is still possible even if this method returns false.\nBy default, only returns false on this method.\n" example: [] syntax: content: public override bool CanEnqueueConversation(Person person, ActionType type) parameters: - id: person type: TinyLife.Objects.Person + description: The person that wants to converse with us. - id: type type: TinyLife.Actions.ActionType + description: The type of action that should be enqueued. Might be null, in which case a generic or unknown action is querying this function. return: type: System.Boolean + description: Whether or not enqueueing a social action is possible. content.vb: Public Overrides Function CanEnqueueConversation(person As Person, type As ActionType) As Boolean overridden: TinyLife.Actions.Action.CanEnqueueConversation(TinyLife.Objects.Person,TinyLife.Actions.ActionType) overload: TinyLife.Actions.OutOfTownAction.CanEnqueueConversation* @@ -416,11 +428,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns true if this action, while it is currently active, should cause the speed to be available.\nBy default, this method returns false.\n" example: [] syntax: content: public override bool CausesExtremelyFastSpeed() return: type: System.Boolean + description: Whether the extremely fast speed should be available content.vb: Public Overrides Function CausesExtremelyFastSpeed As Boolean overridden: TinyLife.Actions.Action.CausesExtremelyFastSpeed overload: TinyLife.Actions.OutOfTownAction.CausesExtremelyFastSpeed* @@ -2232,31 +2246,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2264,6 +2271,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2311,20 +2325,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2332,6 +2339,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.PathfindAction.yml b/docs/api/TinyLife.Actions.PathfindAction.yml index 5499704..436a2bf 100644 --- a/docs/api/TinyLife.Actions.PathfindAction.yml +++ b/docs/api/TinyLife.Actions.PathfindAction.yml @@ -41,9 +41,7 @@ items: content: 'public abstract class PathfindAction : Action, IGenericDataHolder' content.vb: >- Public MustInherit Class PathfindAction - Inherits Action - Implements IGenericDataHolder inheritance: - System.Object @@ -88,7 +86,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -253,14 +251,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public PathfindAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.PathfindAction.#ctor* modifiers.csharp: @@ -401,6 +402,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n" example: [] syntax: content: public override void Initialize() @@ -435,16 +437,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Action.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.PathfindAction.Update* @@ -476,11 +482,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n" example: [] syntax: content: public override CompletionType IsCompleted() return: type: TinyLife.Actions.CompletionType + description: The current completion type of this action content.vb: Public Overrides Function IsCompleted As CompletionType overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted overload: TinyLife.Actions.PathfindAction.IsCompleted* @@ -512,12 +520,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n" example: [] syntax: content: public override void OnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The type that this action completed with content.vb: Public Overrides Sub OnCompleted(type As CompletionType) overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.PathfindAction.OnCompleted* @@ -549,14 +559,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nValidates this action's data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the .\n" example: [] syntax: content: public override bool Validate(Person person) parameters: - id: person type: TinyLife.Objects.Person + description: The person that this action belongs to return: type: System.Boolean + description: Whether or not the action is still valid (or if it has invalid data) content.vb: Public Overrides Function Validate(person As Person) As Boolean overridden: TinyLife.Actions.Action.Validate(TinyLife.Objects.Person) overload: TinyLife.Actions.PathfindAction.Validate* @@ -2099,31 +2112,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2131,6 +2137,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2178,20 +2191,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2199,6 +2205,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.PickUpOrSpawnAction.yml b/docs/api/TinyLife.Actions.PickUpOrSpawnAction.yml index 2978e17..d55feee 100644 --- a/docs/api/TinyLife.Actions.PickUpOrSpawnAction.yml +++ b/docs/api/TinyLife.Actions.PickUpOrSpawnAction.yml @@ -35,9 +35,7 @@ items: content: 'public abstract class PickUpOrSpawnAction : MultiAction, IGenericDataHolder' content.vb: >- Public MustInherit Class PickUpOrSpawnAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -93,7 +91,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -258,14 +256,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public PickUpOrSpawnAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.PickUpOrSpawnAction.#ctor* modifiers.csharp: @@ -294,11 +295,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.PickUpOrSpawnAction.CreateFirstActions* @@ -330,11 +333,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns the map object that is displayed in the action queue in the top left of the screen.\nNote that this value is ignored if this action's type has a .\nBy default, the is returned.\n" example: [] syntax: content: public override MapObject GetIconObject() return: type: TinyLife.Objects.MapObject + description: The icon object content.vb: Public Overrides Function GetIconObject As MapObject overridden: TinyLife.Actions.Action.GetIconObject overload: TinyLife.Actions.PickUpOrSpawnAction.GetIconObject* @@ -2299,31 +2304,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2331,6 +2329,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2378,20 +2383,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2399,6 +2397,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.PutAwayAction.yml b/docs/api/TinyLife.Actions.PutAwayAction.yml index 2298957..881da54 100644 --- a/docs/api/TinyLife.Actions.PutAwayAction.yml +++ b/docs/api/TinyLife.Actions.PutAwayAction.yml @@ -33,9 +33,7 @@ items: content: 'public class PutAwayAction : MultiAction, IGenericDataHolder' content.vb: >- Public Class PutAwayAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -90,7 +88,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -173,11 +171,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.PutAwayAction.CreateFirstActions* @@ -209,6 +209,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -243,11 +244,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n" example: [] syntax: content: protected override CompletionType AndThenIsCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether the main action is completed content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted overload: TinyLife.Actions.PutAwayAction.AndThenIsCompleted* @@ -2181,31 +2184,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2213,6 +2209,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2260,20 +2263,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2281,6 +2277,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.SellAction.yml b/docs/api/TinyLife.Actions.SellAction.yml index 35faa78..7237c7f 100644 --- a/docs/api/TinyLife.Actions.SellAction.yml +++ b/docs/api/TinyLife.Actions.SellAction.yml @@ -24,7 +24,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SellAction path: Actions/SellAction.cs - startLine: 14 + startLine: 15 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -34,9 +34,7 @@ items: content: 'public class SellAction : MultiAction, IGenericDataHolder' content.vb: >- Public Class SellAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -91,7 +89,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -133,7 +131,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Items path: Actions/SellAction.cs - startLine: 21 + startLine: 22 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -170,15 +168,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CreateFirstActions path: Actions/SellAction.cs - startLine: 28 + startLine: 30 assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.SellAction.CreateFirstActions* @@ -206,10 +206,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AndThenInitialize path: Actions/SellAction.cs - startLine: 44 + startLine: 46 assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -240,15 +241,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AndThenIsCompleted path: Actions/SellAction.cs - startLine: 55 + startLine: 57 assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n" example: [] syntax: content: protected override CompletionType AndThenIsCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether the main action is completed content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted overload: TinyLife.Actions.SellAction.AndThenIsCompleted* @@ -276,7 +279,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSoldObject path: Actions/SellAction.cs - startLine: 66 + startLine: 68 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -285,7 +288,6 @@ items: syntax: content: >- public static T GetSoldObject(ActionInfo info) - where T : Furniture parameters: - id: info @@ -2238,31 +2240,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2270,6 +2265,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2317,20 +2319,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2338,6 +2333,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.SitAction.yml b/docs/api/TinyLife.Actions.SitAction.yml index d72d70a..a531bf5 100644 --- a/docs/api/TinyLife.Actions.SitAction.yml +++ b/docs/api/TinyLife.Actions.SitAction.yml @@ -35,9 +35,7 @@ items: content: 'public class SitAction : MultiAction, IGenericDataHolder' content.vb: >- Public Class SitAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -90,7 +88,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -136,14 +134,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public SitAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.SitAction.#ctor* modifiers.csharp: @@ -172,11 +173,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.SitAction.CreateFirstActions* @@ -208,6 +211,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -242,16 +246,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n" example: [] syntax: content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.SitAction.AndThenUpdate* @@ -283,11 +291,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n" example: [] syntax: content: protected override CompletionType AndThenIsCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether the main action is completed content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted overload: TinyLife.Actions.SitAction.AndThenIsCompleted* @@ -319,14 +329,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn true on this method if this action can be multi-tasked along with the passed .\nTo actually check this property, should be used as it compares both objects.\nA multi-tasking is an action that is currently active along with another action.\nBy default, multi-tasking is disallowed for any action.\n" example: [] syntax: content: public override bool CanMultitask(Action other) parameters: - id: other type: TinyLife.Actions.Action + description: The action to multi-task with return: type: System.Boolean + description: Whether this action can be multi-tasked content.vb: Public Overrides Function CanMultitask(other As Action) As Boolean overridden: TinyLife.Actions.Action.CanMultitask(TinyLife.Actions.Action) overload: TinyLife.Actions.SitAction.CanMultitask* @@ -2161,31 +2174,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2193,6 +2199,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2240,20 +2253,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2261,6 +2267,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.SocialAction.yml b/docs/api/TinyLife.Actions.SocialAction.yml index 5720bc5..ba6187c 100644 --- a/docs/api/TinyLife.Actions.SocialAction.yml +++ b/docs/api/TinyLife.Actions.SocialAction.yml @@ -51,9 +51,7 @@ items: content: 'public abstract class SocialAction : MultiAction, IGenericDataHolder' content.vb: >- Public MustInherit Class SocialAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -104,7 +102,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -324,12 +322,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nRepresents the amount of time that this action has "properly" been in progress for.\nThis is used by and and returns true only once the first actions are completed or the conversation has started, respectively.\nBy default, is returned.\n" example: [] syntax: content: public override TimeSpan InProgressTime { get; } parameters: [] return: type: System.TimeSpan + description: The amount of time that this action has properly been in progress for content.vb: Public Overrides ReadOnly Property InProgressTime As TimeSpan overridden: TinyLife.Actions.MultiAction.InProgressTime overload: TinyLife.Actions.SocialAction.InProgressTime* @@ -443,14 +443,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public SocialAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.SocialAction.#ctor* modifiers.csharp: @@ -479,11 +482,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.SocialAction.CreateFirstActions* @@ -667,6 +672,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -701,16 +707,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n" example: [] syntax: content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.SocialAction.AndThenUpdate* @@ -742,11 +752,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n" example: [] syntax: content: protected sealed override CompletionType AndThenIsCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether the main action is completed content.vb: Protected NotOverridable Overrides Function AndThenIsCompleted As CompletionType overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted overload: TinyLife.Actions.SocialAction.AndThenIsCompleted* @@ -780,14 +792,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns whether or not this action can be canceled by the given outside source.\nNote that the outside source can be null, and if it is, it means that the player canceled the action manually.\nBy default, actions can only be canceled if the cancelSource is null.\n" example: [] syntax: content: public override bool CanCancel(Action cancelSource) parameters: - id: cancelSource type: TinyLife.Actions.Action + description: The source of the cancelation, or null if the player canceled it return: type: System.Boolean + description: true if the action can be canceled content.vb: Public Overrides Function CanCancel(cancelSource As Action) As Boolean overridden: TinyLife.Actions.MultiAction.CanCancel(TinyLife.Actions.Action) overload: TinyLife.Actions.SocialAction.CanCancel* @@ -819,12 +834,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n" example: [] syntax: content: protected override void AndThenOnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The completion of the main action content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType) overridden: TinyLife.Actions.MultiAction.AndThenOnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.SocialAction.AndThenOnCompleted* @@ -856,14 +873,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn true on this method if this action can be multi-tasked along with the passed .\nTo actually check this property, should be used as it compares both objects.\nA multi-tasking is an action that is currently active along with another action.\nBy default, multi-tasking is disallowed for any action.\n" example: [] syntax: content: public override bool CanMultitask(Action other) parameters: - id: other type: TinyLife.Actions.Action + description: The action to multi-task with return: type: System.Boolean + description: Whether this action can be multi-tasked content.vb: Public Overrides Function CanMultitask(other As Action) As Boolean overridden: TinyLife.Actions.Action.CanMultitask(TinyLife.Actions.Action) overload: TinyLife.Actions.SocialAction.CanMultitask* @@ -895,11 +915,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns a localized string that explains this action in short.\nBy default, this method returns .\n" example: [] syntax: content: public override string GetDisplayName() return: type: System.String + description: This action's display name content.vb: Public Overrides Function GetDisplayName As String overridden: TinyLife.Actions.Action.GetDisplayName overload: TinyLife.Actions.SocialAction.GetDisplayName* @@ -927,14 +949,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakInConversation path: Actions/SocialAction.cs - startLine: 204 + startLine: 202 assemblies: - Tiny Life namespace: TinyLife.Actions summary: "\nHelper method to display emotes over each conversation partner in a back and forth fashion to make it seem like they are conversing\n" example: [] syntax: - content: protected bool SpeakInConversation(GameTime time, float speedMultiplier, EmoteCategory emoteCategories, SpeakStyle speakStyles, EmoteCategory? partnerEmoteCategories = default(EmoteCategory? ), SpeakStyle? partnerSpeakStyles = default(SpeakStyle? ), int totalAmount = 2147483647) + content: public bool SpeakInConversation(GameTime time, float speedMultiplier, EmoteCategory emoteCategories, SpeakStyle speakStyles, EmoteCategory? partnerEmoteCategories = null, SpeakStyle? partnerSpeakStyles = null, int totalAmount = 2147483647) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -960,13 +982,13 @@ items: return: type: System.Boolean description: If totalAmount is set, true is returned if the emote back-and-forth is completed - content.vb: Protected Function SpeakInConversation(time As GameTime, speedMultiplier As Single, emoteCategories As EmoteCategory, speakStyles As SpeakStyle, partnerEmoteCategories As EmoteCategory? = Nothing, partnerSpeakStyles As SpeakStyle? = Nothing, totalAmount As Integer = 2147483647) As Boolean + content.vb: Public Function SpeakInConversation(time As GameTime, speedMultiplier As Single, emoteCategories As EmoteCategory, speakStyles As SpeakStyle, partnerEmoteCategories As EmoteCategory? = Nothing, partnerSpeakStyles As SpeakStyle? = Nothing, totalAmount As Integer = 2147483647) As Boolean overload: TinyLife.Actions.SocialAction.SpeakInConversation* nameWithType.vb: SocialAction.SpeakInConversation(GameTime, Single, EmoteCategory, SpeakStyle, Nullable(Of EmoteCategory), Nullable(Of SpeakStyle), Int32) modifiers.csharp: - - protected + - public modifiers.vb: - - Protected + - Public fullName.vb: TinyLife.Actions.SocialAction.SpeakInConversation(Microsoft.Xna.Framework.GameTime, System.Single, TinyLife.Actions.EmoteCategory, TinyLife.Objects.SpeakStyle, System.Nullable(Of TinyLife.Actions.EmoteCategory), System.Nullable(Of TinyLife.Objects.SpeakStyle), System.Int32) name.vb: SpeakInConversation(GameTime, Single, EmoteCategory, SpeakStyle, Nullable(Of EmoteCategory), Nullable(Of SpeakStyle), Int32) - uid: TinyLife.Actions.SocialAction.InvokeForBoth(System.Action{TinyLife.Objects.Person,TinyLife.Objects.Person}) @@ -987,7 +1009,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InvokeForBoth path: Actions/SocialAction.cs - startLine: 219 + startLine: 217 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2725,31 +2747,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2757,6 +2772,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2804,20 +2826,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2825,6 +2840,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.StoreAction.yml b/docs/api/TinyLife.Actions.StoreAction.yml index be26284..a7733b9 100644 --- a/docs/api/TinyLife.Actions.StoreAction.yml +++ b/docs/api/TinyLife.Actions.StoreAction.yml @@ -35,9 +35,7 @@ items: content: 'public class StoreAction : MultiAction, IGenericDataHolder' content.vb: >- Public Class StoreAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -90,7 +88,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -173,11 +171,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.StoreAction.CreateFirstActions* @@ -209,6 +209,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -243,16 +244,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n" example: [] syntax: content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.StoreAction.AndThenUpdate* @@ -284,11 +289,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n" example: [] syntax: content: protected override CompletionType AndThenIsCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether the main action is completed content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted overload: TinyLife.Actions.StoreAction.AndThenIsCompleted* @@ -320,12 +327,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n" example: [] syntax: content: protected override void AndThenOnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The completion of the main action content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType) overridden: TinyLife.Actions.MultiAction.AndThenOnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.StoreAction.AndThenOnCompleted* @@ -2167,31 +2176,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2199,6 +2201,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2246,20 +2255,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2267,6 +2269,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml index 9d51ac5..f654310 100644 --- a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml +++ b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EvaluationResult path: Actions/TalkAction.cs - startLine: 382 + startLine: 392 assemblies: - Tiny Life namespace: TinyLife.Actions diff --git a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml index a1a0dc1..983e7ca 100644 --- a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml +++ b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml @@ -30,6 +30,7 @@ items: - TinyLife.Actions.TalkAction.TalkSettings.SpeakStyle - TinyLife.Actions.TalkAction.TalkSettings.SuccessEmotion - TinyLife.Actions.TalkAction.TalkSettings.TalkMinutes + - TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single) langs: - csharp - vb @@ -44,7 +45,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TalkSettings path: Actions/TalkAction.cs - startLine: 103 + startLine: 91 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -54,9 +55,7 @@ items: content: 'public class TalkSettings : GenericDataHolder, IGenericDataHolder' content.vb: >- Public Class TalkSettings - Inherits GenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object @@ -100,7 +99,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FriendshipGain path: Actions/TalkAction.cs - startLine: 109 + startLine: 97 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -133,7 +132,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GoBadlyChance path: Actions/TalkAction.cs - startLine: 114 + startLine: 102 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -166,7 +165,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TalkMinutes path: Actions/TalkAction.cs - startLine: 118 + startLine: 106 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -199,7 +198,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EmoteCategory path: Actions/TalkAction.cs - startLine: 122 + startLine: 110 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -232,7 +231,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakStyle path: Actions/TalkAction.cs - startLine: 126 + startLine: 114 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -265,7 +264,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PartnerEmoteCategory path: Actions/TalkAction.cs - startLine: 131 + startLine: 119 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -298,7 +297,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PartnerSpeakStyle path: Actions/TalkAction.cs - startLine: 136 + startLine: 124 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -331,7 +330,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GainedSkill path: Actions/TalkAction.cs - startLine: 140 + startLine: 128 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -364,7 +363,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GainSkillOnFailure path: Actions/TalkAction.cs - startLine: 145 + startLine: 133 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -397,7 +396,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RestoredNeed path: Actions/TalkAction.cs - startLine: 150 + startLine: 138 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -430,7 +429,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredEmotion path: Actions/TalkAction.cs - startLine: 155 + startLine: 143 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -463,7 +462,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredPersonality path: Actions/TalkAction.cs - startLine: 160 + startLine: 148 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -496,7 +495,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredSkill path: Actions/TalkAction.cs - startLine: 166 + startLine: 154 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -529,7 +528,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredAges path: Actions/TalkAction.cs - startLine: 171 + startLine: 159 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -562,7 +561,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredPartnerAges path: Actions/TalkAction.cs - startLine: 176 + startLine: 164 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -595,7 +594,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanExecute path: Actions/TalkAction.cs - startLine: 181 + startLine: 169 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -628,7 +627,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FailEmotion path: Actions/TalkAction.cs - startLine: 186 + startLine: 174 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -661,7 +660,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SuccessEmotion path: Actions/TalkAction.cs - startLine: 190 + startLine: 178 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -694,7 +693,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GainRomancePercentage path: Actions/TalkAction.cs - startLine: 196 + startLine: 184 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -727,7 +726,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LoweredEmotion path: Actions/TalkAction.cs - startLine: 201 + startLine: 189 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -760,7 +759,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnSuccess path: Actions/TalkAction.cs - startLine: 205 + startLine: 193 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -793,7 +792,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnFailure path: Actions/TalkAction.cs - startLine: 209 + startLine: 197 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -826,7 +825,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanDoRandomly path: Actions/TalkAction.cs - startLine: 214 + startLine: 202 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -841,6 +840,83 @@ items: - public modifiers.vb: - Public +- uid: TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single) + commentId: M:TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single) + id: Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single) + parent: TinyLife.Actions.TalkAction.TalkSettings + langs: + - csharp + - vb + name: Update(SocialAction, GameTime, Single) + nameWithType: TalkAction.TalkSettings.Update(SocialAction, GameTime, Single) + fullName: TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction, Microsoft.Xna.Framework.GameTime, System.Single) + type: Method + source: + remote: + path: TinyLife/Actions/TalkAction.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: Update + path: Actions/TalkAction.cs + startLine: 204 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + syntax: + content: public virtual void Update(SocialAction action, GameTime time, float speedMultiplier) + parameters: + - id: action + type: TinyLife.Actions.SocialAction + - id: time + type: Microsoft.Xna.Framework.GameTime + - id: speedMultiplier + type: System.Single + content.vb: Public Overridable Sub Update(action As SocialAction, time As GameTime, speedMultiplier As Single) + overload: TinyLife.Actions.TalkAction.TalkSettings.Update* + modifiers.csharp: + - public + - virtual + modifiers.vb: + - Public + - Overridable +- uid: TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction) + commentId: M:TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction) + id: Evaluate(TinyLife.Actions.SocialAction) + parent: TinyLife.Actions.TalkAction.TalkSettings + langs: + - csharp + - vb + name: Evaluate(SocialAction) + nameWithType: TalkAction.TalkSettings.Evaluate(SocialAction) + fullName: TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction) + type: Method + source: + remote: + path: TinyLife/Actions/TalkAction.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: Evaluate + path: Actions/TalkAction.cs + startLine: 218 + assemblies: + - Tiny Life + namespace: TinyLife.Actions + summary: "\nEvaluates these after a has completed.\nThis method causes friendship and romance to be added to the involved people's , adds the etc.\nThis method is automatically called by the main conversation partner () in .\n" + example: [] + syntax: + content: public virtual void Evaluate(SocialAction action) + parameters: + - id: action + type: TinyLife.Actions.SocialAction + description: The action + content.vb: Public Overridable Sub Evaluate(action As SocialAction) + overload: TinyLife.Actions.TalkAction.TalkSettings.Evaluate* + modifiers.csharp: + - public + - virtual + modifiers.vb: + - Public + - Overridable - uid: TinyLife.Actions.TalkAction.TalkSettings.CheckCanExecute(TinyLife.Actions.ActionInfo,System.Boolean) commentId: M:TinyLife.Actions.TalkAction.TalkSettings.CheckCanExecute(TinyLife.Actions.ActionInfo,System.Boolean) id: CheckCanExecute(TinyLife.Actions.ActionInfo,System.Boolean) @@ -859,7 +935,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CheckCanExecute path: Actions/TalkAction.cs - startLine: 223 + startLine: 365 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -883,44 +959,6 @@ items: - public modifiers.vb: - Public -- uid: TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction) - commentId: M:TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction) - id: Evaluate(TinyLife.Actions.SocialAction) - parent: TinyLife.Actions.TalkAction.TalkSettings - langs: - - csharp - - vb - name: Evaluate(SocialAction) - nameWithType: TalkAction.TalkSettings.Evaluate(SocialAction) - fullName: TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction) - type: Method - source: - remote: - path: TinyLife/Actions/TalkAction.cs - branch: master - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: Evaluate - path: Actions/TalkAction.cs - startLine: 236 - assemblies: - - Tiny Life - namespace: TinyLife.Actions - summary: "\nEvaluates these after a has completed.\nThis method causes friendship and romance to be added to the involved people's , adds the etc.\nThis method is automatically called by the main conversation partner () in .\n" - example: [] - syntax: - content: public virtual void Evaluate(SocialAction action) - parameters: - - id: action - type: TinyLife.Actions.SocialAction - description: The action - content.vb: Public Overridable Sub Evaluate(action As SocialAction) - overload: TinyLife.Actions.TalkAction.TalkSettings.Evaluate* - modifiers.csharp: - - public - - virtual - modifiers.vb: - - Public - - Overridable references: - uid: TinyLife.Actions.TalkAction commentId: T:TinyLife.Actions.TalkAction @@ -2330,12 +2368,44 @@ references: - uid: TinyLife.Actions.ActionType.AiSettings.CanDoRandomly commentId: F:TinyLife.Actions.ActionType.AiSettings.CanDoRandomly isExternal: true +- uid: TinyLife.Actions.TalkAction.TalkSettings.Update* + commentId: Overload:TinyLife.Actions.TalkAction.TalkSettings.Update + name: Update + nameWithType: TalkAction.TalkSettings.Update + fullName: TinyLife.Actions.TalkAction.TalkSettings.Update +- uid: Microsoft.Xna.Framework.GameTime + commentId: T:Microsoft.Xna.Framework.GameTime + parent: Microsoft.Xna.Framework + isExternal: true + name: GameTime + nameWithType: GameTime + fullName: Microsoft.Xna.Framework.GameTime +- uid: Microsoft.Xna.Framework + commentId: N:Microsoft.Xna.Framework + isExternal: true + name: Microsoft.Xna.Framework + nameWithType: Microsoft.Xna.Framework + fullName: Microsoft.Xna.Framework - uid: TinyLife.Actions.TalkAction.TalkSettings commentId: T:TinyLife.Actions.TalkAction.TalkSettings parent: TinyLife.Actions name: TalkAction.TalkSettings nameWithType: TalkAction.TalkSettings fullName: TinyLife.Actions.TalkAction.TalkSettings +- uid: TinyLife.Relationship + commentId: T:TinyLife.Relationship + parent: TinyLife + name: Relationship + nameWithType: Relationship + fullName: TinyLife.Relationship +- uid: TinyLife.Actions.TalkAction.TalkSettings.GainedSkill + commentId: F:TinyLife.Actions.TalkAction.TalkSettings.GainedSkill + isExternal: true +- uid: TinyLife.Actions.TalkAction.TalkSettings.Evaluate* + commentId: Overload:TinyLife.Actions.TalkAction.TalkSettings.Evaluate + name: Evaluate + nameWithType: TalkAction.TalkSettings.Evaluate + fullName: TinyLife.Actions.TalkAction.TalkSettings.Evaluate - uid: TinyLife.Actions.TalkAction.TalkSettings.RequiredSkill commentId: F:TinyLife.Actions.TalkAction.TalkSettings.RequiredSkill isExternal: true @@ -2362,17 +2432,3 @@ references: name: ActionType.CanExecuteResult nameWithType: ActionType.CanExecuteResult fullName: TinyLife.Actions.ActionType.CanExecuteResult -- uid: TinyLife.Relationship - commentId: T:TinyLife.Relationship - parent: TinyLife - name: Relationship - nameWithType: Relationship - fullName: TinyLife.Relationship -- uid: TinyLife.Actions.TalkAction.TalkSettings.GainedSkill - commentId: F:TinyLife.Actions.TalkAction.TalkSettings.GainedSkill - isExternal: true -- uid: TinyLife.Actions.TalkAction.TalkSettings.Evaluate* - commentId: Overload:TinyLife.Actions.TalkAction.TalkSettings.Evaluate - name: Evaluate - nameWithType: TalkAction.TalkSettings.Evaluate - fullName: TinyLife.Actions.TalkAction.TalkSettings.Evaluate diff --git a/docs/api/TinyLife.Actions.TalkAction.yml b/docs/api/TinyLife.Actions.TalkAction.yml index 893ba3c..343d226 100644 --- a/docs/api/TinyLife.Actions.TalkAction.yml +++ b/docs/api/TinyLife.Actions.TalkAction.yml @@ -38,9 +38,7 @@ items: content: 'public class TalkAction : SocialAction, IGenericDataHolder' content.vb: >- Public Class TalkAction - Inherits SocialAction - Implements IGenericDataHolder inheritance: - System.Object @@ -108,7 +106,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -296,14 +294,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public TalkAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.TalkAction.#ctor* modifiers.csharp: @@ -332,16 +333,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nSocialAction version of .\nThis method is called every update frame during an active conversation for both conversation partners.\nBy default, this method only increases .\n" example: [] syntax: content: protected override void UpdateConversation(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: passedInGame type: System.TimeSpan + description: The amount of time passed in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Protected Overrides Sub UpdateConversation(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.SocialAction.UpdateConversation(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.TalkAction.UpdateConversation* @@ -369,16 +374,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AndThenOnCompleted path: Actions/TalkAction.cs - startLine: 54 + startLine: 50 assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n" example: [] syntax: content: protected override void AndThenOnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The completion of the main action content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType) overridden: TinyLife.Actions.SocialAction.AndThenOnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.TalkAction.AndThenOnCompleted* @@ -406,15 +413,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsConversationCompleted path: Actions/TalkAction.cs - startLine: 62 + startLine: 58 assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nSocialAction version of .\nThis method returns whether or not the conversation should be marked as completed.\nNote that this method is only called for the part of the conversation.\n" example: [] syntax: content: protected override CompletionType IsConversationCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether or not this conversation is completed content.vb: Protected Overrides Function IsConversationCompleted As CompletionType overridden: TinyLife.Actions.SocialAction.IsConversationCompleted overload: TinyLife.Actions.TalkAction.IsConversationCompleted* @@ -442,7 +451,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Create path: Actions/TalkAction.cs - startLine: 73 + startLine: 69 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2806,31 +2815,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2838,6 +2840,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2885,20 +2894,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2906,6 +2908,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.Typeless.PathfindToPersonAction.yml b/docs/api/TinyLife.Actions.Typeless.PathfindToPersonAction.yml index d3bc62c..2ecfe96 100644 --- a/docs/api/TinyLife.Actions.Typeless.PathfindToPersonAction.yml +++ b/docs/api/TinyLife.Actions.Typeless.PathfindToPersonAction.yml @@ -36,9 +36,7 @@ items: content: 'public class PathfindToPersonAction : TypelessAction, IGenericDataHolder' content.vb: >- Public Class PathfindToPersonAction - Inherits TypelessAction - Implements IGenericDataHolder inheritance: - System.Object @@ -69,7 +67,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -115,12 +113,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nCreates a new typeless action with the given action information\n" example: [] syntax: content: public PathfindToPersonAction(ActionInfo info) parameters: - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(info As ActionInfo) overload: TinyLife.Actions.Typeless.PathfindToPersonAction.#ctor* modifiers.csharp: @@ -186,6 +186,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n" example: [] syntax: content: public override void Initialize() @@ -220,16 +221,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Typeless.TypelessAction.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.Typeless.PathfindToPersonAction.Update* @@ -261,14 +266,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nValidates this action's data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the .\n" example: [] syntax: content: public override bool Validate(Person person) parameters: - id: person type: TinyLife.Objects.Person + description: The person that this action belongs to return: type: System.Boolean + description: Whether or not the action is still valid (or if it has invalid data) content.vb: Public Overrides Function Validate(person As Person) As Boolean overridden: TinyLife.Actions.Typeless.TypelessAction.Validate(TinyLife.Objects.Person) overload: TinyLife.Actions.Typeless.PathfindToPersonAction.Validate* @@ -300,11 +308,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n" example: [] syntax: content: public override CompletionType IsCompleted() return: type: TinyLife.Actions.CompletionType + description: The current completion type of this action content.vb: Public Overrides Function IsCompleted As CompletionType overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted overload: TinyLife.Actions.Typeless.PathfindToPersonAction.IsCompleted* @@ -336,12 +346,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n" example: [] syntax: content: public override void OnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The type that this action completed with content.vb: Public Overrides Sub OnCompleted(type As CompletionType) overridden: TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.Typeless.PathfindToPersonAction.OnCompleted* @@ -1520,31 +1532,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1552,6 +1557,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -1599,20 +1611,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1620,6 +1625,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.Typeless.SpawnItemInHandAction.yml b/docs/api/TinyLife.Actions.Typeless.SpawnItemInHandAction.yml index c247ed7..0ca7203 100644 --- a/docs/api/TinyLife.Actions.Typeless.SpawnItemInHandAction.yml +++ b/docs/api/TinyLife.Actions.Typeless.SpawnItemInHandAction.yml @@ -36,9 +36,7 @@ items: content: 'public class SpawnItemInHandAction : TypelessAction, IGenericDataHolder' content.vb: >- Public Class SpawnItemInHandAction - Inherits TypelessAction - Implements IGenericDataHolder inheritance: - System.Object @@ -70,7 +68,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -247,6 +245,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n" example: [] syntax: content: public override void Initialize() @@ -281,11 +280,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n" example: [] syntax: content: public override CompletionType IsCompleted() return: type: TinyLife.Actions.CompletionType + description: The current completion type of this action content.vb: Public Overrides Function IsCompleted As CompletionType overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted overload: TinyLife.Actions.Typeless.SpawnItemInHandAction.IsCompleted* @@ -317,16 +318,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.Typeless.TypelessAction.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.Typeless.SpawnItemInHandAction.Update* @@ -358,12 +363,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n" example: [] syntax: content: public override void OnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The type that this action completed with content.vb: Public Overrides Sub OnCompleted(type As CompletionType) overridden: TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.Typeless.SpawnItemInHandAction.OnCompleted* @@ -1574,31 +1581,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1606,6 +1606,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -1653,20 +1660,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1674,6 +1674,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.Typeless.TellPeopleToLeaveRoomAction.yml b/docs/api/TinyLife.Actions.Typeless.TellPeopleToLeaveRoomAction.yml index b1461f8..f9553df 100644 --- a/docs/api/TinyLife.Actions.Typeless.TellPeopleToLeaveRoomAction.yml +++ b/docs/api/TinyLife.Actions.Typeless.TellPeopleToLeaveRoomAction.yml @@ -35,9 +35,7 @@ items: content: 'public class TellPeopleToLeaveRoomAction : TypelessAction, IGenericDataHolder' content.vb: >- Public Class TellPeopleToLeaveRoomAction - Inherits TypelessAction - Implements IGenericDataHolder inheritance: - System.Object @@ -70,7 +68,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -200,6 +198,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n" example: [] syntax: content: public override void Initialize() @@ -234,11 +233,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n" example: [] syntax: content: public override CompletionType IsCompleted() return: type: TinyLife.Actions.CompletionType + description: The current completion type of this action content.vb: Public Overrides Function IsCompleted As CompletionType overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted overload: TinyLife.Actions.Typeless.TellPeopleToLeaveRoomAction.IsCompleted* @@ -270,12 +271,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Typeless + summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n" example: [] syntax: content: public override void OnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The type that this action completed with content.vb: Public Overrides Sub OnCompleted(type As CompletionType) overridden: TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.Typeless.TellPeopleToLeaveRoomAction.OnCompleted* @@ -1599,31 +1602,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1631,6 +1627,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -1678,20 +1681,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -1699,6 +1695,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.Typeless.TypelessAction.yml b/docs/api/TinyLife.Actions.Typeless.TypelessAction.yml index 24147d8..58f81de 100644 --- a/docs/api/TinyLife.Actions.Typeless.TypelessAction.yml +++ b/docs/api/TinyLife.Actions.Typeless.TypelessAction.yml @@ -11,7 +11,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.ElapsedTime - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.ForceFail @@ -68,9 +68,7 @@ items: Public MustInherit Class TypelessAction - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object @@ -852,7 +850,7 @@ items: summary: "\nOpens a prompt for the player with the given elements, also pausing the game.\nThis behavior is used for things like the action, where a confirmation panel pops up.\nTo check whether a player prompt is currently opened, see .\n" example: [] syntax: - content: protected CoveringGroup OpenPlayerPrompt(string title, Predicate canFinish, Action onFinished, bool canExit, Func> children) + content: public CoveringGroup OpenPlayerPrompt(string title, Predicate canFinish, Action onFinished, bool canExit, Func> children) parameters: - id: title type: System.String @@ -871,7 +869,7 @@ items: description: The elements that should be displayed in this prompt, along with the title and possibly the Okay button if canFinish is used return: type: TinyLife.Uis.CoveringGroup - content.vb: Protected Function OpenPlayerPrompt(title As String, canFinish As Predicate(Of Panel), onFinished As Action(Of Panel), canExit As Boolean, children As Func(Of CoveringGroup, IEnumerable(Of Element))) As CoveringGroup + content.vb: Public Function OpenPlayerPrompt(title As String, canFinish As Predicate(Of Panel), onFinished As Action(Of Panel), canExit As Boolean, children As Func(Of CoveringGroup, IEnumerable(Of Element))) As CoveringGroup overload: TinyLife.Actions.Typeless.TypelessAction.OpenPlayerPrompt* exceptions: - type: System.InvalidOperationException @@ -879,9 +877,9 @@ items: description: Thrown if this action was nameWithType.vb: TypelessAction.OpenPlayerPrompt(String, Predicate(Of Panel), Action(Of Panel), Boolean, Func(Of CoveringGroup, IEnumerable(Of Element))) modifiers.csharp: - - protected + - public modifiers.vb: - - Protected + - Public fullName.vb: TinyLife.Actions.Typeless.TypelessAction.OpenPlayerPrompt(System.String, System.Predicate(Of MLEM.Ui.Elements.Panel), System.Action(Of MLEM.Ui.Elements.Panel), System.Boolean, System.Func(Of TinyLife.Uis.CoveringGroup, System.Collections.Generic.IEnumerable(Of MLEM.Ui.Elements.Element))) name.vb: OpenPlayerPrompt(String, Predicate(Of Panel), Action(Of Panel), Boolean, Func(Of CoveringGroup, IEnumerable(Of Element))) - uid: TinyLife.Actions.Typeless.TypelessAction.OpenYesNoPrompt(System.String,System.Action,System.Action) @@ -909,7 +907,7 @@ items: summary: "\nOpens a prompt for the player that contains a yes and a no button along with some text.\nThis prompt can be used to ensure that a player selected the right option in an important decision.\nTo check whether a player prompt is currently opened, see .\n" example: [] syntax: - content: protected void OpenYesNoPrompt(string title, Action onYes, Action onNo = null) + content: public void OpenYesNoPrompt(string title, Action onYes, Action onNo = null) parameters: - id: title type: System.String @@ -920,12 +918,12 @@ items: - id: onNo type: System.Action description: The action that should be executed when the no button is pressed - content.vb: Protected Sub OpenYesNoPrompt(title As String, onYes As Action, onNo As Action = Nothing) + content.vb: Public Sub OpenYesNoPrompt(title As String, onYes As Action, onNo As Action = Nothing) overload: TinyLife.Actions.Typeless.TypelessAction.OpenYesNoPrompt* modifiers.csharp: - - protected + - public modifiers.vb: - - Protected + - Public - uid: TinyLife.Actions.Typeless.TypelessAction.OpenTextPrompt(System.String,System.Action{System.String},System.Predicate{System.String},MLEM.Ui.Elements.TextField.Rule,System.String) commentId: M:TinyLife.Actions.Typeless.TypelessAction.OpenTextPrompt(System.String,System.Action{System.String},System.Predicate{System.String},MLEM.Ui.Elements.TextField.Rule,System.String) id: OpenTextPrompt(System.String,System.Action{System.String},System.Predicate{System.String},MLEM.Ui.Elements.TextField.Rule,System.String) @@ -951,7 +949,7 @@ items: summary: "\nOpens a prompt with a text box that allows the player to input a string.\nTo check whether a player prompt is currently opened, see .\n" example: [] syntax: - content: protected void OpenTextPrompt(string title, Action onFinished, Predicate isNameValid = null, TextField.Rule rule = null, string defaultText = null) + content: public void OpenTextPrompt(string title, Action onFinished, Predicate isNameValid = null, TextField.Rule rule = null, string defaultText = null) parameters: - id: title type: System.String @@ -968,13 +966,13 @@ items: - id: defaultText type: System.String description: The text that should be displayed in the text field by default, or null to display no default text - content.vb: Protected Sub OpenTextPrompt(title As String, onFinished As Action(Of String), isNameValid As Predicate(Of String) = Nothing, rule As TextField.Rule = Nothing, defaultText As String = Nothing) + content.vb: Public Sub OpenTextPrompt(title As String, onFinished As Action(Of String), isNameValid As Predicate(Of String) = Nothing, rule As TextField.Rule = Nothing, defaultText As String = Nothing) overload: TinyLife.Actions.Typeless.TypelessAction.OpenTextPrompt* nameWithType.vb: TypelessAction.OpenTextPrompt(String, Action(Of String), Predicate(Of String), TextField.Rule, String) modifiers.csharp: - - protected + - public modifiers.vb: - - Protected + - Public fullName.vb: TinyLife.Actions.Typeless.TypelessAction.OpenTextPrompt(System.String, System.Action(Of System.String), System.Predicate(Of System.String), MLEM.Ui.Elements.TextField.Rule, System.String) name.vb: OpenTextPrompt(String, Action(Of String), Predicate(Of String), TextField.Rule, String) - uid: TinyLife.Actions.Typeless.TypelessAction.SpeakAlone(Microsoft.Xna.Framework.GameTime,System.Single,TinyLife.Actions.EmoteCategory,TinyLife.Objects.SpeakStyle,System.Int32) @@ -1002,7 +1000,7 @@ items: summary: "\nDisplays emotes for this action's with the given settings as if they were talking to themselves out loud.\nThis is used by actions like and .\n" example: [] syntax: - content: protected bool SpeakAlone(GameTime time, float speedMultiplier, EmoteCategory emoteCategories, SpeakStyle speakStyles, int totalAmount = 2147483647) + content: public bool SpeakAlone(GameTime time, float speedMultiplier, EmoteCategory emoteCategories, SpeakStyle speakStyles, int totalAmount = 2147483647) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -1022,12 +1020,12 @@ items: return: type: System.Boolean description: Whether all emotes were succesfully displayed. This method only returns true if totalAmount is less than the default value - content.vb: Protected Function SpeakAlone(time As GameTime, speedMultiplier As Single, emoteCategories As EmoteCategory, speakStyles As SpeakStyle, totalAmount As Integer = 2147483647) As Boolean + content.vb: Public Function SpeakAlone(time As GameTime, speedMultiplier As Single, emoteCategories As EmoteCategory, speakStyles As SpeakStyle, totalAmount As Integer = 2147483647) As Boolean overload: TinyLife.Actions.Typeless.TypelessAction.SpeakAlone* modifiers.csharp: - - protected + - public modifiers.vb: - - Protected + - Public - uid: TinyLife.Actions.Typeless.TypelessAction.CompleteIfNeedFull(TinyLife.Objects.Person,TinyLife.NeedType,TinyLife.Actions.CompletionType) commentId: M:TinyLife.Actions.Typeless.TypelessAction.CompleteIfNeedFull(TinyLife.Objects.Person,TinyLife.NeedType,TinyLife.Actions.CompletionType) id: CompleteIfNeedFull(TinyLife.Objects.Person,TinyLife.NeedType,TinyLife.Actions.CompletionType) @@ -1313,16 +1311,16 @@ items: - Shared fullName.vb: TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person, TinyLife.Objects.Furniture, System.Func(Of MLEM.Misc.Direction2, System.Boolean)) name.vb: GetFreeChairs(Person, Furniture, Func(Of Direction2, Boolean)) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - id: FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + id: FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction langs: - csharp - vb - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) type: Method source: remote: @@ -1338,14 +1336,14 @@ items: summary: "\nA helper method to find a set of all instances that are currently valid for interaction with the passed \n" example: [] syntax: - content: public static IEnumerable FindAllFreePeople(ActionType type, Person person, Vector2? position = default(Vector2? ), float? radius = default(float? ), bool ignoreVisibility = false) + content: public static IEnumerable FindAllFreePeople(Person person, ActionType type = null, Vector2? position = null, float? radius = null, bool ignoreVisibility = false) parameters: - - id: type - type: TinyLife.Actions.ActionType - description: The type of action we want to start - id: person type: TinyLife.Objects.Person description: The person that wants to start the aciton + - id: type + type: TinyLife.Actions.ActionType + description: The type of action we want to start - id: position type: System.Nullable{Microsoft.Xna.Framework.Vector2} description: The position that we should find people around, or null to use the passed person's position @@ -1358,17 +1356,17 @@ items: return: type: System.Collections.Generic.IEnumerable{TinyLife.Objects.Person} description: A set of valid interaction partners - content.vb: Public Shared Function FindAllFreePeople(type As ActionType, person As Person, position As Vector2? = Nothing, radius As Single? = Nothing, ignoreVisibility As Boolean = False) As IEnumerable(Of Person) + content.vb: Public Shared Function FindAllFreePeople(person As Person, type As ActionType = Nothing, position As Vector2? = Nothing, radius As Single? = Nothing, ignoreVisibility As Boolean = False) As IEnumerable(Of Person) overload: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople* - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) modifiers.csharp: - public - static modifiers.vb: - Public - Shared - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) id: FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) @@ -1394,7 +1392,7 @@ items: summary: "\nA helper method to find a set of all instances that are currently valid for interaction with the passed \n" example: [] syntax: - content: public static IEnumerable FindAllFreeFurniture(Person person, ObjectCategory categories = null, FurnitureType objectSpotType = null, bool needsFreeActionSpot = true, Vector2? position = default(Vector2? ), float? radius = default(float? ), bool allowBroken = false, bool ignoreVisibility = false) + content: public static IEnumerable FindAllFreeFurniture(Person person, ObjectCategory categories = null, FurnitureType objectSpotType = null, bool needsFreeActionSpot = true, Vector2? position = null, float? radius = null, bool allowBroken = false, bool ignoreVisibility = false) parameters: - id: person type: TinyLife.Objects.Person @@ -1459,7 +1457,7 @@ items: summary: "\nA helper method to find a set of all instances that are currently valid for interaction with the passed \n" example: [] syntax: - content: public static IEnumerable FindAllFreeWalls(Person person, Vector2? position = default(Vector2? ), float? radius = default(float? ), bool ignoreVisibility = false) + content: public static IEnumerable FindAllFreeWalls(Person person, Vector2? position = null, float? radius = null, bool ignoreVisibility = false) parameters: - id: person type: TinyLife.Objects.Person @@ -1512,7 +1510,7 @@ items: summary: "\nA helper method to find a set of all positions on the ground that are currently valid for interaction\n" example: [] syntax: - content: public static IEnumerable FindAllFreeGround(Person person, Vector2? position = default(Vector2? ), float? radius = default(float? ), bool ignoreVisibility = false) + content: public static IEnumerable FindAllFreeGround(Person person, Vector2? position = null, float? radius = null, bool ignoreVisibility = false) parameters: - id: person type: TinyLife.Objects.Person @@ -1565,7 +1563,7 @@ items: summary: "\nA helper method to find the best instance to interact with based on the given data.\nNote that this method always returns a related to the first result from .\n" example: [] syntax: - content: public static ActionInfo FindFreeFurniture(Person person, ObjectCategory categories, FurnitureType objectSpotType = null, Vector2? position = default(Vector2? ), bool allowBroken = false, bool ignoreVisibility = false) + content: public static ActionInfo FindFreeFurniture(Person person, ObjectCategory categories, FurnitureType objectSpotType = null, Vector2? position = null, bool allowBroken = false, bool ignoreVisibility = false) parameters: - id: person type: TinyLife.Objects.Person diff --git a/docs/api/TinyLife.Actions.WalkAction.yml b/docs/api/TinyLife.Actions.WalkAction.yml index 2e7ae5f..24a21d0 100644 --- a/docs/api/TinyLife.Actions.WalkAction.yml +++ b/docs/api/TinyLife.Actions.WalkAction.yml @@ -34,9 +34,7 @@ items: content: 'public class WalkAction : PathfindAction, IGenericDataHolder' content.vb: >- Public Class WalkAction - Inherits PathfindAction - Implements IGenericDataHolder inheritance: - System.Object @@ -88,7 +86,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -177,14 +175,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nCreates a new action from the given \n" example: [] syntax: content: public WalkAction(ActionType type, ActionInfo info) parameters: - id: type type: TinyLife.Actions.ActionType + description: The type to create this action from - id: info type: TinyLife.Actions.ActionInfo + description: The information for this action content.vb: Public Sub New(type As ActionType, info As ActionInfo) overload: TinyLife.Actions.WalkAction.#ctor* modifiers.csharp: @@ -213,14 +214,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nA method called by to start finding a path to the given goal location.\n" example: [] syntax: content: protected override Task> FindPath(Point goal) parameters: - id: goal type: Microsoft.Xna.Framework.Point + description: The goal location return: type: System.Threading.Tasks.Task{System.Collections.Generic.Stack{Microsoft.Xna.Framework.Point}} + description: A task that, when finished, returns a path content.vb: Protected Overrides Function FindPath(goal As Point) As Task(Of Stack(Of Point)) overridden: TinyLife.Actions.PathfindAction.FindPath(Microsoft.Xna.Framework.Point) overload: TinyLife.Actions.WalkAction.FindPath* @@ -252,11 +256,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns the speed that the should traverse with.\n" example: [] syntax: content: protected override float GetSpeed() return: type: System.Single + description: The speed content.vb: Protected Overrides Function GetSpeed As Single overridden: TinyLife.Actions.PathfindAction.GetSpeed overload: TinyLife.Actions.WalkAction.GetSpeed* @@ -288,16 +294,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.PathfindAction.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.WalkAction.Update* @@ -2020,31 +2030,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2052,6 +2055,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2099,20 +2109,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2120,6 +2123,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.WatchTvAction.yml b/docs/api/TinyLife.Actions.WatchTvAction.yml index c4b4251..bd334e4 100644 --- a/docs/api/TinyLife.Actions.WatchTvAction.yml +++ b/docs/api/TinyLife.Actions.WatchTvAction.yml @@ -40,9 +40,7 @@ items: content: 'public class WatchTvAction : MultiAction, IGenericDataHolder' content.vb: >- Public Class WatchTvAction - Inherits MultiAction - Implements IGenericDataHolder inheritance: - System.Object @@ -93,7 +91,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -139,12 +137,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturns whether this action is currently "properly" in progress.\nThis is used by and and returns true only once the first actions are completed or the conversation has started, respectively.\nBy default, this property is true if is greater than .\n" example: [] syntax: content: public override bool FullyInProgress { get; } parameters: [] return: type: System.Boolean + description: Whether this action is fully in progress content.vb: Public Overrides ReadOnly Property FullyInProgress As Boolean overridden: TinyLife.Actions.Typeless.TypelessAction.FullyInProgress overload: TinyLife.Actions.WatchTvAction.FullyInProgress* @@ -216,11 +216,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n" example: [] syntax: content: protected override IEnumerable CreateFirstActions() return: type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action} + description: A set of actions that sohuld run before this action content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action) overridden: TinyLife.Actions.MultiAction.CreateFirstActions overload: TinyLife.Actions.WatchTvAction.CreateFirstActions* @@ -252,6 +254,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -286,16 +289,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n" example: [] syntax: content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Actions.WatchTvAction.AndThenUpdate* @@ -327,11 +334,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n" example: [] syntax: content: protected override CompletionType AndThenIsCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether the main action is completed content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted overload: TinyLife.Actions.WatchTvAction.AndThenIsCompleted* @@ -363,14 +372,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nReturn true on this method if this action can be multi-tasked along with the passed .\nTo actually check this property, should be used as it compares both objects.\nA multi-tasking is an action that is currently active along with another action.\nBy default, multi-tasking is disallowed for any action.\n" example: [] syntax: content: public override bool CanMultitask(Action other) parameters: - id: other type: TinyLife.Actions.Action + description: The action to multi-task with return: type: System.Boolean + description: Whether this action can be multi-tasked content.vb: Public Overrides Function CanMultitask(other As Action) As Boolean overridden: TinyLife.Actions.Action.CanMultitask(TinyLife.Actions.Action) overload: TinyLife.Actions.WatchTvAction.CanMultitask* @@ -402,12 +414,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n" example: [] syntax: content: protected override void AndThenOnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The completion of the main action content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType) overridden: TinyLife.Actions.MultiAction.AndThenOnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.WatchTvAction.AndThenOnCompleted* @@ -2333,31 +2347,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2365,6 +2372,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2412,20 +2426,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2433,6 +2440,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Actions.WorkAction.yml b/docs/api/TinyLife.Actions.WorkAction.yml index 2b4e0f4..0c07e13 100644 --- a/docs/api/TinyLife.Actions.WorkAction.yml +++ b/docs/api/TinyLife.Actions.WorkAction.yml @@ -34,9 +34,7 @@ items: content: 'public class WorkAction : OutOfTownAction, IGenericDataHolder' content.vb: >- Public Class WorkAction - Inherits OutOfTownAction - Implements IGenericDataHolder inheritance: - System.Object @@ -93,7 +91,7 @@ items: - TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture) - TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean}) - - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) @@ -175,6 +173,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nThis method is called in before is called.\nBy default, it does nothing.\n" example: [] syntax: content: protected override void PreInitialize() @@ -209,6 +208,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nInitializes the main action.\nThis method is called after has all completed.\n" example: [] syntax: content: protected override void AndThenInitialize() @@ -243,11 +243,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n" example: [] syntax: content: protected override CompletionType AndThenIsCompleted() return: type: TinyLife.Actions.CompletionType + description: Whether the main action is completed content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted overload: TinyLife.Actions.WorkAction.AndThenIsCompleted* @@ -279,12 +281,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions + summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n" example: [] syntax: content: protected override void AndThenOnCompleted(CompletionType type) parameters: - id: type type: TinyLife.Actions.CompletionType + description: The completion of the main action content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType) overridden: TinyLife.Actions.MultiAction.AndThenOnCompleted(TinyLife.Actions.CompletionType) overload: TinyLife.Actions.WorkAction.AndThenOnCompleted* @@ -2222,31 +2226,24 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) - commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) +- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) parent: TinyLife.Actions.Typeless.TypelessAction isExternal: true - name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean) - fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean) - nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) - fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) - name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean) + name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean) + fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean) + nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) + fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean) + name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean) spec.csharp: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2254,6 +2251,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable @@ -2301,20 +2305,13 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) + - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean) name: FindAllFreePeople nameWithType: TypelessAction.FindAllFreePeople fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople - name: ( nameWithType: ( fullName: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - nameWithType: ActionType - fullName: TinyLife.Actions.ActionType - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: TinyLife.Objects.Person name: Person nameWithType: Person @@ -2322,6 +2319,13 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' + - uid: TinyLife.Actions.ActionType + name: ActionType + nameWithType: ActionType + fullName: TinyLife.Actions.ActionType + - name: ', ' + nameWithType: ', ' + fullName: ', ' - uid: System.Nullable`1 name: Nullable nameWithType: Nullable diff --git a/docs/api/TinyLife.Debug.CheatDelegate.yml b/docs/api/TinyLife.Debug.CheatDelegate.yml index cebed70..0c7e451 100644 --- a/docs/api/TinyLife.Debug.CheatDelegate.yml +++ b/docs/api/TinyLife.Debug.CheatDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CheatDelegate path: Debug.cs - startLine: 512 + startLine: 520 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.Debug.DebugDelegate.yml b/docs/api/TinyLife.Debug.DebugDelegate.yml index 8669dff..e5d0afa 100644 --- a/docs/api/TinyLife.Debug.DebugDelegate.yml +++ b/docs/api/TinyLife.Debug.DebugDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DebugDelegate path: Debug.cs - startLine: 517 + startLine: 525 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.Emotions.EmotionModifier.Instance.yml b/docs/api/TinyLife.Emotions.EmotionModifier.Instance.yml index d528dbd..ee6b90a 100644 --- a/docs/api/TinyLife.Emotions.EmotionModifier.Instance.yml +++ b/docs/api/TinyLife.Emotions.EmotionModifier.Instance.yml @@ -26,7 +26,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Instance path: Emotions/EmotionModifier.cs - startLine: 235 + startLine: 243 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -81,7 +81,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Type path: Emotions/EmotionModifier.cs - startLine: 242 + startLine: 250 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -126,7 +126,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Amount path: Emotions/EmotionModifier.cs - startLine: 247 + startLine: 255 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -171,7 +171,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TotalTime path: Emotions/EmotionModifier.cs - startLine: 252 + startLine: 260 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -216,7 +216,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Time path: Emotions/EmotionModifier.cs - startLine: 256 + startLine: 264 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -263,7 +263,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Source path: Emotions/EmotionModifier.cs - startLine: 262 + startLine: 270 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -300,7 +300,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PassTime path: Emotions/EmotionModifier.cs - startLine: 281 + startLine: 289 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -336,7 +336,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: Emotions/EmotionModifier.cs - startLine: 295 + startLine: 303 assemblies: - Tiny Life namespace: TinyLife.Emotions diff --git a/docs/api/TinyLife.Emotions.EmotionModifier.yml b/docs/api/TinyLife.Emotions.EmotionModifier.yml index 11e00fb..1916f42 100644 --- a/docs/api/TinyLife.Emotions.EmotionModifier.yml +++ b/docs/api/TinyLife.Emotions.EmotionModifier.yml @@ -12,6 +12,7 @@ items: - TinyLife.Emotions.EmotionModifier.AsexualFoolingDeclined - TinyLife.Emotions.EmotionModifier.AsexualFoolingPartner - TinyLife.Emotions.EmotionModifier.Asleep + - TinyLife.Emotions.EmotionModifier.BadChildFood - TinyLife.Emotions.EmotionModifier.BadCreation - TinyLife.Emotions.EmotionModifier.BadCreationAngry - TinyLife.Emotions.EmotionModifier.BadFood @@ -21,6 +22,7 @@ items: - TinyLife.Emotions.EmotionModifier.BoringWork - TinyLife.Emotions.EmotionModifier.BrokenUpWith - TinyLife.Emotions.EmotionModifier.CaughtBeingInappropriate + - TinyLife.Emotions.EmotionModifier.ChildChef - TinyLife.Emotions.EmotionModifier.Condition - TinyLife.Emotions.EmotionModifier.CreativelyInspired - TinyLife.Emotions.EmotionModifier.DarkRoom @@ -29,6 +31,7 @@ items: - TinyLife.Emotions.EmotionModifier.DirtyDishes - TinyLife.Emotions.EmotionModifier.DirtyHandsAfterToilet - TinyLife.Emotions.EmotionModifier.DirtyObject + - TinyLife.Emotions.EmotionModifier.EmergencyFood - TinyLife.Emotions.EmotionModifier.Emotion - TinyLife.Emotions.EmotionModifier.EnergizingDumbbells - TinyLife.Emotions.EmotionModifier.EnergizingJog @@ -37,6 +40,7 @@ items: - TinyLife.Emotions.EmotionModifier.FailedJoke - TinyLife.Emotions.EmotionModifier.FailedPublishing - TinyLife.Emotions.EmotionModifier.FailedRomance + - TinyLife.Emotions.EmotionModifier.FinishedApp - TinyLife.Emotions.EmotionModifier.FinishedBook - TinyLife.Emotions.EmotionModifier.FinishedMod - TinyLife.Emotions.EmotionModifier.Fired @@ -50,6 +54,7 @@ items: - TinyLife.Emotions.EmotionModifier.FunPlaying - TinyLife.Emotions.EmotionModifier.FunSchoolDay - TinyLife.Emotions.EmotionModifier.GetCausedEmotion(TinyLife.Objects.Person) + - TinyLife.Emotions.EmotionModifier.GoodChildFood - TinyLife.Emotions.EmotionModifier.GoodFood - TinyLife.Emotions.EmotionModifier.GoodWalkthrough - TinyLife.Emotions.EmotionModifier.GradesDown @@ -83,6 +88,7 @@ items: - TinyLife.Emotions.EmotionModifier.ProteinShakeFrisky - TinyLife.Emotions.EmotionModifier.ProteinShakeFriskyAsexual - TinyLife.Emotions.EmotionModifier.PsychedUp + - TinyLife.Emotions.EmotionModifier.PublishedApp - TinyLife.Emotions.EmotionModifier.PulledMuscle - TinyLife.Emotions.EmotionModifier.RageQuit - TinyLife.Emotions.EmotionModifier.ReadBook @@ -94,6 +100,7 @@ items: - TinyLife.Emotions.EmotionModifier.ScrappedSomeonesProject - TinyLife.Emotions.EmotionModifier.SelfCraftedFurniture - TinyLife.Emotions.EmotionModifier.SleptOutside + - TinyLife.Emotions.EmotionModifier.SomeoneTriedMyFood - TinyLife.Emotions.EmotionModifier.StandingDeskPositive - TinyLife.Emotions.EmotionModifier.StandingDeskSore - TinyLife.Emotions.EmotionModifier.StartedDating @@ -109,6 +116,7 @@ items: - TinyLife.Emotions.EmotionModifier.Types - TinyLife.Emotions.EmotionModifier.UncomfortableCraftedFurniture - TinyLife.Emotions.EmotionModifier.UpsettingConversation + - TinyLife.Emotions.EmotionModifier.UsefulProgrammingResearch - TinyLife.Emotions.EmotionModifier.WonTournament - TinyLife.Emotions.EmotionModifier.WoodworkingSplinter - TinyLife.Emotions.EmotionModifier.WritersBlock @@ -1141,6 +1149,41 @@ items: - Public - Shared - ReadOnly +- uid: TinyLife.Emotions.EmotionModifier.FinishedApp + commentId: F:TinyLife.Emotions.EmotionModifier.FinishedApp + id: FinishedApp + parent: TinyLife.Emotions.EmotionModifier + langs: + - csharp + - vb + name: FinishedApp + nameWithType: EmotionModifier.FinishedApp + fullName: TinyLife.Emotions.EmotionModifier.FinishedApp + type: Field + source: + remote: + path: TinyLife/Emotions/EmotionModifier.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: FinishedApp + path: Emotions/EmotionModifier.cs + startLine: 60 + assemblies: + - Tiny Life + namespace: TinyLife.Emotions + syntax: + content: public static readonly EmotionModifier FinishedApp + return: + type: TinyLife.Emotions.EmotionModifier + content.vb: Public Shared ReadOnly FinishedApp As EmotionModifier + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly - uid: TinyLife.Emotions.EmotionModifier.HackingFail commentId: F:TinyLife.Emotions.EmotionModifier.HackingFail id: HackingFail @@ -1159,7 +1202,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HackingFail path: Emotions/EmotionModifier.cs - startLine: 60 + startLine: 61 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1194,7 +1237,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PositiveGauge path: Emotions/EmotionModifier.cs - startLine: 61 + startLine: 62 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1229,7 +1272,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NegativeGauge path: Emotions/EmotionModifier.cs - startLine: 62 + startLine: 63 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1264,7 +1307,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MeanConversationPartner path: Emotions/EmotionModifier.cs - startLine: 63 + startLine: 64 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1299,7 +1342,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RepairFail path: Emotions/EmotionModifier.cs - startLine: 64 + startLine: 65 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1334,7 +1377,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FoolAroundFail path: Emotions/EmotionModifier.cs - startLine: 65 + startLine: 66 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1369,7 +1412,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WritersBlock path: Emotions/EmotionModifier.cs - startLine: 66 + startLine: 67 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1404,7 +1447,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FinishedBook path: Emotions/EmotionModifier.cs - startLine: 67 + startLine: 68 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1439,7 +1482,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ScrappedBook path: Emotions/EmotionModifier.cs - startLine: 68 + startLine: 69 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1474,7 +1517,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SuccessfullyPublished path: Emotions/EmotionModifier.cs - startLine: 69 + startLine: 70 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1509,7 +1552,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FailedPublishing path: Emotions/EmotionModifier.cs - startLine: 70 + startLine: 71 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1544,7 +1587,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InspiringIdeas path: Emotions/EmotionModifier.cs - startLine: 71 + startLine: 72 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1579,7 +1622,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CreativelyInspired path: Emotions/EmotionModifier.cs - startLine: 72 + startLine: 73 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1614,7 +1657,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StrokeOfGenius path: Emotions/EmotionModifier.cs - startLine: 73 + startLine: 74 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1649,7 +1692,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IntrovertedOverstimulated path: Emotions/EmotionModifier.cs - startLine: 74 + startLine: 75 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1684,7 +1727,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InspiredByPride path: Emotions/EmotionModifier.cs - startLine: 75 + startLine: 76 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1719,7 +1762,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TvInspiredToCook path: Emotions/EmotionModifier.cs - startLine: 76 + startLine: 77 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1754,7 +1797,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TvSaddenedByNews path: Emotions/EmotionModifier.cs - startLine: 77 + startLine: 78 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1789,7 +1832,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TvExcitedByNews path: Emotions/EmotionModifier.cs - startLine: 78 + startLine: 79 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1824,7 +1867,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TvRomantic path: Emotions/EmotionModifier.cs - startLine: 79 + startLine: 80 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1859,7 +1902,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GoodWalkthrough path: Emotions/EmotionModifier.cs - startLine: 80 + startLine: 81 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1894,7 +1937,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BoringWalkthrough path: Emotions/EmotionModifier.cs - startLine: 81 + startLine: 82 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1929,7 +1972,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BadTeammates path: Emotions/EmotionModifier.cs - startLine: 82 + startLine: 83 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1964,7 +2007,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RageQuit path: Emotions/EmotionModifier.cs - startLine: 83 + startLine: 84 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -1999,7 +2042,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WonTournament path: Emotions/EmotionModifier.cs - startLine: 84 + startLine: 85 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2034,7 +2077,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LostTournament path: Emotions/EmotionModifier.cs - startLine: 85 + startLine: 86 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2069,7 +2112,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AsexualFoolingPartner path: Emotions/EmotionModifier.cs - startLine: 86 + startLine: 87 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2104,7 +2147,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AsexualFoolingDeclined path: Emotions/EmotionModifier.cs - startLine: 87 + startLine: 88 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2139,7 +2182,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FoolingDeclined path: Emotions/EmotionModifier.cs - startLine: 88 + startLine: 89 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2174,7 +2217,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EnergizingJog path: Emotions/EmotionModifier.cs - startLine: 89 + startLine: 90 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2209,7 +2252,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EnergizingDumbbells path: Emotions/EmotionModifier.cs - startLine: 90 + startLine: 91 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2244,7 +2287,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PulledMuscle path: Emotions/EmotionModifier.cs - startLine: 91 + startLine: 92 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2279,7 +2322,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StandingDeskPositive path: Emotions/EmotionModifier.cs - startLine: 92 + startLine: 93 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2314,7 +2357,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StandingDeskSore path: Emotions/EmotionModifier.cs - startLine: 93 + startLine: 94 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2349,7 +2392,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FitnessLevelUp path: Emotions/EmotionModifier.cs - startLine: 94 + startLine: 95 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2384,7 +2427,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LazyWorkout path: Emotions/EmotionModifier.cs - startLine: 95 + startLine: 96 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2419,7 +2462,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ProteinShakeEnergetic path: Emotions/EmotionModifier.cs - startLine: 96 + startLine: 97 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2454,7 +2497,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ProteinShakeFrisky path: Emotions/EmotionModifier.cs - startLine: 97 + startLine: 98 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2489,7 +2532,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ProteinShakeFocused path: Emotions/EmotionModifier.cs - startLine: 98 + startLine: 99 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2524,7 +2567,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ProteinShakeFine path: Emotions/EmotionModifier.cs - startLine: 99 + startLine: 100 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2559,7 +2602,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TooMuchProtein path: Emotions/EmotionModifier.cs - startLine: 100 + startLine: 101 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2594,7 +2637,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ProteinShakeFriskyAsexual path: Emotions/EmotionModifier.cs - startLine: 101 + startLine: 102 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2629,7 +2672,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DirtyHandsAfterToilet path: Emotions/EmotionModifier.cs - startLine: 102 + startLine: 103 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2664,7 +2707,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DarkRoom path: Emotions/EmotionModifier.cs - startLine: 103 + startLine: 104 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2699,7 +2742,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ThrewAwayInsteadOfCleaning path: Emotions/EmotionModifier.cs - startLine: 104 + startLine: 105 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2734,7 +2777,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IntrovertedCloseConversation path: Emotions/EmotionModifier.cs - startLine: 105 + startLine: 106 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2769,7 +2812,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IntrovertedStrangerDanger path: Emotions/EmotionModifier.cs - startLine: 106 + startLine: 107 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2804,7 +2847,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IntrovertedHomeLong path: Emotions/EmotionModifier.cs - startLine: 107 + startLine: 108 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2839,7 +2882,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ExtrovertedNewRelationship path: Emotions/EmotionModifier.cs - startLine: 108 + startLine: 109 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2874,7 +2917,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ExtrovertedConfusedByIntroversion path: Emotions/EmotionModifier.cs - startLine: 109 + startLine: 110 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2909,7 +2952,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DirtyObject path: Emotions/EmotionModifier.cs - startLine: 110 + startLine: 111 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2944,7 +2987,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UncomfortableCraftedFurniture path: Emotions/EmotionModifier.cs - startLine: 111 + startLine: 112 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -2979,7 +3022,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AmazingCraftedFurniture path: Emotions/EmotionModifier.cs - startLine: 112 + startLine: 113 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3014,7 +3057,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SelfCraftedFurniture path: Emotions/EmotionModifier.cs - startLine: 113 + startLine: 114 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3049,7 +3092,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WoodworkingSplinter path: Emotions/EmotionModifier.cs - startLine: 114 + startLine: 115 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3084,7 +3127,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ScrappedSomeonesProject path: Emotions/EmotionModifier.cs - startLine: 115 + startLine: 116 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3119,7 +3162,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RoughSchoolDay path: Emotions/EmotionModifier.cs - startLine: 116 + startLine: 117 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3154,7 +3197,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FunSchoolDay path: Emotions/EmotionModifier.cs - startLine: 117 + startLine: 118 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3189,7 +3232,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TerribleAtSchool path: Emotions/EmotionModifier.cs - startLine: 118 + startLine: 119 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3224,7 +3267,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GradesDown path: Emotions/EmotionModifier.cs - startLine: 119 + startLine: 120 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3259,7 +3302,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GradesUp path: Emotions/EmotionModifier.cs - startLine: 120 + startLine: 121 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3294,7 +3337,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BoringHomework path: Emotions/EmotionModifier.cs - startLine: 121 + startLine: 122 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3329,7 +3372,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ForgotHomework path: Emotions/EmotionModifier.cs - startLine: 122 + startLine: 123 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3364,7 +3407,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InterestingStory path: Emotions/EmotionModifier.cs - startLine: 123 + startLine: 124 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3399,7 +3442,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FunnyCartoons path: Emotions/EmotionModifier.cs - startLine: 124 + startLine: 125 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3434,7 +3477,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FunPlaying path: Emotions/EmotionModifier.cs - startLine: 125 + startLine: 126 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3469,7 +3512,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InspiringPlaying path: Emotions/EmotionModifier.cs - startLine: 126 + startLine: 127 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3504,7 +3547,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PsychedUp path: Emotions/EmotionModifier.cs - startLine: 127 + startLine: 128 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3539,7 +3582,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AggravatingConversation path: Emotions/EmotionModifier.cs - startLine: 128 + startLine: 129 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3574,7 +3617,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpsettingConversation path: Emotions/EmotionModifier.cs - startLine: 129 + startLine: 130 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3609,7 +3652,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HadToGetFoodSomewhereElse path: Emotions/EmotionModifier.cs - startLine: 130 + startLine: 131 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3626,6 +3669,251 @@ items: - Public - Shared - ReadOnly +- uid: TinyLife.Emotions.EmotionModifier.UsefulProgrammingResearch + commentId: F:TinyLife.Emotions.EmotionModifier.UsefulProgrammingResearch + id: UsefulProgrammingResearch + parent: TinyLife.Emotions.EmotionModifier + langs: + - csharp + - vb + name: UsefulProgrammingResearch + nameWithType: EmotionModifier.UsefulProgrammingResearch + fullName: TinyLife.Emotions.EmotionModifier.UsefulProgrammingResearch + type: Field + source: + remote: + path: TinyLife/Emotions/EmotionModifier.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: UsefulProgrammingResearch + path: Emotions/EmotionModifier.cs + startLine: 132 + assemblies: + - Tiny Life + namespace: TinyLife.Emotions + syntax: + content: public static readonly EmotionModifier UsefulProgrammingResearch + return: + type: TinyLife.Emotions.EmotionModifier + content.vb: Public Shared ReadOnly UsefulProgrammingResearch As EmotionModifier + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly +- uid: TinyLife.Emotions.EmotionModifier.PublishedApp + commentId: F:TinyLife.Emotions.EmotionModifier.PublishedApp + id: PublishedApp + parent: TinyLife.Emotions.EmotionModifier + langs: + - csharp + - vb + name: PublishedApp + nameWithType: EmotionModifier.PublishedApp + fullName: TinyLife.Emotions.EmotionModifier.PublishedApp + type: Field + source: + remote: + path: TinyLife/Emotions/EmotionModifier.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: PublishedApp + path: Emotions/EmotionModifier.cs + startLine: 133 + assemblies: + - Tiny Life + namespace: TinyLife.Emotions + syntax: + content: public static readonly EmotionModifier PublishedApp + return: + type: TinyLife.Emotions.EmotionModifier + content.vb: Public Shared ReadOnly PublishedApp As EmotionModifier + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly +- uid: TinyLife.Emotions.EmotionModifier.EmergencyFood + commentId: F:TinyLife.Emotions.EmotionModifier.EmergencyFood + id: EmergencyFood + parent: TinyLife.Emotions.EmotionModifier + langs: + - csharp + - vb + name: EmergencyFood + nameWithType: EmotionModifier.EmergencyFood + fullName: TinyLife.Emotions.EmotionModifier.EmergencyFood + type: Field + source: + remote: + path: TinyLife/Emotions/EmotionModifier.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: EmergencyFood + path: Emotions/EmotionModifier.cs + startLine: 134 + assemblies: + - Tiny Life + namespace: TinyLife.Emotions + syntax: + content: public static readonly EmotionModifier EmergencyFood + return: + type: TinyLife.Emotions.EmotionModifier + content.vb: Public Shared ReadOnly EmergencyFood As EmotionModifier + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly +- uid: TinyLife.Emotions.EmotionModifier.ChildChef + commentId: F:TinyLife.Emotions.EmotionModifier.ChildChef + id: ChildChef + parent: TinyLife.Emotions.EmotionModifier + langs: + - csharp + - vb + name: ChildChef + nameWithType: EmotionModifier.ChildChef + fullName: TinyLife.Emotions.EmotionModifier.ChildChef + type: Field + source: + remote: + path: TinyLife/Emotions/EmotionModifier.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: ChildChef + path: Emotions/EmotionModifier.cs + startLine: 135 + assemblies: + - Tiny Life + namespace: TinyLife.Emotions + syntax: + content: public static readonly EmotionModifier ChildChef + return: + type: TinyLife.Emotions.EmotionModifier + content.vb: Public Shared ReadOnly ChildChef As EmotionModifier + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly +- uid: TinyLife.Emotions.EmotionModifier.SomeoneTriedMyFood + commentId: F:TinyLife.Emotions.EmotionModifier.SomeoneTriedMyFood + id: SomeoneTriedMyFood + parent: TinyLife.Emotions.EmotionModifier + langs: + - csharp + - vb + name: SomeoneTriedMyFood + nameWithType: EmotionModifier.SomeoneTriedMyFood + fullName: TinyLife.Emotions.EmotionModifier.SomeoneTriedMyFood + type: Field + source: + remote: + path: TinyLife/Emotions/EmotionModifier.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: SomeoneTriedMyFood + path: Emotions/EmotionModifier.cs + startLine: 136 + assemblies: + - Tiny Life + namespace: TinyLife.Emotions + syntax: + content: public static readonly EmotionModifier SomeoneTriedMyFood + return: + type: TinyLife.Emotions.EmotionModifier + content.vb: Public Shared ReadOnly SomeoneTriedMyFood As EmotionModifier + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly +- uid: TinyLife.Emotions.EmotionModifier.BadChildFood + commentId: F:TinyLife.Emotions.EmotionModifier.BadChildFood + id: BadChildFood + parent: TinyLife.Emotions.EmotionModifier + langs: + - csharp + - vb + name: BadChildFood + nameWithType: EmotionModifier.BadChildFood + fullName: TinyLife.Emotions.EmotionModifier.BadChildFood + type: Field + source: + remote: + path: TinyLife/Emotions/EmotionModifier.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: BadChildFood + path: Emotions/EmotionModifier.cs + startLine: 137 + assemblies: + - Tiny Life + namespace: TinyLife.Emotions + syntax: + content: public static readonly EmotionModifier BadChildFood + return: + type: TinyLife.Emotions.EmotionModifier + content.vb: Public Shared ReadOnly BadChildFood As EmotionModifier + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly +- uid: TinyLife.Emotions.EmotionModifier.GoodChildFood + commentId: F:TinyLife.Emotions.EmotionModifier.GoodChildFood + id: GoodChildFood + parent: TinyLife.Emotions.EmotionModifier + langs: + - csharp + - vb + name: GoodChildFood + nameWithType: EmotionModifier.GoodChildFood + fullName: TinyLife.Emotions.EmotionModifier.GoodChildFood + type: Field + source: + remote: + path: TinyLife/Emotions/EmotionModifier.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GoodChildFood + path: Emotions/EmotionModifier.cs + startLine: 138 + assemblies: + - Tiny Life + namespace: TinyLife.Emotions + syntax: + content: public static readonly EmotionModifier GoodChildFood + return: + type: TinyLife.Emotions.EmotionModifier + content.vb: Public Shared ReadOnly GoodChildFood As EmotionModifier + modifiers.csharp: + - public + - static + - readonly + modifiers.vb: + - Public + - Shared + - ReadOnly - uid: TinyLife.Emotions.EmotionModifier.Name commentId: F:TinyLife.Emotions.EmotionModifier.Name id: Name @@ -3644,7 +3932,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: Emotions/EmotionModifier.cs - startLine: 152 + startLine: 160 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3679,7 +3967,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Icon path: Emotions/EmotionModifier.cs - startLine: 156 + startLine: 164 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3714,7 +4002,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Emotion path: Emotions/EmotionModifier.cs - startLine: 161 + startLine: 169 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3749,7 +4037,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Condition path: Emotions/EmotionModifier.cs - startLine: 167 + startLine: 175 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3784,7 +4072,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Emotions/EmotionModifier.cs - startLine: 176 + startLine: 184 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3832,7 +4120,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Emotions/EmotionModifier.cs - startLine: 190 + startLine: 198 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3880,7 +4168,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCausedEmotion path: Emotions/EmotionModifier.cs - startLine: 199 + startLine: 207 assemblies: - Tiny Life namespace: TinyLife.Emotions @@ -3919,7 +4207,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: Emotions/EmotionModifier.cs - startLine: 214 + startLine: 222 assemblies: - Tiny Life namespace: TinyLife.Emotions diff --git a/docs/api/TinyLife.GameImpl.GameMode.yml b/docs/api/TinyLife.GameImpl.GameMode.yml index 6bfe266..f7dd165 100644 --- a/docs/api/TinyLife.GameImpl.GameMode.yml +++ b/docs/api/TinyLife.GameImpl.GameMode.yml @@ -24,7 +24,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GameMode path: GameImpl.cs - startLine: 711 + startLine: 703 assemblies: - Tiny Life namespace: TinyLife @@ -59,7 +59,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Splash path: GameImpl.cs - startLine: 714 + startLine: 706 assemblies: - Tiny Life namespace: TinyLife @@ -93,7 +93,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MainMenu path: GameImpl.cs - startLine: 716 + startLine: 708 assemblies: - Tiny Life namespace: TinyLife @@ -127,7 +127,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SelectHousehold path: GameImpl.cs - startLine: 718 + startLine: 710 assemblies: - Tiny Life namespace: TinyLife @@ -161,7 +161,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InGameHousehold path: GameImpl.cs - startLine: 720 + startLine: 712 assemblies: - Tiny Life namespace: TinyLife @@ -195,7 +195,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BuildOnly path: GameImpl.cs - startLine: 722 + startLine: 714 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.GameImpl.yml b/docs/api/TinyLife.GameImpl.yml index c198c9a..d9448fb 100644 --- a/docs/api/TinyLife.GameImpl.yml +++ b/docs/api/TinyLife.GameImpl.yml @@ -7,7 +7,7 @@ items: children: - TinyLife.GameImpl.Camera - TinyLife.GameImpl.CanBeExtremelyFast - - TinyLife.GameImpl.CanSaveOrSwitchModes + - TinyLife.GameImpl.CanSwitchGameModes - TinyLife.GameImpl.CurrentHousehold - TinyLife.GameImpl.CurrentLot - TinyLife.GameImpl.CurrentTime @@ -56,9 +56,7 @@ items: content: 'public class GameImpl : MlemGame, IDisposable' content.vb: >- Public Class GameImpl - Inherits MlemGame - Implements IDisposable inheritance: - System.Object @@ -770,7 +768,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DoUpdate path: GameImpl.cs - startLine: 306 + startLine: 305 assemblies: - Tiny Life namespace: TinyLife @@ -807,7 +805,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DoDraw path: GameImpl.cs - startLine: 414 + startLine: 413 assemblies: - Tiny Life namespace: TinyLife @@ -844,7 +842,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Dispose path: GameImpl.cs - startLine: 452 + startLine: 451 assemblies: - Tiny Life namespace: TinyLife @@ -881,7 +879,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InitializeDefaultUiStyle path: GameImpl.cs - startLine: 464 + startLine: 463 assemblies: - Tiny Life namespace: TinyLife @@ -920,7 +918,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsMouseOnUi path: GameImpl.cs - startLine: 473 + startLine: 472 assemblies: - Tiny Life namespace: TinyLife @@ -955,7 +953,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SwitchGameMode path: GameImpl.cs - startLine: 482 + startLine: 481 assemblies: - Tiny Life namespace: TinyLife @@ -991,7 +989,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanBeExtremelyFast path: GameImpl.cs - startLine: 546 + startLine: 545 assemblies: - Tiny Life namespace: TinyLife @@ -1008,37 +1006,34 @@ items: - public modifiers.vb: - Public -- uid: TinyLife.GameImpl.CanSaveOrSwitchModes - commentId: M:TinyLife.GameImpl.CanSaveOrSwitchModes - id: CanSaveOrSwitchModes +- uid: TinyLife.GameImpl.CanSwitchGameModes + commentId: M:TinyLife.GameImpl.CanSwitchGameModes + id: CanSwitchGameModes parent: TinyLife.GameImpl langs: - csharp - vb - name: CanSaveOrSwitchModes() - nameWithType: GameImpl.CanSaveOrSwitchModes() - fullName: TinyLife.GameImpl.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: GameImpl.CanSwitchGameModes() + fullName: TinyLife.GameImpl.CanSwitchGameModes() type: Method source: remote: path: TinyLife/GameImpl.cs branch: master repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: CanSaveOrSwitchModes + id: CanSwitchGameModes path: GameImpl.cs - startLine: 557 + startLine: 551 assemblies: - Tiny Life namespace: TinyLife - summary: "\nReturns whether the game can currently save or if is allowed to be used right now.\nThe return value is influenced by , and .\n" - example: [] syntax: - content: public bool CanSaveOrSwitchModes() + content: public bool CanSwitchGameModes() return: type: System.Boolean - description: Whether we can save or switch modes right now - content.vb: Public Function CanSaveOrSwitchModes As Boolean - overload: TinyLife.GameImpl.CanSaveOrSwitchModes* + content.vb: Public Function CanSwitchGameModes As Boolean + overload: TinyLife.GameImpl.CanSwitchGameModes* modifiers.csharp: - public modifiers.vb: @@ -1061,7 +1056,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FadeKeyboardLighting path: GameImpl.cs - startLine: 574 + startLine: 566 assemblies: - Tiny Life namespace: TinyLife @@ -1097,14 +1092,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TakeScreenshot path: GameImpl.cs - startLine: 598 + startLine: 590 assemblies: - Tiny Life namespace: TinyLife summary: "\nTakes a screenshot and stores it in the default location, using a file name that contains the current date and time\n" example: [] syntax: - content: public void TakeScreenshot(Point size, RectangleF? visibleArea = default(RectangleF? ), Matrix? visibleMatrix = default(Matrix? ), RenderTarget2D lightmap = null) + content: public void TakeScreenshot(Point size, RectangleF? visibleArea = null, Matrix? visibleMatrix = null, RenderTarget2D lightmap = null) parameters: - id: size type: Microsoft.Xna.Framework.Point @@ -2990,48 +2985,11 @@ references: name: CanBeExtremelyFast nameWithType: GameImpl.CanBeExtremelyFast fullName: TinyLife.GameImpl.CanBeExtremelyFast -- uid: TinyLife.GameImpl.SwitchGameMode(TinyLife.GameImpl.GameMode) - commentId: M:TinyLife.GameImpl.SwitchGameMode(TinyLife.GameImpl.GameMode) - isExternal: true -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes - parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() - spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes - - name: ( - nameWithType: ( - fullName: ( - - name: ) - nameWithType: ) - fullName: ) - spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes - - name: ( - nameWithType: ( - fullName: ( - - name: ) - nameWithType: ) - fullName: ) -- uid: TinyLife.Uis.CharacterCreator.CanCloseOrExport - commentId: M:TinyLife.Uis.CharacterCreator.CanCloseOrExport - isExternal: true -- uid: TinyLife.World.Lot.AreRequirementsMet - commentId: M:TinyLife.World.Lot.AreRequirementsMet - isExternal: true -- uid: TinyLife.GameImpl.CanSaveOrSwitchModes* - commentId: Overload:TinyLife.GameImpl.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: GameImpl.CanSaveOrSwitchModes - fullName: TinyLife.GameImpl.CanSaveOrSwitchModes +- uid: TinyLife.GameImpl.CanSwitchGameModes* + commentId: Overload:TinyLife.GameImpl.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: GameImpl.CanSwitchGameModes + fullName: TinyLife.GameImpl.CanSwitchGameModes - uid: TinyLife.Options.KeyboardLighting commentId: F:TinyLife.Options.KeyboardLighting isExternal: true diff --git a/docs/api/TinyLife.Goals.AmountGoal.yml b/docs/api/TinyLife.Goals.AmountGoal.yml index 0d56249..a6af4df 100644 --- a/docs/api/TinyLife.Goals.AmountGoal.yml +++ b/docs/api/TinyLife.Goals.AmountGoal.yml @@ -34,9 +34,7 @@ items: content: 'public class AmountGoal : AutoTriggerGoal, IGenericDataHolder' content.vb: >- Public Class AmountGoal - Inherits AutoTriggerGoal(Of Single) - Implements IGenericDataHolder inheritance: - System.Object @@ -129,11 +127,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns the progress percentage (between 0 and 1) that this goal has\n" example: [] syntax: content: public override float GetProgress() return: type: System.Single + description: The progress percentage content.vb: Public Overrides Function GetProgress As Single overridden: TinyLife.Goals.Goal.GetProgress overload: TinyLife.Goals.AmountGoal.GetProgress* @@ -165,6 +165,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nResets this goal to the default values, which should cause 0 to be returned on \n" example: [] syntax: content: public override void Reset() @@ -199,11 +200,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns a string that is used in a goal set's displayed ui information that determines the progress of this goal.\nBy default, the percentage is displayed as a percentage between 0 and 100.\n" example: [] syntax: content: public override string GetDisplayedProgress() return: type: System.String + description: The displayed goal progress content.vb: Public Overrides Function GetDisplayedProgress As String overridden: TinyLife.Goals.Goal.GetDisplayedProgress overload: TinyLife.Goals.AmountGoal.GetDisplayedProgress* @@ -235,6 +238,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nCauses this auto-triggered goal to be triggered.\nThis method is only called if the is met.\n" example: [] syntax: content: protected override void Trigger(float value) diff --git a/docs/api/TinyLife.Goals.AutoGoalInfo.yml b/docs/api/TinyLife.Goals.AutoGoalInfo.yml index 15ddb3a..b4a97e3 100644 --- a/docs/api/TinyLife.Goals.AutoGoalInfo.yml +++ b/docs/api/TinyLife.Goals.AutoGoalInfo.yml @@ -34,9 +34,7 @@ items: content: 'public class AutoGoalInfo : GoalInfo, IGenericDataHolder' content.vb: >- Public Class AutoGoalInfo - Inherits GoalInfo - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.Goals.AutoTriggerGoal-1.yml b/docs/api/TinyLife.Goals.AutoTriggerGoal-1.yml index e24801f..bfe23dd 100644 --- a/docs/api/TinyLife.Goals.AutoTriggerGoal-1.yml +++ b/docs/api/TinyLife.Goals.AutoTriggerGoal-1.yml @@ -38,9 +38,7 @@ items: description: The type of value that the auto-triggered goal consumes content.vb: >- Public MustInherit Class AutoTriggerGoal(Of T) - Inherits Goal - Implements IGenericDataHolder inheritance: - System.Object @@ -218,14 +216,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nValidates this goal when loading the underlying from disk\n" example: [] syntax: content: public override bool Validate(GoalSet set) parameters: - id: set type: TinyLife.Goals.GoalSet + description: The underlying goal set return: type: System.Boolean + description: Whether this goal is considered to be valid content.vb: Public Overrides Function Validate(set As GoalSet) As Boolean overridden: TinyLife.Goals.Goal.Validate(TinyLife.Goals.GoalSet) overload: TinyLife.Goals.AutoTriggerGoal`1.Validate* diff --git a/docs/api/TinyLife.Goals.ConditionedGoal.yml b/docs/api/TinyLife.Goals.ConditionedGoal.yml index 4edf025..6dfda8a 100644 --- a/docs/api/TinyLife.Goals.ConditionedGoal.yml +++ b/docs/api/TinyLife.Goals.ConditionedGoal.yml @@ -34,9 +34,7 @@ items: content: 'public class ConditionedGoal : AutoTriggerGoal, IGenericDataHolder' content.vb: >- Public Class ConditionedGoal - Inherits AutoTriggerGoal(Of Boolean) - Implements IGenericDataHolder inheritance: - System.Object @@ -129,11 +127,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns the progress percentage (between 0 and 1) that this goal has\n" example: [] syntax: content: public override float GetProgress() return: type: System.Single + description: The progress percentage content.vb: Public Overrides Function GetProgress As Single overridden: TinyLife.Goals.Goal.GetProgress overload: TinyLife.Goals.ConditionedGoal.GetProgress* @@ -165,6 +165,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nResets this goal to the default values, which should cause 0 to be returned on \n" example: [] syntax: content: public override void Reset() @@ -199,11 +200,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns a string that is used in a goal set's displayed ui information that determines the progress of this goal.\nBy default, the percentage is displayed as a percentage between 0 and 100.\n" example: [] syntax: content: public override string GetDisplayedProgress() return: type: System.String + description: The displayed goal progress content.vb: Public Overrides Function GetDisplayedProgress As String overridden: TinyLife.Goals.Goal.GetDisplayedProgress overload: TinyLife.Goals.ConditionedGoal.GetDisplayedProgress* @@ -235,6 +238,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nCauses this auto-triggered goal to be triggered.\nThis method is only called if the is met.\n" example: [] syntax: content: protected override void Trigger(bool value) diff --git a/docs/api/TinyLife.Goals.DistinctGoal.yml b/docs/api/TinyLife.Goals.DistinctGoal.yml index 8e0facd..8a429c8 100644 --- a/docs/api/TinyLife.Goals.DistinctGoal.yml +++ b/docs/api/TinyLife.Goals.DistinctGoal.yml @@ -35,9 +35,7 @@ items: content: 'public class DistinctGoal : AutoTriggerGoal, IGenericDataHolder' content.vb: >- Public Class DistinctGoal - Inherits AutoTriggerGoal(Of Object) - Implements IGenericDataHolder inheritance: - System.Object @@ -129,11 +127,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns the progress percentage (between 0 and 1) that this goal has\n" example: [] syntax: content: public override float GetProgress() return: type: System.Single + description: The progress percentage content.vb: Public Overrides Function GetProgress As Single overridden: TinyLife.Goals.Goal.GetProgress overload: TinyLife.Goals.DistinctGoal.GetProgress* @@ -165,6 +165,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nResets this goal to the default values, which should cause 0 to be returned on \n" example: [] syntax: content: public override void Reset() @@ -199,11 +200,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns a string that is used in a goal set's displayed ui information that determines the progress of this goal.\nBy default, the percentage is displayed as a percentage between 0 and 100.\n" example: [] syntax: content: public override string GetDisplayedProgress() return: type: System.String + description: The displayed goal progress content.vb: Public Overrides Function GetDisplayedProgress As String overridden: TinyLife.Goals.Goal.GetDisplayedProgress overload: TinyLife.Goals.DistinctGoal.GetDisplayedProgress* @@ -235,14 +238,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nValidates this goal when loading the underlying from disk\n" example: [] syntax: content: public override bool Validate(GoalSet set) parameters: - id: set type: TinyLife.Goals.GoalSet + description: The underlying goal set return: type: System.Boolean + description: Whether this goal is considered to be valid content.vb: Public Overrides Function Validate(set As GoalSet) As Boolean overridden: TinyLife.Goals.AutoTriggerGoal{System.Object}.Validate(TinyLife.Goals.GoalSet) overload: TinyLife.Goals.DistinctGoal.Validate* @@ -274,6 +280,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nCauses this auto-triggered goal to be triggered.\nThis method is only called if the is met.\n" example: [] syntax: content: protected override void Trigger(object value) diff --git a/docs/api/TinyLife.Goals.Goal.yml b/docs/api/TinyLife.Goals.Goal.yml index 450078a..dc177d6 100644 --- a/docs/api/TinyLife.Goals.Goal.yml +++ b/docs/api/TinyLife.Goals.Goal.yml @@ -42,9 +42,7 @@ items: Public MustInherit Class Goal - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.Goals.GoalInfo.yml b/docs/api/TinyLife.Goals.GoalInfo.yml index 39e8480..2d66f84 100644 --- a/docs/api/TinyLife.Goals.GoalInfo.yml +++ b/docs/api/TinyLife.Goals.GoalInfo.yml @@ -32,9 +32,7 @@ items: content: 'public class GoalInfo : GenericDataHolder, IGenericDataHolder' content.vb: >- Public Class GoalInfo - Inherits GenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.Goals.GoalSet.yml b/docs/api/TinyLife.Goals.GoalSet.yml index a71b42b..385512f 100644 --- a/docs/api/TinyLife.Goals.GoalSet.yml +++ b/docs/api/TinyLife.Goals.GoalSet.yml @@ -45,9 +45,7 @@ items: Public Class GoalSet - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object @@ -319,7 +317,6 @@ items: syntax: content: >- public IEnumerable GetGoals() - where T : Goal typeParameters: - id: T @@ -363,7 +360,6 @@ items: syntax: content: >- public T GetGoal(string name) - where T : Goal parameters: - id: name @@ -411,7 +407,6 @@ items: syntax: content: >- public T GetGoal() - where T : Goal typeParameters: - id: T diff --git a/docs/api/TinyLife.Goals.GoalSetInfo.yml b/docs/api/TinyLife.Goals.GoalSetInfo.yml index 390df9d..435f7c6 100644 --- a/docs/api/TinyLife.Goals.GoalSetInfo.yml +++ b/docs/api/TinyLife.Goals.GoalSetInfo.yml @@ -32,9 +32,7 @@ items: content: 'public class GoalSetInfo : GenericDataHolder, IGenericDataHolder' content.vb: >- Public Class GoalSetInfo - Inherits GenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.Goals.Job.yml b/docs/api/TinyLife.Goals.Job.yml index aabb377..b108274 100644 --- a/docs/api/TinyLife.Goals.Job.yml +++ b/docs/api/TinyLife.Goals.Job.yml @@ -46,9 +46,7 @@ items: Public Class Job - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.Goals.JobType.yml b/docs/api/TinyLife.Goals.JobType.yml index 184865a..530d0dd 100644 --- a/docs/api/TinyLife.Goals.JobType.yml +++ b/docs/api/TinyLife.Goals.JobType.yml @@ -26,6 +26,7 @@ items: - TinyLife.Goals.JobType.Register(TinyLife.Goals.JobType) - TinyLife.Goals.JobType.RequiredAges - TinyLife.Goals.JobType.RequiredPromotionSkills + - TinyLife.Goals.JobType.SourceString - TinyLife.Goals.JobType.ToScheduleString - TinyLife.Goals.JobType.Types - TinyLife.Goals.JobType.WorkHours @@ -53,15 +54,13 @@ items: content: >- [JsonConverter(typeof(StaticJsonConverter), new object[]{typeof(JobType), "PrivateTypes"})] - public class JobType : GenericDataHolder, IGenericDataHolder + public class JobType : GenericDataHolder, IGenericDataHolder, IEmotionSource content.vb: >- Public Class JobType - Inherits GenericDataHolder - - Implements IGenericDataHolder + Implements IGenericDataHolder, IEmotionSource inheritance: - System.Object - MLEM.Misc.GenericDataHolder @@ -69,6 +68,7 @@ items: - TinyLife.Goals.StudentJobType implements: - MLEM.Misc.IGenericDataHolder + - TinyLife.Emotions.IEmotionSource inheritedMembers: - MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object) - MLEM.Misc.GenericDataHolder.GetData``1(System.String) @@ -524,6 +524,45 @@ items: - set modifiers.vb: - Public +- uid: TinyLife.Goals.JobType.SourceString + commentId: P:TinyLife.Goals.JobType.SourceString + id: SourceString + parent: TinyLife.Goals.JobType + langs: + - csharp + - vb + name: SourceString + nameWithType: JobType.SourceString + fullName: TinyLife.Goals.JobType.SourceString + type: Property + source: + remote: + path: TinyLife/Goals/JobType.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: SourceString + path: Goals/JobType.cs + startLine: 123 + assemblies: + - Tiny Life + namespace: TinyLife.Goals + summary: "\nA (localized) string that is displayed when hovering over an that has this source\n" + example: [] + syntax: + content: public string SourceString { get; } + parameters: [] + return: + type: System.String + content.vb: Public ReadOnly Property SourceString As String + overload: TinyLife.Goals.JobType.SourceString* + implements: + - TinyLife.Emotions.IEmotionSource.SourceString + modifiers.csharp: + - public + - get + modifiers.vb: + - Public + - ReadOnly - uid: TinyLife.Goals.JobType.#ctor(System.String,System.Single,MonoGame.Extended.Range{System.Int32},System.DayOfWeek[]) commentId: M:TinyLife.Goals.JobType.#ctor(System.String,System.Single,MonoGame.Extended.Range{System.Int32},System.DayOfWeek[]) id: '#ctor(System.String,System.Single,MonoGame.Extended.Range{System.Int32},System.DayOfWeek[])' @@ -542,7 +581,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Goals/JobType.cs - startLine: 130 + startLine: 132 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -590,7 +629,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Construct path: Goals/JobType.cs - startLine: 143 + startLine: 145 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -632,14 +671,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsTimeToWork path: Goals/JobType.cs - startLine: 153 + startLine: 155 assemblies: - Tiny Life namespace: TinyLife.Goals summary: "\nReturns whether the given time (or the game's current time) is in the bounds of and outside of the bounds of .\nIf this method returns true, can be started.\n" example: [] syntax: - content: public virtual bool IsTimeToWork(TimeSpan? time = default(TimeSpan? )) + content: public virtual bool IsTimeToWork(TimeSpan? time = null) parameters: - id: time type: System.Nullable{System.TimeSpan} @@ -676,7 +715,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToScheduleString path: Goals/JobType.cs - startLine: 163 + startLine: 165 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -713,14 +752,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDisplayName path: Goals/JobType.cs - startLine: 177 + startLine: 179 assemblies: - Tiny Life namespace: TinyLife.Goals summary: "\nReturns the display name of this , based on the given level.\nIf no level is given, the job's regular name, without the level-based suffix, is returned.\n" example: [] syntax: - content: public virtual string GetDisplayName(int? level = default(int? )) + content: public virtual string GetDisplayName(int? level = null) parameters: - id: level type: System.Nullable{System.Int32} @@ -757,7 +796,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRequiredPromotionSkills path: Goals/JobType.cs - startLine: 189 + startLine: 191 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -798,7 +837,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnWorkStartsInAnHour path: Goals/JobType.cs - startLine: 204 + startLine: 206 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -836,7 +875,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnWorkHoursOver path: Goals/JobType.cs - startLine: 215 + startLine: 217 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -874,7 +913,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnWorkFinished path: Goals/JobType.cs - startLine: 225 + startLine: 227 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -915,7 +954,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnWorkStarted path: Goals/JobType.cs - startLine: 236 + startLine: 238 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -956,7 +995,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnLevelChanged path: Goals/JobType.cs - startLine: 244 + startLine: 246 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -997,7 +1036,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: Goals/JobType.cs - startLine: 257 + startLine: 259 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -1088,6 +1127,12 @@ references: name: IGenericDataHolder nameWithType: IGenericDataHolder fullName: MLEM.Misc.IGenericDataHolder +- uid: TinyLife.Emotions.IEmotionSource + commentId: T:TinyLife.Emotions.IEmotionSource + parent: TinyLife.Emotions + name: IEmotionSource + nameWithType: IEmotionSource + fullName: TinyLife.Emotions.IEmotionSource - uid: MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object) commentId: M:MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object) parent: MLEM.Misc.GenericDataHolder @@ -1549,6 +1594,11 @@ references: name: MLEM.Misc nameWithType: MLEM.Misc fullName: MLEM.Misc +- uid: TinyLife.Emotions + commentId: N:TinyLife.Emotions + name: TinyLife.Emotions + nameWithType: TinyLife.Emotions + fullName: TinyLife.Emotions - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) name: JsonCopy(T) @@ -2016,6 +2066,17 @@ references: name: DailyTaskImportance nameWithType: JobType.DailyTaskImportance fullName: TinyLife.Goals.JobType.DailyTaskImportance +- uid: TinyLife.Goals.JobType.SourceString* + commentId: Overload:TinyLife.Goals.JobType.SourceString + name: SourceString + nameWithType: JobType.SourceString + fullName: TinyLife.Goals.JobType.SourceString +- uid: TinyLife.Emotions.IEmotionSource.SourceString + commentId: P:TinyLife.Emotions.IEmotionSource.SourceString + parent: TinyLife.Emotions.IEmotionSource + name: SourceString + nameWithType: IEmotionSource.SourceString + fullName: TinyLife.Emotions.IEmotionSource.SourceString - uid: TinyLife.Goals.JobType.#ctor* commentId: Overload:TinyLife.Goals.JobType.#ctor name: JobType diff --git a/docs/api/TinyLife.Goals.ManualProgressGoal.yml b/docs/api/TinyLife.Goals.ManualProgressGoal.yml index 8bb1307..19ae50b 100644 --- a/docs/api/TinyLife.Goals.ManualProgressGoal.yml +++ b/docs/api/TinyLife.Goals.ManualProgressGoal.yml @@ -33,9 +33,7 @@ items: content: 'public class ManualProgressGoal : Goal, IGenericDataHolder' content.vb: >- Public Class ManualProgressGoal - Inherits Goal - Implements IGenericDataHolder inheritance: - System.Object @@ -89,14 +87,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nCreates a new goal with the given settings\n" example: [] syntax: content: public ManualProgressGoal(GoalSet set, GoalInfo info) parameters: - id: set type: TinyLife.Goals.GoalSet + description: The goal set that this goal is a part of - id: info type: TinyLife.Goals.GoalInfo + description: The underlying goal info that this goal has been constructed from content.vb: Public Sub New(set As GoalSet, info As GoalInfo) overload: TinyLife.Goals.ManualProgressGoal.#ctor* modifiers.csharp: @@ -125,11 +126,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns the progress percentage (between 0 and 1) that this goal has\n" example: [] syntax: content: public override float GetProgress() return: type: System.Single + description: The progress percentage content.vb: Public Overrides Function GetProgress As Single overridden: TinyLife.Goals.Goal.GetProgress overload: TinyLife.Goals.ManualProgressGoal.GetProgress* @@ -161,6 +164,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nResets this goal to the default values, which should cause 0 to be returned on \n" example: [] syntax: content: public override void Reset() diff --git a/docs/api/TinyLife.Goals.Project.ActionSettings.yml b/docs/api/TinyLife.Goals.Project.ActionSettings.yml index d5bebce..d059ddb 100644 --- a/docs/api/TinyLife.Goals.Project.ActionSettings.yml +++ b/docs/api/TinyLife.Goals.Project.ActionSettings.yml @@ -31,7 +31,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ActionSettings path: Goals/Project.cs - startLine: 205 + startLine: 212 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -73,7 +73,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: Goals/Project.cs - startLine: 210 + startLine: 217 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -106,7 +106,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Context path: Goals/Project.cs - startLine: 214 + startLine: 221 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -139,7 +139,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Type path: Goals/Project.cs - startLine: 218 + startLine: 225 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -172,11 +172,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ConstructedType path: Goals/Project.cs - startLine: 222 + startLine: 230 assemblies: - Tiny Life namespace: TinyLife.Goals - summary: "\nThe function that is executed to construct the start and continue actions\n" + summary: "\nThe function that is executed to construct the start and continue actions.\nThe project that should be used for a given action instance can be retrieved via via the variety's .\n" example: [] syntax: content: public Type ConstructedType @@ -205,11 +205,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ConstructedTypeScrap path: Goals/Project.cs - startLine: 227 + startLine: 236 assemblies: - Tiny Life namespace: TinyLife.Goals - summary: "\nThe function that is used to construct the scrap action.\nIf this is null, projects will not be scrappable using these actions.\n" + summary: "\nThe function that is used to construct the scrap action.\nIf this is null, projects will not be scrappable using these actions.\nThe project that should be used for a given action instance can be retrieved via via the variety's .\n" example: [] syntax: content: public Type ConstructedTypeScrap @@ -238,7 +238,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanExecute path: Goals/Project.cs - startLine: 231 + startLine: 240 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -271,7 +271,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredSkill path: Goals/Project.cs - startLine: 237 + startLine: 246 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -304,7 +304,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredAges path: Goals/Project.cs - startLine: 242 + startLine: 251 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -337,11 +337,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ProjectDisplayName path: Goals/Project.cs - startLine: 247 + startLine: 256 assemblies: - Tiny Life namespace: TinyLife.Goals - summary: "\nA function that determines the display name for a given project.\nIf this is null, the project's is displayed.\n" + summary: "\nA function that determines the display name for a given project.\nIf this is null, the project's is displayed along with its doneness percentage.\n" example: [] syntax: content: public Func ProjectDisplayName @@ -370,11 +370,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanContinue path: Goals/Project.cs - startLine: 251 + startLine: 261 assemblies: - Tiny Life namespace: TinyLife.Goals - summary: "\nA function that determines whether the given project can be continued\n" + summary: "\nA function that determines whether the given project can be continued.\nBy default, this function returns true for a project whose is less than 100.\n" example: [] syntax: content: public Predicate CanContinue @@ -403,11 +403,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IncludeProject path: Goals/Project.cs - startLine: 255 + startLine: 266 assemblies: - Tiny Life namespace: TinyLife.Goals - summary: "\nA function that determines whether the given project should be included as an action variety or whether it should be ignored\n" + summary: "\nA function that determines whether the given project should be included as an action variety or whether it should be ignored.\nBy default, this function returns true for a project whose is less than or equal to 0.\n" example: [] syntax: content: public Predicate IncludeProject @@ -436,7 +436,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Goals/Project.cs - startLine: 264 + startLine: 275 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -840,6 +840,45 @@ references: - uid: TinyLife.Goals.Project.Type commentId: F:TinyLife.Goals.Project.Type isExternal: true +- uid: TinyLife.Actions.Action.ApplyVariety(TinyLife.Actions.ActionVariety) + commentId: M:TinyLife.Actions.Action.ApplyVariety(TinyLife.Actions.ActionVariety) + parent: TinyLife.Actions.Action + name: ApplyVariety(ActionVariety) + nameWithType: Action.ApplyVariety(ActionVariety) + fullName: TinyLife.Actions.Action.ApplyVariety(TinyLife.Actions.ActionVariety) + spec.csharp: + - uid: TinyLife.Actions.Action.ApplyVariety(TinyLife.Actions.ActionVariety) + name: ApplyVariety + nameWithType: Action.ApplyVariety + fullName: TinyLife.Actions.Action.ApplyVariety + - name: ( + nameWithType: ( + fullName: ( + - uid: TinyLife.Actions.ActionVariety + name: ActionVariety + nameWithType: ActionVariety + fullName: TinyLife.Actions.ActionVariety + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Actions.Action.ApplyVariety(TinyLife.Actions.ActionVariety) + name: ApplyVariety + nameWithType: Action.ApplyVariety + fullName: TinyLife.Actions.Action.ApplyVariety + - name: ( + nameWithType: ( + fullName: ( + - uid: TinyLife.Actions.ActionVariety + name: ActionVariety + nameWithType: ActionVariety + fullName: TinyLife.Actions.ActionVariety + - name: ) + nameWithType: ) + fullName: ) +- uid: TinyLife.Actions.ActionVariety.Name + commentId: F:TinyLife.Actions.ActionVariety.Name + isExternal: true - uid: System.Type commentId: T:System.Type parent: System @@ -847,17 +886,23 @@ references: name: Type nameWithType: Type fullName: System.Type +- uid: TinyLife.Actions.Action + commentId: T:TinyLife.Actions.Action + parent: TinyLife.Actions + name: Action + nameWithType: Action + fullName: TinyLife.Actions.Action +- uid: TinyLife.Actions + commentId: N:TinyLife.Actions + name: TinyLife.Actions + nameWithType: TinyLife.Actions + fullName: TinyLife.Actions - uid: TinyLife.Actions.ActionType.CanExecuteDelegate commentId: T:TinyLife.Actions.ActionType.CanExecuteDelegate parent: TinyLife.Actions name: ActionType.CanExecuteDelegate nameWithType: ActionType.CanExecuteDelegate fullName: TinyLife.Actions.ActionType.CanExecuteDelegate -- uid: TinyLife.Actions - commentId: N:TinyLife.Actions - name: TinyLife.Actions - nameWithType: TinyLife.Actions - fullName: TinyLife.Actions - uid: TinyLife.Skills.SkillType commentId: T:TinyLife.Skills.SkillType parent: TinyLife.Skills @@ -1099,6 +1144,9 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Goals.Project.Progress + commentId: P:TinyLife.Goals.Project.Progress + isExternal: true - uid: System.Predicate{TinyLife.Goals.Project} commentId: T:System.Predicate{TinyLife.Goals.Project} parent: System @@ -1180,6 +1228,9 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Goals.Project.DailyPay + commentId: P:TinyLife.Goals.Project.DailyPay + isExternal: true - uid: TinyLife.Goals.Project.ActionSettings.#ctor* commentId: Overload:TinyLife.Goals.Project.ActionSettings.#ctor name: ActionSettings diff --git a/docs/api/TinyLife.Goals.Project.yml b/docs/api/TinyLife.Goals.Project.yml index 020a4d6..b85ce41 100644 --- a/docs/api/TinyLife.Goals.Project.yml +++ b/docs/api/TinyLife.Goals.Project.yml @@ -9,10 +9,12 @@ items: - TinyLife.Goals.Project.CreateActions(TinyLife.Goals.Project.ActionSettings) - TinyLife.Goals.Project.DailyPay - TinyLife.Goals.Project.DailyPayReductionFactor - - TinyLife.Goals.Project.GetAndReduceDailyPay - TinyLife.Goals.Project.GetVarieties(TinyLife.Actions.ActionInfo,System.String,System.Predicate{TinyLife.Goals.Project},System.Func{TinyLife.Goals.Project,System.String}) - TinyLife.Goals.Project.MakeProgress(System.Single,System.Single,TinyLife.Actions.ActionInfo,TinyLife.Skills.SkillType,System.Single) - TinyLife.Goals.Project.Name + - TinyLife.Goals.Project.OnNewDay + - TinyLife.Goals.Project.OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.Action{System.String},System.String) + - TinyLife.Goals.Project.OpenScrapPrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.String,System.Action) - TinyLife.Goals.Project.Person - TinyLife.Goals.Project.Progress - TinyLife.Goals.Project.Quality @@ -34,7 +36,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Project path: Goals/Project.cs - startLine: 20 + startLine: 21 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -49,9 +51,7 @@ items: Public Class Project - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object @@ -99,7 +99,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Type path: Goals/Project.cs - startLine: 28 + startLine: 29 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -144,7 +144,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: Goals/Project.cs - startLine: 33 + startLine: 34 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -189,7 +189,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Quality path: Goals/Project.cs - startLine: 38 + startLine: 39 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -236,7 +236,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Progress path: Goals/Project.cs - startLine: 43 + startLine: 44 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -285,7 +285,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DailyPay path: Goals/Project.cs - startLine: 49 + startLine: 50 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -338,7 +338,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DailyPayReductionFactor path: Goals/Project.cs - startLine: 55 + startLine: 56 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -391,7 +391,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Person path: Goals/Project.cs - startLine: 60 + startLine: 61 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -430,7 +430,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Goals/Project.cs - startLine: 68 + startLine: 69 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -472,7 +472,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: Goals/Project.cs - startLine: 79 + startLine: 80 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -513,7 +513,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MakeProgress path: Goals/Project.cs - startLine: 92 + startLine: 93 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -563,7 +563,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Remove path: Goals/Project.cs - startLine: 99 + startLine: 100 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -579,37 +579,32 @@ items: modifiers.vb: - Public - Overridable -- uid: TinyLife.Goals.Project.GetAndReduceDailyPay - commentId: M:TinyLife.Goals.Project.GetAndReduceDailyPay - id: GetAndReduceDailyPay +- uid: TinyLife.Goals.Project.OnNewDay + commentId: M:TinyLife.Goals.Project.OnNewDay + id: OnNewDay parent: TinyLife.Goals.Project langs: - csharp - vb - name: GetAndReduceDailyPay() - nameWithType: Project.GetAndReduceDailyPay() - fullName: TinyLife.Goals.Project.GetAndReduceDailyPay() + name: OnNewDay() + nameWithType: Project.OnNewDay() + fullName: TinyLife.Goals.Project.OnNewDay() type: Method source: remote: path: TinyLife/Goals/Project.cs branch: master repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: GetAndReduceDailyPay + id: OnNewDay path: Goals/Project.cs - startLine: 109 + startLine: 104 assemblies: - Tiny Life namespace: TinyLife.Goals - summary: "\nReturns the value of this project and reduces it by the .\nBy default, this method also s this project if the daily pay reached 0.\nIn essence, this method causes one day to pass in the project's eyes.\n" - example: [] syntax: - content: public virtual float GetAndReduceDailyPay() - return: - type: System.Single - description: The daily pay - content.vb: Public Overridable Function GetAndReduceDailyPay As Single - overload: TinyLife.Goals.Project.GetAndReduceDailyPay* + content: public virtual void OnNewDay() + content.vb: Public Overridable Sub OnNewDay + overload: TinyLife.Goals.Project.OnNewDay* modifiers.csharp: - public - virtual @@ -634,7 +629,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetDailyPay path: Goals/Project.cs - startLine: 124 + startLine: 117 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -676,22 +671,22 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CreateActions path: Goals/Project.cs - startLine: 139 + startLine: 132 assemblies: - Tiny Life namespace: TinyLife.Goals summary: "\nCreates a set of action settings (which can be registered using ) that involve creating, continuing and scrapping projects of a specified type.\nIt is recommended to use the provided non-default constructor of for this method.\n" example: [] syntax: - content: public static ICollection CreateActions(Project.ActionSettings settings) + content: public static IEnumerable CreateActions(Project.ActionSettings settings) parameters: - id: settings type: TinyLife.Goals.Project.ActionSettings description: The action settings return: - type: System.Collections.Generic.ICollection{TinyLife.Actions.ActionType.TypeSettings} + type: System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionType.TypeSettings} description: A set of type settings for a start, continue and scrap action - content.vb: Public Shared Function CreateActions(settings As Project.ActionSettings) As ICollection(Of ActionType.TypeSettings) + content.vb: Public Shared Function CreateActions(settings As Project.ActionSettings) As IEnumerable(Of ActionType.TypeSettings) overload: TinyLife.Goals.Project.CreateActions* modifiers.csharp: - public @@ -717,7 +712,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetVarieties path: Goals/Project.cs - startLine: 176 + startLine: 169 assemblies: - Tiny Life namespace: TinyLife.Goals @@ -752,6 +747,91 @@ items: - Shared fullName.vb: TinyLife.Goals.Project.GetVarieties(TinyLife.Actions.ActionInfo, System.String, System.Predicate(Of TinyLife.Goals.Project), System.Func(Of TinyLife.Goals.Project, System.String)) name.vb: GetVarieties(ActionInfo, String, Predicate(Of Project), Func(Of Project, String)) +- uid: TinyLife.Goals.Project.OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.Action{System.String},System.String) + commentId: M:TinyLife.Goals.Project.OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.Action{System.String},System.String) + id: OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.Action{System.String},System.String) + parent: TinyLife.Goals.Project + langs: + - csharp + - vb + name: OpenNamePrompt(TypelessAction, String, Action, String) + nameWithType: Project.OpenNamePrompt(TypelessAction, String, Action, String) + fullName: TinyLife.Goals.Project.OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction, System.String, System.Action, System.String) + type: Method + source: + remote: + path: TinyLife/Goals/Project.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OpenNamePrompt + path: Goals/Project.cs + startLine: 175 + assemblies: + - Tiny Life + namespace: TinyLife.Goals + syntax: + content: public static void OpenNamePrompt(TypelessAction action, string type, Action onNameChosen, string defaultName = null) + parameters: + - id: action + type: TinyLife.Actions.Typeless.TypelessAction + - id: type + type: System.String + - id: onNameChosen + type: System.Action{System.String} + - id: defaultName + type: System.String + content.vb: Public Shared Sub OpenNamePrompt(action As TypelessAction, type As String, onNameChosen As Action(Of String), defaultName As String = Nothing) + overload: TinyLife.Goals.Project.OpenNamePrompt* + nameWithType.vb: Project.OpenNamePrompt(TypelessAction, String, Action(Of String), String) + modifiers.csharp: + - public + - static + modifiers.vb: + - Public + - Shared + fullName.vb: TinyLife.Goals.Project.OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction, System.String, System.Action(Of System.String), System.String) + name.vb: OpenNamePrompt(TypelessAction, String, Action(Of String), String) +- uid: TinyLife.Goals.Project.OpenScrapPrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.String,System.Action) + commentId: M:TinyLife.Goals.Project.OpenScrapPrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.String,System.Action) + id: OpenScrapPrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.String,System.Action) + parent: TinyLife.Goals.Project + langs: + - csharp + - vb + name: OpenScrapPrompt(TypelessAction, String, String, Action) + nameWithType: Project.OpenScrapPrompt(TypelessAction, String, String, Action) + fullName: TinyLife.Goals.Project.OpenScrapPrompt(TinyLife.Actions.Typeless.TypelessAction, System.String, System.String, System.Action) + type: Method + source: + remote: + path: TinyLife/Goals/Project.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OpenScrapPrompt + path: Goals/Project.cs + startLine: 182 + assemblies: + - Tiny Life + namespace: TinyLife.Goals + syntax: + content: public static void OpenScrapPrompt(TypelessAction action, string type, string name, Action onScrapped = null) + parameters: + - id: action + type: TinyLife.Actions.Typeless.TypelessAction + - id: type + type: System.String + - id: name + type: System.String + - id: onScrapped + type: System.Action + content.vb: Public Shared Sub OpenScrapPrompt(action As TypelessAction, type As String, name As String, onScrapped As Action = Nothing) + overload: TinyLife.Goals.Project.OpenScrapPrompt* + modifiers.csharp: + - public + - static + modifiers.vb: + - Public + - Shared references: - uid: TinyLife.Goals.Project.Person commentId: P:TinyLife.Goals.Project.Person @@ -1580,14 +1660,11 @@ references: name: Remove nameWithType: Project.Remove fullName: TinyLife.Goals.Project.Remove -- uid: TinyLife.Goals.Project.Remove - commentId: M:TinyLife.Goals.Project.Remove - isExternal: true -- uid: TinyLife.Goals.Project.GetAndReduceDailyPay* - commentId: Overload:TinyLife.Goals.Project.GetAndReduceDailyPay - name: GetAndReduceDailyPay - nameWithType: Project.GetAndReduceDailyPay - fullName: TinyLife.Goals.Project.GetAndReduceDailyPay +- uid: TinyLife.Goals.Project.OnNewDay* + commentId: Overload:TinyLife.Goals.Project.OnNewDay + name: OnNewDay + nameWithType: Project.OnNewDay + fullName: TinyLife.Goals.Project.OnNewDay - uid: TinyLife.Goals.Project.Quality commentId: F:TinyLife.Goals.Project.Quality isExternal: true @@ -1610,21 +1687,21 @@ references: name: CreateActions nameWithType: Project.CreateActions fullName: TinyLife.Goals.Project.CreateActions -- uid: System.Collections.Generic.ICollection{TinyLife.Actions.ActionType.TypeSettings} - commentId: T:System.Collections.Generic.ICollection{TinyLife.Actions.ActionType.TypeSettings} +- uid: System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionType.TypeSettings} + commentId: T:System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionType.TypeSettings} parent: System.Collections.Generic - definition: System.Collections.Generic.ICollection`1 - name: ICollection - nameWithType: ICollection - fullName: System.Collections.Generic.ICollection - nameWithType.vb: ICollection(Of ActionType.TypeSettings) - fullName.vb: System.Collections.Generic.ICollection(Of TinyLife.Actions.ActionType.TypeSettings) - name.vb: ICollection(Of ActionType.TypeSettings) + definition: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + nameWithType.vb: IEnumerable(Of ActionType.TypeSettings) + fullName.vb: System.Collections.Generic.IEnumerable(Of TinyLife.Actions.ActionType.TypeSettings) + name.vb: IEnumerable(Of ActionType.TypeSettings) spec.csharp: - - uid: System.Collections.Generic.ICollection`1 - name: ICollection - nameWithType: ICollection - fullName: System.Collections.Generic.ICollection + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable isExternal: true - name: < nameWithType: < @@ -1637,10 +1714,10 @@ references: nameWithType: '>' fullName: '>' spec.vb: - - uid: System.Collections.Generic.ICollection`1 - name: ICollection - nameWithType: ICollection - fullName: System.Collections.Generic.ICollection + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable isExternal: true - name: '(Of ' nameWithType: '(Of ' @@ -1652,20 +1729,20 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Collections.Generic.ICollection`1 - commentId: T:System.Collections.Generic.ICollection`1 +- uid: System.Collections.Generic.IEnumerable`1 + commentId: T:System.Collections.Generic.IEnumerable`1 isExternal: true - name: ICollection - nameWithType: ICollection - fullName: System.Collections.Generic.ICollection - nameWithType.vb: ICollection(Of T) - fullName.vb: System.Collections.Generic.ICollection(Of T) - name.vb: ICollection(Of T) + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + nameWithType.vb: IEnumerable(Of T) + fullName.vb: System.Collections.Generic.IEnumerable(Of T) + name.vb: IEnumerable(Of T) spec.csharp: - - uid: System.Collections.Generic.ICollection`1 - name: ICollection - nameWithType: ICollection - fullName: System.Collections.Generic.ICollection + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable isExternal: true - name: < nameWithType: < @@ -1677,10 +1754,10 @@ references: nameWithType: '>' fullName: '>' spec.vb: - - uid: System.Collections.Generic.ICollection`1 - name: ICollection - nameWithType: ICollection - fullName: System.Collections.Generic.ICollection + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable isExternal: true - name: '(Of ' nameWithType: '(Of ' @@ -1940,20 +2017,69 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: System.Collections.Generic.IEnumerable`1 - commentId: T:System.Collections.Generic.IEnumerable`1 - isExternal: true - name: IEnumerable - nameWithType: IEnumerable - fullName: System.Collections.Generic.IEnumerable - nameWithType.vb: IEnumerable(Of T) - fullName.vb: System.Collections.Generic.IEnumerable(Of T) - name.vb: IEnumerable(Of T) +- uid: TinyLife.Goals.Project.OpenNamePrompt* + commentId: Overload:TinyLife.Goals.Project.OpenNamePrompt + name: OpenNamePrompt + nameWithType: Project.OpenNamePrompt + fullName: TinyLife.Goals.Project.OpenNamePrompt +- uid: System.Action{System.String} + commentId: T:System.Action{System.String} + parent: System + definition: System.Action`1 + name: Action + nameWithType: Action + fullName: System.Action + nameWithType.vb: Action(Of String) + fullName.vb: System.Action(Of System.String) + name.vb: Action(Of String) spec.csharp: - - uid: System.Collections.Generic.IEnumerable`1 - name: IEnumerable - nameWithType: IEnumerable - fullName: System.Collections.Generic.IEnumerable + - uid: System.Action`1 + name: Action + nameWithType: Action + fullName: System.Action + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Action`1 + name: Action + nameWithType: Action + fullName: System.Action + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Action`1 + commentId: T:System.Action`1 + isExternal: true + name: Action + nameWithType: Action + fullName: System.Action + nameWithType.vb: Action(Of T) + fullName.vb: System.Action(Of T) + name.vb: Action(Of T) + spec.csharp: + - uid: System.Action`1 + name: Action + nameWithType: Action + fullName: System.Action isExternal: true - name: < nameWithType: < @@ -1965,10 +2091,10 @@ references: nameWithType: '>' fullName: '>' spec.vb: - - uid: System.Collections.Generic.IEnumerable`1 - name: IEnumerable - nameWithType: IEnumerable - fullName: System.Collections.Generic.IEnumerable + - uid: System.Action`1 + name: Action + nameWithType: Action + fullName: System.Action isExternal: true - name: '(Of ' nameWithType: '(Of ' @@ -1979,3 +2105,15 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Goals.Project.OpenScrapPrompt* + commentId: Overload:TinyLife.Goals.Project.OpenScrapPrompt + name: OpenScrapPrompt + nameWithType: Project.OpenScrapPrompt + fullName: TinyLife.Goals.Project.OpenScrapPrompt +- uid: System.Action + commentId: T:System.Action + parent: System + isExternal: true + name: Action + nameWithType: Action + fullName: System.Action diff --git a/docs/api/TinyLife.Goals.StudentJobType.yml b/docs/api/TinyLife.Goals.StudentJobType.yml index 8bdd0ed..2df3772 100644 --- a/docs/api/TinyLife.Goals.StudentJobType.yml +++ b/docs/api/TinyLife.Goals.StudentJobType.yml @@ -29,19 +29,18 @@ items: summary: "\nA for school students\n" example: [] syntax: - content: 'public class StudentJobType : JobType, IGenericDataHolder' + content: 'public class StudentJobType : JobType, IGenericDataHolder, IEmotionSource' content.vb: >- Public Class StudentJobType - Inherits JobType - - Implements IGenericDataHolder + Implements IGenericDataHolder, IEmotionSource inheritance: - System.Object - MLEM.Misc.GenericDataHolder - TinyLife.Goals.JobType implements: - MLEM.Misc.IGenericDataHolder + - TinyLife.Emotions.IEmotionSource inheritedMembers: - TinyLife.Goals.JobType.Types - TinyLife.Goals.JobType.Name @@ -55,6 +54,7 @@ items: - TinyLife.Goals.JobType.CanQuitOrBeFired - TinyLife.Goals.JobType.DailyTasks - TinyLife.Goals.JobType.DailyTaskImportance + - TinyLife.Goals.JobType.SourceString - TinyLife.Goals.JobType.Construct(TinyLife.Objects.Person,System.Int32) - TinyLife.Goals.JobType.IsTimeToWork(System.Nullable{System.TimeSpan}) - TinyLife.Goals.JobType.ToScheduleString @@ -104,18 +104,23 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nCreates a new job type with the given settings\n" example: [] syntax: content: public StudentJobType(string name, float hourlyPay, Range workHours, params DayOfWeek[] offWorkDays) parameters: - id: name type: System.String + description: The name of the job - id: hourlyPay type: System.Single + description: The hourly wage that this job yields - id: workHours type: MonoGame.Extended.Range{System.Int32} + description: A range of hours to work each day - id: offWorkDays type: System.DayOfWeek[] + description: The days of the week that are off work content.vb: Public Sub New(name As String, hourlyPay As Single, workHours As Range(Of Integer), ParamArray offWorkDays As DayOfWeek()) overload: TinyLife.Goals.StudentJobType.#ctor* nameWithType.vb: StudentJobType.StudentJobType(String, Single, Range(Of Int32), DayOfWeek()) @@ -147,14 +152,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nA method that is called when a finishes a for this job.\nBy default, some emotion modifiers are randomly applied.\n" example: [] syntax: content: public override void OnWorkFinished(Job job, WorkAction action) parameters: - id: job type: TinyLife.Goals.Job + description: The job instance - id: action type: TinyLife.Actions.WorkAction + description: The work action that was completed content.vb: Public Overrides Sub OnWorkFinished(job As Job, action As WorkAction) overridden: TinyLife.Goals.JobType.OnWorkFinished(TinyLife.Goals.Job,TinyLife.Actions.WorkAction) overload: TinyLife.Goals.StudentJobType.OnWorkFinished* @@ -186,14 +194,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nA method that is called when a is promoted or demoted for this job.\nBy default, some emotion modifiers are applied.\n" example: [] syntax: content: public override void OnLevelChanged(Job job, int levelDifference) parameters: - id: job type: TinyLife.Goals.Job + description: The job instance - id: levelDifference type: System.Int32 + description: The level difference that was applied. If the person was demoted, this value is -1, else it is 1. content.vb: Public Overrides Sub OnLevelChanged(job As Job, levelDifference As Integer) overridden: TinyLife.Goals.JobType.OnLevelChanged(TinyLife.Goals.Job,System.Int32) overload: TinyLife.Goals.StudentJobType.OnLevelChanged* @@ -236,6 +247,12 @@ references: name: IGenericDataHolder nameWithType: IGenericDataHolder fullName: MLEM.Misc.IGenericDataHolder +- uid: TinyLife.Emotions.IEmotionSource + commentId: T:TinyLife.Emotions.IEmotionSource + parent: TinyLife.Emotions + name: IEmotionSource + nameWithType: IEmotionSource + fullName: TinyLife.Emotions.IEmotionSource - uid: TinyLife.Goals.JobType.Types commentId: F:TinyLife.Goals.JobType.Types parent: TinyLife.Goals.JobType @@ -308,6 +325,12 @@ references: name: DailyTaskImportance nameWithType: JobType.DailyTaskImportance fullName: TinyLife.Goals.JobType.DailyTaskImportance +- uid: TinyLife.Goals.JobType.SourceString + commentId: P:TinyLife.Goals.JobType.SourceString + parent: TinyLife.Goals.JobType + name: SourceString + nameWithType: JobType.SourceString + fullName: TinyLife.Goals.JobType.SourceString - uid: TinyLife.Goals.JobType.Construct(TinyLife.Objects.Person,System.Int32) commentId: M:TinyLife.Goals.JobType.Construct(TinyLife.Objects.Person,System.Int32) parent: TinyLife.Goals.JobType @@ -1166,6 +1189,11 @@ references: name: MLEM.Misc nameWithType: MLEM.Misc fullName: MLEM.Misc +- uid: TinyLife.Emotions + commentId: N:TinyLife.Emotions + name: TinyLife.Emotions + nameWithType: TinyLife.Emotions + fullName: TinyLife.Emotions - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) name: JsonCopy(T) diff --git a/docs/api/TinyLife.Goals.TimedGoal.yml b/docs/api/TinyLife.Goals.TimedGoal.yml index 6a134c8..6c087a7 100644 --- a/docs/api/TinyLife.Goals.TimedGoal.yml +++ b/docs/api/TinyLife.Goals.TimedGoal.yml @@ -34,9 +34,7 @@ items: content: 'public class TimedGoal : AutoTriggerGoal, IGenericDataHolder' content.vb: >- Public Class TimedGoal - Inherits AutoTriggerGoal(Of TimeSpan) - Implements IGenericDataHolder inheritance: - System.Object @@ -129,11 +127,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns the progress percentage (between 0 and 1) that this goal has\n" example: [] syntax: content: public override float GetProgress() return: type: System.Single + description: The progress percentage content.vb: Public Overrides Function GetProgress As Single overridden: TinyLife.Goals.Goal.GetProgress overload: TinyLife.Goals.TimedGoal.GetProgress* @@ -165,6 +165,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nResets this goal to the default values, which should cause 0 to be returned on \n" example: [] syntax: content: public override void Reset() @@ -199,11 +200,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nReturns a string that is used in a goal set's displayed ui information that determines the progress of this goal.\nBy default, the percentage is displayed as a percentage between 0 and 100.\n" example: [] syntax: content: public override string GetDisplayedProgress() return: type: System.String + description: The displayed goal progress content.vb: Public Overrides Function GetDisplayedProgress As String overridden: TinyLife.Goals.Goal.GetDisplayedProgress overload: TinyLife.Goals.TimedGoal.GetDisplayedProgress* @@ -235,6 +238,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Goals + summary: "\nCauses this auto-triggered goal to be triggered.\nThis method is only called if the is met.\n" example: [] syntax: content: protected override void Trigger(TimeSpan value) diff --git a/docs/api/TinyLife.LnCategory.yml b/docs/api/TinyLife.LnCategory.yml index b4e1384..8d589e6 100644 --- a/docs/api/TinyLife.LnCategory.yml +++ b/docs/api/TinyLife.LnCategory.yml @@ -32,7 +32,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LnCategory path: Localization.cs - startLine: 140 + startLine: 135 assemblies: - Tiny Life namespace: TinyLife @@ -67,7 +67,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Ui path: Localization.cs - startLine: 143 + startLine: 138 assemblies: - Tiny Life namespace: TinyLife @@ -101,7 +101,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Actions path: Localization.cs - startLine: 145 + startLine: 140 assemblies: - Tiny Life namespace: TinyLife @@ -135,7 +135,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BuildMode path: Localization.cs - startLine: 147 + startLine: 142 assemblies: - Tiny Life namespace: TinyLife @@ -169,7 +169,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Clothes path: Localization.cs - startLine: 149 + startLine: 144 assemblies: - Tiny Life namespace: TinyLife @@ -203,7 +203,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Food path: Localization.cs - startLine: 151 + startLine: 146 assemblies: - Tiny Life namespace: TinyLife @@ -237,7 +237,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Personalities path: Localization.cs - startLine: 153 + startLine: 148 assemblies: - Tiny Life namespace: TinyLife @@ -271,7 +271,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Skills path: Localization.cs - startLine: 155 + startLine: 150 assemblies: - Tiny Life namespace: TinyLife @@ -305,7 +305,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Jobs path: Localization.cs - startLine: 157 + startLine: 152 assemblies: - Tiny Life namespace: TinyLife @@ -339,7 +339,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Emotions path: Localization.cs - startLine: 159 + startLine: 154 assemblies: - Tiny Life namespace: TinyLife @@ -373,7 +373,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Hints path: Localization.cs - startLine: 161 + startLine: 156 assemblies: - Tiny Life namespace: TinyLife @@ -407,7 +407,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InGameHints path: Localization.cs - startLine: 163 + startLine: 158 assemblies: - Tiny Life namespace: TinyLife @@ -441,7 +441,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Goals path: Localization.cs - startLine: 165 + startLine: 160 assemblies: - Tiny Life namespace: TinyLife @@ -475,7 +475,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Names path: Localization.cs - startLine: 167 + startLine: 162 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.Mods.ModInfo.yml b/docs/api/TinyLife.Mods.ModInfo.yml index ae0fb7d..33f28fe 100644 --- a/docs/api/TinyLife.Mods.ModInfo.yml +++ b/docs/api/TinyLife.Mods.ModInfo.yml @@ -35,7 +35,6 @@ items: content: 'public class ModInfo : IDisposable' content.vb: >- Public Class ModInfo - Implements IDisposable inheritance: - System.Object diff --git a/docs/api/TinyLife.NeedType.yml b/docs/api/TinyLife.NeedType.yml index 981b775..74bbd43 100644 --- a/docs/api/TinyLife.NeedType.yml +++ b/docs/api/TinyLife.NeedType.yml @@ -49,7 +49,6 @@ items: Public Class NeedType - Implements IEmotionSource inheritance: - System.Object @@ -515,6 +514,7 @@ items: assemblies: - Tiny Life namespace: TinyLife + summary: "\nA (localized) string that is displayed when hovering over an that has this source\n" example: [] syntax: content: public string SourceString { get; } diff --git a/docs/api/TinyLife.Objects.ActionSpot.yml b/docs/api/TinyLife.Objects.ActionSpot.yml index 2bae099..c6638c3 100644 --- a/docs/api/TinyLife.Objects.ActionSpot.yml +++ b/docs/api/TinyLife.Objects.ActionSpot.yml @@ -40,7 +40,6 @@ items: content: 'public class ActionSpot : AbstractSpot' content.vb: >- Public Class ActionSpot - Inherits AbstractSpot inheritance: - System.Object @@ -340,7 +339,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BedSpots path: Objects/ActionSpot.cs - startLine: 181 + startLine: 183 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -381,7 +380,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BenchSpots path: Objects/ActionSpot.cs - startLine: 208 + startLine: 210 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -422,7 +421,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PicnicTableSpots path: Objects/ActionSpot.cs - startLine: 229 + startLine: 231 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -463,7 +462,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AllSpots path: Objects/ActionSpot.cs - startLine: 252 + startLine: 254 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -507,7 +506,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPicnicBenchDrawLayer path: Objects/ActionSpot.cs - startLine: 267 + startLine: 269 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.AgeGroup.yml b/docs/api/TinyLife.Objects.AgeGroup.yml index 677b46f..26b8623 100644 --- a/docs/api/TinyLife.Objects.AgeGroup.yml +++ b/docs/api/TinyLife.Objects.AgeGroup.yml @@ -21,7 +21,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AgeGroup path: Objects/Person.cs - startLine: 2328 + startLine: 2348 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -66,7 +66,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Child path: Objects/Person.cs - startLine: 2336 + startLine: 2356 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -100,7 +100,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Adult path: Objects/Person.cs - startLine: 2342 + startLine: 2362 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.BreakableFurniture.yml b/docs/api/TinyLife.Objects.BreakableFurniture.yml index bbedc7e..fe91f36 100644 --- a/docs/api/TinyLife.Objects.BreakableFurniture.yml +++ b/docs/api/TinyLife.Objects.BreakableFurniture.yml @@ -39,9 +39,7 @@ items: content: 'public class BreakableFurniture : Furniture, IGenericDataHolder, IPricedObject, IUpdatingObject' content.vb: >- Public Class BreakableFurniture - Inherits Furniture - Implements IGenericDataHolder, IPricedObject, IUpdatingObject inheritance: - System.Object @@ -89,6 +87,7 @@ items: - TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -275,20 +274,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public BreakableFurniture(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.BreakableFurniture.#ctor* nameWithType.vb: BreakableFurniture.BreakableFurniture(Guid, FurnitureType, Int32(), Map, Vector2) @@ -320,16 +325,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThe update method, which is called every update frame by the underlying \n" example: [] syntax: content: public virtual void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last call - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overridable Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overload: TinyLife.Objects.BreakableFurniture.Update* implements: @@ -400,20 +409,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when an that this object is involved in updates, which is every frame. Note that this includes actions that are underlying () and actions that aren't fully in progress yet ().\nThis object counts as involved in the action if its 's includes this object.\nIn general, the base method should be called for objects, since it sets deals with objects.\n" example: [] syntax: content: public override void ActionUpdate(Action action, GameTime time, TimeSpan passedInGame, float speedMultiplier, bool isAuxiliary) parameters: - id: action type: TinyLife.Actions.Action + description: The action - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by - id: isAuxiliary type: System.Boolean + description: Whether this object counts as an auxiliary object. If this value is false, the object is th e content.vb: Public Overrides Sub ActionUpdate(action As Action, time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single, isAuxiliary As Boolean) overridden: TinyLife.Objects.Furniture.ActionUpdate(TinyLife.Actions.Action,Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single,System.Boolean) overload: TinyLife.Objects.BreakableFurniture.ActionUpdate* @@ -445,11 +460,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public override float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Overrides Function GetPrice As Single overridden: TinyLife.Objects.Furniture.GetPrice overload: TinyLife.Objects.BreakableFurniture.GetPrice* @@ -481,11 +498,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns a set of lines that are displayed in build mode when this furniture is hovered over, either in the buy menu or in the .\nBy default, info about and is returned, and is invoked.\n" example: [] syntax: content: public override IEnumerable GetDescription() return: type: System.Collections.Generic.IEnumerable{System.String} + description: A set of description lines for this furniture item content.vb: Public Overrides Function GetDescription As IEnumerable(Of String) overridden: TinyLife.Objects.Furniture.GetDescription overload: TinyLife.Objects.BreakableFurniture.GetDescription* @@ -517,14 +536,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the decorative rating of this object in the given room.\nBy default, the underlying 's , influeced by whether this object is , is returned.\n" example: [] syntax: content: public override int GetDecorativeRating(Room room) parameters: - id: room type: TinyLife.World.Room + description: The room that the object is in, or null if it is not in a room at all return: type: System.Int32 + description: The decorative rating of this object content.vb: Public Overrides Function GetDecorativeRating(room As Room) As Integer overridden: TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) overload: TinyLife.Objects.BreakableFurniture.GetDecorativeRating* @@ -1495,6 +1517,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.Clothes.yml b/docs/api/TinyLife.Objects.Clothes.yml index 9f8e084..12bcca6 100644 --- a/docs/api/TinyLife.Objects.Clothes.yml +++ b/docs/api/TinyLife.Objects.Clothes.yml @@ -54,7 +54,6 @@ items: Public Class Clothes - Implements IPricedObject inheritance: - System.Object @@ -693,11 +692,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Function GetPrice As Single overload: TinyLife.Objects.Clothes.GetPrice* implements: diff --git a/docs/api/TinyLife.Objects.CornerFurniture.Counter.yml b/docs/api/TinyLife.Objects.CornerFurniture.Counter.yml index 62d9958..b5d7633 100644 --- a/docs/api/TinyLife.Objects.CornerFurniture.Counter.yml +++ b/docs/api/TinyLife.Objects.CornerFurniture.Counter.yml @@ -32,9 +32,7 @@ items: content: 'public class Counter : CornerFurniture, IGenericDataHolder, IPricedObject' content.vb: >- Public Class Counter - Inherits CornerFurniture - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -85,6 +83,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) - TinyLife.Objects.Furniture.GetFreeActionSpot(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -161,20 +160,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public Counter(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.CornerFurniture.Counter.#ctor* nameWithType.vb: CornerFurniture.Counter.Counter(Guid, FurnitureType, Int32(), Map, Vector2) @@ -206,14 +211,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA method that determines whether this corner furniture should connect to the given neighboring furniture.\nIf this method returns true, the neighbor's rotation is passed to .\n" example: [] syntax: content: protected override bool ShouldConnectTo(Furniture neighbor) parameters: - id: neighbor type: TinyLife.Objects.Furniture + description: The neighbor to connect to return: type: System.Boolean + description: Whether this object should connect to the neighbor furniture content.vb: Protected Overrides Function ShouldConnectTo(neighbor As Furniture) As Boolean overridden: TinyLife.Objects.CornerFurniture.ShouldConnectTo(TinyLife.Objects.Furniture) overload: TinyLife.Objects.CornerFurniture.Counter.ShouldConnectTo* @@ -245,14 +253,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA method that is used to determine the corner status that this furniture should have, based on the given neighborRotations.\nThe neighbor rotations are previously gathered based on the information returned for each neighbor in .\n" example: [] syntax: content: protected override Direction2 GetCornerStatus(Dictionary neighborRotations) parameters: - id: neighborRotations type: System.Collections.Generic.Dictionary{MLEM.Misc.Direction2,MLEM.Misc.Direction2} + description: The rotations of each neighbor, where the keys are the direction that the neighbor is in, and the values are the neighbor's return: type: MLEM.Misc.Direction2 + description: The direction of the texture that should be used for this corner, or for no connection content.vb: Protected Overrides Function GetCornerStatus(neighborRotations As Dictionary(Of Direction2, Direction2)) As Direction2 overridden: TinyLife.Objects.CornerFurniture.GetCornerStatus(System.Collections.Generic.Dictionary{MLEM.Misc.Direction2,MLEM.Misc.Direction2}) overload: TinyLife.Objects.CornerFurniture.Counter.GetCornerStatus* @@ -1443,6 +1454,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) commentId: M:TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.CornerFurniture.yml b/docs/api/TinyLife.Objects.CornerFurniture.yml index ff576ef..47b9889 100644 --- a/docs/api/TinyLife.Objects.CornerFurniture.yml +++ b/docs/api/TinyLife.Objects.CornerFurniture.yml @@ -35,9 +35,7 @@ items: content: 'public class CornerFurniture : Furniture, IGenericDataHolder, IPricedObject' content.vb: >- Public Class CornerFurniture - Inherits Furniture - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -86,6 +84,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) - TinyLife.Objects.Furniture.GetFreeActionSpot(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -162,20 +161,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public CornerFurniture(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.CornerFurniture.#ctor* nameWithType.vb: CornerFurniture.CornerFurniture(Guid, FurnitureType, Int32(), Map, Vector2) @@ -292,36 +297,50 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this furniture in the world with the given settings.\nThis is a more generalized version of \n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 pos, Vector2 drawPos, Color? overrideColor, Direction2 rotation, int[] colors, float drawScale, bool pivot, Furniture parent, AbstractSpot parentSpot, float depthOffset, bool held) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to draw with - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position, in world space, that the furniture is at - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw the furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An optional color to override the default colors of the furniture - id: rotation type: MLEM.Misc.Direction2 + description: The rotation of the furniture - id: colors type: System.Int32[] + description: The colors to draw the furniture with - id: drawScale type: System.Single + description: The scale to draw the furniture with - id: pivot type: System.Boolean + description: Whether or not to move the furniture by its texture's pivot point - id: parent type: TinyLife.Objects.Furniture + description: The object that this furniture is latched on to, or null if there is none - id: parentSpot type: TinyLife.Objects.AbstractSpot + description: The object spot that this furntiture is in, or null if there is none - id: depthOffset type: System.Single + description: A value that is added onto the calculated depth of the object - id: held type: System.Boolean + description: Whether or not this item is currently being held by a content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, pos As Vector2, drawPos As Vector2, overrideColor As Color?, rotation As Direction2, colors As Integer(), drawScale As Single, pivot As Boolean, parent As Furniture, parentSpot As AbstractSpot, depthOffset As Single, held As Boolean) overridden: TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) overload: TinyLife.Objects.CornerFurniture.Draw* @@ -356,12 +375,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method gets called when any neighboring furniture changes. The neighboring furniture is passed.\nBy default, this method does nothing, so calling base is not necessary.\n" example: [] syntax: content: protected override void OnNeighborChanged(Furniture neighbor) parameters: - id: neighbor type: TinyLife.Objects.Furniture + description: The neighbor furniture that changed content.vb: Protected Overrides Sub OnNeighborChanged(neighbor As Furniture) overridden: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) overload: TinyLife.Objects.CornerFurniture.OnNeighborChanged* @@ -393,11 +414,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.Furniture.Validate overload: TinyLife.Objects.CornerFurniture.Validate* @@ -1384,6 +1407,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) commentId: M:TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.Fence.yml b/docs/api/TinyLife.Objects.Fence.yml index a97b8c0..14a2eb9 100644 --- a/docs/api/TinyLife.Objects.Fence.yml +++ b/docs/api/TinyLife.Objects.Fence.yml @@ -34,9 +34,7 @@ items: content: 'public class Fence : Furniture, IGenericDataHolder, IPricedObject' content.vb: >- Public Class Fence - Inherits Furniture - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -83,6 +81,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) - TinyLife.Objects.Furniture.GetFreeActionSpot(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -159,20 +158,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public Fence(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.Fence.#ctor* nameWithType.vb: Fence.Fence(Guid, FurnitureType, Int32(), Map, Vector2) @@ -204,36 +209,50 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this furniture in the world with the given settings.\nThis is a more generalized version of \n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 pos, Vector2 drawPos, Color? overrideColor, Direction2 rotation, int[] colors, float drawScale, bool pivot, Furniture parent, AbstractSpot parentSpot, float depthOffset, bool held) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to draw with - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position, in world space, that the furniture is at - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw the furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An optional color to override the default colors of the furniture - id: rotation type: MLEM.Misc.Direction2 + description: The rotation of the furniture - id: colors type: System.Int32[] + description: The colors to draw the furniture with - id: drawScale type: System.Single + description: The scale to draw the furniture with - id: pivot type: System.Boolean + description: Whether or not to move the furniture by its texture's pivot point - id: parent type: TinyLife.Objects.Furniture + description: The object that this furniture is latched on to, or null if there is none - id: parentSpot type: TinyLife.Objects.AbstractSpot + description: The object spot that this furntiture is in, or null if there is none - id: depthOffset type: System.Single + description: A value that is added onto the calculated depth of the object - id: held type: System.Boolean + description: Whether or not this item is currently being held by a content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, pos As Vector2, drawPos As Vector2, overrideColor As Color?, rotation As Direction2, colors As Integer(), drawScale As Single, pivot As Boolean, parent As Furniture, parentSpot As AbstractSpot, depthOffset As Single, held As Boolean) overridden: TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) overload: TinyLife.Objects.Fence.Draw* @@ -268,11 +287,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.Furniture.Validate overload: TinyLife.Objects.Fence.Validate* @@ -304,12 +325,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method gets called when any neighboring furniture changes. The neighboring furniture is passed.\nBy default, this method does nothing, so calling base is not necessary.\n" example: [] syntax: content: protected override void OnNeighborChanged(Furniture neighbor) parameters: - id: neighbor type: TinyLife.Objects.Furniture + description: The neighbor furniture that changed content.vb: Protected Overrides Sub OnNeighborChanged(neighbor As Furniture) overridden: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) overload: TinyLife.Objects.Fence.OnNeighborChanged* @@ -1219,6 +1242,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) commentId: M:TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.Fireplace.yml b/docs/api/TinyLife.Objects.Fireplace.yml index 67b9688..1a7c0b6 100644 --- a/docs/api/TinyLife.Objects.Fireplace.yml +++ b/docs/api/TinyLife.Objects.Fireplace.yml @@ -36,9 +36,7 @@ items: content: 'public class Fireplace : LightFurniture, IGenericDataHolder, IPricedObject, IUpdatingObject' content.vb: >- Public Class Fireplace - Inherits LightFurniture - Implements IGenericDataHolder, IPricedObject, IUpdatingObject inheritance: - System.Object @@ -89,6 +87,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -166,6 +165,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nWhether this furniture is electrical.\nIf this is true, will cause this object's lights to be disabled.\n" example: [] syntax: content: public override bool IsElectrical { get; } @@ -244,20 +244,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public Fireplace(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.Fireplace.#ctor* nameWithType.vb: Fireplace.Fireplace(Guid, FurnitureType, Int32(), Map, Vector2) @@ -289,36 +295,50 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this furniture in the world with the given settings.\nThis is a more generalized version of \n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 pos, Vector2 drawPos, Color? overrideColor, Direction2 rotation, int[] colors, float drawScale, bool pivot, Furniture parent, AbstractSpot parentSpot, float depthOffset, bool held) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to draw with - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position, in world space, that the furniture is at - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw the furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An optional color to override the default colors of the furniture - id: rotation type: MLEM.Misc.Direction2 + description: The rotation of the furniture - id: colors type: System.Int32[] + description: The colors to draw the furniture with - id: drawScale type: System.Single + description: The scale to draw the furniture with - id: pivot type: System.Boolean + description: Whether or not to move the furniture by its texture's pivot point - id: parent type: TinyLife.Objects.Furniture + description: The object that this furniture is latched on to, or null if there is none - id: parentSpot type: TinyLife.Objects.AbstractSpot + description: The object spot that this furntiture is in, or null if there is none - id: depthOffset type: System.Single + description: A value that is added onto the calculated depth of the object - id: held type: System.Boolean + description: Whether or not this item is currently being held by a content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, pos As Vector2, drawPos As Vector2, overrideColor As Color?, rotation As Direction2, colors As Integer(), drawScale As Single, pivot As Boolean, parent As Furniture, parentSpot As AbstractSpot, depthOffset As Single, held As Boolean) overridden: TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) overload: TinyLife.Objects.Fireplace.Draw* @@ -353,16 +373,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThe update method, which is called every update frame by the underlying \n" example: [] syntax: content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last call - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overridden: TinyLife.Objects.LightFurniture.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) overload: TinyLife.Objects.Fireplace.Update* @@ -394,11 +418,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this furniture's lights should get initialized.\nBy default, this method calls .\n" example: [] syntax: content: protected override IEnumerable CreateLights() return: type: System.Collections.Generic.IEnumerable{TinyLife.Objects.Light} + description: The lights that this object should have content.vb: Protected Overrides Function CreateLights As IEnumerable(Of Light) overridden: TinyLife.Objects.LightFurniture.CreateLights overload: TinyLife.Objects.Fireplace.CreateLights* @@ -430,6 +456,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is removed from a .\nBy default, it does nothing.\n" example: [] syntax: content: public override void OnRemoved() @@ -1325,6 +1352,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.Food.yml b/docs/api/TinyLife.Objects.Food.yml index 644cef0..adec61e 100644 --- a/docs/api/TinyLife.Objects.Food.yml +++ b/docs/api/TinyLife.Objects.Food.yml @@ -27,14 +27,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA furniture is an instance of a which is placed in the world, or in a 's hand.\nTo register a custom furniture, use .\n" example: [] syntax: content: 'public class Food : FoodTypedItem, IGenericDataHolder, IPricedObject, IUpdatingObject' content.vb: >- Public Class Food - Inherits FoodTypedItem - Implements IGenericDataHolder, IPricedObject, IUpdatingObject inheritance: - System.Object @@ -89,6 +88,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -208,20 +208,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public Food(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.Food.#ctor* nameWithType.vb: Food.Food(Guid, FurnitureType, Int32(), Map, Vector2) @@ -249,40 +255,54 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: Objects/Food.cs - startLine: 28 + startLine: 27 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this furniture in the world with the given settings.\nThis is a more generalized version of \n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 pos, Vector2 drawPos, Color? overrideColor, Direction2 rotation, int[] colors, float drawScale, bool pivot, Furniture parent, AbstractSpot parentSpot, float depthOffset, bool held) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to draw with - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position, in world space, that the furniture is at - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw the furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An optional color to override the default colors of the furniture - id: rotation type: MLEM.Misc.Direction2 + description: The rotation of the furniture - id: colors type: System.Int32[] + description: The colors to draw the furniture with - id: drawScale type: System.Single + description: The scale to draw the furniture with - id: pivot type: System.Boolean + description: Whether or not to move the furniture by its texture's pivot point - id: parent type: TinyLife.Objects.Furniture + description: The object that this furniture is latched on to, or null if there is none - id: parentSpot type: TinyLife.Objects.AbstractSpot + description: The object spot that this furntiture is in, or null if there is none - id: depthOffset type: System.Single + description: A value that is added onto the calculated depth of the object - id: held type: System.Boolean + description: Whether or not this item is currently being held by a content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, pos As Vector2, drawPos As Vector2, overrideColor As Color?, rotation As Direction2, colors As Integer(), drawScale As Single, pivot As Boolean, parent As Furniture, parentSpot As AbstractSpot, depthOffset As Single, held As Boolean) overridden: TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) overload: TinyLife.Objects.Food.Draw* @@ -313,15 +333,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHoverInfo path: Objects/Food.cs - startLine: 40 + startLine: 39 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns a object that is displayed whenever the mouse is hovered over this object in the world.\nBy default, this method returns null, which will cause no tooltip to be displayed.\n" example: [] syntax: content: public override Tooltip GetHoverInfo() return: type: MLEM.Ui.Elements.Tooltip + description: The tooltip to display content.vb: Public Overrides Function GetHoverInfo As Tooltip overridden: TinyLife.Objects.FoodTypedItem.GetHoverInfo overload: TinyLife.Objects.Food.GetHoverInfo* @@ -1316,6 +1338,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.FoodTypedItem.yml b/docs/api/TinyLife.Objects.FoodTypedItem.yml index e8e725e..25e15d8 100644 --- a/docs/api/TinyLife.Objects.FoodTypedItem.yml +++ b/docs/api/TinyLife.Objects.FoodTypedItem.yml @@ -31,14 +31,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA furniture is an instance of a which is placed in the world, or in a 's hand.\nTo register a custom furniture, use .\n" example: [] syntax: content: 'public class FoodTypedItem : Furniture, IGenericDataHolder, IPricedObject, IUpdatingObject' content.vb: >- Public Class FoodTypedItem - Inherits Furniture - Implements IGenericDataHolder, IPricedObject, IUpdatingObject inheritance: - System.Object @@ -89,6 +88,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -331,20 +331,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public FoodTypedItem(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.FoodTypedItem.#ctor* nameWithType.vb: FoodTypedItem.FoodTypedItem(Guid, FurnitureType, Int32(), Map, Vector2) @@ -376,11 +382,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.Furniture.Validate overload: TinyLife.Objects.FoodTypedItem.Validate* @@ -412,11 +420,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns a object that is displayed whenever the mouse is hovered over this object in the world.\nBy default, this method returns null, which will cause no tooltip to be displayed.\n" example: [] syntax: content: public override Tooltip GetHoverInfo() return: type: MLEM.Ui.Elements.Tooltip + description: The tooltip to display content.vb: Public Overrides Function GetHoverInfo As Tooltip overridden: TinyLife.Objects.MapObject.GetHoverInfo overload: TinyLife.Objects.FoodTypedItem.GetHoverInfo* @@ -448,16 +458,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThe update method, which is called every update frame by the underlying \n" example: [] syntax: content: public void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last call - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overload: TinyLife.Objects.FoodTypedItem.Update* implements: @@ -1580,6 +1594,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.Furniture.yml b/docs/api/TinyLife.Objects.Furniture.yml index aaa72d6..4f00733 100644 --- a/docs/api/TinyLife.Objects.Furniture.yml +++ b/docs/api/TinyLife.Objects.Furniture.yml @@ -28,6 +28,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDescription - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.GetFreeActionSpot(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) - TinyLife.Objects.Furniture.GetFreeActionSpotInfo(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -87,9 +88,7 @@ items: content: 'public class Furniture : MapObject, IGenericDataHolder, IPricedObject' content.vb: >- Public Class Furniture - Inherits MapObject - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -1100,18 +1099,23 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this object on the current , at the current .\n" example: [] syntax: content: public sealed override void Draw(GameTime time, SpriteBatch batch, Vector2 drawPos, Color? overrideColor) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to use for drawing - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw this furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: The color that should be used instead of this object's actual color. If null, the object's regular color should be used. content.vb: Public NotOverridable Overrides Sub Draw(time As GameTime, batch As SpriteBatch, drawPos As Vector2, overrideColor As Color?) overridden: TinyLife.Objects.MapObject.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color}) overload: TinyLife.Objects.Furniture.Draw* @@ -1148,11 +1152,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.MapObject.Validate overload: TinyLife.Objects.Furniture.Validate* @@ -1184,14 +1190,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns whether this map object intersects with the given rectangle.\nThis is used for \n" example: [] syntax: content: public override bool Intersects(RectangleF rectangle) parameters: - id: rectangle type: MLEM.Misc.RectangleF + description: The area that should be checked for return: type: System.Boolean + description: true if this object intersects with the given rectangle content.vb: Public Overrides Function Intersects(rectangle As RectangleF) As Boolean overridden: TinyLife.Objects.MapObject.Intersects(MLEM.Misc.RectangleF) overload: TinyLife.Objects.Furniture.Intersects* @@ -1223,14 +1232,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns a set of flags that this object has, based on the given .\n" example: [] syntax: content: public sealed override ObjectCategory GetCategories(Person person) parameters: - id: person type: TinyLife.Objects.Person + description: The person to query categories for return: type: TinyLife.Objects.ObjectCategory + description: A set of categories that this object has content.vb: Public NotOverridable Overrides Function GetCategories(person As Person) As ObjectCategory overridden: TinyLife.Objects.MapObject.GetCategories(TinyLife.Objects.Person) overload: TinyLife.Objects.Furniture.GetCategories* @@ -1264,6 +1276,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is added to a .\nBy default, it does nothing.\n" example: [] syntax: content: public override void OnAdded() @@ -1298,6 +1311,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is removed from a .\nBy default, it does nothing.\n" example: [] syntax: content: public override void OnRemoved() @@ -1332,16 +1346,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns an integer that represents a priority for the 's interaction with this object.\nA higher priority means that this object will be picked over other objects (with lower priority).\nThe default return value is 0, meaning that no special priority is assigned to this object.\nFor any with the or category that is the person's , 10 is returned.\n" example: [] syntax: content: public override int GetAiPriority(Person person, ObjectCategory categories) parameters: - id: person type: TinyLife.Objects.Person + description: The person whose AI is attempting to interact with this object - id: categories type: TinyLife.Objects.ObjectCategory + description: The categories that are relevant for the ai interaction return: type: System.Int32 + description: This object's priority content.vb: Public Overrides Function GetAiPriority(person As Person, categories As ObjectCategory) As Integer overridden: TinyLife.Objects.MapObject.GetAiPriority(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) overload: TinyLife.Objects.Furniture.GetAiPriority* @@ -1373,11 +1391,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the visibility settings of this object.\nBy default, is returned.\nFor , its is returned instead.\n" example: [] syntax: content: public override Visibility GetVisibility() return: type: TinyLife.Objects.Visibility + description: This object's visibility settings content.vb: Public Overrides Function GetVisibility As Visibility overridden: TinyLife.Objects.MapObject.GetVisibility overload: TinyLife.Objects.Furniture.GetVisibility* @@ -1409,16 +1429,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when an that this object is involved in is completed. Note that this includes actions that are underlying ().\nThis object counts as involved in the action if its 's includes this object.\nIn general, the base method should be called for objects, since it sets .\n" example: [] syntax: content: public override void OnActionCompleted(Action action, CompletionType type, bool isAuxiliary) parameters: - id: action type: TinyLife.Actions.Action + description: The action - id: type type: TinyLife.Actions.CompletionType + description: The type of the action's completion - id: isAuxiliary type: System.Boolean + description: Whether this object counts as an auxiliary object. If this value is false, the object is th e content.vb: Public Overrides Sub OnActionCompleted(action As Action, type As CompletionType, isAuxiliary As Boolean) overridden: TinyLife.Objects.MapObject.OnActionCompleted(TinyLife.Actions.Action,TinyLife.Actions.CompletionType,System.Boolean) overload: TinyLife.Objects.Furniture.OnActionCompleted* @@ -1450,20 +1474,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when an that this object is involved in updates, which is every frame. Note that this includes actions that are underlying () and actions that aren't fully in progress yet ().\nThis object counts as involved in the action if its 's includes this object.\nIn general, the base method should be called for objects, since it sets deals with objects.\n" example: [] syntax: content: public override void ActionUpdate(Action action, GameTime time, TimeSpan passedInGame, float speedMultiplier, bool isAuxiliary) parameters: - id: action type: TinyLife.Actions.Action + description: The action - id: time type: Microsoft.Xna.Framework.GameTime + description: The current game time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed, in game time - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by - id: isAuxiliary type: System.Boolean + description: Whether this object counts as an auxiliary object. If this value is false, the object is th e content.vb: Public Overrides Sub ActionUpdate(action As Action, time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single, isAuxiliary As Boolean) overridden: TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action,Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single,System.Boolean) overload: TinyLife.Objects.Furniture.ActionUpdate* @@ -1572,11 +1602,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public virtual float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Overridable Function GetPrice As Single overload: TinyLife.Objects.Furniture.GetPrice* implements: @@ -1744,6 +1776,40 @@ items: modifiers.vb: - Public - Overridable +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + id: GetDisplayName + parent: TinyLife.Objects.Furniture + langs: + - csharp + - vb + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + type: Method + source: + remote: + path: TinyLife/Objects/Furniture.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetDisplayName + path: Objects/Furniture.cs + startLine: 404 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + syntax: + content: public virtual string GetDisplayName() + return: + type: System.String + content.vb: Public Overridable Function GetDisplayName As String + overload: TinyLife.Objects.Furniture.GetDisplayName* + modifiers.csharp: + - public + - virtual + modifiers.vb: + - Public + - Overridable - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) id: OnNeighborChanged(TinyLife.Objects.Furniture) @@ -1762,7 +1828,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnNeighborChanged path: Objects/Furniture.cs - startLine: 409 + startLine: 413 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1800,7 +1866,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawUi path: Objects/Furniture.cs - startLine: 420 + startLine: 424 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1851,7 +1917,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeActionSpots path: Objects/Furniture.cs - startLine: 435 + startLine: 439 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1893,14 +1959,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeActionSpot path: Objects/Furniture.cs - startLine: 451 + startLine: 455 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns the first free action spot from .\n" example: [] syntax: - content: public (ActionSpot, Direction2) GetFreeActionSpot(Person person, ObjectCategory context = null) + content: public (ActionSpot Spot, Direction2 Dir) GetFreeActionSpot(Person person, ObjectCategory context = null) parameters: - id: person type: TinyLife.Objects.Person @@ -1911,7 +1977,7 @@ items: return: type: System.ValueTuple{TinyLife.Objects.ActionSpot,MLEM.Misc.Direction2} description: A free action spot and the direction it's free in, or an empty tuple if there is no free action spot - content.vb: Public Function GetFreeActionSpot(person As Person, context As ObjectCategory = Nothing) As(ActionSpot, Direction2)(Of ActionSpot , Direction2) + content.vb: Public Function GetFreeActionSpot(person As Person, context As ObjectCategory = Nothing) As(Spot As ActionSpot, Dir As Direction2)(Of ActionSpot , Direction2) overload: TinyLife.Objects.Furniture.GetFreeActionSpot* modifiers.csharp: - public @@ -1935,20 +2001,24 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeActionSpotInfo path: Objects/Furniture.cs - startLine: 458 + startLine: 462 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the first free action spot, packed into an .\n" example: [] syntax: content: public override ActionInfo GetFreeActionSpotInfo(Person person, ObjectCategory context = null) parameters: - id: person type: TinyLife.Objects.Person + description: The person to query free action spots for - id: context type: TinyLife.Objects.ObjectCategory + description: The object category that this action spot needs to have return: type: TinyLife.Actions.ActionInfo + description: The first free action spot as an content.vb: Public Overrides Function GetFreeActionSpotInfo(person As Person, context As ObjectCategory = Nothing) As ActionInfo overridden: TinyLife.Objects.MapObject.GetFreeActionSpotInfo(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) overload: TinyLife.Objects.Furniture.GetFreeActionSpotInfo* @@ -1976,7 +2046,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetActionSpotInfo path: Objects/Furniture.cs - startLine: 470 + startLine: 474 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2021,14 +2091,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeObjectSpot path: Objects/Furniture.cs - startLine: 482 + startLine: 486 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns the first free on this furniture.\nFree, in this case, is any object spot that isn't already occupied by a different furniture.\n" example: [] syntax: - content: public ObjectSpot GetFreeObjectSpot(FurnitureType type, Vector2? position = default(Vector2? )) + content: public ObjectSpot GetFreeObjectSpot(FurnitureType type, Vector2? position = null) parameters: - id: type type: TinyLife.Objects.FurnitureType @@ -2066,7 +2136,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetParent path: Objects/Furniture.cs - startLine: 496 + startLine: 500 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2105,7 +2175,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UnlinkParentsAndChildren path: Objects/Furniture.cs - startLine: 510 + startLine: 514 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2137,7 +2207,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveAndUnlink path: Objects/Furniture.cs - startLine: 520 + startLine: 524 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2169,7 +2239,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetChildren path: Objects/Furniture.cs - startLine: 530 + startLine: 534 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2178,7 +2248,6 @@ items: syntax: content: >- public IEnumerable GetChildren() - where T : MapObject typeParameters: - id: T @@ -2212,7 +2281,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveChildren path: Objects/Furniture.cs - startLine: 541 + startLine: 545 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2221,7 +2290,6 @@ items: syntax: content: >- public IEnumerable RemoveChildren(Predicate predicate = null) - where T : Furniture parameters: - id: predicate @@ -2260,7 +2328,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveChild path: Objects/Furniture.cs - startLine: 555 + startLine: 559 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2299,7 +2367,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddChild path: Objects/Furniture.cs - startLine: 574 + startLine: 578 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2307,8 +2375,7 @@ items: example: [] syntax: content: >- - public T AddChild(FurnitureType type, Direction2 rotation, int[] colors = null, Guid? id = default(Guid? ), Vector2? position = default(Vector2? )) - + public T AddChild(FurnitureType type, Direction2 rotation, int[] colors = null, Guid? id = null, Vector2? position = null) where T : Furniture parameters: - id: type @@ -2359,14 +2426,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddChild path: Objects/Furniture.cs - startLine: 589 + startLine: 593 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nAdds a child to this furniture, setting its parent () to this furniture and adding it to this furniture's .\nThe object spot selected is the first available object spot.\n" example: [] syntax: - content: public bool AddChild(Furniture item, Direction2 rotation, Vector2? position = default(Vector2? )) + content: public bool AddChild(Furniture item, Direction2 rotation, Vector2? position = null) parameters: - id: item type: TinyLife.Objects.Furniture @@ -2407,14 +2474,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetChild path: Objects/Furniture.cs - startLine: 606 + startLine: 610 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets the child element in the given object spot to the given furniture and adds it to this furniture's .\nIf there are already children in the given object spot, those are removed prior to adding the new child.\n" example: [] syntax: - content: public void SetChild(ObjectSpot spot, FurnitureType type, Direction2 rotation, int[] colors = null, Guid? id = default(Guid? )) + content: public void SetChild(ObjectSpot spot, FurnitureType type, Direction2 rotation, int[] colors = null, Guid? id = null) parameters: - id: spot type: TinyLife.Objects.ObjectSpot @@ -2458,7 +2525,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetChild path: Objects/Furniture.cs - startLine: 617 + startLine: 621 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2500,7 +2567,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NotifyNeighbors path: Objects/Furniture.cs - startLine: 629 + startLine: 633 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2532,7 +2599,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetNewId path: Objects/Furniture.cs - startLine: 642 + startLine: 646 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5741,6 +5808,18 @@ references: name: SetCreator nameWithType: Furniture.SetCreator fullName: TinyLife.Objects.Furniture.SetCreator +- uid: TinyLife.Objects.Furniture.GetDisplayName* + commentId: Overload:TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName +- uid: System.String + commentId: T:System.String + parent: System + isExternal: true + name: String + nameWithType: String + fullName: System.String - uid: TinyLife.Objects.Furniture.OnNeighborChanged* commentId: Overload:TinyLife.Objects.Furniture.OnNeighborChanged name: OnNeighborChanged diff --git a/docs/api/TinyLife.Objects.FurnitureType.TypeSettings.yml b/docs/api/TinyLife.Objects.FurnitureType.TypeSettings.yml index 32450cd..878ec35 100644 --- a/docs/api/TinyLife.Objects.FurnitureType.TypeSettings.yml +++ b/docs/api/TinyLife.Objects.FurnitureType.TypeSettings.yml @@ -22,6 +22,7 @@ items: - TinyLife.Objects.FurnitureType.TypeSettings.ElectricityRating - TinyLife.Objects.FurnitureType.TypeSettings.GetData``1(System.String) - TinyLife.Objects.FurnitureType.TypeSettings.GetDataKeys + - TinyLife.Objects.FurnitureType.TypeSettings.GetDisplayName - TinyLife.Objects.FurnitureType.TypeSettings.HeldPivot - TinyLife.Objects.FurnitureType.TypeSettings.HeldScale - TinyLife.Objects.FurnitureType.TypeSettings.Icon @@ -49,7 +50,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TypeSettings path: Objects/FurnitureType.cs - startLine: 401 + startLine: 408 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -59,7 +60,6 @@ items: content: 'public struct TypeSettings : IGenericDataHolder' content.vb: >- Public Structure TypeSettings - Implements IGenericDataHolder implements: - MLEM.Misc.IGenericDataHolder @@ -96,7 +96,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: Objects/FurnitureType.cs - startLine: 406 + startLine: 413 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -129,7 +129,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Size path: Objects/FurnitureType.cs - startLine: 410 + startLine: 417 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -162,7 +162,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Categories path: Objects/FurnitureType.cs - startLine: 414 + startLine: 421 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -195,7 +195,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ActionSpots path: Objects/FurnitureType.cs - startLine: 419 + startLine: 426 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -228,7 +228,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ObjectSpots path: Objects/FurnitureType.cs - startLine: 424 + startLine: 431 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -261,7 +261,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ColorSchemes path: Objects/FurnitureType.cs - startLine: 429 + startLine: 436 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -294,7 +294,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ColorMap path: Objects/FurnitureType.cs - startLine: 434 + startLine: 441 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -327,7 +327,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DefaultColors path: Objects/FurnitureType.cs - startLine: 439 + startLine: 446 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -360,7 +360,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DefaultRotation path: Objects/FurnitureType.cs - startLine: 443 + startLine: 450 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -393,7 +393,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ConstructedType path: Objects/FurnitureType.cs - startLine: 449 + startLine: 456 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -426,7 +426,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Price path: Objects/FurnitureType.cs - startLine: 453 + startLine: 460 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -459,11 +459,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BuyableVariations path: Objects/FurnitureType.cs - startLine: 459 + startLine: 466 assemblies: - Tiny Life namespace: TinyLife.Objects - summary: "\nAn array of actions that can modify the passed instance.\nIf this is set, additional variations of this furniture type will show up in the , and buying them will invoke this action that can then modify the furniture type.\nThis is used, for example, for and .\n" + summary: "\nAn array of actions that can modify the passed instance to allow for multiple variations of it to be displayed as a group in the furniture tool similarly.\nThis is used, for example, for and .\nIf this is null or empty (the former of which it is by default), this furniture item will have no variations.\n" example: [] syntax: content: public Action[] BuyableVariations @@ -492,7 +492,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HeldScale path: Objects/FurnitureType.cs - startLine: 463 + startLine: 470 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -525,7 +525,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HeldPivot path: Objects/FurnitureType.cs - startLine: 468 + startLine: 475 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -558,7 +558,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DecorativeRating path: Objects/FurnitureType.cs - startLine: 475 + startLine: 482 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -591,7 +591,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Icon path: Objects/FurnitureType.cs - startLine: 480 + startLine: 487 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -624,7 +624,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Reliability path: Objects/FurnitureType.cs - startLine: 486 + startLine: 493 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -657,7 +657,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BrokenBehavior path: Objects/FurnitureType.cs - startLine: 491 + startLine: 498 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -690,7 +690,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ElectricityRating path: Objects/FurnitureType.cs - startLine: 496 + startLine: 503 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -723,7 +723,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WaterRating path: Objects/FurnitureType.cs - startLine: 501 + startLine: 508 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -756,7 +756,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Visibility path: Objects/FurnitureType.cs - startLine: 507 + startLine: 514 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -789,7 +789,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Tab path: Objects/FurnitureType.cs - startLine: 512 + startLine: 519 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -822,7 +822,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TextureName path: Objects/FurnitureType.cs - startLine: 517 + startLine: 524 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -855,7 +855,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CreateLights path: Objects/FurnitureType.cs - startLine: 522 + startLine: 529 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -888,7 +888,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DirtyOverlayTextureName path: Objects/FurnitureType.cs - startLine: 529 + startLine: 536 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -921,7 +921,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DistanceFromObstructions path: Objects/FurnitureType.cs - startLine: 535 + startLine: 542 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -936,6 +936,37 @@ items: - public modifiers.vb: - Public +- uid: TinyLife.Objects.FurnitureType.TypeSettings.GetDisplayName + commentId: F:TinyLife.Objects.FurnitureType.TypeSettings.GetDisplayName + id: GetDisplayName + parent: TinyLife.Objects.FurnitureType.TypeSettings + langs: + - csharp + - vb + name: GetDisplayName + nameWithType: FurnitureType.TypeSettings.GetDisplayName + fullName: TinyLife.Objects.FurnitureType.TypeSettings.GetDisplayName + type: Field + source: + remote: + path: TinyLife/Objects/FurnitureType.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetDisplayName + path: Objects/FurnitureType.cs + startLine: 543 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + syntax: + content: public Func GetDisplayName + return: + type: System.Func{System.String,TinyLife.Objects.Furniture,System.String} + content.vb: Public GetDisplayName As Func(Of String, Furniture, String) + modifiers.csharp: + - public + modifiers.vb: + - Public - uid: TinyLife.Objects.FurnitureType.TypeSettings.#ctor(System.String,Microsoft.Xna.Framework.Point,TinyLife.Objects.ObjectCategory,System.Single,TinyLife.Utilities.ColorScheme[]) commentId: M:TinyLife.Objects.FurnitureType.TypeSettings.#ctor(System.String,Microsoft.Xna.Framework.Point,TinyLife.Objects.ObjectCategory,System.Single,TinyLife.Utilities.ColorScheme[]) id: '#ctor(System.String,Microsoft.Xna.Framework.Point,TinyLife.Objects.ObjectCategory,System.Single,TinyLife.Utilities.ColorScheme[])' @@ -954,7 +985,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Objects/FurnitureType.cs - startLine: 547 + startLine: 555 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1005,7 +1036,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetData path: Objects/FurnitureType.cs - startLine: 568 + startLine: 575 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1043,7 +1074,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetData path: Objects/FurnitureType.cs - startLine: 574 + startLine: 581 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1086,7 +1117,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDataKeys path: Objects/FurnitureType.cs - startLine: 579 + startLine: 586 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2143,6 +2174,143 @@ references: name: Int32 nameWithType: Int32 fullName: System.Int32 +- uid: System.Func{System.String,TinyLife.Objects.Furniture,System.String} + commentId: T:System.Func{System.String,TinyLife.Objects.Furniture,System.String} + parent: System + definition: System.Func`3 + name: Func + nameWithType: Func + fullName: System.Func + nameWithType.vb: Func(Of String, Furniture, String) + fullName.vb: System.Func(Of System.String, TinyLife.Objects.Furniture, System.String) + name.vb: Func(Of String, Furniture, String) + spec.csharp: + - uid: System.Func`3 + name: Func + nameWithType: Func + fullName: System.Func + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Objects.Furniture + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Func`3 + name: Func + nameWithType: Func + fullName: System.Func + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Objects.Furniture + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Func`3 + commentId: T:System.Func`3 + isExternal: true + name: Func + nameWithType: Func + fullName: System.Func + nameWithType.vb: Func(Of T1, T2, TResult) + fullName.vb: System.Func(Of T1, T2, TResult) + name.vb: Func(Of T1, T2, TResult) + spec.csharp: + - uid: System.Func`3 + name: Func + nameWithType: Func + fullName: System.Func + isExternal: true + - name: < + nameWithType: < + fullName: < + - name: T1 + nameWithType: T1 + fullName: T1 + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - name: T2 + nameWithType: T2 + fullName: T2 + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - name: TResult + nameWithType: TResult + fullName: TResult + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Func`3 + name: Func + nameWithType: Func + fullName: System.Func + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - name: T1 + nameWithType: T1 + fullName: T1 + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - name: T2 + nameWithType: T2 + fullName: T2 + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - name: TResult + nameWithType: TResult + fullName: TResult + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.FurnitureType.TypeSettings commentId: T:TinyLife.Objects.FurnitureType.TypeSettings parent: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.FurnitureType.yml b/docs/api/TinyLife.Objects.FurnitureType.yml index d8e5c77..f0185e4 100644 --- a/docs/api/TinyLife.Objects.FurnitureType.yml +++ b/docs/api/TinyLife.Objects.FurnitureType.yml @@ -32,6 +32,7 @@ items: - TinyLife.Objects.FurnitureType.FullyCushionedWoodworkingSofa - TinyLife.Objects.FurnitureType.GetBestRotation(MLEM.Misc.Direction2) - TinyLife.Objects.FurnitureType.GetCoveredTiles(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Point) + - TinyLife.Objects.FurnitureType.GetDisplayName(TinyLife.Objects.Furniture) - TinyLife.Objects.FurnitureType.GetPrice - TinyLife.Objects.FurnitureType.GetReferenceTexture(System.Nullable{MLEM.Misc.Direction2}) - TinyLife.Objects.FurnitureType.GetRoofingInTheWay(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,MLEM.Misc.Direction2) @@ -120,7 +121,6 @@ items: - TinyLife.Objects.FurnitureType.VerticalDumbbellRack - TinyLife.Objects.FurnitureType.WindowPlants - TinyLife.Objects.FurnitureType.Wisteria - - TinyLife.Objects.FurnitureType.WoodenToyBox - TinyLife.Objects.FurnitureType.WoodworkingChair - TinyLife.Objects.FurnitureType.WoodworkingChairArmrests - TinyLife.Objects.FurnitureType.WoodworkingCloset @@ -155,9 +155,7 @@ items: Public Class FurnitureType - Inherits GenericDataHolder - Implements IGenericDataHolder, IPricedObject, IEmotionSource inheritance: - System.Object @@ -291,43 +289,6 @@ items: modifiers.vb: - Public - ReadOnly -- uid: TinyLife.Objects.FurnitureType.Rotations - commentId: P:TinyLife.Objects.FurnitureType.Rotations - id: Rotations - parent: TinyLife.Objects.FurnitureType - langs: - - csharp - - vb - name: Rotations - nameWithType: FurnitureType.Rotations - fullName: TinyLife.Objects.FurnitureType.Rotations - type: Property - source: - remote: - path: TinyLife/Objects/FurnitureType.cs - branch: master - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: Rotations - path: Objects/FurnitureType.cs - startLine: 54 - assemblies: - - Tiny Life - namespace: TinyLife.Objects - summary: "\nThe valid rotations that this furniture has, which are automatically determined based on the available \n" - example: [] - syntax: - content: public ICollection Rotations { get; } - parameters: [] - return: - type: System.Collections.Generic.ICollection{MLEM.Misc.Direction2} - content.vb: Public ReadOnly Property Rotations As ICollection(Of Direction2) - overload: TinyLife.Objects.FurnitureType.Rotations* - modifiers.csharp: - - public - - get - modifiers.vb: - - Public - - ReadOnly - uid: TinyLife.Objects.FurnitureType.Settings commentId: F:TinyLife.Objects.FurnitureType.Settings id: Settings @@ -346,7 +307,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Settings path: Objects/FurnitureType.cs - startLine: 58 + startLine: 53 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -363,6 +324,43 @@ items: modifiers.vb: - Public - ReadOnly +- uid: TinyLife.Objects.FurnitureType.Rotations + commentId: P:TinyLife.Objects.FurnitureType.Rotations + id: Rotations + parent: TinyLife.Objects.FurnitureType + langs: + - csharp + - vb + name: Rotations + nameWithType: FurnitureType.Rotations + fullName: TinyLife.Objects.FurnitureType.Rotations + type: Property + source: + remote: + path: TinyLife/Objects/FurnitureType.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: Rotations + path: Objects/FurnitureType.cs + startLine: 58 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nThe valid rotations that this furniture has, which are automatically determined based on the available \n" + example: [] + syntax: + content: public ICollection Rotations { get; } + parameters: [] + return: + type: System.Collections.Generic.ICollection{MLEM.Misc.Direction2} + content.vb: Public ReadOnly Property Rotations As ICollection(Of Direction2) + overload: TinyLife.Objects.FurnitureType.Rotations* + modifiers.csharp: + - public + - get + modifiers.vb: + - Public + - ReadOnly - uid: TinyLife.Objects.FurnitureType.SourceString commentId: P:TinyLife.Objects.FurnitureType.SourceString id: SourceString @@ -385,6 +383,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA (localized) string that is displayed when hovering over an that has this source\n" example: [] syntax: content: public string SourceString { get; } @@ -462,7 +461,7 @@ items: summary: "\nDraws the furniture type with the given data.\nInternally, this uses to draw each layer with a slight depth offset.\n" example: [] syntax: - content: public void DrawLayers(Map map, Vector2 position, SpriteBatch batch, Vector2 drawPos, Direction2 rotation, TextureRegion[] layers, int[] colors, float scale, bool pivot = true, Furniture parent = null, AbstractSpot spot = null, Color? overrideColor = default(Color? ), float depthOffset = 0F, bool held = false) + content: public void DrawLayers(Map map, Vector2 position, SpriteBatch batch, Vector2 drawPos, Direction2 rotation, TextureRegion[] layers, int[] colors, float scale, bool pivot = true, Furniture parent = null, AbstractSpot spot = null, Color? overrideColor = null, float depthOffset = 0F, bool held = false) parameters: - id: map type: TinyLife.World.Map @@ -615,7 +614,7 @@ items: summary: "\nDraws the of this object into the world.\nNote that, if this object cannot get dirty, this method will throw a .\nBy default, the dirty overlay is automatically drawn in .\n" example: [] syntax: - content: public void DrawDirtyOverlay(Map map, Vector2 position, SpriteBatch batch, Vector2 drawPos, Direction2 rotation, float scale, Color? overrideColor = default(Color? ), bool pivot = true, Furniture parent = null, AbstractSpot parentSpot = null, float depthOffset = 0F, bool held = false) + content: public void DrawDirtyOverlay(Map map, Vector2 position, SpriteBatch batch, Vector2 drawPos, Direction2 rotation, float scale, Color? overrideColor = null, bool pivot = true, Furniture parent = null, AbstractSpot parentSpot = null, float depthOffset = 0F, bool held = false) parameters: - id: map type: TinyLife.World.Map @@ -726,7 +725,7 @@ items: summary: "\nConstructs a new object from this furniture type\n" example: [] syntax: - content: public Furniture Construct(int[] colors, Map map, Vector2 pos, Guid? id = default(Guid? )) + content: public Furniture Construct(int[] colors, Map map, Vector2 pos, Guid? id = null) parameters: - id: colors type: System.Int32[] @@ -864,11 +863,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Function GetPrice As Single overload: TinyLife.Objects.FurnitureType.GetPrice* implements: @@ -980,7 +981,7 @@ items: summary: "\nReturns the reference texture of this furniture type for the given rotation.\nThe reference texture is the first layer of the texture for the given rotation.\n" example: [] syntax: - content: public TextureRegion GetReferenceTexture(Direction2? rotation = default(Direction2? )) + content: public TextureRegion GetReferenceTexture(Direction2? rotation = null) parameters: - id: rotation type: System.Nullable{MLEM.Misc.Direction2} @@ -1042,6 +1043,41 @@ items: - public modifiers.vb: - Public +- uid: TinyLife.Objects.FurnitureType.GetDisplayName(TinyLife.Objects.Furniture) + commentId: M:TinyLife.Objects.FurnitureType.GetDisplayName(TinyLife.Objects.Furniture) + id: GetDisplayName(TinyLife.Objects.Furniture) + parent: TinyLife.Objects.FurnitureType + langs: + - csharp + - vb + name: GetDisplayName(Furniture) + nameWithType: FurnitureType.GetDisplayName(Furniture) + fullName: TinyLife.Objects.FurnitureType.GetDisplayName(TinyLife.Objects.Furniture) + type: Method + source: + remote: + path: TinyLife/Objects/FurnitureType.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetDisplayName + path: Objects/FurnitureType.cs + startLine: 295 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + syntax: + content: public string GetDisplayName(Furniture instance) + parameters: + - id: instance + type: TinyLife.Objects.Furniture + return: + type: System.String + content.vb: Public Function GetDisplayName(instance As Furniture) As String + overload: TinyLife.Objects.FurnitureType.GetDisplayName* + modifiers.csharp: + - public + modifiers.vb: + - Public - uid: TinyLife.Objects.FurnitureType.GetCoveredTiles(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Point) commentId: M:TinyLife.Objects.FurnitureType.GetCoveredTiles(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Point) id: GetCoveredTiles(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Point) @@ -1060,7 +1096,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCoveredTiles path: Objects/FurnitureType.cs - startLine: 322 + startLine: 329 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1104,7 +1140,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: Objects/FurnitureType.cs - startLine: 334 + startLine: 341 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1145,7 +1181,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RegisterAll path: Objects/FurnitureType.cs - startLine: 343 + startLine: 350 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1189,7 +1225,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTextures path: Objects/FurnitureType.cs - startLine: 357 + startLine: 364 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1239,7 +1275,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTexture path: Objects/FurnitureType.cs - startLine: 380 + startLine: 387 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3855,41 +3891,6 @@ items: - Public - Shared - ReadOnly -- uid: TinyLife.Objects.FurnitureType.WoodenToyBox - commentId: F:TinyLife.Objects.FurnitureType.WoodenToyBox - id: WoodenToyBox - parent: TinyLife.Objects.FurnitureType - langs: - - csharp - - vb - name: WoodenToyBox - nameWithType: FurnitureType.WoodenToyBox - fullName: TinyLife.Objects.FurnitureType.WoodenToyBox - type: Field - source: - remote: - path: TinyLife/Objects/FurnitureType.Misc.cs - branch: master - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: WoodenToyBox - path: Objects/FurnitureType.Misc.cs - startLine: 295 - assemblies: - - Tiny Life - namespace: TinyLife.Objects - syntax: - content: public static readonly FurnitureType WoodenToyBox - return: - type: TinyLife.Objects.FurnitureType - content.vb: Public Shared ReadOnly WoodenToyBox As FurnitureType - modifiers.csharp: - - public - - static - - readonly - modifiers.vb: - - Public - - Shared - - ReadOnly - uid: TinyLife.Objects.FurnitureType.EmptyPlate commentId: F:TinyLife.Objects.FurnitureType.EmptyPlate id: EmptyPlate @@ -4153,7 +4154,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FoodPlatter path: Objects/FurnitureType.NonBuyable.cs - startLine: 41 + startLine: 42 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4188,7 +4189,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FoodGlass path: Objects/FurnitureType.NonBuyable.cs - startLine: 45 + startLine: 47 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4223,7 +4224,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CustomPainting path: Objects/FurnitureType.NonBuyable.cs - startLine: 49 + startLine: 52 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4258,7 +4259,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Book path: Objects/FurnitureType.NonBuyable.cs - startLine: 58 + startLine: 61 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4293,7 +4294,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Puddle path: Objects/FurnitureType.NonBuyable.cs - startLine: 61 + startLine: 64 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4328,7 +4329,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Gravestone path: Objects/FurnitureType.NonBuyable.cs - startLine: 66 + startLine: 69 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4363,7 +4364,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sponge path: Objects/FurnitureType.NonBuyable.cs - startLine: 71 + startLine: 74 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4398,7 +4399,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Spanner path: Objects/FurnitureType.NonBuyable.cs - startLine: 72 + startLine: 75 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4433,7 +4434,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PaintBrush path: Objects/FurnitureType.NonBuyable.cs - startLine: 73 + startLine: 76 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4468,7 +4469,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Mop path: Objects/FurnitureType.NonBuyable.cs - startLine: 74 + startLine: 77 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4503,7 +4504,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Dumbbell path: Objects/FurnitureType.NonBuyable.cs - startLine: 75 + startLine: 78 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4538,7 +4539,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GrillingFood path: Objects/FurnitureType.NonBuyable.cs - startLine: 78 + startLine: 81 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4573,7 +4574,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UnfinishedWoodwork path: Objects/FurnitureType.NonBuyable.cs - startLine: 81 + startLine: 84 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4608,7 +4609,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HomeworkBook path: Objects/FurnitureType.NonBuyable.cs - startLine: 85 + startLine: 90 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4643,7 +4644,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToyCar path: Objects/FurnitureType.NonBuyable.cs - startLine: 88 + startLine: 93 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5457,6 +5458,12 @@ references: - uid: TinyLife.Objects.FurnitureType.TypeSettings.DirtyOverlayTextureName commentId: F:TinyLife.Objects.FurnitureType.TypeSettings.DirtyOverlayTextureName isExternal: true +- uid: TinyLife.Objects.FurnitureType.TypeSettings + commentId: T:TinyLife.Objects.FurnitureType.TypeSettings + parent: TinyLife.Objects + name: FurnitureType.TypeSettings + nameWithType: FurnitureType.TypeSettings + fullName: TinyLife.Objects.FurnitureType.TypeSettings - uid: TinyLife.Objects.FurnitureType.Rotations* commentId: Overload:TinyLife.Objects.FurnitureType.Rotations name: Rotations @@ -5545,12 +5552,6 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Objects.FurnitureType.TypeSettings - commentId: T:TinyLife.Objects.FurnitureType.TypeSettings - parent: TinyLife.Objects - name: FurnitureType.TypeSettings - nameWithType: FurnitureType.TypeSettings - fullName: TinyLife.Objects.FurnitureType.TypeSettings - uid: TinyLife.Objects.FurnitureType.SourceString* commentId: Overload:TinyLife.Objects.FurnitureType.SourceString name: SourceString @@ -6600,6 +6601,11 @@ references: name: GetRotatedOffset nameWithType: FurnitureType.GetRotatedOffset fullName: TinyLife.Objects.FurnitureType.GetRotatedOffset +- uid: TinyLife.Objects.FurnitureType.GetDisplayName* + commentId: Overload:TinyLife.Objects.FurnitureType.GetDisplayName + name: GetDisplayName + nameWithType: FurnitureType.GetDisplayName + fullName: TinyLife.Objects.FurnitureType.GetDisplayName - uid: TinyLife.Objects.FurnitureType.GetCoveredTiles* commentId: Overload:TinyLife.Objects.FurnitureType.GetCoveredTiles name: GetCoveredTiles diff --git a/docs/api/TinyLife.Objects.Gravestone.yml b/docs/api/TinyLife.Objects.Gravestone.yml index 8af8817..7ad16b5 100644 --- a/docs/api/TinyLife.Objects.Gravestone.yml +++ b/docs/api/TinyLife.Objects.Gravestone.yml @@ -27,14 +27,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA furniture is an instance of a which is placed in the world, or in a 's hand.\nTo register a custom furniture, use .\n" example: [] syntax: content: 'public class Gravestone : Furniture, IGenericDataHolder, IPricedObject' content.vb: >- Public Class Gravestone - Inherits Furniture - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -83,6 +82,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -239,20 +239,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public Gravestone(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.Gravestone.#ctor* nameWithType.vb: Gravestone.Gravestone(Guid, FurnitureType, Int32(), Map, Vector2) @@ -284,11 +290,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns a object that is displayed whenever the mouse is hovered over this object in the world.\nBy default, this method returns null, which will cause no tooltip to be displayed.\n" example: [] syntax: content: public override Tooltip GetHoverInfo() return: type: MLEM.Ui.Elements.Tooltip + description: The tooltip to display content.vb: Public Overrides Function GetHoverInfo As Tooltip overridden: TinyLife.Objects.MapObject.GetHoverInfo overload: TinyLife.Objects.Gravestone.GetHoverInfo* @@ -1434,6 +1442,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.LightFurniture.yml b/docs/api/TinyLife.Objects.LightFurniture.yml index 09dd5b0..14ed902 100644 --- a/docs/api/TinyLife.Objects.LightFurniture.yml +++ b/docs/api/TinyLife.Objects.LightFurniture.yml @@ -38,9 +38,7 @@ items: content: 'public class LightFurniture : Furniture, IGenericDataHolder, IPricedObject, IUpdatingObject' content.vb: >- Public Class LightFurniture - Inherits Furniture - Implements IGenericDataHolder, IPricedObject, IUpdatingObject inheritance: - System.Object @@ -89,6 +87,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -285,20 +284,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public LightFurniture(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.LightFurniture.#ctor* nameWithType.vb: LightFurniture.LightFurniture(Guid, FurnitureType, Int32(), Map, Vector2) @@ -330,16 +335,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThe update method, which is called every update frame by the underlying \n" example: [] syntax: content: public virtual void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last call - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overridable Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overload: TinyLife.Objects.LightFurniture.Update* implements: @@ -372,6 +381,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is added to a .\nBy default, it does nothing.\n" example: [] syntax: content: public override void OnAdded() @@ -406,6 +416,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is removed from a .\nBy default, it does nothing.\n" example: [] syntax: content: public override void OnRemoved() @@ -440,11 +451,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.Furniture.Validate overload: TinyLife.Objects.LightFurniture.Validate* @@ -1558,6 +1571,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.MapObject.yml b/docs/api/TinyLife.Objects.MapObject.yml index 8dd8174..8953541 100644 --- a/docs/api/TinyLife.Objects.MapObject.yml +++ b/docs/api/TinyLife.Objects.MapObject.yml @@ -64,9 +64,7 @@ items: Public Class MapObject - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.Objects.ObjectCategory.yml b/docs/api/TinyLife.Objects.ObjectCategory.yml index 4f481f4..24af2c8 100644 --- a/docs/api/TinyLife.Objects.ObjectCategory.yml +++ b/docs/api/TinyLife.Objects.ObjectCategory.yml @@ -92,7 +92,6 @@ items: content: 'public class ObjectCategory : DynamicEnum' content.vb: >- Public Class ObjectCategory - Inherits DynamicEnum inheritance: - System.Object diff --git a/docs/api/TinyLife.Objects.ObjectSpot.yml b/docs/api/TinyLife.Objects.ObjectSpot.yml index 7c17d62..347160d 100644 --- a/docs/api/TinyLife.Objects.ObjectSpot.yml +++ b/docs/api/TinyLife.Objects.ObjectSpot.yml @@ -8,7 +8,7 @@ items: - TinyLife.Objects.ObjectSpot.#ctor(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Predicate{TinyLife.Objects.FurnitureType},System.Single,MLEM.Misc.Direction2[]) - TinyLife.Objects.ObjectSpot.#ctor(Microsoft.Xna.Framework.Vector2,System.Predicate{TinyLife.Objects.FurnitureType},System.Single,MLEM.Misc.Direction2[]) - TinyLife.Objects.ObjectSpot.BarSpots - - TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean) + - TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean,System.Single) - TinyLife.Objects.ObjectSpot.DeskSpots(System.Single,System.Boolean) - TinyLife.Objects.ObjectSpot.DoubleShelfSpots(System.Single) - TinyLife.Objects.ObjectSpot.GetContents``1(TinyLife.Objects.Furniture,System.Boolean) @@ -29,7 +29,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ObjectSpot path: Objects/ActionSpot.cs - startLine: 282 + startLine: 284 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -39,7 +39,6 @@ items: content: 'public class ObjectSpot : AbstractSpot' content.vb: >- Public Class ObjectSpot - Inherits AbstractSpot inheritance: - System.Object @@ -87,7 +86,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsFurnitureAllowed path: Objects/ActionSpot.cs - startLine: 287 + startLine: 289 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -122,7 +121,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Objects/ActionSpot.cs - startLine: 296 + startLine: 298 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -170,7 +169,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Objects/ActionSpot.cs - startLine: 307 + startLine: 309 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -221,7 +220,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetContents path: Objects/ActionSpot.cs - startLine: 321 + startLine: 323 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -230,7 +229,6 @@ items: syntax: content: >- public IEnumerable GetContents(Furniture furniture, bool includeGroup = false) - where T : Furniture parameters: - id: furniture @@ -272,7 +270,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TableSpots path: Objects/ActionSpot.cs - startLine: 333 + startLine: 335 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -313,7 +311,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PicnicTableSpots path: Objects/ActionSpot.cs - startLine: 356 + startLine: 358 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -336,16 +334,16 @@ items: modifiers.vb: - Public - Shared -- uid: TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean) - commentId: M:TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean) - id: CounterSpots(System.Boolean) +- uid: TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean,System.Single) + commentId: M:TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean,System.Single) + id: CounterSpots(System.Boolean,System.Single) parent: TinyLife.Objects.ObjectSpot langs: - csharp - vb - name: CounterSpots(Boolean) - nameWithType: ObjectSpot.CounterSpots(Boolean) - fullName: TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean) + name: CounterSpots(Boolean, Single) + nameWithType: ObjectSpot.CounterSpots(Boolean, Single) + fullName: TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean, System.Single) type: Method source: remote: @@ -354,22 +352,24 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CounterSpots path: Objects/ActionSpot.cs - startLine: 371 + startLine: 373 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nA helper method to create a set of instnaces for counters and stoves.\nThe resulting set contains a single object spot for and object, or and if stove is true.\n" example: [] syntax: - content: public static ObjectSpot[] CounterSpots(bool stove = false) + content: public static ObjectSpot[] CounterSpots(bool stove = false, float yOffset = -0.8125F) parameters: - id: stove type: System.Boolean description: Whether the object is a stove (or a counter) + - id: yOffset + type: System.Single return: type: TinyLife.Objects.ObjectSpot[] description: A set of object spots for the stove or counter - content.vb: Public Shared Function CounterSpots(stove As Boolean = False) As ObjectSpot() + content.vb: Public Shared Function CounterSpots(stove As Boolean = False, yOffset As Single = -0.8125F) As ObjectSpot() overload: TinyLife.Objects.ObjectSpot.CounterSpots* modifiers.csharp: - public @@ -395,7 +395,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BarSpots path: Objects/ActionSpot.cs - startLine: 385 + startLine: 387 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -432,7 +432,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DoubleShelfSpots path: Objects/ActionSpot.cs - startLine: 398 + startLine: 400 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -473,7 +473,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DeskSpots path: Objects/ActionSpot.cs - startLine: 410 + startLine: 412 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.OverlayWallHanging.yml b/docs/api/TinyLife.Objects.OverlayWallHanging.yml index da25139..7192100 100644 --- a/docs/api/TinyLife.Objects.OverlayWallHanging.yml +++ b/docs/api/TinyLife.Objects.OverlayWallHanging.yml @@ -31,9 +31,7 @@ items: content: 'public class OverlayWallHanging : Furniture, IGenericDataHolder, IPricedObject' content.vb: >- Public Class OverlayWallHanging - Inherits Furniture - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -81,6 +79,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -158,20 +157,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public OverlayWallHanging(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.OverlayWallHanging.#ctor* nameWithType.vb: OverlayWallHanging.OverlayWallHanging(Guid, FurnitureType, Int32(), Map, Vector2) @@ -203,36 +208,50 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this furniture in the world with the given settings.\nThis is a more generalized version of \n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 pos, Vector2 drawPos, Color? overrideColor, Direction2 rotation, int[] colors, float drawScale, bool pivot, Furniture parent, AbstractSpot parentSpot, float depthOffset, bool held) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to draw with - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position, in world space, that the furniture is at - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw the furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An optional color to override the default colors of the furniture - id: rotation type: MLEM.Misc.Direction2 + description: The rotation of the furniture - id: colors type: System.Int32[] + description: The colors to draw the furniture with - id: drawScale type: System.Single + description: The scale to draw the furniture with - id: pivot type: System.Boolean + description: Whether or not to move the furniture by its texture's pivot point - id: parent type: TinyLife.Objects.Furniture + description: The object that this furniture is latched on to, or null if there is none - id: parentSpot type: TinyLife.Objects.AbstractSpot + description: The object spot that this furntiture is in, or null if there is none - id: depthOffset type: System.Single + description: A value that is added onto the calculated depth of the object - id: held type: System.Boolean + description: Whether or not this item is currently being held by a content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, pos As Vector2, drawPos As Vector2, overrideColor As Color?, rotation As Direction2, colors As Integer(), drawScale As Single, pivot As Boolean, parent As Furniture, parentSpot As AbstractSpot, depthOffset As Single, held As Boolean) overridden: TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) overload: TinyLife.Objects.OverlayWallHanging.Draw* @@ -1132,6 +1151,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.Painting.yml b/docs/api/TinyLife.Objects.Painting.yml index ce0da23..4624b14 100644 --- a/docs/api/TinyLife.Objects.Painting.yml +++ b/docs/api/TinyLife.Objects.Painting.yml @@ -30,14 +30,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA furniture is an instance of a which is placed in the world, or in a 's hand.\nTo register a custom furniture, use .\n" example: [] syntax: content: 'public class Painting : Furniture, IGenericDataHolder, IPricedObject' content.vb: >- Public Class Painting - Inherits Furniture - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -83,6 +82,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -245,20 +245,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public Painting(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.Painting.#ctor* nameWithType.vb: Painting.Painting(Guid, FurnitureType, Int32(), Map, Vector2) @@ -290,36 +296,50 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this furniture in the world with the given settings.\nThis is a more generalized version of \n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 pos, Vector2 drawPos, Color? overrideColor, Direction2 rotation, int[] colors, float drawScale, bool pivot, Furniture parent, AbstractSpot parentSpot, float depthOffset, bool held) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to draw with - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position, in world space, that the furniture is at - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw the furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An optional color to override the default colors of the furniture - id: rotation type: MLEM.Misc.Direction2 + description: The rotation of the furniture - id: colors type: System.Int32[] + description: The colors to draw the furniture with - id: drawScale type: System.Single + description: The scale to draw the furniture with - id: pivot type: System.Boolean + description: Whether or not to move the furniture by its texture's pivot point - id: parent type: TinyLife.Objects.Furniture + description: The object that this furniture is latched on to, or null if there is none - id: parentSpot type: TinyLife.Objects.AbstractSpot + description: The object spot that this furntiture is in, or null if there is none - id: depthOffset type: System.Single + description: A value that is added onto the calculated depth of the object - id: held type: System.Boolean + description: Whether or not this item is currently being held by a content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, pos As Vector2, drawPos As Vector2, overrideColor As Color?, rotation As Direction2, colors As Integer(), drawScale As Single, pivot As Boolean, parent As Furniture, parentSpot As AbstractSpot, depthOffset As Single, held As Boolean) overridden: TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) overload: TinyLife.Objects.Painting.Draw* @@ -354,11 +374,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public override float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Overrides Function GetPrice As Single overridden: TinyLife.Objects.Furniture.GetPrice overload: TinyLife.Objects.Painting.GetPrice* @@ -390,11 +412,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.Furniture.Validate overload: TinyLife.Objects.Painting.Validate* @@ -426,11 +450,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns a object that is displayed whenever the mouse is hovered over this object in the world.\nBy default, this method returns null, which will cause no tooltip to be displayed.\n" example: [] syntax: content: public override Tooltip GetHoverInfo() return: type: MLEM.Ui.Elements.Tooltip + description: The tooltip to display content.vb: Public Overrides Function GetHoverInfo As Tooltip overridden: TinyLife.Objects.MapObject.GetHoverInfo overload: TinyLife.Objects.Painting.GetHoverInfo* @@ -1262,6 +1288,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.Person.ActionUpdateDelegate.yml b/docs/api/TinyLife.Objects.Person.ActionUpdateDelegate.yml index 42b0ab5..20058dc 100644 --- a/docs/api/TinyLife.Objects.Person.ActionUpdateDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.ActionUpdateDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ActionUpdateDelegate path: Objects/Person.cs - startLine: 2224 + startLine: 2244 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.DeathReason.yml b/docs/api/TinyLife.Objects.Person.DeathReason.yml index bb3024d..be4ab97 100644 --- a/docs/api/TinyLife.Objects.Person.DeathReason.yml +++ b/docs/api/TinyLife.Objects.Person.DeathReason.yml @@ -23,7 +23,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DeathReason path: Objects/Person.cs - startLine: 2279 + startLine: 2299 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -58,7 +58,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Starvation path: Objects/Person.cs - startLine: 2285 + startLine: 2305 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -92,7 +92,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InexplicableReasons path: Objects/Person.cs - startLine: 2290 + startLine: 2310 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -126,7 +126,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Electrocution path: Objects/Person.cs - startLine: 2295 + startLine: 2315 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -160,7 +160,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TooMuchProtein path: Objects/Person.cs - startLine: 2299 + startLine: 2319 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml b/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml index 798fdff..aebdd8b 100644 --- a/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EfficiencyModifierDelegate path: Objects/Person.cs - startLine: 2209 + startLine: 2229 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml b/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml index 234ae13..e7dc309 100644 --- a/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PassiveActionPriorityDelegate path: Objects/Person.cs - startLine: 2219 + startLine: 2239 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.Pose.yml b/docs/api/TinyLife.Objects.Person.Pose.yml index df610ce..a847e95 100644 --- a/docs/api/TinyLife.Objects.Person.Pose.yml +++ b/docs/api/TinyLife.Objects.Person.Pose.yml @@ -29,7 +29,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Pose path: Objects/Person.cs - startLine: 2229 + startLine: 2249 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -65,7 +65,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Standing path: Objects/Person.cs - startLine: 2234 + startLine: 2254 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -99,7 +99,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Walking path: Objects/Person.cs - startLine: 2238 + startLine: 2258 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -133,7 +133,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sitting path: Objects/Person.cs - startLine: 2242 + startLine: 2262 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -167,7 +167,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Laying path: Objects/Person.cs - startLine: 2247 + startLine: 2267 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -201,7 +201,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SittingGround path: Objects/Person.cs - startLine: 2252 + startLine: 2272 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -235,7 +235,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingStanding path: Objects/Person.cs - startLine: 2256 + startLine: 2276 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -269,7 +269,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingSitting path: Objects/Person.cs - startLine: 2260 + startLine: 2280 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -303,7 +303,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingSittingGround path: Objects/Person.cs - startLine: 2264 + startLine: 2284 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -337,7 +337,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Running path: Objects/Person.cs - startLine: 2268 + startLine: 2288 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -371,7 +371,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StandingArmsOut path: Objects/Person.cs - startLine: 2272 + startLine: 2292 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml b/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml index e8a10d6..7e8c8c0 100644 --- a/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WalkSpeedDelegate path: Objects/Person.cs - startLine: 2214 + startLine: 2234 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.yml b/docs/api/TinyLife.Objects.Person.yml index b4c2e33..bcea598 100644 --- a/docs/api/TinyLife.Objects.Person.yml +++ b/docs/api/TinyLife.Objects.Person.yml @@ -92,9 +92,9 @@ items: - TinyLife.Objects.Person.MaxRecentActionsAmount - TinyLife.Objects.Person.Money - TinyLife.Objects.Person.Needs - - TinyLife.Objects.Person.OccupiedActionSpot - TinyLife.Objects.Person.OccupiedFurniture - TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + - TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - TinyLife.Objects.Person.OnActionsChanged - TinyLife.Objects.Person.OnActionsCompleted @@ -120,6 +120,7 @@ items: - TinyLife.Objects.Person.RemoveEmotion(TinyLife.Emotions.EmotionModifier) - TinyLife.Objects.Person.ResetToStatic(System.Boolean) - TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,System.Single) + - TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Skills.SkillType,System.Single) - TinyLife.Objects.Person.Rotation - TinyLife.Objects.Person.SetCurrentOutfit(System.Int32) - TinyLife.Objects.Person.SetCurrentOutfit(TinyLife.Objects.ClothesIntention) @@ -137,6 +138,7 @@ items: - TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) - TinyLife.Objects.Person.Validate - TinyLife.Objects.Person.VisitLot(TinyLife.World.Lot) + - TinyLife.Objects.Person.VisuallyOccupiedSpot - TinyLife.Objects.Person.VisualPosition - TinyLife.Objects.Person.VoicePitch - TinyLife.Objects.Person.WornLayers @@ -164,9 +166,7 @@ items: content: 'public class Person : MapObject, IGenericDataHolder, IUpdatingObject' content.vb: >- Public Class Person - Inherits MapObject - Implements IGenericDataHolder, IUpdatingObject inheritance: - System.Object @@ -777,6 +777,41 @@ items: modifiers.vb: - Public - ReadOnly +- uid: TinyLife.Objects.Person.OccupiedFurniture + commentId: F:TinyLife.Objects.Person.OccupiedFurniture + id: OccupiedFurniture + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: OccupiedFurniture + nameWithType: Person.OccupiedFurniture + fullName: TinyLife.Objects.Person.OccupiedFurniture + type: Field + source: + remote: + path: TinyLife/Objects/Person.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OccupiedFurniture + path: Objects/Person.cs + startLine: 139 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nThe set of and their occresponding that this person is currently occupying in some capacity.\nNote that this value is not saved to disk, and is cleared every frame.\nTo edit this value, use .\n" + example: [] + syntax: + content: public readonly List<(Furniture Furniture, ActionSpot Spot)> OccupiedFurniture + return: + type: System.Collections.Generic.List{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot}} + content.vb: Public ReadOnly OccupiedFurniture As List(Of(Furniture As Furniture, Spot As ActionSpot)(Of Furniture , ActionSpot)) + modifiers.csharp: + - public + - readonly + modifiers.vb: + - Public + - ReadOnly - uid: TinyLife.Objects.Person.FirstName commentId: F:TinyLife.Objects.Person.FirstName id: FirstName @@ -795,7 +830,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FirstName path: Objects/Person.cs - startLine: 139 + startLine: 145 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -838,7 +873,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LastName path: Objects/Person.cs - startLine: 144 + startLine: 150 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -881,7 +916,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FullName path: Objects/Person.cs - startLine: 148 + startLine: 154 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -918,7 +953,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VoicePitch path: Objects/Person.cs - startLine: 154 + startLine: 160 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -961,7 +996,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Rotation path: Objects/Person.cs - startLine: 158 + startLine: 164 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -998,7 +1033,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Household path: Objects/Person.cs - startLine: 169 + startLine: 175 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1035,7 +1070,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentEmote path: Objects/Person.cs - startLine: 174 + startLine: 180 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1072,7 +1107,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentSpeakStyle path: Objects/Person.cs - startLine: 179 + startLine: 185 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1109,7 +1144,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawSize path: Objects/Person.cs - startLine: 184 + startLine: 190 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1146,7 +1181,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LastVisitedLot path: Objects/Person.cs - startLine: 190 + startLine: 196 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1183,7 +1218,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LotVisitCooldown path: Objects/Person.cs - startLine: 195 + startLine: 201 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1234,7 +1269,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Job path: Objects/Person.cs - startLine: 201 + startLine: 207 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1281,7 +1316,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Emotion path: Objects/Person.cs - startLine: 206 + startLine: 212 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1318,7 +1353,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentRoom path: Objects/Person.cs - startLine: 216 + startLine: 222 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1355,7 +1390,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentRoomDecorativeRating path: Objects/Person.cs - startLine: 220 + startLine: 226 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1392,7 +1427,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LastBedSleptIn path: Objects/Person.cs - startLine: 225 + startLine: 231 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1439,7 +1474,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsMoving path: Objects/Person.cs - startLine: 230 + startLine: 236 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1476,7 +1511,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LotEmployment path: Objects/Person.cs - startLine: 236 + startLine: 242 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1523,7 +1558,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentOutfitIndex path: Objects/Person.cs - startLine: 241 + startLine: 247 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1570,7 +1605,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentOutfit path: Objects/Person.cs - startLine: 246 + startLine: 252 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1607,10 +1642,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsCurrentHousehold path: Objects/Person.cs - startLine: 248 + startLine: 254 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA property that indicates whether or not this household is the same as \n" example: [] syntax: content: public bool IsCurrentHousehold { get; } @@ -1643,10 +1679,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HomeLot path: Objects/Person.cs - startLine: 250 + startLine: 256 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThe that this household lives on.\nFor exported households, this might be null.\n" example: [] syntax: content: public Lot HomeLot { get; } @@ -1679,10 +1716,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Money path: Objects/Person.cs - startLine: 252 + startLine: 258 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThe money that this household has, rounded by two digits after the decimal point\n" example: [] syntax: content: public float Money { get; set; } @@ -1715,7 +1753,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsAsexual path: Objects/Person.cs - startLine: 264 + startLine: 270 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1771,7 +1809,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsAromantic path: Objects/Person.cs - startLine: 269 + startLine: 275 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1827,7 +1865,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsRegularVisitor path: Objects/Person.cs - startLine: 274 + startLine: 280 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1864,7 +1902,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Age path: Objects/Person.cs - startLine: 279 + startLine: 285 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1901,7 +1939,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LifeGoal path: Objects/Person.cs - startLine: 297 + startLine: 303 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1938,7 +1976,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Description path: Objects/Person.cs - startLine: 310 + startLine: 316 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1981,7 +2019,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsDead path: Objects/Person.cs - startLine: 315 + startLine: 321 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2018,7 +2056,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentPose path: Objects/Person.cs - startLine: 322 + startLine: 328 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2061,7 +2099,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WornLayers path: Objects/Person.cs - startLine: 329 + startLine: 335 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2104,7 +2142,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AnimateHeldObject path: Objects/Person.cs - startLine: 334 + startLine: 340 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2137,7 +2175,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HeldObjectRotation path: Objects/Person.cs - startLine: 340 + startLine: 346 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2152,74 +2190,37 @@ items: - public modifiers.vb: - Public -- uid: TinyLife.Objects.Person.OccupiedFurniture - commentId: P:TinyLife.Objects.Person.OccupiedFurniture - id: OccupiedFurniture +- uid: TinyLife.Objects.Person.VisuallyOccupiedSpot + commentId: P:TinyLife.Objects.Person.VisuallyOccupiedSpot + id: VisuallyOccupiedSpot parent: TinyLife.Objects.Person langs: - csharp - vb - name: OccupiedFurniture - nameWithType: Person.OccupiedFurniture - fullName: TinyLife.Objects.Person.OccupiedFurniture + name: VisuallyOccupiedSpot + nameWithType: Person.VisuallyOccupiedSpot + fullName: TinyLife.Objects.Person.VisuallyOccupiedSpot type: Property source: remote: path: TinyLife/Objects/Person.cs branch: master repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: OccupiedFurniture + id: VisuallyOccupiedSpot path: Objects/Person.cs - startLine: 346 + startLine: 353 assemblies: - Tiny Life namespace: TinyLife.Objects - summary: "\nThe that this person is currently occupying.\nNote that this value is not saved to disk, and is reset to null every frame.\nTo edit this value, use .\n" + summary: "\nThe and corresponding that this person is visually occupying in the collection.\nIf this tuple has no value, or any of its entries are null, this person is not visually occupying any of the spots.\nNote that this value is not saved to disk, and is reset to -1 every frame.\nTo edit this value, use .\n" example: [] syntax: - content: public Furniture OccupiedFurniture { get; } + content: public (Furniture Furniture, ActionSpot Spot) VisuallyOccupiedSpot { get; } parameters: [] return: - type: TinyLife.Objects.Furniture - content.vb: Public ReadOnly Property OccupiedFurniture As Furniture - overload: TinyLife.Objects.Person.OccupiedFurniture* - modifiers.csharp: - - public - - get - modifiers.vb: - - Public - - ReadOnly -- uid: TinyLife.Objects.Person.OccupiedActionSpot - commentId: P:TinyLife.Objects.Person.OccupiedActionSpot - id: OccupiedActionSpot - parent: TinyLife.Objects.Person - langs: - - csharp - - vb - name: OccupiedActionSpot - nameWithType: Person.OccupiedActionSpot - fullName: TinyLife.Objects.Person.OccupiedActionSpot - type: Property - source: - remote: - path: TinyLife/Objects/Person.cs - branch: master - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: OccupiedActionSpot - path: Objects/Person.cs - startLine: 352 - assemblies: - - Tiny Life - namespace: TinyLife.Objects - summary: "\nThe of the that this person is currently occupying.\nNote that this value is not saved to disk, and is reset to null every frame.\nTo edit this value, use .\n" - example: [] - syntax: - content: public ActionSpot OccupiedActionSpot { get; } - parameters: [] - return: - type: TinyLife.Objects.ActionSpot - content.vb: Public ReadOnly Property OccupiedActionSpot As ActionSpot - overload: TinyLife.Objects.Person.OccupiedActionSpot* + type: System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot} + content.vb: Public ReadOnly Property VisuallyOccupiedSpot As(Furniture As Furniture, Spot As ActionSpot)(Of Furniture , ActionSpot) + overload: TinyLife.Objects.Person.VisuallyOccupiedSpot* modifiers.csharp: - public - get @@ -2244,7 +2245,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AnimationSpeed path: Objects/Person.cs - startLine: 357 + startLine: 358 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2277,7 +2278,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Tint path: Objects/Person.cs - startLine: 362 + startLine: 363 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2310,7 +2311,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VisualPosition path: Objects/Person.cs - startLine: 368 + startLine: 369 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2347,7 +2348,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnActionsChanged path: Objects/Person.cs - startLine: 374 + startLine: 375 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2380,7 +2381,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnNewSkillLearned path: Objects/Person.cs - startLine: 379 + startLine: 380 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2413,7 +2414,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnJobChanged path: Objects/Person.cs - startLine: 384 + startLine: 385 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2446,7 +2447,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnEmotionModifiersChanged path: Objects/Person.cs - startLine: 389 + startLine: 390 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2479,7 +2480,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnEmotionChanged path: Objects/Person.cs - startLine: 394 + startLine: 395 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2512,7 +2513,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnGetEfficiencyModifier path: Objects/Person.cs - startLine: 400 + startLine: 401 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2545,7 +2546,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnGetWalkSpeed path: Objects/Person.cs - startLine: 406 + startLine: 407 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2578,7 +2579,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnGetPassiveActionPriority path: Objects/Person.cs - startLine: 412 + startLine: 413 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2611,7 +2612,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnActionsCompleted path: Objects/Person.cs - startLine: 417 + startLine: 418 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2644,7 +2645,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnActionUpdated path: Objects/Person.cs - startLine: 422 + startLine: 423 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2677,7 +2678,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnOutfitChanged path: Objects/Person.cs - startLine: 427 + startLine: 428 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2710,7 +2711,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnGetCurrentGoals path: Objects/Person.cs - startLine: 433 + startLine: 434 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2743,7 +2744,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnLifeGoalChanged path: Objects/Person.cs - startLine: 438 + startLine: 439 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2776,7 +2777,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Objects/Person.cs - startLine: 478 + startLine: 480 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2815,7 +2816,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Finalize path: Objects/Person.cs - startLine: 495 + startLine: 497 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2846,20 +2847,24 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Update path: Objects/Person.cs - startLine: 500 + startLine: 502 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThe update method, which is called every update frame by the underlying \n" example: [] syntax: content: public void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last call - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overload: TinyLife.Objects.Person.Update* implements: @@ -2886,22 +2891,26 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: Objects/Person.cs - startLine: 716 + startLine: 718 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this object on the current , at the current .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 _, Color? overrideColor) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to use for drawing - id: _ type: Microsoft.Xna.Framework.Vector2 - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: The color that should be used instead of this object's actual color. If null, the object's regular color should be used. content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, _ As Vector2, overrideColor As Color?) overridden: TinyLife.Objects.MapObject.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color}) overload: TinyLife.Objects.Person.Draw* @@ -2932,15 +2941,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: Objects/Person.cs - startLine: 782 + startLine: 783 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.MapObject.Validate overload: TinyLife.Objects.Person.Validate* @@ -2968,18 +2979,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCategories path: Objects/Person.cs - startLine: 814 + startLine: 815 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns a set of flags that this object has, based on the given .\n" example: [] syntax: content: public override ObjectCategory GetCategories(Person person) parameters: - id: person type: TinyLife.Objects.Person + description: The person to query categories for return: type: TinyLife.Objects.ObjectCategory + description: A set of categories that this object has content.vb: Public Overrides Function GetCategories(person As Person) As ObjectCategory overridden: TinyLife.Objects.MapObject.GetCategories(TinyLife.Objects.Person) overload: TinyLife.Objects.Person.GetCategories* @@ -3007,18 +3021,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Intersects path: Objects/Person.cs - startLine: 819 + startLine: 820 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns whether this map object intersects with the given rectangle.\nThis is used for \n" example: [] syntax: content: public override bool Intersects(RectangleF rectangle) parameters: - id: rectangle type: MLEM.Misc.RectangleF + description: The area that should be checked for return: type: System.Boolean + description: true if this object intersects with the given rectangle content.vb: Public Overrides Function Intersects(rectangle As RectangleF) As Boolean overridden: TinyLife.Objects.MapObject.Intersects(MLEM.Misc.RectangleF) overload: TinyLife.Objects.Person.Intersects* @@ -3046,15 +3063,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHoverInfo path: Objects/Person.cs - startLine: 824 + startLine: 825 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns a object that is displayed whenever the mouse is hovered over this object in the world.\nBy default, this method returns null, which will cause no tooltip to be displayed.\n" example: [] syntax: content: public override Tooltip GetHoverInfo() return: type: MLEM.Ui.Elements.Tooltip + description: The tooltip to display content.vb: Public Overrides Function GetHoverInfo As Tooltip overridden: TinyLife.Objects.MapObject.GetHoverInfo overload: TinyLife.Objects.Person.GetHoverInfo* @@ -3082,20 +3101,24 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeActionSpotInfo path: Objects/Person.cs - startLine: 845 + startLine: 846 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns the first free action spot, packed into an .\n" example: [] syntax: content: public override ActionInfo GetFreeActionSpotInfo(Person person, ObjectCategory context = null) parameters: - id: person type: TinyLife.Objects.Person + description: The person to query free action spots for - id: context type: TinyLife.Objects.ObjectCategory + description: The object category that this action spot needs to have return: type: TinyLife.Actions.ActionInfo + description: The first free action spot as an content.vb: Public Overrides Function GetFreeActionSpotInfo(person As Person, context As ObjectCategory = Nothing) As ActionInfo overridden: TinyLife.Objects.MapObject.GetFreeActionSpotInfo(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) overload: TinyLife.Objects.Person.GetFreeActionSpotInfo* @@ -3123,18 +3146,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCameraRotationChanged path: Objects/Person.cs - startLine: 858 + startLine: 859 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is invoked when the game's camera rotation changes.\nAdditionally, the old and new rotations are passed.\n" example: [] syntax: content: public override void OnCameraRotationChanged(Direction2 oldRotation, Direction2 newRotation) parameters: - id: oldRotation type: MLEM.Misc.Direction2 + description: The old camera rotation - id: newRotation type: MLEM.Misc.Direction2 + description: The new camera rotation content.vb: Public Overrides Sub OnCameraRotationChanged(oldRotation As Direction2, newRotation As Direction2) overridden: TinyLife.Objects.MapObject.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2) overload: TinyLife.Objects.Person.OnCameraRotationChanged* @@ -3162,7 +3188,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FocusCameraOnEvent path: Objects/Person.cs - startLine: 866 + startLine: 867 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3194,7 +3220,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetJob path: Objects/Person.cs - startLine: 880 + startLine: 881 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3233,7 +3259,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ResetToStatic path: Objects/Person.cs - startLine: 891 + startLine: 892 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3269,7 +3295,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PrepareForPermanentRemoval path: Objects/Person.cs - startLine: 932 + startLine: 933 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3301,7 +3327,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VisitLot path: Objects/Person.cs - startLine: 946 + startLine: 947 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3337,7 +3363,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawUi path: Objects/Person.cs - startLine: 962 + startLine: 963 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3382,7 +3408,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHomeLocation path: Objects/Person.cs - startLine: 970 + startLine: 971 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3417,7 +3443,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRelationship path: Objects/Person.cs - startLine: 981 + startLine: 982 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3459,7 +3485,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRelationshipType path: Objects/Person.cs - startLine: 1002 + startLine: 1003 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3498,7 +3524,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ChangeFriendship path: Objects/Person.cs - startLine: 1012 + startLine: 1013 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3537,7 +3563,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ChangeRomance path: Objects/Person.cs - startLine: 1039 + startLine: 1040 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3576,7 +3602,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayEmote path: Objects/Person.cs - startLine: 1063 + startLine: 1064 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3618,7 +3644,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StopEmoting path: Objects/Person.cs - startLine: 1073 + startLine: 1074 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3650,7 +3676,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Speak path: Objects/Person.cs - startLine: 1084 + startLine: 1085 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3692,7 +3718,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StopSpeaking path: Objects/Person.cs - startLine: 1094 + startLine: 1095 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3724,7 +3750,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayEmoteAndSpeak path: Objects/Person.cs - startLine: 1111 + startLine: 1112 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3769,7 +3795,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeTalkingSpots path: Objects/Person.cs - startLine: 1120 + startLine: 1121 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3807,14 +3833,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupyActionSpot path: Objects/Person.cs - startLine: 1138 + startLine: 1139 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses the given action spot of the given furniture to be marked as occupied.\nOptionally, the can also be changed, causing this person to look as if they were sitting, standing or laying on the furniture.\nNote that the values set in this method are reset every call.\n" example: [] syntax: - content: public void OccupyActionSpot(Furniture furniture, ActionSpot spot, bool enterSpot, Direction2? rotation = default(Direction2? )) + content: public void OccupyActionSpot(Furniture furniture, ActionSpot spot, bool enterSpot, Direction2? rotation = null) parameters: - id: furniture type: TinyLife.Objects.Furniture @@ -3855,14 +3881,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupyFreeActionSpot path: Objects/Person.cs - startLine: 1156 + startLine: 1157 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nThis is a shorthand method for and .\nNote that this method needs to be called every update frame for the person to keep occupying the action spot.\n" example: [] syntax: - content: public bool OccupyFreeActionSpot(Furniture furniture, ObjectCategory context = null, bool enter = false, Direction2? rotation = default(Direction2? )) + content: public bool OccupyFreeActionSpot(Furniture furniture, ObjectCategory context = null, bool enter = false, Direction2? rotation = null) parameters: - id: furniture type: TinyLife.Objects.Furniture @@ -3888,6 +3914,57 @@ items: - Public fullName.vb: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture, TinyLife.Objects.ObjectCategory, System.Boolean, System.Nullable(Of MLEM.Misc.Direction2)) name.vb: OccupyFreeActionSpot(Furniture, ObjectCategory, Boolean, Nullable(Of Direction2)) +- uid: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + commentId: M:TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + id: OccupyFreeActionSpot(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: OccupyFreeActionSpot(ActionInfo, ObjectCategory, Boolean, Nullable) + nameWithType: Person.OccupyFreeActionSpot(ActionInfo, ObjectCategory, Boolean, Nullable) + fullName: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Boolean, System.Nullable) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OccupyFreeActionSpot + path: Objects/Person.cs + startLine: 1174 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nThis is a shorthand method for .\nNote that this method needs to be called every update frame for the person to keep occupying the action spot.\n" + example: [] + syntax: + content: public bool OccupyFreeActionSpot(ActionInfo info, ObjectCategory context = null, bool enter = false, Direction2? rotation = null) + parameters: + - id: info + type: TinyLife.Actions.ActionInfo + description: The action info whose action object to occupy. + - id: context + type: TinyLife.Objects.ObjectCategory + description: The category that the action spot should have + - id: enter + type: System.Boolean + description: Whether or not the action spot should be entered + - id: rotation + type: System.Nullable{MLEM.Misc.Direction2} + description: The rotation that the person should have, or the action spot's rotation by default + return: + type: System.Boolean + description: Whether or not we were able to occupy a free action spot + content.vb: Public Function OccupyFreeActionSpot(info As ActionInfo, context As ObjectCategory = Nothing, enter As Boolean = False, rotation As Direction2? = Nothing) As Boolean + overload: TinyLife.Objects.Person.OccupyFreeActionSpot* + nameWithType.vb: Person.OccupyFreeActionSpot(ActionInfo, ObjectCategory, Boolean, Nullable(Of Direction2)) + modifiers.csharp: + - public + modifiers.vb: + - Public + fullName.vb: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Boolean, System.Nullable(Of MLEM.Misc.Direction2)) + name.vb: OccupyFreeActionSpot(ActionInfo, ObjectCategory, Boolean, Nullable(Of Direction2)) - uid: TinyLife.Objects.Person.IsCloseForTalking(Microsoft.Xna.Framework.Vector2) commentId: M:TinyLife.Objects.Person.IsCloseForTalking(Microsoft.Xna.Framework.Vector2) id: IsCloseForTalking(Microsoft.Xna.Framework.Vector2) @@ -3906,7 +3983,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsCloseForTalking path: Objects/Person.cs - startLine: 1170 + startLine: 1185 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3945,7 +4022,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetNeed path: Objects/Person.cs - startLine: 1182 + startLine: 1197 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3984,7 +4061,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetNeedPercentage path: Objects/Person.cs - startLine: 1191 + startLine: 1206 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4023,14 +4100,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RestoreNeed path: Objects/Person.cs - startLine: 1201 + startLine: 1216 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nRestores this person's of the given type by the given amount\n" example: [] syntax: - content: public void RestoreNeed(NeedType type, float amount, float speedMultiplier = 1F) + content: public void RestoreNeed(NeedType type, float amount, float speedMultiplier) parameters: - id: type type: TinyLife.NeedType @@ -4041,7 +4118,46 @@ items: - id: speedMultiplier type: System.Single description: The game speed multiplier, which represents how fast things should happen, which is usually determined by - content.vb: Public Sub RestoreNeed(type As NeedType, amount As Single, speedMultiplier As Single = 1F) + content.vb: Public Sub RestoreNeed(type As NeedType, amount As Single, speedMultiplier As Single) + overload: TinyLife.Objects.Person.RestoreNeed* + modifiers.csharp: + - public + modifiers.vb: + - Public +- uid: TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Skills.SkillType,System.Single) + commentId: M:TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Skills.SkillType,System.Single) + id: RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Skills.SkillType,System.Single) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: RestoreNeed(NeedType, Single, SkillType, Single) + nameWithType: Person.RestoreNeed(NeedType, Single, SkillType, Single) + fullName: TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType, System.Single, TinyLife.Skills.SkillType, System.Single) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: RestoreNeed + path: Objects/Person.cs + startLine: 1220 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + syntax: + content: public void RestoreNeed(NeedType type, float maxAmount, SkillType requiredSkill, float speedMultiplier) + parameters: + - id: type + type: TinyLife.NeedType + - id: maxAmount + type: System.Single + - id: requiredSkill + type: TinyLife.Skills.SkillType + - id: speedMultiplier + type: System.Single + content.vb: Public Sub RestoreNeed(type As NeedType, maxAmount As Single, requiredSkill As SkillType, speedMultiplier As Single) overload: TinyLife.Objects.Person.RestoreNeed* modifiers.csharp: - public @@ -4065,7 +4181,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillPercentage path: Objects/Person.cs - startLine: 1211 + startLine: 1231 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4104,7 +4220,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillLevel path: Objects/Person.cs - startLine: 1221 + startLine: 1241 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4143,7 +4259,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasSkillLevel path: Objects/Person.cs - startLine: 1231 + startLine: 1251 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4185,7 +4301,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GainSkill path: Objects/Person.cs - startLine: 1243 + startLine: 1263 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4230,7 +4346,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DepleteNeed path: Objects/Person.cs - startLine: 1259 + startLine: 1279 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4272,7 +4388,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasPersonality path: Objects/Person.cs - startLine: 1269 + startLine: 1289 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4311,14 +4427,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EnqueueAction path: Objects/Person.cs - startLine: 1283 + startLine: 1303 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nEnqueues the given action into to be executed later.\n" example: [] syntax: - content: public Action EnqueueAction(ActionType type, ActionInfo info, bool automatic, ActionVariety? variety = default(ActionVariety? ), bool priority = false, bool force = false) + content: public Action EnqueueAction(ActionType type, ActionInfo info, bool automatic, ActionVariety? variety = null, bool priority = false, bool force = false) parameters: - id: type type: TinyLife.Actions.ActionType @@ -4368,7 +4484,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CancelAction path: Objects/Person.cs - startLine: 1318 + startLine: 1338 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4413,14 +4529,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindPathAsync path: Objects/Person.cs - startLine: 1338 + startLine: 1358 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nFinds a path asynchronously using the A* pathfinding algorithm.\nNote that the found path is not automatically embarked on.\nUsually, this method should not be used, but should be used instead.\n" example: [] syntax: - content: public Task> FindPathAsync(Point start, Point goal, AStar.GetCost costFunction = null, bool? allowDiagonals = default(bool? )) + content: public Task> FindPathAsync(Point start, Point goal, AStar.GetCost costFunction = null, bool? allowDiagonals = null) parameters: - id: start type: Microsoft.Xna.Framework.Point @@ -4464,7 +4580,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHeldObject path: Objects/Person.cs - startLine: 1348 + startLine: 1368 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4473,7 +4589,6 @@ items: syntax: content: >- public T GetHeldObject() - where T : Furniture typeParameters: - id: T @@ -4508,7 +4623,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetHeldObject path: Objects/Person.cs - startLine: 1360 + startLine: 1380 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4516,8 +4631,7 @@ items: example: [] syntax: content: >- - public T SetHeldObject(FurnitureType type, int[] colors = null, Guid? id = default(Guid? )) - + public T SetHeldObject(FurnitureType type, int[] colors = null, Guid? id = null) where T : Furniture parameters: - id: type @@ -4562,7 +4676,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetHeldObject path: Objects/Person.cs - startLine: 1374 + startLine: 1394 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4598,7 +4712,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHeldActionInfo path: Objects/Person.cs - startLine: 1387 + startLine: 1407 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4633,7 +4747,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToCreatedByString path: Objects/Person.cs - startLine: 1395 + startLine: 1415 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4668,7 +4782,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Die path: Objects/Person.cs - startLine: 1405 + startLine: 1425 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4707,14 +4821,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddEmotion path: Objects/Person.cs - startLine: 1468 + startLine: 1488 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nAdds the given with the given intensity and time\n" example: [] syntax: - content: public bool AddEmotion(EmotionModifier type, int amount, TimeSpan time, IEmotionSource source = null, bool increaseExisting = false) + content: public bool AddEmotion(EmotionModifier type, int amount, TimeSpan time, IEmotionSource source, bool increaseExisting = false) parameters: - id: type type: TinyLife.Emotions.EmotionModifier @@ -4734,7 +4848,7 @@ items: return: type: System.Boolean description: Whether the emotion could be added or it was already applied. If increaseExisting is true, this method always returns true. - content.vb: Public Function AddEmotion(type As EmotionModifier, amount As Integer, time As TimeSpan, source As IEmotionSource = Nothing, increaseExisting As Boolean = False) As Boolean + content.vb: Public Function AddEmotion(type As EmotionModifier, amount As Integer, time As TimeSpan, source As IEmotionSource, increaseExisting As Boolean = False) As Boolean overload: TinyLife.Objects.Person.AddEmotion* modifiers.csharp: - public @@ -4758,7 +4872,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveEmotion path: Objects/Person.cs - startLine: 1490 + startLine: 1510 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4797,7 +4911,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LowerEmotion path: Objects/Person.cs - startLine: 1511 + startLine: 1531 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4842,7 +4956,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LowerEmotionModifier path: Objects/Person.cs - startLine: 1530 + startLine: 1550 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4887,7 +5001,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasEmotionModifier path: Objects/Person.cs - startLine: 1546 + startLine: 1566 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4926,7 +5040,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWalkSpeed path: Objects/Person.cs - startLine: 1555 + startLine: 1575 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4961,7 +5075,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetEfficiencyModifier path: Objects/Person.cs - startLine: 1579 + startLine: 1599 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5009,18 +5123,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasHouseholdMember path: Objects/Person.cs - startLine: 1621 + startLine: 1641 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns whether the given person is a part of this household\n" example: [] syntax: content: public bool HasHouseholdMember(Guid person) parameters: - id: person type: System.Guid + description: The unique id of the person to query return: type: System.Boolean + description: true if the person is part of this household, false otherwise content.vb: Public Function HasHouseholdMember(person As Guid) As Boolean overload: TinyLife.Objects.Person.HasHouseholdMember* modifiers.csharp: @@ -5045,10 +5162,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasHouseholdMember path: Objects/Person.cs - startLine: 1626 + startLine: 1646 assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nReturns whether the given person is a part of this household\n" example: [] syntax: content: public bool HasHouseholdMember(Person person) @@ -5057,6 +5175,7 @@ items: type: TinyLife.Objects.Person return: type: System.Boolean + description: true if the person is part of this household, false otherwise content.vb: Public Function HasHouseholdMember(person As Person) As Boolean overload: TinyLife.Objects.Person.HasHouseholdMember* modifiers.csharp: @@ -5081,7 +5200,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetProjects path: Objects/Person.cs - startLine: 1636 + startLine: 1656 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5120,7 +5239,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetProject path: Objects/Person.cs - startLine: 1646 + startLine: 1666 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5162,7 +5281,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StartProject path: Objects/Person.cs - startLine: 1655 + startLine: 1675 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5201,7 +5320,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPassiveActionPriority path: Objects/Person.cs - startLine: 1667 + startLine: 1687 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5240,7 +5359,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomOutfit path: Objects/Person.cs - startLine: 1687 + startLine: 1707 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5279,7 +5398,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetCurrentOutfit path: Objects/Person.cs - startLine: 1699 + startLine: 1719 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5318,7 +5437,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetCurrentOutfit path: Objects/Person.cs - startLine: 1715 + startLine: 1735 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5354,7 +5473,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetNewId path: Objects/Person.cs - startLine: 1731 + startLine: 1751 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5399,7 +5518,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsIdMatch path: Objects/Person.cs - startLine: 1772 + startLine: 1792 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5438,7 +5557,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsIdMatch path: Objects/Person.cs - startLine: 1782 + startLine: 1802 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5477,7 +5596,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPersonalitySkillBoost path: Objects/Person.cs - startLine: 1792 + startLine: 1812 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5516,7 +5635,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCurrentGoals path: Objects/Person.cs - startLine: 1806 + startLine: 1826 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5551,14 +5670,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomSpeakSound path: Objects/Person.cs - startLine: 2148 + startLine: 2168 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns a random sound effect which is a speak sound that matches any of the given flag values\n" example: [] syntax: - content: public static SoundEffect GetRandomSpeakSound(SpeakStyle style, List avoid = null, TimeSpan? maxLength = default(TimeSpan? )) + content: public static SoundEffect GetRandomSpeakSound(SpeakStyle style, List avoid = null, TimeSpan? maxLength = null) parameters: - id: style type: TinyLife.Objects.SpeakStyle @@ -7916,6 +8035,102 @@ references: name: TinyLife.Actions nameWithType: TinyLife.Actions fullName: TinyLife.Actions +- uid: TinyLife.Objects.Furniture + commentId: T:TinyLife.Objects.Furniture + parent: TinyLife.Objects + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture +- uid: TinyLife.Objects.ActionSpot + commentId: T:TinyLife.Objects.ActionSpot + parent: TinyLife.Objects + name: ActionSpot + nameWithType: ActionSpot + fullName: TinyLife.Objects.ActionSpot +- uid: TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) + commentId: M:TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) + isExternal: true +- uid: TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + commentId: M:TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + isExternal: true +- uid: System.Collections.Generic.List{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot}} + commentId: T:System.Collections.Generic.List{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot}} + parent: System.Collections.Generic + definition: System.Collections.Generic.List`1 + name: List<(T1, T2)> + nameWithType: List<(T1, T2)> + fullName: System.Collections.Generic.List> + nameWithType.vb: List(Of (T1, T2)(Of Furniture, ActionSpot)) + fullName.vb: System.Collections.Generic.List(Of System.ValueTuple(Of TinyLife.Objects.Furniture, TinyLife.Objects.ActionSpot)) + name.vb: List(Of (T1, T2)(Of Furniture, ActionSpot)) + spec.csharp: + - uid: System.Collections.Generic.List`1 + name: List + nameWithType: List + fullName: System.Collections.Generic.List + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: TinyLife.Objects.Furniture + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Objects.ActionSpot + name: ActionSpot + nameWithType: ActionSpot + fullName: TinyLife.Objects.ActionSpot + - name: '>' + nameWithType: '>' + fullName: '>' + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Collections.Generic.List`1 + name: List + nameWithType: List + fullName: System.Collections.Generic.List + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: TinyLife.Objects.Furniture + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Objects.ActionSpot + name: ActionSpot + nameWithType: ActionSpot + fullName: TinyLife.Objects.ActionSpot + - name: ) + nameWithType: ) + fullName: ) + - name: ) + nameWithType: ) + fullName: ) - uid: System.String commentId: T:System.String parent: System @@ -8184,12 +8399,6 @@ references: name: CurrentRoomDecorativeRating nameWithType: Person.CurrentRoomDecorativeRating fullName: TinyLife.Objects.Person.CurrentRoomDecorativeRating -- uid: TinyLife.Objects.Furniture - commentId: T:TinyLife.Objects.Furniture - parent: TinyLife.Objects - name: Furniture - nameWithType: Furniture - fullName: TinyLife.Objects.Furniture - uid: System.Guid.Empty commentId: F:System.Guid.Empty isExternal: true @@ -8326,9 +8535,6 @@ references: - uid: TinyLife.Objects.Person.Pose.Standing commentId: F:TinyLife.Objects.Person.Pose.Standing isExternal: true -- uid: TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) - commentId: M:TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) - isExternal: true - uid: TinyLife.Objects.ClothesLayer commentId: T:TinyLife.Objects.ClothesLayer parent: TinyLife.Objects @@ -8385,28 +8591,121 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - commentId: M:TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) - isExternal: true -- uid: TinyLife.Objects.Person.OccupiedFurniture* - commentId: Overload:TinyLife.Objects.Person.OccupiedFurniture - name: OccupiedFurniture - nameWithType: Person.OccupiedFurniture - fullName: TinyLife.Objects.Person.OccupiedFurniture -- uid: TinyLife.Objects.ActionSpot - commentId: T:TinyLife.Objects.ActionSpot - parent: TinyLife.Objects - name: ActionSpot - nameWithType: ActionSpot - fullName: TinyLife.Objects.ActionSpot - uid: TinyLife.Objects.Person.OccupiedFurniture - commentId: P:TinyLife.Objects.Person.OccupiedFurniture + commentId: F:TinyLife.Objects.Person.OccupiedFurniture isExternal: true -- uid: TinyLife.Objects.Person.OccupiedActionSpot* - commentId: Overload:TinyLife.Objects.Person.OccupiedActionSpot - name: OccupiedActionSpot - nameWithType: Person.OccupiedActionSpot - fullName: TinyLife.Objects.Person.OccupiedActionSpot +- uid: TinyLife.Objects.Person.VisuallyOccupiedSpot* + commentId: Overload:TinyLife.Objects.Person.VisuallyOccupiedSpot + name: VisuallyOccupiedSpot + nameWithType: Person.VisuallyOccupiedSpot + fullName: TinyLife.Objects.Person.VisuallyOccupiedSpot +- uid: System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot} + commentId: T:System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot} + parent: System + definition: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + nameWithType.vb: (T1, T2)(Of Furniture, ActionSpot) + fullName.vb: System.ValueTuple(Of TinyLife.Objects.Furniture, TinyLife.Objects.ActionSpot) + name.vb: (T1, T2)(Of Furniture, ActionSpot) + spec.csharp: + - uid: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: TinyLife.Objects.Furniture + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Objects.ActionSpot + name: ActionSpot + nameWithType: ActionSpot + fullName: TinyLife.Objects.ActionSpot + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: TinyLife.Objects.Furniture + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Objects.ActionSpot + name: ActionSpot + nameWithType: ActionSpot + fullName: TinyLife.Objects.ActionSpot + - name: ) + nameWithType: ) + fullName: ) +- uid: System.ValueTuple`2 + commentId: T:System.ValueTuple`2 + isExternal: true + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + nameWithType.vb: (T1, T2)(Of T1, T2) + fullName.vb: System.ValueTuple(Of T1, T2) + name.vb: (T1, T2)(Of T1, T2) + spec.csharp: + - uid: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + isExternal: true + - name: < + nameWithType: < + fullName: < + - name: T1 + nameWithType: T1 + fullName: T1 + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - name: T2 + nameWithType: T2 + fullName: T2 + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.ValueTuple`2 + name: (T1, T2) + nameWithType: (T1, T2) + fullName: System.ValueTuple + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - name: T1 + nameWithType: T1 + fullName: T1 + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - name: T2 + nameWithType: T2 + fullName: T2 + - name: ) + nameWithType: ) + fullName: ) - uid: System.Nullable{Microsoft.Xna.Framework.Color} commentId: T:System.Nullable{Microsoft.Xna.Framework.Color} parent: System @@ -9684,6 +9983,9 @@ references: name: OccupyFreeActionSpot nameWithType: Person.OccupyFreeActionSpot fullName: TinyLife.Objects.Person.OccupyFreeActionSpot +- uid: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + commentId: M:TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) + isExternal: true - uid: TinyLife.Objects.Person.IsCloseForTalking* commentId: Overload:TinyLife.Objects.Person.IsCloseForTalking name: IsCloseForTalking @@ -9719,14 +10021,6 @@ references: name: RestoreNeed nameWithType: Person.RestoreNeed fullName: TinyLife.Objects.Person.RestoreNeed -- uid: TinyLife.Skills.Skill.LevelPercentage - commentId: P:TinyLife.Skills.Skill.LevelPercentage - isExternal: true -- uid: TinyLife.Objects.Person.GetSkillPercentage* - commentId: Overload:TinyLife.Objects.Person.GetSkillPercentage - name: GetSkillPercentage - nameWithType: Person.GetSkillPercentage - fullName: TinyLife.Objects.Person.GetSkillPercentage - uid: TinyLife.Skills.SkillType commentId: T:TinyLife.Skills.SkillType parent: TinyLife.Skills @@ -9738,6 +10032,14 @@ references: name: TinyLife.Skills nameWithType: TinyLife.Skills fullName: TinyLife.Skills +- uid: TinyLife.Skills.Skill.LevelPercentage + commentId: P:TinyLife.Skills.Skill.LevelPercentage + isExternal: true +- uid: TinyLife.Objects.Person.GetSkillPercentage* + commentId: Overload:TinyLife.Objects.Person.GetSkillPercentage + name: GetSkillPercentage + nameWithType: Person.GetSkillPercentage + fullName: TinyLife.Objects.Person.GetSkillPercentage - uid: TinyLife.Objects.Person.GetSkillLevel* commentId: Overload:TinyLife.Objects.Person.GetSkillLevel name: GetSkillLevel diff --git a/docs/api/TinyLife.Objects.ScreenObject.yml b/docs/api/TinyLife.Objects.ScreenObject.yml index 2eab8f9..ebdc6df 100644 --- a/docs/api/TinyLife.Objects.ScreenObject.yml +++ b/docs/api/TinyLife.Objects.ScreenObject.yml @@ -29,14 +29,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nA furniture is an instance of a which is placed in the world, or in a 's hand.\nTo register a custom furniture, use .\n" example: [] syntax: content: 'public class ScreenObject : BreakableFurniture, IGenericDataHolder, IPricedObject, IUpdatingObject' content.vb: >- Public Class ScreenObject - Inherits BreakableFurniture - Implements IGenericDataHolder, IPricedObject, IUpdatingObject inheritance: - System.Object @@ -91,6 +90,7 @@ items: - TinyLife.Objects.Furniture.OnActionCompleted(TinyLife.Actions.Action,TinyLife.Actions.CompletionType,System.Boolean) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -252,20 +252,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public ScreenObject(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.ScreenObject.#ctor* nameWithType.vb: ScreenObject.ScreenObject(Guid, FurnitureType, Int32(), Map, Vector2) @@ -297,36 +303,50 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this furniture in the world with the given settings.\nThis is a more generalized version of \n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 pos, Vector2 drawPos, Color? overrideColor, Direction2 rotation, int[] colors, float drawScale, bool pivot, Furniture parent, AbstractSpot parentSpot, float depthOffset, bool held) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to draw with - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position, in world space, that the furniture is at - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw the furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An optional color to override the default colors of the furniture - id: rotation type: MLEM.Misc.Direction2 + description: The rotation of the furniture - id: colors type: System.Int32[] + description: The colors to draw the furniture with - id: drawScale type: System.Single + description: The scale to draw the furniture with - id: pivot type: System.Boolean + description: Whether or not to move the furniture by its texture's pivot point - id: parent type: TinyLife.Objects.Furniture + description: The object that this furniture is latched on to, or null if there is none - id: parentSpot type: TinyLife.Objects.AbstractSpot + description: The object spot that this furntiture is in, or null if there is none - id: depthOffset type: System.Single + description: A value that is added onto the calculated depth of the object - id: held type: System.Boolean + description: Whether or not this item is currently being held by a content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, pos As Vector2, drawPos As Vector2, overrideColor As Color?, rotation As Direction2, colors As Integer(), drawScale As Single, pivot As Boolean, parent As Furniture, parentSpot As AbstractSpot, depthOffset As Single, held As Boolean) overridden: TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) overload: TinyLife.Objects.ScreenObject.Draw* @@ -1425,6 +1445,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.SpeakStyle.yml b/docs/api/TinyLife.Objects.SpeakStyle.yml index ac80888..54332b6 100644 --- a/docs/api/TinyLife.Objects.SpeakStyle.yml +++ b/docs/api/TinyLife.Objects.SpeakStyle.yml @@ -37,7 +37,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakStyle path: Objects/Person.cs - startLine: 2351 + startLine: 2371 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -82,7 +82,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Affirmative path: Objects/Person.cs - startLine: 2355 + startLine: 2375 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -114,7 +114,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Angry path: Objects/Person.cs - startLine: 2356 + startLine: 2376 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -146,7 +146,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Annoyed path: Objects/Person.cs - startLine: 2357 + startLine: 2377 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -178,7 +178,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Bored path: Objects/Person.cs - startLine: 2358 + startLine: 2378 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -210,7 +210,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Childish path: Objects/Person.cs - startLine: 2359 + startLine: 2379 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -242,7 +242,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Confident path: Objects/Person.cs - startLine: 2360 + startLine: 2380 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -274,7 +274,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Confused path: Objects/Person.cs - startLine: 2361 + startLine: 2381 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -306,7 +306,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Demanding path: Objects/Person.cs - startLine: 2362 + startLine: 2382 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -338,7 +338,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Disagreeing path: Objects/Person.cs - startLine: 2363 + startLine: 2383 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -370,7 +370,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Excited path: Objects/Person.cs - startLine: 2364 + startLine: 2384 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -402,7 +402,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Happy path: Objects/Person.cs - startLine: 2365 + startLine: 2385 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -434,7 +434,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Intrigued path: Objects/Person.cs - startLine: 2366 + startLine: 2386 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -466,7 +466,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Neutral path: Objects/Person.cs - startLine: 2367 + startLine: 2387 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -498,7 +498,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Questioning path: Objects/Person.cs - startLine: 2368 + startLine: 2388 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -530,7 +530,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sad path: Objects/Person.cs - startLine: 2369 + startLine: 2389 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -562,7 +562,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Scared path: Objects/Person.cs - startLine: 2370 + startLine: 2390 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -594,7 +594,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Shocked path: Objects/Person.cs - startLine: 2371 + startLine: 2391 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -626,7 +626,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Thinking path: Objects/Person.cs - startLine: 2372 + startLine: 2392 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.UnfinishedWoodwork.yml b/docs/api/TinyLife.Objects.UnfinishedWoodwork.yml index 3675a5f..9b8be54 100644 --- a/docs/api/TinyLife.Objects.UnfinishedWoodwork.yml +++ b/docs/api/TinyLife.Objects.UnfinishedWoodwork.yml @@ -35,9 +35,7 @@ items: content: 'public class UnfinishedWoodwork : Furniture, IGenericDataHolder, IPricedObject' content.vb: >- Public Class UnfinishedWoodwork - Inherits Furniture - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -84,6 +82,7 @@ items: - TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room) - TinyLife.Objects.Furniture.GetDirty(System.TimeSpan) - TinyLife.Objects.Furniture.SetCreator(TinyLife.Objects.Person,System.Boolean) + - TinyLife.Objects.Furniture.GetDisplayName - TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) - TinyLife.Objects.Furniture.DrawUi(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,MLEM.Ui.Elements.Element,System.Single,System.Int32[]) - TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) @@ -290,20 +289,26 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nCreates a new furniture instance.\nBy default, this is done using .\n" example: [] syntax: content: public UnfinishedWoodwork(Guid id, FurnitureType type, int[] colors, Map map, Vector2 pos) parameters: - id: id type: System.Guid + description: The id to apply to the created furniture instance - id: type type: TinyLife.Objects.FurnitureType + description: The type to create an instance of - id: colors type: System.Int32[] + description: The colors to apply to the furniture - id: map type: TinyLife.World.Map + description: The map to create the furniture on - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position that the furniture should have content.vb: Public Sub New(id As Guid, type As FurnitureType, colors As Integer(), map As Map, pos As Vector2) overload: TinyLife.Objects.UnfinishedWoodwork.#ctor* nameWithType.vb: UnfinishedWoodwork.UnfinishedWoodwork(Guid, FurnitureType, Int32(), Map, Vector2) @@ -335,36 +340,50 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this furniture in the world with the given settings.\nThis is a more generalized version of \n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 pos, Vector2 drawPos, Color? overrideColor, Direction2 rotation, int[] colors, float drawScale, bool pivot, Furniture parent, AbstractSpot parentSpot, float depthOffset, bool held) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to draw with - id: pos type: Microsoft.Xna.Framework.Vector2 + description: The position, in world space, that the furniture is at - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw the furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An optional color to override the default colors of the furniture - id: rotation type: MLEM.Misc.Direction2 + description: The rotation of the furniture - id: colors type: System.Int32[] + description: The colors to draw the furniture with - id: drawScale type: System.Single + description: The scale to draw the furniture with - id: pivot type: System.Boolean + description: Whether or not to move the furniture by its texture's pivot point - id: parent type: TinyLife.Objects.Furniture + description: The object that this furniture is latched on to, or null if there is none - id: parentSpot type: TinyLife.Objects.AbstractSpot + description: The object spot that this furntiture is in, or null if there is none - id: depthOffset type: System.Single + description: A value that is added onto the calculated depth of the object - id: held type: System.Boolean + description: Whether or not this item is currently being held by a content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, pos As Vector2, drawPos As Vector2, overrideColor As Color?, rotation As Direction2, colors As Integer(), drawScale As Single, pivot As Boolean, parent As Furniture, parentSpot As AbstractSpot, depthOffset As Single, held As Boolean) overridden: TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.AbstractSpot,System.Single,System.Boolean) overload: TinyLife.Objects.UnfinishedWoodwork.Draw* @@ -399,11 +418,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.Furniture.Validate overload: TinyLife.Objects.UnfinishedWoodwork.Validate* @@ -1266,6 +1287,34 @@ references: - name: ) nameWithType: ) fullName: ) +- uid: TinyLife.Objects.Furniture.GetDisplayName + commentId: M:TinyLife.Objects.Furniture.GetDisplayName + parent: TinyLife.Objects.Furniture + name: GetDisplayName() + nameWithType: Furniture.GetDisplayName() + fullName: TinyLife.Objects.Furniture.GetDisplayName() + spec.csharp: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Objects.Furniture.GetDisplayName + name: GetDisplayName + nameWithType: Furniture.GetDisplayName + fullName: TinyLife.Objects.Furniture.GetDisplayName + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) - uid: TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) commentId: M:TinyLife.Objects.Furniture.OnNeighborChanged(TinyLife.Objects.Furniture) parent: TinyLife.Objects.Furniture diff --git a/docs/api/TinyLife.Objects.Vehicle.yml b/docs/api/TinyLife.Objects.Vehicle.yml index c9cf8f6..85880ae 100644 --- a/docs/api/TinyLife.Objects.Vehicle.yml +++ b/docs/api/TinyLife.Objects.Vehicle.yml @@ -34,14 +34,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nAn instance of this class represents an object that can be, or is, part of a .\nIf this object's is set to -1, -1, that is usually an indicator that the object is currently not in the world.\n" example: [] syntax: content: 'public class Vehicle : MapObject, IGenericDataHolder, IUpdatingObject' content.vb: >- Public Class Vehicle - Inherits MapObject - Implements IGenericDataHolder, IUpdatingObject inheritance: - System.Object @@ -363,16 +362,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThe update method, which is called every update frame by the underlying \n" example: [] syntax: content: public virtual void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: passedInGame type: System.TimeSpan + description: The amount of time that has passed since the last call - id: speedMultiplier type: System.Single + description: The game speed multiplier, which represents how fast things should happen, which is usually determined by content.vb: Public Overridable Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overload: TinyLife.Objects.Vehicle.Update* implements: @@ -405,18 +408,23 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nDraws this object on the current , at the current .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Vector2 drawPos, Color? overrideColor) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The current time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to use for drawing - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in draw space, to draw this furniture at - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: The color that should be used instead of this object's actual color. If null, the object's regular color should be used. content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, drawPos As Vector2, overrideColor As Color?) overridden: TinyLife.Objects.MapObject.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color}) overload: TinyLife.Objects.Vehicle.Draw* @@ -451,11 +459,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is loaded from disk.\nReturning false on this method causes the object to be removed from the map.\nBy default, this method invokes and .\n" example: [] syntax: content: public override bool Validate() return: type: System.Boolean + description: false if the object is not valid, true otherwise content.vb: Public Overrides Function Validate As Boolean overridden: TinyLife.Objects.MapObject.Validate overload: TinyLife.Objects.Vehicle.Validate* @@ -487,14 +497,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is invoked when the game's camera rotation changes.\nAdditionally, the old and new rotations are passed.\n" example: [] syntax: content: public override void OnCameraRotationChanged(Direction2 oldRotation, Direction2 newRotation) parameters: - id: oldRotation type: MLEM.Misc.Direction2 + description: The old camera rotation - id: newRotation type: MLEM.Misc.Direction2 + description: The new camera rotation content.vb: Public Overrides Sub OnCameraRotationChanged(oldRotation As Direction2, newRotation As Direction2) overridden: TinyLife.Objects.MapObject.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2) overload: TinyLife.Objects.Vehicle.OnCameraRotationChanged* @@ -526,6 +539,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Objects + summary: "\nThis method is called when this object is removed from a .\nBy default, it does nothing.\n" example: [] syntax: content: public override void OnRemoved() diff --git a/docs/api/TinyLife.Options.yml b/docs/api/TinyLife.Options.yml index 5cf1b67..7b7773d 100644 --- a/docs/api/TinyLife.Options.yml +++ b/docs/api/TinyLife.Options.yml @@ -72,9 +72,7 @@ items: Public Class Options - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.PerSaveOptions.yml b/docs/api/TinyLife.PerSaveOptions.yml index 1898baf..17e8054 100644 --- a/docs/api/TinyLife.PerSaveOptions.yml +++ b/docs/api/TinyLife.PerSaveOptions.yml @@ -42,9 +42,7 @@ items: Public Class PerSaveOptions - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.PersonalityType.yml b/docs/api/TinyLife.PersonalityType.yml index 6ed0113..6c95b34 100644 --- a/docs/api/TinyLife.PersonalityType.yml +++ b/docs/api/TinyLife.PersonalityType.yml @@ -62,7 +62,6 @@ items: Public Class PersonalityType - Implements IEmotionSource inheritance: - System.Object @@ -991,6 +990,7 @@ items: assemblies: - Tiny Life namespace: TinyLife + summary: "\nA (localized) string that is displayed when hovering over an that has this source\n" example: [] syntax: content: public string SourceString { get; } diff --git a/docs/api/TinyLife.Set.yml b/docs/api/TinyLife.Set.yml index a8b1532..d52d37f 100644 --- a/docs/api/TinyLife.Set.yml +++ b/docs/api/TinyLife.Set.yml @@ -21,7 +21,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Set path: GameImpl.cs - startLine: 743 + startLine: 735 assemblies: - Tiny Life namespace: TinyLife @@ -56,7 +56,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Woodworking path: GameImpl.cs - startLine: 749 + startLine: 741 assemblies: - Tiny Life namespace: TinyLife @@ -90,7 +90,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Workout path: GameImpl.cs - startLine: 757 + startLine: 749 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.Skills.FoodType.IngredientSource.yml b/docs/api/TinyLife.Skills.FoodType.IngredientSource.yml index f7be233..eacd1ea 100644 --- a/docs/api/TinyLife.Skills.FoodType.IngredientSource.yml +++ b/docs/api/TinyLife.Skills.FoodType.IngredientSource.yml @@ -6,6 +6,7 @@ items: parent: TinyLife.Skills children: - TinyLife.Skills.FoodType.IngredientSource.Barbecue + - TinyLife.Skills.FoodType.IngredientSource.ChildStove - TinyLife.Skills.FoodType.IngredientSource.Fridge - TinyLife.Skills.FoodType.IngredientSource.Other - TinyLife.Skills.FoodType.IngredientSource.ProteinShakeMaker @@ -23,7 +24,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IngredientSource path: Skills/FoodType.cs - startLine: 296 + startLine: 310 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -58,7 +59,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Other path: Skills/FoodType.cs - startLine: 301 + startLine: 315 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -92,7 +93,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Fridge path: Skills/FoodType.cs - startLine: 305 + startLine: 319 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -126,7 +127,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ProteinShakeMaker path: Skills/FoodType.cs - startLine: 309 + startLine: 323 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -160,7 +161,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Barbecue path: Skills/FoodType.cs - startLine: 313 + startLine: 327 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -176,6 +177,38 @@ items: modifiers.vb: - Public - Const +- uid: TinyLife.Skills.FoodType.IngredientSource.ChildStove + commentId: F:TinyLife.Skills.FoodType.IngredientSource.ChildStove + id: ChildStove + parent: TinyLife.Skills.FoodType.IngredientSource + langs: + - csharp + - vb + name: ChildStove + nameWithType: FoodType.IngredientSource.ChildStove + fullName: TinyLife.Skills.FoodType.IngredientSource.ChildStove + type: Field + source: + remote: + path: TinyLife/Skills/FoodType.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: ChildStove + path: Skills/FoodType.cs + startLine: 328 + assemblies: + - Tiny Life + namespace: TinyLife.Skills + syntax: + content: ChildStove = 4 + return: + type: TinyLife.Skills.FoodType.IngredientSource + modifiers.csharp: + - public + - const + modifiers.vb: + - Public + - Const references: - uid: TinyLife.Skills.FoodType commentId: T:TinyLife.Skills.FoodType diff --git a/docs/api/TinyLife.Skills.FoodType.yml b/docs/api/TinyLife.Skills.FoodType.yml index daaea42..02ccc56 100644 --- a/docs/api/TinyLife.Skills.FoodType.yml +++ b/docs/api/TinyLife.Skills.FoodType.yml @@ -20,6 +20,7 @@ items: - TinyLife.Skills.FoodType.Name - TinyLife.Skills.FoodType.NeedsCooking - TinyLife.Skills.FoodType.OnEaten + - TinyLife.Skills.FoodType.OnFoodEaten - TinyLife.Skills.FoodType.Price - TinyLife.Skills.FoodType.Register(TinyLife.Skills.FoodType) - TinyLife.Skills.FoodType.RequiredCookingLevel @@ -110,6 +111,39 @@ items: - Public - Shared - ReadOnly +- uid: TinyLife.Skills.FoodType.OnFoodEaten + commentId: E:TinyLife.Skills.FoodType.OnFoodEaten + id: OnFoodEaten + parent: TinyLife.Skills.FoodType + langs: + - csharp + - vb + name: OnFoodEaten + nameWithType: FoodType.OnFoodEaten + fullName: TinyLife.Skills.FoodType.OnFoodEaten + type: Event + source: + remote: + path: TinyLife/Skills/FoodType.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OnFoodEaten + path: Skills/FoodType.cs + startLine: 42 + assemblies: + - Tiny Life + namespace: TinyLife.Skills + syntax: + content: public static event Action OnFoodEaten + return: + type: System.Action{TinyLife.Actions.Action,TinyLife.Skills.FoodType} + content.vb: Public Shared Event OnFoodEaten As Action(Of Action, FoodType) + modifiers.csharp: + - public + - static + modifiers.vb: + - Public + - Shared - uid: TinyLife.Skills.FoodType.Name commentId: F:TinyLife.Skills.FoodType.Name id: Name @@ -128,7 +162,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: Skills/FoodType.cs - startLine: 88 + startLine: 97 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -163,7 +197,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Texture path: Skills/FoodType.cs - startLine: 94 + startLine: 103 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -198,7 +232,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredCookingLevel path: Skills/FoodType.cs - startLine: 98 + startLine: 107 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -233,7 +267,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Price path: Skills/FoodType.cs - startLine: 102 + startLine: 111 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -268,7 +302,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FoodAmount path: Skills/FoodType.cs - startLine: 108 + startLine: 117 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -303,7 +337,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Source path: Skills/FoodType.cs - startLine: 112 + startLine: 121 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -338,7 +372,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NeedsCooking path: Skills/FoodType.cs - startLine: 117 + startLine: 126 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -375,7 +409,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsInGlass path: Skills/FoodType.cs - startLine: 121 + startLine: 130 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -412,7 +446,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnEaten path: Skills/FoodType.cs - startLine: 126 + startLine: 135 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -449,7 +483,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanEat path: Skills/FoodType.cs - startLine: 131 + startLine: 140 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -486,7 +520,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayName path: Skills/FoodType.cs - startLine: 135 + startLine: 144 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -523,7 +557,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Skills/FoodType.cs - startLine: 145 + startLine: 154 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -571,7 +605,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetContainer path: Skills/FoodType.cs - startLine: 162 + startLine: 171 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -616,7 +650,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetEmptyContainer path: Skills/FoodType.cs - startLine: 176 + startLine: 185 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -653,7 +687,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: Skills/FoodType.cs - startLine: 185 + startLine: 194 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -692,14 +726,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Construct path: Skills/FoodType.cs - startLine: 200 + startLine: 209 assemblies: - Tiny Life namespace: TinyLife.Skills summary: "\nConstructs a new furniture instance based on this food type's \n" example: [] syntax: - content: public Food Construct(Map map, Quality quality, TimeSpan expirationTime, int servingSize, Person creator = null, Guid? id = default(Guid? ), bool triggerGoals = true) + content: public Food Construct(Map map, Quality quality, TimeSpan expirationTime, int servingSize, Person creator = null, Guid? id = null, bool triggerGoals = true) parameters: - id: map type: TinyLife.World.Map @@ -752,14 +786,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ConstructUnfinished path: Skills/FoodType.cs - startLine: 220 + startLine: 229 assemblies: - Tiny Life namespace: TinyLife.Skills summary: "\nConstructs a new furniture instance based on the passed \n" example: [] syntax: - content: public FoodTypedItem ConstructUnfinished(FurnitureType container, Map map, TimeSpan expirationTime, int servingSize, Person creator = null, Guid? id = default(Guid? ), bool triggerGoals = false) + content: public FoodTypedItem ConstructUnfinished(FurnitureType container, Map map, TimeSpan expirationTime, int servingSize, Person creator = null, Guid? id = null, bool triggerGoals = false) parameters: - id: container type: TinyLife.Objects.FurnitureType @@ -812,7 +846,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: Skills/FoodType.cs - startLine: 233 + startLine: 247 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -850,7 +884,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetActions path: Skills/FoodType.cs - startLine: 244 + startLine: 258 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -894,7 +928,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetAllContainers path: Skills/FoodType.cs - startLine: 273 + startLine: 287 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -1421,6 +1455,113 @@ references: name: System.Collections.Generic nameWithType: System.Collections.Generic fullName: System.Collections.Generic +- uid: System.Action{TinyLife.Actions.Action,TinyLife.Skills.FoodType} + commentId: T:System.Action{TinyLife.Actions.Action,TinyLife.Skills.FoodType} + parent: System + definition: System.Action`2 + name: Action + nameWithType: Action + fullName: System.Action + nameWithType.vb: Action(Of Action, FoodType) + fullName.vb: System.Action(Of TinyLife.Actions.Action, TinyLife.Skills.FoodType) + name.vb: Action(Of Action, FoodType) + spec.csharp: + - uid: System.Action`2 + name: Action + nameWithType: Action + fullName: System.Action + isExternal: true + - name: < + nameWithType: < + fullName: < + - uid: TinyLife.Actions.Action + name: Action + nameWithType: Action + fullName: TinyLife.Actions.Action + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Skills.FoodType + name: FoodType + nameWithType: FoodType + fullName: TinyLife.Skills.FoodType + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Action`2 + name: Action + nameWithType: Action + fullName: System.Action + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - uid: TinyLife.Actions.Action + name: Action + nameWithType: Action + fullName: TinyLife.Actions.Action + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: TinyLife.Skills.FoodType + name: FoodType + nameWithType: FoodType + fullName: TinyLife.Skills.FoodType + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Action`2 + commentId: T:System.Action`2 + isExternal: true + name: Action + nameWithType: Action + fullName: System.Action + nameWithType.vb: Action(Of T1, T2) + fullName.vb: System.Action(Of T1, T2) + name.vb: Action(Of T1, T2) + spec.csharp: + - uid: System.Action`2 + name: Action + nameWithType: Action + fullName: System.Action + isExternal: true + - name: < + nameWithType: < + fullName: < + - name: T1 + nameWithType: T1 + fullName: T1 + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - name: T2 + nameWithType: T2 + fullName: T2 + - name: '>' + nameWithType: '>' + fullName: '>' + spec.vb: + - uid: System.Action`2 + name: Action + nameWithType: Action + fullName: System.Action + isExternal: true + - name: '(Of ' + nameWithType: '(Of ' + fullName: '(Of ' + - name: T1 + nameWithType: T1 + fullName: T1 + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - name: T2 + nameWithType: T2 + fullName: T2 + - name: ) + nameWithType: ) + fullName: ) - uid: System.String commentId: T:System.String parent: System diff --git a/docs/api/TinyLife.Tools.FurniturePlacer.yml b/docs/api/TinyLife.Tools.FurniturePlacer.yml index 9105b97..2a5935b 100644 --- a/docs/api/TinyLife.Tools.FurniturePlacer.yml +++ b/docs/api/TinyLife.Tools.FurniturePlacer.yml @@ -336,11 +336,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public bool HighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Function HighlightSelectedObject As Boolean overload: TinyLife.Tools.FurniturePlacer.HighlightSelectedObject* modifiers.csharp: @@ -369,11 +371,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Function GetMouseCursor As CursorType overload: TinyLife.Tools.FurniturePlacer.GetMouseCursor* modifiers.csharp: diff --git a/docs/api/TinyLife.Tools.FurnitureTool.Tab.yml b/docs/api/TinyLife.Tools.FurnitureTool.Tab.yml index f9e37f2..5867146 100644 --- a/docs/api/TinyLife.Tools.FurnitureTool.Tab.yml +++ b/docs/api/TinyLife.Tools.FurnitureTool.Tab.yml @@ -32,7 +32,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Tab path: Tools/FurnitureTool.cs - startLine: 134 + startLine: 147 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -77,7 +77,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: All path: Tools/FurnitureTool.cs - startLine: 138 + startLine: 151 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -109,7 +109,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LivingRoom path: Tools/FurnitureTool.cs - startLine: 139 + startLine: 152 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -141,7 +141,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Kitchen path: Tools/FurnitureTool.cs - startLine: 140 + startLine: 153 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -173,7 +173,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Bathroom path: Tools/FurnitureTool.cs - startLine: 141 + startLine: 154 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -205,7 +205,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DiningRoom path: Tools/FurnitureTool.cs - startLine: 142 + startLine: 155 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -237,7 +237,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Bedroom path: Tools/FurnitureTool.cs - startLine: 143 + startLine: 156 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -269,7 +269,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Office path: Tools/FurnitureTool.cs - startLine: 144 + startLine: 157 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -301,7 +301,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: KidsRoom path: Tools/FurnitureTool.cs - startLine: 145 + startLine: 158 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -333,7 +333,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Decoration path: Tools/FurnitureTool.cs - startLine: 146 + startLine: 159 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -365,7 +365,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Outside path: Tools/FurnitureTool.cs - startLine: 147 + startLine: 160 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -397,7 +397,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Lighting path: Tools/FurnitureTool.cs - startLine: 148 + startLine: 161 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -429,7 +429,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Other path: Tools/FurnitureTool.cs - startLine: 149 + startLine: 162 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -461,7 +461,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Debug path: Tools/FurnitureTool.cs - startLine: 150 + startLine: 163 assemblies: - Tiny Life namespace: TinyLife.Tools diff --git a/docs/api/TinyLife.Tools.FurnitureTool.yml b/docs/api/TinyLife.Tools.FurnitureTool.yml index cecf1fd..20ea259 100644 --- a/docs/api/TinyLife.Tools.FurnitureTool.yml +++ b/docs/api/TinyLife.Tools.FurnitureTool.yml @@ -30,12 +30,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class FurnitureTool : Tool' content.vb: >- Public Class FurnitureTool - Inherits Tool inheritance: - System.Object @@ -60,10 +60,10 @@ items: - TinyLife.Tools.Tool.MousePos - TinyLife.Tools.Tool.Opened - TinyLife.Tools.Tool.ForceWallsUp - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -132,12 +132,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.FurnitureTool.Update* @@ -165,18 +167,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: Tools/FurnitureTool.cs - startLine: 42 + startLine: 47 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.FurnitureTool.Draw* @@ -204,18 +209,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InitBuildModeUi path: Tools/FurnitureTool.cs - startLine: 48 + startLine: 53 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nOverride this method to add custom content to the passed ui elements.\nBy default, this method does nothing.\n" example: [] syntax: content: protected override void InitBuildModeUi(Panel content, Panel zoom) parameters: - id: content type: MLEM.Ui.Elements.Panel + description: The main content panel. Add custom instances here. - id: zoom type: MLEM.Ui.Elements.Panel + description: The zoom panel that contains and object previews content.vb: Protected Overrides Sub InitBuildModeUi(content As Panel, zoom As Panel) overridden: TinyLife.Tools.Tool.InitBuildModeUi(MLEM.Ui.Elements.Panel,MLEM.Ui.Elements.Panel) overload: TinyLife.Tools.FurnitureTool.InitBuildModeUi* @@ -243,10 +251,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Closed path: Tools/FurnitureTool.cs - startLine: 82 + startLine: 87 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nCalled when this build tool is closed.\nBy default, this method removes its elements from the ui.\n" example: [] syntax: content: public override void Closed() @@ -277,15 +286,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: Tools/FurnitureTool.cs - startLine: 90 + startLine: 95 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.FurnitureTool.GetMouseCursor* @@ -313,15 +324,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: Tools/FurnitureTool.cs - startLine: 95 + startLine: 100 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.FurnitureTool.ShouldHighlightSelectedObject* @@ -508,17 +521,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -526,10 +539,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -653,18 +666,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -711,13 +724,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -757,7 +763,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -804,13 +810,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Tools.LotTool.yml b/docs/api/TinyLife.Tools.LotTool.yml index d4762a0..2427acc 100644 --- a/docs/api/TinyLife.Tools.LotTool.yml +++ b/docs/api/TinyLife.Tools.LotTool.yml @@ -27,12 +27,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class LotTool : Tool' content.vb: >- Public Class LotTool - Inherits Tool inheritance: - System.Object @@ -60,10 +60,10 @@ items: - TinyLife.Tools.Tool.Closed - TinyLife.Tools.Tool.GetMouseCursor - TinyLife.Tools.Tool.ForceWallsUp - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -132,12 +132,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.LotTool.Update* @@ -169,14 +171,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.LotTool.Draw* @@ -208,11 +213,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.LotTool.ShouldHighlightSelectedObject* @@ -510,17 +517,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -528,10 +535,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -655,18 +662,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -713,13 +720,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -759,7 +759,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -806,13 +806,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Tools.MoveLotTool.yml b/docs/api/TinyLife.Tools.MoveLotTool.yml index bbe027e..936d4f4 100644 --- a/docs/api/TinyLife.Tools.MoveLotTool.yml +++ b/docs/api/TinyLife.Tools.MoveLotTool.yml @@ -6,7 +6,7 @@ items: parent: TinyLife.Tools children: - TinyLife.Tools.MoveLotTool.#ctor - - TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes + - TinyLife.Tools.MoveLotTool.CanSwitchGameModes - TinyLife.Tools.MoveLotTool.Closed - TinyLife.Tools.MoveLotTool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) - TinyLife.Tools.MoveLotTool.GetMouseCursor @@ -31,12 +31,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class MoveLotTool : Tool' content.vb: >- Public Class MoveLotTool - Inherits Tool inheritance: - System.Object @@ -63,7 +63,7 @@ items: - TinyLife.Tools.Tool.ForceWallsUp - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -132,6 +132,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nCalled when this build tool is opened.\nBy default, this method initializes several settings and calls .\n" example: [] syntax: content: public override void Opened() @@ -162,10 +163,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Closed path: Tools/MoveLotTool.cs - startLine: 35 + startLine: 33 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nCalled when this build tool is closed.\nBy default, this method removes its elements from the ui.\n" example: [] syntax: content: public override void Closed() @@ -196,16 +198,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Update path: Tools/MoveLotTool.cs - startLine: 46 + startLine: 44 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.MoveLotTool.Update* @@ -233,18 +237,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: Tools/MoveLotTool.cs - startLine: 82 + startLine: 89 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.MoveLotTool.Draw* @@ -254,36 +261,38 @@ items: modifiers.vb: - Public - Overrides -- uid: TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes - id: CanSaveOrSwitchModes +- uid: TinyLife.Tools.MoveLotTool.CanSwitchGameModes + commentId: M:TinyLife.Tools.MoveLotTool.CanSwitchGameModes + id: CanSwitchGameModes parent: TinyLife.Tools.MoveLotTool langs: - csharp - vb - name: CanSaveOrSwitchModes() - nameWithType: MoveLotTool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: MoveLotTool.CanSwitchGameModes() + fullName: TinyLife.Tools.MoveLotTool.CanSwitchGameModes() type: Method source: remote: path: TinyLife/Tools/MoveLotTool.cs branch: master repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: CanSaveOrSwitchModes + id: CanSwitchGameModes path: Tools/MoveLotTool.cs - startLine: 109 + startLine: 118 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the game currently, while this tool is selected\n" example: [] syntax: - content: public override bool CanSaveOrSwitchModes() + content: public override bool CanSwitchGameModes() return: type: System.Boolean - content.vb: Public Overrides Function CanSaveOrSwitchModes As Boolean - overridden: TinyLife.Tools.Tool.CanSaveOrSwitchModes - overload: TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes* + description: Whether the game can be mode switched right now + content.vb: Public Overrides Function CanSwitchGameModes As Boolean + overridden: TinyLife.Tools.Tool.CanSwitchGameModes + overload: TinyLife.Tools.MoveLotTool.CanSwitchGameModes* modifiers.csharp: - public - override @@ -308,15 +317,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: Tools/MoveLotTool.cs - startLine: 114 + startLine: 123 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.MoveLotTool.ShouldHighlightSelectedObject* @@ -344,15 +355,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: Tools/MoveLotTool.cs - startLine: 119 + startLine: 128 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.MoveLotTool.GetMouseCursor* @@ -683,18 +696,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -741,13 +754,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -787,7 +793,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -834,13 +840,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -1444,17 +1443,17 @@ references: name: Microsoft.Xna.Framework.Graphics nameWithType: Microsoft.Xna.Framework.Graphics fullName: Microsoft.Xna.Framework.Graphics -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -1462,21 +1461,21 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes* - commentId: Overload:TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: MoveLotTool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.MoveLotTool.CanSwitchGameModes* + commentId: Overload:TinyLife.Tools.MoveLotTool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: MoveLotTool.CanSwitchGameModes + fullName: TinyLife.Tools.MoveLotTool.CanSwitchGameModes - uid: System.Boolean commentId: T:System.Boolean parent: System diff --git a/docs/api/TinyLife.Tools.MoveTool.yml b/docs/api/TinyLife.Tools.MoveTool.yml index db2e16b..b3a40ac 100644 --- a/docs/api/TinyLife.Tools.MoveTool.yml +++ b/docs/api/TinyLife.Tools.MoveTool.yml @@ -6,7 +6,7 @@ items: parent: TinyLife.Tools children: - TinyLife.Tools.MoveTool.#ctor - - TinyLife.Tools.MoveTool.CanSaveOrSwitchModes + - TinyLife.Tools.MoveTool.CanSwitchGameModes - TinyLife.Tools.MoveTool.Closed - TinyLife.Tools.MoveTool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) - TinyLife.Tools.MoveTool.GetMouseCursor @@ -33,12 +33,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class MoveTool : Tool' content.vb: >- Public Class MoveTool - Inherits Tool inheritance: - System.Object @@ -64,7 +64,7 @@ items: - TinyLife.Tools.Tool.ForceWallsUp - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -133,6 +133,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nCalled when this build tool is opened.\nBy default, this method initializes several settings and calls .\n" example: [] syntax: content: public override void Opened() @@ -167,6 +168,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nCalled when this build tool is closed.\nBy default, this method removes its elements from the ui.\n" example: [] syntax: content: public override void Closed() @@ -201,14 +203,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nOverride this method to add custom content to the passed ui elements.\nBy default, this method does nothing.\n" example: [] syntax: content: protected override void InitBuildModeUi(Panel content, Panel zoom) parameters: - id: content type: MLEM.Ui.Elements.Panel + description: The main content panel. Add custom instances here. - id: zoom type: MLEM.Ui.Elements.Panel + description: The zoom panel that contains and object previews content.vb: Protected Overrides Sub InitBuildModeUi(content As Panel, zoom As Panel) overridden: TinyLife.Tools.Tool.InitBuildModeUi(MLEM.Ui.Elements.Panel,MLEM.Ui.Elements.Panel) overload: TinyLife.Tools.MoveTool.InitBuildModeUi* @@ -240,12 +245,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.MoveTool.Update* @@ -277,14 +284,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.MoveTool.Draw* @@ -316,11 +326,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.MoveTool.GetMouseCursor* @@ -330,36 +342,38 @@ items: modifiers.vb: - Public - Overrides -- uid: TinyLife.Tools.MoveTool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.MoveTool.CanSaveOrSwitchModes - id: CanSaveOrSwitchModes +- uid: TinyLife.Tools.MoveTool.CanSwitchGameModes + commentId: M:TinyLife.Tools.MoveTool.CanSwitchGameModes + id: CanSwitchGameModes parent: TinyLife.Tools.MoveTool langs: - csharp - vb - name: CanSaveOrSwitchModes() - nameWithType: MoveTool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.MoveTool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: MoveTool.CanSwitchGameModes() + fullName: TinyLife.Tools.MoveTool.CanSwitchGameModes() type: Method source: remote: path: TinyLife/Tools/MoveTool.cs branch: master repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: CanSaveOrSwitchModes + id: CanSwitchGameModes path: Tools/MoveTool.cs startLine: 96 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the game currently, while this tool is selected\n" example: [] syntax: - content: public override bool CanSaveOrSwitchModes() + content: public override bool CanSwitchGameModes() return: type: System.Boolean - content.vb: Public Overrides Function CanSaveOrSwitchModes As Boolean - overridden: TinyLife.Tools.Tool.CanSaveOrSwitchModes - overload: TinyLife.Tools.MoveTool.CanSaveOrSwitchModes* + description: Whether the game can be mode switched right now + content.vb: Public Overrides Function CanSwitchGameModes As Boolean + overridden: TinyLife.Tools.Tool.CanSwitchGameModes + overload: TinyLife.Tools.MoveTool.CanSwitchGameModes* modifiers.csharp: - public - override @@ -388,11 +402,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.MoveTool.ShouldHighlightSelectedObject* @@ -702,18 +718,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -760,13 +776,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -806,7 +815,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -853,13 +862,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -1580,17 +1582,17 @@ references: name: TinyLife.Uis nameWithType: TinyLife.Uis fullName: TinyLife.Uis -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -1598,21 +1600,21 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.MoveTool.CanSaveOrSwitchModes* - commentId: Overload:TinyLife.Tools.MoveTool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: MoveTool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.MoveTool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.MoveTool.CanSwitchGameModes* + commentId: Overload:TinyLife.Tools.MoveTool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: MoveTool.CanSwitchGameModes + fullName: TinyLife.Tools.MoveTool.CanSwitchGameModes - uid: System.Boolean commentId: T:System.Boolean parent: System diff --git a/docs/api/TinyLife.Tools.OpeningTool.yml b/docs/api/TinyLife.Tools.OpeningTool.yml index 2b66eae..8bed0ef 100644 --- a/docs/api/TinyLife.Tools.OpeningTool.yml +++ b/docs/api/TinyLife.Tools.OpeningTool.yml @@ -29,12 +29,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class OpeningTool : Tool' content.vb: >- Public Class OpeningTool - Inherits Tool inheritance: - System.Object @@ -60,10 +60,10 @@ items: - TinyLife.Tools.Tool.Opened - TinyLife.Tools.Tool.Closed - TinyLife.Tools.Tool.ForceWallsUp - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -132,12 +132,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.OpeningTool.Update* @@ -169,14 +171,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.OpeningTool.Draw* @@ -208,14 +213,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nOverride this method to add custom content to the passed ui elements.\nBy default, this method does nothing.\n" example: [] syntax: content: protected override void InitBuildModeUi(Panel content, Panel zoom) parameters: - id: content type: MLEM.Ui.Elements.Panel + description: The main content panel. Add custom instances here. - id: zoom type: MLEM.Ui.Elements.Panel + description: The zoom panel that contains and object previews content.vb: Protected Overrides Sub InitBuildModeUi(content As Panel, zoom As Panel) overridden: TinyLife.Tools.Tool.InitBuildModeUi(MLEM.Ui.Elements.Panel,MLEM.Ui.Elements.Panel) overload: TinyLife.Tools.OpeningTool.InitBuildModeUi* @@ -243,15 +251,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: Tools/OpeningTool.cs - startLine: 84 + startLine: 82 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.OpeningTool.GetMouseCursor* @@ -279,15 +289,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: Tools/OpeningTool.cs - startLine: 91 + startLine: 89 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.OpeningTool.ShouldHighlightSelectedObject* @@ -502,17 +514,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -520,10 +532,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -647,18 +659,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -705,13 +717,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -751,7 +756,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -798,13 +803,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Tools.PlayModeTool.yml b/docs/api/TinyLife.Tools.PlayModeTool.yml index 632fef9..c543c98 100644 --- a/docs/api/TinyLife.Tools.PlayModeTool.yml +++ b/docs/api/TinyLife.Tools.PlayModeTool.yml @@ -30,12 +30,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class PlayModeTool : Tool' content.vb: >- Public Class PlayModeTool - Inherits Tool inheritance: - System.Object @@ -62,11 +62,11 @@ items: - TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) - TinyLife.Tools.Tool.GetMouseCursor - TinyLife.Tools.Tool.ForceWallsUp - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.ShouldHighlightSelectedObject - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -209,12 +209,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.PlayModeTool.Update* @@ -246,6 +248,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nCalled when this build tool is opened.\nBy default, this method initializes several settings and calls .\n" example: [] syntax: content: public override void Opened() @@ -280,6 +283,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nCalled when this build tool is closed.\nBy default, this method removes its elements from the ui.\n" example: [] syntax: content: public override void Closed() @@ -613,17 +617,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -631,10 +635,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -786,18 +790,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -844,13 +848,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -890,7 +887,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -937,13 +934,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Tools.RemoveTool.yml b/docs/api/TinyLife.Tools.RemoveTool.yml index 6ad2e24..ed83113 100644 --- a/docs/api/TinyLife.Tools.RemoveTool.yml +++ b/docs/api/TinyLife.Tools.RemoveTool.yml @@ -33,12 +33,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class RemoveTool : Tool' content.vb: >- Public Class RemoveTool - Inherits Tool inheritance: - System.Object @@ -65,10 +65,10 @@ items: - TinyLife.Tools.Tool.Opened - TinyLife.Tools.Tool.Closed - TinyLife.Tools.Tool.ForceWallsUp - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -137,12 +137,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.RemoveTool.Update* @@ -174,14 +176,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.RemoveTool.Draw* @@ -213,11 +218,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.RemoveTool.GetMouseCursor* @@ -249,11 +256,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.RemoveTool.ShouldHighlightSelectedObject* @@ -715,17 +724,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -733,10 +742,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -860,18 +869,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -918,13 +927,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -964,7 +966,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -1011,13 +1013,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Tools.RoofTool.yml b/docs/api/TinyLife.Tools.RoofTool.yml index 584ca07..bad2ca9 100644 --- a/docs/api/TinyLife.Tools.RoofTool.yml +++ b/docs/api/TinyLife.Tools.RoofTool.yml @@ -31,12 +31,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class RoofTool : Tool' content.vb: >- Public Class RoofTool - Inherits Tool inheritance: - System.Object @@ -61,10 +61,10 @@ items: - TinyLife.Tools.Tool.MousePos - TinyLife.Tools.Tool.Opened - TinyLife.Tools.Tool.Closed - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -133,12 +133,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.RoofTool.Update* @@ -170,14 +172,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nOverride this method to add custom content to the passed ui elements.\nBy default, this method does nothing.\n" example: [] syntax: content: protected override void InitBuildModeUi(Panel content, Panel zoom) parameters: - id: content type: MLEM.Ui.Elements.Panel + description: The main content panel. Add custom instances here. - id: zoom type: MLEM.Ui.Elements.Panel + description: The zoom panel that contains and object previews content.vb: Protected Overrides Sub InitBuildModeUi(content As Panel, zoom As Panel) overridden: TinyLife.Tools.Tool.InitBuildModeUi(MLEM.Ui.Elements.Panel,MLEM.Ui.Elements.Panel) overload: TinyLife.Tools.RoofTool.InitBuildModeUi* @@ -205,18 +210,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: Tools/RoofTool.cs - startLine: 121 + startLine: 119 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.RoofTool.Draw* @@ -244,15 +252,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ForceWallsUp path: Tools/RoofTool.cs - startLine: 131 + startLine: 129 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns whether the should be forcibly changed by this tool.\nIf it shouldn't be changed, null should be returned. Otherwise, the required should be returned.\n" example: [] syntax: content: public override WallDisplay? ForceWallsUp() return: type: System.Nullable{TinyLife.WallDisplay} + description: The required wall display, or null if the default should be used content.vb: Public Overrides Function ForceWallsUp As WallDisplay? overridden: TinyLife.Tools.Tool.ForceWallsUp overload: TinyLife.Tools.RoofTool.ForceWallsUp* @@ -280,15 +290,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: Tools/RoofTool.cs - startLine: 136 + startLine: 134 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.RoofTool.ShouldHighlightSelectedObject* @@ -316,15 +328,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: Tools/RoofTool.cs - startLine: 141 + startLine: 139 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.RoofTool.GetMouseCursor* @@ -352,7 +366,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseOffsetForCameraRotation path: Tools/RoofTool.cs - startLine: 170 + startLine: 168 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -548,17 +562,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -566,10 +580,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -693,18 +707,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -751,13 +765,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -797,7 +804,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -844,13 +851,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Tools.TileTool.yml b/docs/api/TinyLife.Tools.TileTool.yml index 8062bdd..b44511e 100644 --- a/docs/api/TinyLife.Tools.TileTool.yml +++ b/docs/api/TinyLife.Tools.TileTool.yml @@ -30,12 +30,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class TileTool : Tool' content.vb: >- Public Class TileTool - Inherits Tool inheritance: - System.Object @@ -61,10 +61,10 @@ items: - TinyLife.Tools.Tool.Opened - TinyLife.Tools.Tool.Closed - TinyLife.Tools.Tool.ForceWallsUp - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -133,12 +133,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.TileTool.Update* @@ -170,14 +172,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.TileTool.Draw* @@ -209,14 +214,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nOverride this method to add custom content to the passed ui elements.\nBy default, this method does nothing.\n" example: [] syntax: content: protected override void InitBuildModeUi(Panel content, Panel zoom) parameters: - id: content type: MLEM.Ui.Elements.Panel + description: The main content panel. Add custom instances here. - id: zoom type: MLEM.Ui.Elements.Panel + description: The zoom panel that contains and object previews content.vb: Protected Overrides Sub InitBuildModeUi(content As Panel, zoom As Panel) overridden: TinyLife.Tools.Tool.InitBuildModeUi(MLEM.Ui.Elements.Panel,MLEM.Ui.Elements.Panel) overload: TinyLife.Tools.TileTool.InitBuildModeUi* @@ -244,15 +252,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: Tools/TileTool.cs - startLine: 116 + startLine: 114 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.TileTool.GetMouseCursor* @@ -280,15 +290,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: Tools/TileTool.cs - startLine: 123 + startLine: 121 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.TileTool.ShouldHighlightSelectedObject* @@ -316,7 +328,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveNaturalFurniture path: Tools/TileTool.cs - startLine: 184 + startLine: 182 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -541,17 +553,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -559,10 +571,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -686,18 +698,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -744,13 +756,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -790,7 +795,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -837,13 +842,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Tools.Tool.yml b/docs/api/TinyLife.Tools.Tool.yml index e4f31b1..3205ccb 100644 --- a/docs/api/TinyLife.Tools.Tool.yml +++ b/docs/api/TinyLife.Tools.Tool.yml @@ -6,9 +6,9 @@ items: parent: TinyLife.Tools children: - TinyLife.Tools.Tool.#ctor(MLEM.Textures.TextureRegion,System.Boolean) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - TinyLife.Tools.Tool.BuildTools - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.Closed - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - TinyLife.Tools.Tool.DisplayAsTab @@ -549,6 +549,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThe map that the game is currently on, or
null
if in the main menu\n" example: [] syntax: content: protected static Map Map { get; } @@ -587,6 +588,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThe money that this household has, rounded by two digits after the decimal point\n" example: [] syntax: content: protected static float Money { get; set; } @@ -774,7 +776,7 @@ items: parameters: - id: content type: MLEM.Ui.Elements.Panel - description: The main content panel. Add custom instances here. + description: The main content panel. Add custom instances here. - id: zoom type: MLEM.Ui.Elements.Panel description: The zoom panel that contains and object previews @@ -1007,37 +1009,37 @@ items: modifiers.vb: - Public - Overridable -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes - id: CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes + id: CanSwitchGameModes parent: TinyLife.Tools.Tool langs: - csharp - vb - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() type: Method source: remote: path: TinyLife/Tools/Tool.cs branch: master repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: CanSaveOrSwitchModes + id: CanSwitchGameModes path: Tools/Tool.cs startLine: 192 assemblies: - Tiny Life namespace: TinyLife.Tools - summary: "\nWhether or not the game currently, while this tool is selected\n" + summary: "\nWhether or not the game currently, while this tool is selected\n" example: [] syntax: - content: public virtual bool CanSaveOrSwitchModes() + content: public virtual bool CanSwitchGameModes() return: type: System.Boolean - description: Whether the game can be saved or mode switched right now - content.vb: Public Overridable Function CanSaveOrSwitchModes As Boolean - overload: TinyLife.Tools.Tool.CanSaveOrSwitchModes* + description: Whether the game can be mode switched right now + content.vb: Public Overridable Function CanSwitchGameModes As Boolean + overload: TinyLife.Tools.Tool.CanSwitchGameModes* modifiers.csharp: - public - virtual @@ -1169,16 +1171,16 @@ items: - Shared fullName.vb: TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme, System.Action(Of System.Int32)) name.vb: ColorSelection(ColorScheme, Action(Of Int32)) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - id: BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + id: BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool langs: - csharp - vb - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) type: Method source: remote: @@ -1187,14 +1189,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BuildModeButton path: Tools/Tool.cs - startLine: 253 + startLine: 252 assemblies: - Tiny Life namespace: TinyLife.Tools summary: "\nCreates a new in the style of each build mode content button, like the ones that display the furniture that can be bought.\n" example: [] syntax: - content: public static Button BuildModeButton(string name, Element.GenericCallback onPressed, Element.DrawCallback onDrawn, float price, TextureRegion icon, LnCategory category = LnCategory.BuildMode, IEnumerable description = null, float? customPrice = default(float? )) + content: public static Button BuildModeButton(string name, Element.GenericCallback onPressed, Element.DrawCallback onDrawn, float price, TextureRegion icon, IEnumerable description = null, float? customPrice = null) parameters: - id: name type: System.String @@ -1211,9 +1213,6 @@ items: - id: icon type: MLEM.Textures.TextureRegion description: The build mode category icon of this object - - id: category - type: TinyLife.LnCategory - description: The localization category that should be used to localize name, defaults to - id: description type: System.Collections.Generic.IEnumerable{System.String} description: An optional set of text lines that will be inserted into the tooltip's description part @@ -1223,17 +1222,17 @@ items: return: type: MLEM.Ui.Elements.Button description: A new button with the passed settings - content.vb: Public Shared Function BuildModeButton(name As String, onPressed As Element.GenericCallback, onDrawn As Element.DrawCallback, price As Single, icon As TextureRegion, category As LnCategory = LnCategory.BuildMode, description As IEnumerable(Of String) = Nothing, customPrice As Single? = Nothing) As Button + content.vb: Public Shared Function BuildModeButton(name As String, onPressed As Element.GenericCallback, onDrawn As Element.DrawCallback, price As Single, icon As TextureRegion, description As IEnumerable(Of String) = Nothing, customPrice As Single? = Nothing) As Button overload: TinyLife.Tools.Tool.BuildModeButton* - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) modifiers.csharp: - public - static modifiers.vb: - Public - Shared - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) references: - uid: TinyLife.Tools.Tool.PlayModeTool commentId: F:TinyLife.Tools.Tool.PlayModeTool @@ -2489,18 +2488,18 @@ references: name: Tool nameWithType: Tool.Tool fullName: TinyLife.Tools.Tool.Tool -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -2547,13 +2546,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -2593,7 +2585,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -2640,13 +2632,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -2958,14 +2943,14 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.GameImpl.CanSaveOrSwitchModes - commentId: M:TinyLife.GameImpl.CanSaveOrSwitchModes +- uid: TinyLife.GameImpl.CanSwitchGameModes + commentId: M:TinyLife.GameImpl.CanSwitchGameModes isExternal: true -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes* - commentId: Overload:TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes* + commentId: Overload:TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - uid: TinyLife.Tools.Tool.SelectedObject commentId: P:TinyLife.Tools.Tool.SelectedObject parent: TinyLife.Tools.Tool @@ -3075,9 +3060,6 @@ references: name: Button nameWithType: Button fullName: MLEM.Ui.Elements.Button -- uid: TinyLife.LnCategory.BuildMode - commentId: F:TinyLife.LnCategory.BuildMode - isExternal: true - uid: TinyLife.Tools.Tool.BuildModeButton* commentId: Overload:TinyLife.Tools.Tool.BuildModeButton name: BuildModeButton @@ -3104,12 +3086,6 @@ references: name: Element.DrawCallback nameWithType: Element.DrawCallback fullName: MLEM.Ui.Elements.Element.DrawCallback -- uid: TinyLife.LnCategory - commentId: T:TinyLife.LnCategory - parent: TinyLife - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - uid: System.Collections.Generic.IEnumerable{System.String} commentId: T:System.Collections.Generic.IEnumerable{System.String} parent: System.Collections.Generic diff --git a/docs/api/TinyLife.Tools.WallTool.yml b/docs/api/TinyLife.Tools.WallTool.yml index 2f1af90..77e8b6e 100644 --- a/docs/api/TinyLife.Tools.WallTool.yml +++ b/docs/api/TinyLife.Tools.WallTool.yml @@ -28,12 +28,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class WallTool : Tool' content.vb: >- Public Class WallTool - Inherits Tool inheritance: - System.Object @@ -60,10 +60,10 @@ items: - TinyLife.Tools.Tool.Opened - TinyLife.Tools.Tool.Closed - TinyLife.Tools.Tool.ForceWallsUp - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -132,12 +132,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.WallTool.Update* @@ -169,14 +171,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.WallTool.Draw* @@ -208,11 +213,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.WallTool.GetMouseCursor* @@ -244,11 +251,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.WallTool.ShouldHighlightSelectedObject* @@ -518,17 +527,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -536,10 +545,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -663,18 +672,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -721,13 +730,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -767,7 +769,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -814,13 +816,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Tools.WallpaperTool.yml b/docs/api/TinyLife.Tools.WallpaperTool.yml index a52ec04..433c991 100644 --- a/docs/api/TinyLife.Tools.WallpaperTool.yml +++ b/docs/api/TinyLife.Tools.WallpaperTool.yml @@ -29,12 +29,12 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nA tool is a type of game mode that is currently active.\nTools are split up into the and , the latter of which holds all tools that can be found in the build menu.\n" example: [] syntax: content: 'public class WallpaperTool : Tool' content.vb: >- Public Class WallpaperTool - Inherits Tool inheritance: - System.Object @@ -60,10 +60,10 @@ items: - TinyLife.Tools.Tool.Opened - TinyLife.Tools.Tool.Closed - TinyLife.Tools.Tool.ForceWallsUp - - TinyLife.Tools.Tool.CanSaveOrSwitchModes + - TinyLife.Tools.Tool.CanSwitchGameModes - TinyLife.Tools.Tool.IsOnLot(Microsoft.Xna.Framework.Point) - TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32}) - - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - System.Object.Equals(System.Object) - System.Object.Equals(System.Object,System.Object) - System.Object.GetHashCode @@ -132,12 +132,14 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every update frame for the .\nBy default, this method updates the and invokes .\n" example: [] syntax: content: public override void Update(GameTime time) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time content.vb: Public Overrides Sub Update(time As GameTime) overridden: TinyLife.Tools.Tool.Update(Microsoft.Xna.Framework.GameTime) overload: TinyLife.Tools.WallpaperTool.Update* @@ -169,14 +171,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nThis method is called every draw frame for the .\nNote that this method is only called if the mouse is not hovering over any ui elements.\nBy default, this method invokes .\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch used for drawing content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch) overridden: TinyLife.Tools.Tool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch) overload: TinyLife.Tools.WallpaperTool.Draw* @@ -208,14 +213,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nOverride this method to add custom content to the passed ui elements.\nBy default, this method does nothing.\n" example: [] syntax: content: protected override void InitBuildModeUi(Panel content, Panel zoom) parameters: - id: content type: MLEM.Ui.Elements.Panel + description: The main content panel. Add custom instances here. - id: zoom type: MLEM.Ui.Elements.Panel + description: The zoom panel that contains and object previews content.vb: Protected Overrides Sub InitBuildModeUi(content As Panel, zoom As Panel) overridden: TinyLife.Tools.Tool.InitBuildModeUi(MLEM.Ui.Elements.Panel,MLEM.Ui.Elements.Panel) overload: TinyLife.Tools.WallpaperTool.InitBuildModeUi* @@ -243,15 +251,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMouseCursor path: Tools/WallpaperTool.cs - startLine: 108 + startLine: 106 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nReturns the that this tool should currently display.\nBy default, is returned.\n" example: [] syntax: content: public override CursorType GetMouseCursor() return: type: TinyLife.Uis.CursorType + description: The cursor type content.vb: Public Overrides Function GetMouseCursor As CursorType overridden: TinyLife.Tools.Tool.GetMouseCursor overload: TinyLife.Tools.WallpaperTool.GetMouseCursor* @@ -279,15 +289,17 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShouldHighlightSelectedObject path: Tools/WallpaperTool.cs - startLine: 115 + startLine: 113 assemblies: - Tiny Life namespace: TinyLife.Tools + summary: "\nWhether or not the should currently have a white highlight around it.\nThis method defaults to return true if is false.\n" example: [] syntax: content: public override bool ShouldHighlightSelectedObject() return: type: System.Boolean + description: Whether or not the selected object should be highlighted content.vb: Public Overrides Function ShouldHighlightSelectedObject As Boolean overridden: TinyLife.Tools.Tool.ShouldHighlightSelectedObject overload: TinyLife.Tools.WallpaperTool.ShouldHighlightSelectedObject* @@ -502,17 +514,17 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - commentId: M:TinyLife.Tools.Tool.CanSaveOrSwitchModes +- uid: TinyLife.Tools.Tool.CanSwitchGameModes + commentId: M:TinyLife.Tools.Tool.CanSwitchGameModes parent: TinyLife.Tools.Tool - name: CanSaveOrSwitchModes() - nameWithType: Tool.CanSaveOrSwitchModes() - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes() + name: CanSwitchGameModes() + nameWithType: Tool.CanSwitchGameModes() + fullName: TinyLife.Tools.Tool.CanSwitchGameModes() spec.csharp: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -520,10 +532,10 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.CanSaveOrSwitchModes - name: CanSaveOrSwitchModes - nameWithType: Tool.CanSaveOrSwitchModes - fullName: TinyLife.Tools.Tool.CanSaveOrSwitchModes + - uid: TinyLife.Tools.Tool.CanSwitchGameModes + name: CanSwitchGameModes + nameWithType: Tool.CanSwitchGameModes + fullName: TinyLife.Tools.Tool.CanSwitchGameModes - name: ( nameWithType: ( fullName: ( @@ -647,18 +659,18 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) - commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) +- uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + commentId: M:TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) parent: TinyLife.Tools.Tool isExternal: true - name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable, Nullable) - fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable, System.Nullable) - nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) - fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, TinyLife.LnCategory, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) - name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, LnCategory, IEnumerable(Of String), Nullable(Of Single)) + name: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + nameWithType: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable, Nullable) + fullName: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable, System.Nullable) + nameWithType.vb: Tool.BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) + fullName.vb: TinyLife.Tools.Tool.BuildModeButton(System.String, MLEM.Ui.Elements.Element.GenericCallback, MLEM.Ui.Elements.Element.DrawCallback, System.Single, MLEM.Textures.TextureRegion, System.Collections.Generic.IEnumerable(Of System.String), System.Nullable(Of System.Single)) + name.vb: BuildModeButton(String, Element.GenericCallback, Element.DrawCallback, Single, TextureRegion, IEnumerable(Of String), Nullable(Of Single)) spec.csharp: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -705,13 +717,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable @@ -751,7 +756,7 @@ references: nameWithType: ) fullName: ) spec.vb: - - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) + - uid: TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single}) name: BuildModeButton nameWithType: Tool.BuildModeButton fullName: TinyLife.Tools.Tool.BuildModeButton @@ -798,13 +803,6 @@ references: - name: ', ' nameWithType: ', ' fullName: ', ' - - uid: TinyLife.LnCategory - name: LnCategory - nameWithType: LnCategory - fullName: TinyLife.LnCategory - - name: ', ' - nameWithType: ', ' - fullName: ', ' - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable nameWithType: IEnumerable diff --git a/docs/api/TinyLife.Uis.CharacterCreator.yml b/docs/api/TinyLife.Uis.CharacterCreator.yml index e2eb408..1675281 100644 --- a/docs/api/TinyLife.Uis.CharacterCreator.yml +++ b/docs/api/TinyLife.Uis.CharacterCreator.yml @@ -250,7 +250,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CreatePerson path: Uis/CharacterCreator.cs - startLine: 679 + startLine: 680 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -294,7 +294,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Open path: Uis/CharacterCreator.cs - startLine: 698 + startLine: 699 assemblies: - Tiny Life namespace: TinyLife.Uis diff --git a/docs/api/TinyLife.Uis.CoveringGroup.yml b/docs/api/TinyLife.Uis.CoveringGroup.yml index e3cdbb4..55e310c 100644 --- a/docs/api/TinyLife.Uis.CoveringGroup.yml +++ b/docs/api/TinyLife.Uis.CoveringGroup.yml @@ -33,9 +33,7 @@ items: content: 'public class CoveringGroup : Group, IGenericDataHolder, IDisposable' content.vb: >- Public Class CoveringGroup - Inherits Group - Implements IGenericDataHolder, IDisposable inheritance: - System.Object @@ -145,6 +143,7 @@ items: - MLEM.Ui.Elements.Element.ChildPadding - MLEM.Ui.Elements.Element.SortedChildren - MLEM.Ui.Elements.Element.Input + - MLEM.Ui.Elements.Element.ParentArea - MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object) - MLEM.Misc.GenericDataHolder.GetData``1(System.String) - MLEM.Misc.GenericDataHolder.GetDataKeys @@ -2900,6 +2899,13 @@ references: name: Input nameWithType: Element.Input fullName: MLEM.Ui.Elements.Element.Input +- uid: MLEM.Ui.Elements.Element.ParentArea + commentId: P:MLEM.Ui.Elements.Element.ParentArea + parent: MLEM.Ui.Elements.Element + isExternal: true + name: ParentArea + nameWithType: Element.ParentArea + fullName: MLEM.Ui.Elements.Element.ParentArea - uid: MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object) commentId: M:MLEM.Misc.GenericDataHolder.SetData(System.String,System.Object) parent: MLEM.Misc.GenericDataHolder diff --git a/docs/api/TinyLife.Uis.InGameHint.yml b/docs/api/TinyLife.Uis.InGameHint.yml index 1ac3a3e..3473745 100644 --- a/docs/api/TinyLife.Uis.InGameHint.yml +++ b/docs/api/TinyLife.Uis.InGameHint.yml @@ -5,12 +5,13 @@ items: id: InGameHint parent: TinyLife.Uis children: - - TinyLife.Uis.InGameHint.#ctor(System.String,System.Func{System.Boolean}) + - TinyLife.Uis.InGameHint.#ctor(System.String,MLEM.Textures.TextureRegion,System.Func{System.Boolean}) - TinyLife.Uis.InGameHint.ClothesIntentions - TinyLife.Uis.InGameHint.Condition - TinyLife.Uis.InGameHint.Display - TinyLife.Uis.InGameHint.HasBeenDisplayed - TinyLife.Uis.InGameHint.Hints + - TinyLife.Uis.InGameHint.Icon - TinyLife.Uis.InGameHint.InteractionPages - TinyLife.Uis.InGameHint.Interactions - TinyLife.Uis.InGameHint.Introduction @@ -33,7 +34,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InGameHint path: Uis/InGameHint.cs - startLine: 18 + startLine: 25 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -84,7 +85,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Hints path: Uis/InGameHint.cs - startLine: 26 + startLine: 33 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -121,7 +122,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Introduction path: Uis/InGameHint.cs - startLine: 29 + startLine: 36 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -156,7 +157,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PersonalityTypes path: Uis/InGameHint.cs - startLine: 30 + startLine: 37 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -191,7 +192,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ClothesIntentions path: Uis/InGameHint.cs - startLine: 31 + startLine: 38 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -226,7 +227,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Interactions path: Uis/InGameHint.cs - startLine: 32 + startLine: 39 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -261,7 +262,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Outfits path: Uis/InGameHint.cs - startLine: 33 + startLine: 40 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -296,7 +297,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InteractionPages path: Uis/InGameHint.cs - startLine: 34 + startLine: 41 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -331,7 +332,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OutOfTownActions path: Uis/InGameHint.cs - startLine: 35 + startLine: 42 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -366,7 +367,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: Uis/InGameHint.cs - startLine: 55 + startLine: 63 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -383,6 +384,39 @@ items: modifiers.vb: - Public - ReadOnly +- uid: TinyLife.Uis.InGameHint.Icon + commentId: F:TinyLife.Uis.InGameHint.Icon + id: Icon + parent: TinyLife.Uis.InGameHint + langs: + - csharp + - vb + name: Icon + nameWithType: InGameHint.Icon + fullName: TinyLife.Uis.InGameHint.Icon + type: Field + source: + remote: + path: TinyLife/Uis/InGameHint.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: Icon + path: Uis/InGameHint.cs + startLine: 64 + assemblies: + - Tiny Life + namespace: TinyLife.Uis + syntax: + content: public readonly TextureRegion Icon + return: + type: MLEM.Textures.TextureRegion + content.vb: Public ReadOnly Icon As TextureRegion + modifiers.csharp: + - public + - readonly + modifiers.vb: + - Public + - ReadOnly - uid: TinyLife.Uis.InGameHint.Condition commentId: F:TinyLife.Uis.InGameHint.Condition id: Condition @@ -401,7 +435,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Condition path: Uis/InGameHint.cs - startLine: 59 + startLine: 68 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -436,7 +470,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasBeenDisplayed path: Uis/InGameHint.cs - startLine: 63 + startLine: 72 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -455,16 +489,16 @@ items: modifiers.vb: - Public - ReadOnly -- uid: TinyLife.Uis.InGameHint.#ctor(System.String,System.Func{System.Boolean}) - commentId: M:TinyLife.Uis.InGameHint.#ctor(System.String,System.Func{System.Boolean}) - id: '#ctor(System.String,System.Func{System.Boolean})' +- uid: TinyLife.Uis.InGameHint.#ctor(System.String,MLEM.Textures.TextureRegion,System.Func{System.Boolean}) + commentId: M:TinyLife.Uis.InGameHint.#ctor(System.String,MLEM.Textures.TextureRegion,System.Func{System.Boolean}) + id: '#ctor(System.String,MLEM.Textures.TextureRegion,System.Func{System.Boolean})' parent: TinyLife.Uis.InGameHint langs: - csharp - vb - name: InGameHint(String, Func) - nameWithType: InGameHint.InGameHint(String, Func) - fullName: TinyLife.Uis.InGameHint.InGameHint(System.String, System.Func) + name: InGameHint(String, TextureRegion, Func) + nameWithType: InGameHint.InGameHint(String, TextureRegion, Func) + fullName: TinyLife.Uis.InGameHint.InGameHint(System.String, MLEM.Textures.TextureRegion, System.Func) type: Constructor source: remote: @@ -473,30 +507,32 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: Uis/InGameHint.cs - startLine: 70 + startLine: 79 assemblies: - Tiny Life namespace: TinyLife.Uis summary: "\nCreates a new hint with the given settings\n" example: [] syntax: - content: public InGameHint(string name, Func condition = null) + content: public InGameHint(string name, TextureRegion icon, Func condition = null) parameters: - id: name type: System.String description: The name of the hint + - id: icon + type: MLEM.Textures.TextureRegion - id: condition type: System.Func{System.Boolean} description: An optional condition to cause this hint to be displayed - content.vb: Public Sub New(name As String, condition As Func(Of Boolean) = Nothing) + content.vb: Public Sub New(name As String, icon As TextureRegion, condition As Func(Of Boolean) = Nothing) overload: TinyLife.Uis.InGameHint.#ctor* - nameWithType.vb: InGameHint.InGameHint(String, Func(Of Boolean)) + nameWithType.vb: InGameHint.InGameHint(String, TextureRegion, Func(Of Boolean)) modifiers.csharp: - public modifiers.vb: - Public - fullName.vb: TinyLife.Uis.InGameHint.InGameHint(System.String, System.Func(Of System.Boolean)) - name.vb: InGameHint(String, Func(Of Boolean)) + fullName.vb: TinyLife.Uis.InGameHint.InGameHint(System.String, MLEM.Textures.TextureRegion, System.Func(Of System.Boolean)) + name.vb: InGameHint(String, TextureRegion, Func(Of Boolean)) - uid: TinyLife.Uis.InGameHint.Display commentId: M:TinyLife.Uis.InGameHint.Display id: Display @@ -515,7 +551,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Display path: Uis/InGameHint.cs - startLine: 78 + startLine: 88 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -547,7 +583,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: Uis/InGameHint.cs - startLine: 91 + startLine: 114 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -1095,6 +1131,19 @@ references: name: String nameWithType: String fullName: System.String +- uid: MLEM.Textures.TextureRegion + commentId: T:MLEM.Textures.TextureRegion + parent: MLEM.Textures + isExternal: true + name: TextureRegion + nameWithType: TextureRegion + fullName: MLEM.Textures.TextureRegion +- uid: MLEM.Textures + commentId: N:MLEM.Textures + isExternal: true + name: MLEM.Textures + nameWithType: MLEM.Textures + fullName: MLEM.Textures - uid: System.Func{System.Boolean} commentId: T:System.Func{System.Boolean} parent: System diff --git a/docs/api/TinyLife.Uis.Menus.yml b/docs/api/TinyLife.Uis.Menus.yml index bcaea65..fa2181a 100644 --- a/docs/api/TinyLife.Uis.Menus.yml +++ b/docs/api/TinyLife.Uis.Menus.yml @@ -71,7 +71,7 @@ items: summary: "\nDisplays a screen transition that includes a fade out, an inbetween action, followed by a fade back in and an after action.\n" example: [] syntax: - content: public static void Transition(Action inbetween = null, Action after = null, Menus.TransitionType outType = Menus.TransitionType.Swipe, Menus.TransitionType inType = Menus.TransitionType.Swipe, float outSpeed = 0.05F, float inSpeed = 0.05F, float waitInbetween = 0.15F, Color? color = default(Color? )) + content: public static void Transition(Action inbetween = null, Action after = null, Menus.TransitionType outType = Menus.TransitionType.Swipe, Menus.TransitionType inType = Menus.TransitionType.Swipe, float outSpeed = 0.05F, float inSpeed = 0.05F, float waitInbetween = 0.15F, Color? color = null) parameters: - id: inbetween type: System.Action diff --git a/docs/api/TinyLife.Uis.NotifType.yml b/docs/api/TinyLife.Uis.NotifType.yml index e883353..392646b 100644 --- a/docs/api/TinyLife.Uis.NotifType.yml +++ b/docs/api/TinyLife.Uis.NotifType.yml @@ -5,7 +5,6 @@ items: id: NotifType parent: TinyLife.Uis children: - - TinyLife.Uis.NotifType.Hint - TinyLife.Uis.NotifType.Info - TinyLife.Uis.NotifType.VeryImportant - TinyLife.Uis.NotifType.VeryPositive @@ -24,7 +23,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NotifType path: Uis/Notifications.cs - startLine: 200 + startLine: 198 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -59,7 +58,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Info path: Uis/Notifications.cs - startLine: 205 + startLine: 203 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -93,7 +92,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Warning path: Uis/Notifications.cs - startLine: 209 + startLine: 207 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -127,7 +126,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VeryImportant path: Uis/Notifications.cs - startLine: 214 + startLine: 212 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -161,7 +160,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VeryPositive path: Uis/Notifications.cs - startLine: 218 + startLine: 216 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -177,40 +176,6 @@ items: modifiers.vb: - Public - Const -- uid: TinyLife.Uis.NotifType.Hint - commentId: F:TinyLife.Uis.NotifType.Hint - id: Hint - parent: TinyLife.Uis.NotifType - langs: - - csharp - - vb - name: Hint - nameWithType: NotifType.Hint - fullName: TinyLife.Uis.NotifType.Hint - type: Field - source: - remote: - path: TinyLife/Uis/Notifications.cs - branch: master - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: Hint - path: Uis/Notifications.cs - startLine: 222 - assemblies: - - Tiny Life - namespace: TinyLife.Uis - summary: "\nA notification type used by , which displays in blue\n" - example: [] - syntax: - content: Hint = 4 - return: - type: TinyLife.Uis.NotifType - modifiers.csharp: - - public - - const - modifiers.vb: - - Public - - Const references: - uid: TinyLife.Uis.Notifications commentId: T:TinyLife.Uis.Notifications @@ -307,9 +272,3 @@ references: name: NotifType nameWithType: NotifType fullName: TinyLife.Uis.NotifType -- uid: TinyLife.Uis.InGameHint - commentId: T:TinyLife.Uis.InGameHint - parent: TinyLife.Uis - name: InGameHint - nameWithType: InGameHint - fullName: TinyLife.Uis.InGameHint diff --git a/docs/api/TinyLife.Utilities.ColorScheme.yml b/docs/api/TinyLife.Utilities.ColorScheme.yml index d7c9cb8..4b86b72 100644 --- a/docs/api/TinyLife.Utilities.ColorScheme.yml +++ b/docs/api/TinyLife.Utilities.ColorScheme.yml @@ -59,7 +59,6 @@ items: content: 'public class ColorScheme : IReadOnlyCollection, IEnumerable, IEnumerable' content.vb: >- Public Class ColorScheme - Implements IReadOnlyCollection(Of Color), IEnumerable(Of Color), IEnumerable inheritance: - System.Object diff --git a/docs/api/TinyLife.World.BillsMail.yml b/docs/api/TinyLife.World.BillsMail.yml index 33a6c41..b4db47d 100644 --- a/docs/api/TinyLife.World.BillsMail.yml +++ b/docs/api/TinyLife.World.BillsMail.yml @@ -22,7 +22,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BillsMail path: World/Mail.cs - startLine: 72 + startLine: 89 assemblies: - Tiny Life namespace: TinyLife.World @@ -32,9 +32,7 @@ items: content: 'public class BillsMail : Mail, IGenericDataHolder' content.vb: >- Public Class BillsMail - Inherits Mail - Implements IGenericDataHolder inheritance: - System.Object @@ -83,7 +81,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Amount path: World/Mail.cs - startLine: 78 + startLine: 95 assemblies: - Tiny Life namespace: TinyLife.World @@ -128,7 +126,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: World/Mail.cs - startLine: 85 + startLine: 102 assemblies: - Tiny Life namespace: TinyLife.World @@ -167,16 +165,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnReceived path: World/Mail.cs - startLine: 90 + startLine: 107 assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nThis method is called automatically when this mail item is received by the receiving lot.\nA custom mail instance can execute its custom action in this method.\n" example: [] syntax: content: public override void OnReceived(Map map) parameters: - id: map type: TinyLife.World.Map + description: The map content.vb: Public Overrides Sub OnReceived(map As Map) overridden: TinyLife.World.Mail.OnReceived(TinyLife.World.Map) overload: TinyLife.World.BillsMail.OnReceived* diff --git a/docs/api/TinyLife.World.Door.yml b/docs/api/TinyLife.World.Door.yml index 1c0a81a..109c386 100644 --- a/docs/api/TinyLife.World.Door.yml +++ b/docs/api/TinyLife.World.Door.yml @@ -26,14 +26,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nAn opening is some sort of extrusion in a , like a window or a door.\nOpenings are created from their underlying .\n" example: [] syntax: content: 'public class Door : Opening, IPricedObject' content.vb: >- Public Class Door - Inherits Opening - Implements IPricedObject inheritance: - System.Object @@ -84,14 +83,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nCreates a new opening from the given opening type and color\n" example: [] syntax: content: public Door(OpeningType type, int color) parameters: - id: type type: TinyLife.World.OpeningType + description: The opening type - id: color type: System.Int32 + description: The index of the color content.vb: Public Sub New(type As OpeningType, color As Integer) overload: TinyLife.World.Door.#ctor* modifiers.csharp: @@ -120,6 +122,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns whether a is able to walk through a that has this opening.\nThis returns true for and and false for .\n" example: [] syntax: content: public override bool CanWalkThrough(Wall wall, Person person) @@ -130,6 +133,7 @@ items: type: TinyLife.Objects.Person return: type: System.Boolean + description: '' content.vb: Public Overrides Function CanWalkThrough(wall As Wall, person As Person) As Boolean overridden: TinyLife.World.Opening.CanWalkThrough(TinyLife.World.Wall,TinyLife.Objects.Person) overload: TinyLife.World.Door.CanWalkThrough* @@ -161,6 +165,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nWhether the given can be attached to this opening.\nBy default, this method returns true when the furniture has the category.\n" example: [] syntax: content: public override bool CanPlaceOn(FurnitureType type) @@ -169,6 +174,7 @@ items: type: TinyLife.Objects.FurnitureType return: type: System.Boolean + description: Whether the opening is a window content.vb: Public Overrides Function CanPlaceOn(type As FurnitureType) As Boolean overridden: TinyLife.World.Opening.CanPlaceOn(TinyLife.Objects.FurnitureType) overload: TinyLife.World.Door.CanPlaceOn* diff --git a/docs/api/TinyLife.World.DrawDelegate.yml b/docs/api/TinyLife.World.DrawDelegate.yml index 7e4d70b..219a5ba 100644 --- a/docs/api/TinyLife.World.DrawDelegate.yml +++ b/docs/api/TinyLife.World.DrawDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawDelegate path: World/Map.cs - startLine: 1937 + startLine: 1939 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.ExportedLot.yml b/docs/api/TinyLife.World.ExportedLot.yml index 20f753c..106471a 100644 --- a/docs/api/TinyLife.World.ExportedLot.yml +++ b/docs/api/TinyLife.World.ExportedLot.yml @@ -38,7 +38,6 @@ items: content: 'public class ExportedLot : IPricedObject' content.vb: >- Public Class ExportedLot - Implements IPricedObject inheritance: - System.Object @@ -313,11 +312,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Function GetPrice As Single overload: TinyLife.World.ExportedLot.GetPrice* implements: diff --git a/docs/api/TinyLife.World.FurnitureMail.yml b/docs/api/TinyLife.World.FurnitureMail.yml new file mode 100644 index 0000000..7d99ad9 --- /dev/null +++ b/docs/api/TinyLife.World.FurnitureMail.yml @@ -0,0 +1,877 @@ +### YamlMime:ManagedReference +items: +- uid: TinyLife.World.FurnitureMail + commentId: T:TinyLife.World.FurnitureMail + id: FurnitureMail + parent: TinyLife.World + children: + - TinyLife.World.FurnitureMail.#ctor(System.Guid,TinyLife.Objects.Furniture) + - TinyLife.World.FurnitureMail.Item + - TinyLife.World.FurnitureMail.OnCollected(TinyLife.Actions.Action) + langs: + - csharp + - vb + name: FurnitureMail + nameWithType: FurnitureMail + fullName: TinyLife.World.FurnitureMail + type: Class + source: + remote: + path: TinyLife/World/Mail.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: FurnitureMail + path: World/Mail.cs + startLine: 73 + assemblies: + - Tiny Life + namespace: TinyLife.World + syntax: + content: 'public class FurnitureMail : Mail, IGenericDataHolder' + content.vb: >- + Public Class FurnitureMail + Inherits Mail + Implements IGenericDataHolder + inheritance: + - System.Object + - MLEM.Data.Json.JsonTypeSafeGenericDataHolder + - TinyLife.World.Mail + implements: + - MLEM.Misc.IGenericDataHolder + inheritedMembers: + - TinyLife.World.Mail.Id + - TinyLife.World.Mail.SentTime + - TinyLife.World.Mail.GetReceivingLot(TinyLife.World.Map) + - TinyLife.World.Mail.GetReceivingMailbox(TinyLife.World.Map) + - TinyLife.World.Mail.OnReceived(TinyLife.World.Map) + - MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData(System.String,System.Object) + - MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData``1(System.String) + - MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys + - System.Object.Equals(System.Object) + - System.Object.Equals(System.Object,System.Object) + - System.Object.GetHashCode + - System.Object.GetType + - System.Object.MemberwiseClone + - System.Object.ReferenceEquals(System.Object,System.Object) + - System.Object.ToString + extensionMethods: + - TinyLife.World.FurnitureMail.TinyLife.Utilities.Extensions.JsonCopy``1 + modifiers.csharp: + - public + - class + modifiers.vb: + - Public + - Class +- uid: TinyLife.World.FurnitureMail.Item + commentId: F:TinyLife.World.FurnitureMail.Item + id: Item + parent: TinyLife.World.FurnitureMail + langs: + - csharp + - vb + name: Item + nameWithType: FurnitureMail.Item + fullName: TinyLife.World.FurnitureMail.Item + type: Field + source: + remote: + path: TinyLife/World/Mail.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: Item + path: World/Mail.cs + startLine: 76 + assemblies: + - Tiny Life + namespace: TinyLife.World + syntax: + content: >- + [DataMember] + + public readonly Furniture Item + return: + type: TinyLife.Objects.Furniture + content.vb: >- + + + Public ReadOnly Item As Furniture + attributes: + - type: System.Runtime.Serialization.DataMemberAttribute + ctor: System.Runtime.Serialization.DataMemberAttribute.#ctor + arguments: [] + modifiers.csharp: + - public + - readonly + modifiers.vb: + - Public + - ReadOnly +- uid: TinyLife.World.FurnitureMail.#ctor(System.Guid,TinyLife.Objects.Furniture) + commentId: M:TinyLife.World.FurnitureMail.#ctor(System.Guid,TinyLife.Objects.Furniture) + id: '#ctor(System.Guid,TinyLife.Objects.Furniture)' + parent: TinyLife.World.FurnitureMail + langs: + - csharp + - vb + name: FurnitureMail(Guid, Furniture) + nameWithType: FurnitureMail.FurnitureMail(Guid, Furniture) + fullName: TinyLife.World.FurnitureMail.FurnitureMail(System.Guid, TinyLife.Objects.Furniture) + type: Constructor + source: + remote: + path: TinyLife/World/Mail.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: .ctor + path: World/Mail.cs + startLine: 78 + assemblies: + - Tiny Life + namespace: TinyLife.World + syntax: + content: public FurnitureMail(Guid receivingLot, Furniture item) + parameters: + - id: receivingLot + type: System.Guid + - id: item + type: TinyLife.Objects.Furniture + content.vb: Public Sub New(receivingLot As Guid, item As Furniture) + overload: TinyLife.World.FurnitureMail.#ctor* + modifiers.csharp: + - public + modifiers.vb: + - Public +- uid: TinyLife.World.FurnitureMail.OnCollected(TinyLife.Actions.Action) + commentId: M:TinyLife.World.FurnitureMail.OnCollected(TinyLife.Actions.Action) + id: OnCollected(TinyLife.Actions.Action) + parent: TinyLife.World.FurnitureMail + langs: + - csharp + - vb + name: OnCollected(Action) + nameWithType: FurnitureMail.OnCollected(Action) + fullName: TinyLife.World.FurnitureMail.OnCollected(TinyLife.Actions.Action) + type: Method + source: + remote: + path: TinyLife/World/Mail.cs + branch: master + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OnCollected + path: World/Mail.cs + startLine: 82 + assemblies: + - Tiny Life + namespace: TinyLife.World + syntax: + content: public virtual void OnCollected(Action action) + parameters: + - id: action + type: TinyLife.Actions.Action + content.vb: Public Overridable Sub OnCollected(action As Action) + overload: TinyLife.World.FurnitureMail.OnCollected* + modifiers.csharp: + - public + - virtual + modifiers.vb: + - Public + - Overridable +references: +- uid: TinyLife.World + commentId: N:TinyLife.World + name: TinyLife.World + nameWithType: TinyLife.World + fullName: TinyLife.World +- uid: System.Object + commentId: T:System.Object + parent: System + isExternal: true + name: Object + nameWithType: Object + fullName: System.Object +- uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder + commentId: T:MLEM.Data.Json.JsonTypeSafeGenericDataHolder + parent: MLEM.Data.Json + isExternal: true + name: JsonTypeSafeGenericDataHolder + nameWithType: JsonTypeSafeGenericDataHolder + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder +- uid: TinyLife.World.Mail + commentId: T:TinyLife.World.Mail + parent: TinyLife.World + name: Mail + nameWithType: Mail + fullName: TinyLife.World.Mail +- uid: MLEM.Misc.IGenericDataHolder + commentId: T:MLEM.Misc.IGenericDataHolder + parent: MLEM.Misc + isExternal: true + name: IGenericDataHolder + nameWithType: IGenericDataHolder + fullName: MLEM.Misc.IGenericDataHolder +- uid: TinyLife.World.Mail.Id + commentId: F:TinyLife.World.Mail.Id + parent: TinyLife.World.Mail + name: Id + nameWithType: Mail.Id + fullName: TinyLife.World.Mail.Id +- uid: TinyLife.World.Mail.SentTime + commentId: F:TinyLife.World.Mail.SentTime + parent: TinyLife.World.Mail + name: SentTime + nameWithType: Mail.SentTime + fullName: TinyLife.World.Mail.SentTime +- uid: TinyLife.World.Mail.GetReceivingLot(TinyLife.World.Map) + commentId: M:TinyLife.World.Mail.GetReceivingLot(TinyLife.World.Map) + parent: TinyLife.World.Mail + name: GetReceivingLot(Map) + nameWithType: Mail.GetReceivingLot(Map) + fullName: TinyLife.World.Mail.GetReceivingLot(TinyLife.World.Map) + spec.csharp: + - uid: TinyLife.World.Mail.GetReceivingLot(TinyLife.World.Map) + name: GetReceivingLot + nameWithType: Mail.GetReceivingLot + fullName: TinyLife.World.Mail.GetReceivingLot + - name: ( + nameWithType: ( + fullName: ( + - uid: TinyLife.World.Map + name: Map + nameWithType: Map + fullName: TinyLife.World.Map + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.World.Mail.GetReceivingLot(TinyLife.World.Map) + name: GetReceivingLot + nameWithType: Mail.GetReceivingLot + fullName: TinyLife.World.Mail.GetReceivingLot + - name: ( + nameWithType: ( + fullName: ( + - uid: TinyLife.World.Map + name: Map + nameWithType: Map + fullName: TinyLife.World.Map + - name: ) + nameWithType: ) + fullName: ) +- uid: TinyLife.World.Mail.GetReceivingMailbox(TinyLife.World.Map) + commentId: M:TinyLife.World.Mail.GetReceivingMailbox(TinyLife.World.Map) + parent: TinyLife.World.Mail + name: GetReceivingMailbox(Map) + nameWithType: Mail.GetReceivingMailbox(Map) + fullName: TinyLife.World.Mail.GetReceivingMailbox(TinyLife.World.Map) + spec.csharp: + - uid: TinyLife.World.Mail.GetReceivingMailbox(TinyLife.World.Map) + name: GetReceivingMailbox + nameWithType: Mail.GetReceivingMailbox + fullName: TinyLife.World.Mail.GetReceivingMailbox + - name: ( + nameWithType: ( + fullName: ( + - uid: TinyLife.World.Map + name: Map + nameWithType: Map + fullName: TinyLife.World.Map + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.World.Mail.GetReceivingMailbox(TinyLife.World.Map) + name: GetReceivingMailbox + nameWithType: Mail.GetReceivingMailbox + fullName: TinyLife.World.Mail.GetReceivingMailbox + - name: ( + nameWithType: ( + fullName: ( + - uid: TinyLife.World.Map + name: Map + nameWithType: Map + fullName: TinyLife.World.Map + - name: ) + nameWithType: ) + fullName: ) +- uid: TinyLife.World.Mail.OnReceived(TinyLife.World.Map) + commentId: M:TinyLife.World.Mail.OnReceived(TinyLife.World.Map) + parent: TinyLife.World.Mail + name: OnReceived(Map) + nameWithType: Mail.OnReceived(Map) + fullName: TinyLife.World.Mail.OnReceived(TinyLife.World.Map) + spec.csharp: + - uid: TinyLife.World.Mail.OnReceived(TinyLife.World.Map) + name: OnReceived + nameWithType: Mail.OnReceived + fullName: TinyLife.World.Mail.OnReceived + - name: ( + nameWithType: ( + fullName: ( + - uid: TinyLife.World.Map + name: Map + nameWithType: Map + fullName: TinyLife.World.Map + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.World.Mail.OnReceived(TinyLife.World.Map) + name: OnReceived + nameWithType: Mail.OnReceived + fullName: TinyLife.World.Mail.OnReceived + - name: ( + nameWithType: ( + fullName: ( + - uid: TinyLife.World.Map + name: Map + nameWithType: Map + fullName: TinyLife.World.Map + - name: ) + nameWithType: ) + fullName: ) +- uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData(System.String,System.Object) + commentId: M:MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData(System.String,System.Object) + parent: MLEM.Data.Json.JsonTypeSafeGenericDataHolder + isExternal: true + name: SetData(String, Object) + nameWithType: JsonTypeSafeGenericDataHolder.SetData(String, Object) + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData(System.String, System.Object) + spec.csharp: + - uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData(System.String,System.Object) + name: SetData + nameWithType: JsonTypeSafeGenericDataHolder.SetData + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData(System.String,System.Object) + name: SetData + nameWithType: JsonTypeSafeGenericDataHolder.SetData + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.SetData + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ) + nameWithType: ) + fullName: ) +- uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData``1(System.String) + commentId: M:MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData``1(System.String) + parent: MLEM.Data.Json.JsonTypeSafeGenericDataHolder + isExternal: true + name: GetData(String) + nameWithType: JsonTypeSafeGenericDataHolder.GetData(String) + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData(System.String) + nameWithType.vb: JsonTypeSafeGenericDataHolder.GetData(Of T)(String) + fullName.vb: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData(Of T)(System.String) + name.vb: GetData(Of T)(String) + spec.csharp: + - uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData``1(System.String) + name: GetData + nameWithType: JsonTypeSafeGenericDataHolder.GetData + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData``1(System.String) + name: GetData(Of T) + nameWithType: JsonTypeSafeGenericDataHolder.GetData(Of T) + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetData(Of T) + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.String + name: String + nameWithType: String + fullName: System.String + isExternal: true + - name: ) + nameWithType: ) + fullName: ) +- uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys + commentId: M:MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys + parent: MLEM.Data.Json.JsonTypeSafeGenericDataHolder + isExternal: true + name: GetDataKeys() + nameWithType: JsonTypeSafeGenericDataHolder.GetDataKeys() + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys() + spec.csharp: + - uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys + name: GetDataKeys + nameWithType: JsonTypeSafeGenericDataHolder.GetDataKeys + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys + name: GetDataKeys + nameWithType: JsonTypeSafeGenericDataHolder.GetDataKeys + fullName: MLEM.Data.Json.JsonTypeSafeGenericDataHolder.GetDataKeys + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Object.Equals(System.Object) + commentId: M:System.Object.Equals(System.Object) + parent: System.Object + isExternal: true + name: Equals(Object) + nameWithType: Object.Equals(Object) + fullName: System.Object.Equals(System.Object) + spec.csharp: + - uid: System.Object.Equals(System.Object) + name: Equals + nameWithType: Object.Equals + fullName: System.Object.Equals + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Object.Equals(System.Object) + name: Equals + nameWithType: Object.Equals + fullName: System.Object.Equals + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Object.Equals(System.Object,System.Object) + commentId: M:System.Object.Equals(System.Object,System.Object) + parent: System.Object + isExternal: true + name: Equals(Object, Object) + nameWithType: Object.Equals(Object, Object) + fullName: System.Object.Equals(System.Object, System.Object) + spec.csharp: + - uid: System.Object.Equals(System.Object,System.Object) + name: Equals + nameWithType: Object.Equals + fullName: System.Object.Equals + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Object.Equals(System.Object,System.Object) + name: Equals + nameWithType: Object.Equals + fullName: System.Object.Equals + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Object.GetHashCode + commentId: M:System.Object.GetHashCode + parent: System.Object + isExternal: true + name: GetHashCode() + nameWithType: Object.GetHashCode() + fullName: System.Object.GetHashCode() + spec.csharp: + - uid: System.Object.GetHashCode + name: GetHashCode + nameWithType: Object.GetHashCode + fullName: System.Object.GetHashCode + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Object.GetHashCode + name: GetHashCode + nameWithType: Object.GetHashCode + fullName: System.Object.GetHashCode + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Object.GetType + commentId: M:System.Object.GetType + parent: System.Object + isExternal: true + name: GetType() + nameWithType: Object.GetType() + fullName: System.Object.GetType() + spec.csharp: + - uid: System.Object.GetType + name: GetType + nameWithType: Object.GetType + fullName: System.Object.GetType + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Object.GetType + name: GetType + nameWithType: Object.GetType + fullName: System.Object.GetType + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Object.MemberwiseClone + commentId: M:System.Object.MemberwiseClone + parent: System.Object + isExternal: true + name: MemberwiseClone() + nameWithType: Object.MemberwiseClone() + fullName: System.Object.MemberwiseClone() + spec.csharp: + - uid: System.Object.MemberwiseClone + name: MemberwiseClone + nameWithType: Object.MemberwiseClone + fullName: System.Object.MemberwiseClone + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Object.MemberwiseClone + name: MemberwiseClone + nameWithType: Object.MemberwiseClone + fullName: System.Object.MemberwiseClone + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Object.ReferenceEquals(System.Object,System.Object) + commentId: M:System.Object.ReferenceEquals(System.Object,System.Object) + parent: System.Object + isExternal: true + name: ReferenceEquals(Object, Object) + nameWithType: Object.ReferenceEquals(Object, Object) + fullName: System.Object.ReferenceEquals(System.Object, System.Object) + spec.csharp: + - uid: System.Object.ReferenceEquals(System.Object,System.Object) + name: ReferenceEquals + nameWithType: Object.ReferenceEquals + fullName: System.Object.ReferenceEquals + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Object.ReferenceEquals(System.Object,System.Object) + name: ReferenceEquals + nameWithType: Object.ReferenceEquals + fullName: System.Object.ReferenceEquals + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ', ' + nameWithType: ', ' + fullName: ', ' + - uid: System.Object + name: Object + nameWithType: Object + fullName: System.Object + isExternal: true + - name: ) + nameWithType: ) + fullName: ) +- uid: System.Object.ToString + commentId: M:System.Object.ToString + parent: System.Object + isExternal: true + name: ToString() + nameWithType: Object.ToString() + fullName: System.Object.ToString() + spec.csharp: + - uid: System.Object.ToString + name: ToString + nameWithType: Object.ToString + fullName: System.Object.ToString + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: System.Object.ToString + name: ToString + nameWithType: Object.ToString + fullName: System.Object.ToString + isExternal: true + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) +- uid: TinyLife.World.FurnitureMail.TinyLife.Utilities.Extensions.JsonCopy``1 + commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) + parent: TinyLife.Utilities.Extensions + definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy() + nameWithType: Extensions.JsonCopy() + fullName: TinyLife.Utilities.Extensions.JsonCopy() + nameWithType.vb: Extensions.JsonCopy(Of FurnitureMail)() + fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.World.FurnitureMail)() + name.vb: JsonCopy(Of FurnitureMail)() + spec.csharp: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1 + name: JsonCopy + nameWithType: Extensions.JsonCopy + fullName: TinyLife.Utilities.Extensions.JsonCopy + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1 + name: JsonCopy(Of FurnitureMail) + nameWithType: Extensions.JsonCopy(Of FurnitureMail) + fullName: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.World.FurnitureMail) + - name: ( + nameWithType: ( + fullName: ( + - name: ) + nameWithType: ) + fullName: ) +- uid: System + commentId: N:System + isExternal: true + name: System + nameWithType: System + fullName: System +- uid: MLEM.Data.Json + commentId: N:MLEM.Data.Json + isExternal: true + name: MLEM.Data.Json + nameWithType: MLEM.Data.Json + fullName: MLEM.Data.Json +- uid: MLEM.Misc + commentId: N:MLEM.Misc + isExternal: true + name: MLEM.Misc + nameWithType: MLEM.Misc + fullName: MLEM.Misc +- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy(T) + nameWithType: Extensions.JsonCopy(T) + fullName: TinyLife.Utilities.Extensions.JsonCopy(T) + nameWithType.vb: Extensions.JsonCopy(Of T)(T) + fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T) + name.vb: JsonCopy(Of T)(T) + spec.csharp: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy + nameWithType: Extensions.JsonCopy + fullName: TinyLife.Utilities.Extensions.JsonCopy + - name: ( + nameWithType: ( + fullName: ( + - name: T + nameWithType: T + fullName: T + - name: ) + nameWithType: ) + fullName: ) + spec.vb: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy(Of T) + nameWithType: Extensions.JsonCopy(Of T) + fullName: TinyLife.Utilities.Extensions.JsonCopy(Of T) + - name: ( + nameWithType: ( + fullName: ( + - name: T + nameWithType: T + fullName: T + - name: ) + nameWithType: ) + fullName: ) +- uid: TinyLife.Utilities.Extensions + commentId: T:TinyLife.Utilities.Extensions + parent: TinyLife.Utilities + name: Extensions + nameWithType: Extensions + fullName: TinyLife.Utilities.Extensions +- uid: TinyLife.Utilities + commentId: N:TinyLife.Utilities + name: TinyLife.Utilities + nameWithType: TinyLife.Utilities + fullName: TinyLife.Utilities +- uid: TinyLife.Objects.Furniture + commentId: T:TinyLife.Objects.Furniture + parent: TinyLife.Objects + name: Furniture + nameWithType: Furniture + fullName: TinyLife.Objects.Furniture +- uid: TinyLife.Objects + commentId: N:TinyLife.Objects + name: TinyLife.Objects + nameWithType: TinyLife.Objects + fullName: TinyLife.Objects +- uid: TinyLife.World.FurnitureMail.#ctor* + commentId: Overload:TinyLife.World.FurnitureMail.#ctor + name: FurnitureMail + nameWithType: FurnitureMail.FurnitureMail + fullName: TinyLife.World.FurnitureMail.FurnitureMail +- uid: System.Guid + commentId: T:System.Guid + parent: System + isExternal: true + name: Guid + nameWithType: Guid + fullName: System.Guid +- uid: TinyLife.World.FurnitureMail.OnCollected* + commentId: Overload:TinyLife.World.FurnitureMail.OnCollected + name: OnCollected + nameWithType: FurnitureMail.OnCollected + fullName: TinyLife.World.FurnitureMail.OnCollected +- uid: TinyLife.Actions.Action + commentId: T:TinyLife.Actions.Action + parent: TinyLife.Actions + name: Action + nameWithType: Action + fullName: TinyLife.Actions.Action +- uid: TinyLife.Actions + commentId: N:TinyLife.Actions + name: TinyLife.Actions + nameWithType: TinyLife.Actions + fullName: TinyLife.Actions diff --git a/docs/api/TinyLife.World.GrassyAutoTile.yml b/docs/api/TinyLife.World.GrassyAutoTile.yml index c92b595..1e9ed16 100644 --- a/docs/api/TinyLife.World.GrassyAutoTile.yml +++ b/docs/api/TinyLife.World.GrassyAutoTile.yml @@ -32,9 +32,7 @@ items: content: 'public class GrassyAutoTile : Tile, IPricedObject' content.vb: >- Public Class GrassyAutoTile - Inherits Tile - Implements IPricedObject inheritance: - System.Object @@ -97,6 +95,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nCreates a new tile with the given settings.\nTo create an instance of a custom tile class, use .\n" example: [] syntax: content: protected GrassyAutoTile(string baseName, string name, int price, Dictionary textureRegions, ColorScheme[] colorSchemes, int[] colors, bool canBuy, float pathCostModifier, bool natural, TextureRegion icon, int[] defaultColors) @@ -154,24 +153,32 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nDraws this tile at the given position in the world using a or \n" example: [] syntax: content: public override void Draw(object batch, Map map, Point pos, Vector2 drawPos, float depth, float scale, ICollection items = null) parameters: - id: batch type: System.Object + description: The sprite batch to use for drawing, which can either be a or a . - id: map type: TinyLife.World.Map + description: The map that the tile is on. - id: pos type: Microsoft.Xna.Framework.Point + description: The position that the tile is on. - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in screen space, to draw at. - id: depth type: System.Single + description: The depth to use for drawing. - id: scale type: System.Single + description: The scale to draw the tile with. - id: items type: System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item} + description: The collection that added items can optionally be added to. content.vb: Public Overrides Sub Draw(batch As Object, map As Map, pos As Point, drawPos As Vector2, depth As Single, scale As Single, items As ICollection(Of StaticSpriteBatch.Item) = Nothing) overridden: TinyLife.World.Tile.Draw(System.Object,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item}) overload: TinyLife.World.GrassyAutoTile.Draw* @@ -206,16 +213,20 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nA method that is called when a neighboring on the changes.\nThis method does nothing by default, but is overriden by to notify neighboring tiles of changes.\n" example: [] syntax: content: public override void OnNeighborChanged(Map map, Point pos, Point neighbor) parameters: - id: map type: TinyLife.World.Map + description: The map that the tile is on. - id: pos type: Microsoft.Xna.Framework.Point + description: The position that the tile is on. - id: neighbor type: Microsoft.Xna.Framework.Point + description: The position of the tile that changed. content.vb: Public Overrides Sub OnNeighborChanged(map As Map, pos As Point, neighbor As Point) overridden: TinyLife.World.Tile.OnNeighborChanged(TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Point) overload: TinyLife.World.GrassyAutoTile.OnNeighborChanged* diff --git a/docs/api/TinyLife.World.Household.yml b/docs/api/TinyLife.World.Household.yml index 23b976d..a58354b 100644 --- a/docs/api/TinyLife.World.Household.yml +++ b/docs/api/TinyLife.World.Household.yml @@ -58,9 +58,7 @@ items: Public Class Household - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object @@ -987,7 +985,7 @@ items: summary: "\nReturns whether power and water should currently be considered disabled for the that this household is on.\nThis method returns true when has contained a for three or more in-game days.\n" example: [] syntax: - content: public bool AreUtilitiesDisabled(TimeSpan? time = default(TimeSpan? )) + content: public bool AreUtilitiesDisabled(TimeSpan? time = null) parameters: - id: time type: System.Nullable{System.TimeSpan} diff --git a/docs/api/TinyLife.World.Lot.yml b/docs/api/TinyLife.World.Lot.yml index ca73e31..d235c7b 100644 --- a/docs/api/TinyLife.World.Lot.yml +++ b/docs/api/TinyLife.World.Lot.yml @@ -52,9 +52,7 @@ items: Public Class Lot - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -581,11 +579,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Function GetPrice As Single overload: TinyLife.World.Lot.GetPrice* implements: diff --git a/docs/api/TinyLife.World.Mail.yml b/docs/api/TinyLife.World.Mail.yml index 37c7bb5..8a9b9c5 100644 --- a/docs/api/TinyLife.World.Mail.yml +++ b/docs/api/TinyLife.World.Mail.yml @@ -25,11 +25,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Mail path: World/Mail.cs - startLine: 14 + startLine: 18 assemblies: - Tiny Life namespace: TinyLife.World - summary: "\nA class used for sending and receiving mail.\nTo add new mail to be sent to a , use .\n" + summary: "\nA class used for sending and receiving mail.\nTo add new mail to be sent to a , use .\n" example: [] syntax: content: >- @@ -40,15 +40,14 @@ items: Public MustInherit Class Mail - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object - MLEM.Data.Json.JsonTypeSafeGenericDataHolder derivedClasses: - TinyLife.World.BillsMail + - TinyLife.World.FurnitureMail implements: - MLEM.Misc.IGenericDataHolder inheritedMembers: @@ -94,7 +93,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Id path: World/Mail.cs - startLine: 22 + startLine: 26 assemblies: - Tiny Life namespace: TinyLife.World @@ -139,7 +138,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SentTime path: World/Mail.cs - startLine: 27 + startLine: 31 assemblies: - Tiny Life namespace: TinyLife.World @@ -184,7 +183,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: World/Mail.cs - startLine: 35 + startLine: 39 assemblies: - Tiny Life namespace: TinyLife.World @@ -220,7 +219,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetReceivingLot path: World/Mail.cs - startLine: 45 + startLine: 49 assemblies: - Tiny Life namespace: TinyLife.World @@ -259,7 +258,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetReceivingMailbox path: World/Mail.cs - startLine: 55 + startLine: 59 assemblies: - Tiny Life namespace: TinyLife.World @@ -298,7 +297,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnReceived path: World/Mail.cs - startLine: 65 + startLine: 69 assemblies: - Tiny Life namespace: TinyLife.World @@ -325,9 +324,6 @@ references: name: Household nameWithType: Household fullName: TinyLife.World.Household -- uid: TinyLife.World.Map.SendMail(TinyLife.World.Mail) - commentId: M:TinyLife.World.Map.SendMail(TinyLife.World.Mail) - isExternal: true - uid: TinyLife.World commentId: N:TinyLife.World name: TinyLife.World diff --git a/docs/api/TinyLife.World.Map.yml b/docs/api/TinyLife.World.Map.yml index a036161..32fbb69 100644 --- a/docs/api/TinyLife.World.Map.yml +++ b/docs/api/TinyLife.World.Map.yml @@ -73,7 +73,6 @@ items: - TinyLife.World.Map.RemoveRoof(TinyLife.World.Roof) - TinyLife.World.Map.RemoveWall(TinyLife.World.Wall,System.Boolean) - TinyLife.World.Map.RoadRadius - - TinyLife.World.Map.SendMail(TinyLife.World.Mail) - TinyLife.World.Map.SetTile(Microsoft.Xna.Framework.Point,TinyLife.World.Tile) - TinyLife.World.Map.Size - TinyLife.World.Map.SizeInSections @@ -111,9 +110,7 @@ items: Public Class Map - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object @@ -344,7 +341,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.World - summary: "\nA list of all that needs to be sent by a mail carrier the next morning.\nTo send mail, use .\n" + summary: "\nA list of all that needs to be sent by a mail carrier the next morning.\nTo send mail, use .\n" example: [] syntax: content: >- @@ -628,14 +625,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: World/Map.cs - startLine: 202 + startLine: 213 assemblies: - Tiny Life namespace: TinyLife.World summary: "\nDraws this map and all of its objects.\nNote that drawing in this manner uses multiple objects, for things like the ground and the lightmaps.\n" example: [] syntax: - content: public void Draw(GameTime time, SpriteBatch batch, bool selectionMode, RectangleF? visibleArea = default(RectangleF? ), Matrix? visibleMatrix = default(Matrix? ), RenderTarget2D lightmap = null, bool ignoreObjectVisibility = false) + content: public void Draw(GameTime time, SpriteBatch batch, bool selectionMode, RectangleF? visibleArea = null, Matrix? visibleMatrix = null, RenderTarget2D lightmap = null, bool ignoreObjectVisibility = false) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -685,7 +682,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDepth path: World/Map.cs - startLine: 447 + startLine: 458 assemblies: - Tiny Life namespace: TinyLife.World @@ -736,7 +733,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsInBounds path: World/Map.cs - startLine: 458 + startLine: 469 assemblies: - Tiny Life namespace: TinyLife.World @@ -775,7 +772,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsInSectionBounds path: World/Map.cs - startLine: 467 + startLine: 478 assemblies: - Tiny Life namespace: TinyLife.World @@ -814,7 +811,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddRoad path: World/Map.cs - startLine: 476 + startLine: 487 assemblies: - Tiny Life namespace: TinyLife.World @@ -850,7 +847,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsRoad path: World/Map.cs - startLine: 486 + startLine: 497 assemblies: - Tiny Life namespace: TinyLife.World @@ -889,7 +886,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestRoad path: World/Map.cs - startLine: 496 + startLine: 507 assemblies: - Tiny Life namespace: TinyLife.World @@ -931,7 +928,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoads path: World/Map.cs - startLine: 509 + startLine: 520 assemblies: - Tiny Life namespace: TinyLife.World @@ -966,7 +963,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestSidewalk path: World/Map.cs - startLine: 522 + startLine: 533 assemblies: - Tiny Life namespace: TinyLife.World @@ -1008,7 +1005,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTilesAround path: World/Map.cs - startLine: 539 + startLine: 550 assemblies: - Tiny Life namespace: TinyLife.World @@ -1062,7 +1059,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestEmptyTile path: World/Map.cs - startLine: 566 + startLine: 577 assemblies: - Tiny Life namespace: TinyLife.World @@ -1113,7 +1110,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomTile path: World/Map.cs - startLine: 584 + startLine: 595 assemblies: - Tiny Life namespace: TinyLife.World @@ -1170,7 +1167,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: World/Map.cs - startLine: 609 + startLine: 620 assemblies: - Tiny Life namespace: TinyLife.World @@ -1210,7 +1207,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoom path: World/Map.cs - startLine: 657 + startLine: 668 assemblies: - Tiny Life namespace: TinyLife.World @@ -1249,7 +1246,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLot path: World/Map.cs - startLine: 672 + startLine: 683 assemblies: - Tiny Life namespace: TinyLife.World @@ -1288,7 +1285,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLot path: World/Map.cs - startLine: 683 + startLine: 694 assemblies: - Tiny Life namespace: TinyLife.World @@ -1327,7 +1324,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddLot path: World/Map.cs - startLine: 696 + startLine: 707 assemblies: - Tiny Life namespace: TinyLife.World @@ -1366,7 +1363,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveLot path: World/Map.cs - startLine: 706 + startLine: 717 assemblies: - Tiny Life namespace: TinyLife.World @@ -1402,7 +1399,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLots path: World/Map.cs - startLine: 714 + startLine: 725 assemblies: - Tiny Life namespace: TinyLife.World @@ -1437,7 +1434,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddWall path: World/Map.cs - startLine: 725 + startLine: 736 assemblies: - Tiny Life namespace: TinyLife.World @@ -1479,7 +1476,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddWall path: World/Map.cs - startLine: 737 + startLine: 748 assemblies: - Tiny Life namespace: TinyLife.World @@ -1521,7 +1518,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveWall path: World/Map.cs - startLine: 748 + startLine: 759 assemblies: - Tiny Life namespace: TinyLife.World @@ -1563,7 +1560,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWallBetween path: World/Map.cs - startLine: 764 + startLine: 775 assemblies: - Tiny Life namespace: TinyLife.World @@ -1605,7 +1602,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTile path: World/Map.cs - startLine: 778 + startLine: 789 assemblies: - Tiny Life namespace: TinyLife.World @@ -1644,7 +1641,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetTile path: World/Map.cs - startLine: 788 + startLine: 799 assemblies: - Tiny Life namespace: TinyLife.World @@ -1683,7 +1680,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddRoof path: World/Map.cs - startLine: 803 + startLine: 814 assemblies: - Tiny Life namespace: TinyLife.World @@ -1719,7 +1716,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoof path: World/Map.cs - startLine: 813 + startLine: 824 assemblies: - Tiny Life namespace: TinyLife.World @@ -1758,7 +1755,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveRoof path: World/Map.cs - startLine: 826 + startLine: 837 assemblies: - Tiny Life namespace: TinyLife.World @@ -1794,7 +1791,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetObjects path: World/Map.cs - startLine: 837 + startLine: 848 assemblies: - Tiny Life namespace: TinyLife.World @@ -1803,7 +1800,6 @@ items: syntax: content: >- public IEnumerable GetObjects(RectangleF area) - where T : MapObject parameters: - id: area @@ -1842,7 +1838,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetObject path: World/Map.cs - startLine: 853 + startLine: 864 assemblies: - Tiny Life namespace: TinyLife.World @@ -1851,7 +1847,6 @@ items: syntax: content: >- public T GetObject(Guid id) - where T : MapObject parameters: - id: id @@ -1890,7 +1885,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddObject path: World/Map.cs - startLine: 868 + startLine: 879 assemblies: - Tiny Life namespace: TinyLife.World @@ -1926,7 +1921,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveObject path: World/Map.cs - startLine: 891 + startLine: 902 assemblies: - Tiny Life namespace: TinyLife.World @@ -1963,7 +1958,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPeople path: World/Map.cs - startLine: 909 + startLine: 920 assemblies: - Tiny Life namespace: TinyLife.World @@ -1998,7 +1993,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHousehold path: World/Map.cs - startLine: 921 + startLine: 932 assemblies: - Tiny Life namespace: TinyLife.World @@ -2037,7 +2032,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHousehold path: World/Map.cs - startLine: 934 + startLine: 945 assemblies: - Tiny Life namespace: TinyLife.World @@ -2076,7 +2071,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddHousehold path: World/Map.cs - startLine: 947 + startLine: 958 assemblies: - Tiny Life namespace: TinyLife.World @@ -2115,7 +2110,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveHousehold path: World/Map.cs - startLine: 957 + startLine: 968 assemblies: - Tiny Life namespace: TinyLife.World @@ -2151,7 +2146,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHouseholds path: World/Map.cs - startLine: 965 + startLine: 976 assemblies: - Tiny Life namespace: TinyLife.World @@ -2186,7 +2181,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSection path: World/Map.cs - startLine: 975 + startLine: 986 assemblies: - Tiny Life namespace: TinyLife.World @@ -2225,7 +2220,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSections path: World/Map.cs - startLine: 987 + startLine: 998 assemblies: - Tiny Life namespace: TinyLife.World @@ -2267,7 +2262,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSections path: World/Map.cs - startLine: 997 + startLine: 1008 assemblies: - Tiny Life namespace: TinyLife.World @@ -2309,7 +2304,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkDirtyForPathfinding path: World/Map.cs - startLine: 1018 + startLine: 1029 assemblies: - Tiny Life namespace: TinyLife.World @@ -2345,7 +2340,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPathCost path: World/Map.cs - startLine: 1038 + startLine: 1049 assemblies: - Tiny Life namespace: TinyLife.World @@ -2390,7 +2385,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanWalkBetween path: World/Map.cs - startLine: 1057 + startLine: 1068 assemblies: - Tiny Life namespace: TinyLife.World @@ -2435,7 +2430,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsFreeSpot path: World/Map.cs - startLine: 1066 + startLine: 1077 assemblies: - Tiny Life namespace: TinyLife.World @@ -2474,7 +2469,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDeadPerson path: World/Map.cs - startLine: 1076 + startLine: 1087 assemblies: - Tiny Life namespace: TinyLife.World @@ -2513,7 +2508,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlaySound path: World/Map.cs - startLine: 1096 + startLine: 1107 assemblies: - Tiny Life namespace: TinyLife.World @@ -2567,7 +2562,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlaySound path: World/Map.cs - startLine: 1113 + startLine: 1124 assemblies: - Tiny Life namespace: TinyLife.World @@ -2621,7 +2616,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestExitRoad path: World/Map.cs - startLine: 1131 + startLine: 1142 assemblies: - Tiny Life namespace: TinyLife.World @@ -2659,7 +2654,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetExitRoads path: World/Map.cs - startLine: 1139 + startLine: 1150 assemblies: - Tiny Life namespace: TinyLife.World @@ -2694,7 +2689,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWalls path: World/Map.cs - startLine: 1154 + startLine: 1165 assemblies: - Tiny Life namespace: TinyLife.World @@ -2715,42 +2710,6 @@ items: - public modifiers.vb: - Public -- uid: TinyLife.World.Map.SendMail(TinyLife.World.Mail) - commentId: M:TinyLife.World.Map.SendMail(TinyLife.World.Mail) - id: SendMail(TinyLife.World.Mail) - parent: TinyLife.World.Map - langs: - - csharp - - vb - name: SendMail(Mail) - nameWithType: Map.SendMail(Mail) - fullName: TinyLife.World.Map.SendMail(TinyLife.World.Mail) - type: Method - source: - remote: - path: TinyLife/World/Map.cs - branch: master - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: SendMail - path: World/Map.cs - startLine: 1168 - assemblies: - - Tiny Life - namespace: TinyLife.World - summary: "\nSends the specified , which enqueues it for delivery for the next morning.\nThis effectively adds the mail safely to the list.\n" - example: [] - syntax: - content: public void SendMail(Mail mail) - parameters: - - id: mail - type: TinyLife.World.Mail - description: The mail to send the next morning - content.vb: Public Sub SendMail(mail As Mail) - overload: TinyLife.World.Map.SendMail* - modifiers.csharp: - - public - modifiers.vb: - - Public - uid: TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) commentId: M:TinyLife.World.Map.ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) id: ApplyCameraRotation(Microsoft.Xna.Framework.Vector2,System.Boolean,System.Nullable{MLEM.Misc.Direction2}) @@ -2769,14 +2728,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ApplyCameraRotation path: World/Map.cs - startLine: 1179 + startLine: 1181 assemblies: - Tiny Life namespace: TinyLife.World summary: "\nApplies the game's current to the given position in world space\n" example: [] syntax: - content: public Vector2 ApplyCameraRotation(Vector2 worldPos, bool borderOffset = false, Direction2? cameraRotation = default(Direction2? )) + content: public Vector2 ApplyCameraRotation(Vector2 worldPos, bool borderOffset = false, Direction2? cameraRotation = null) parameters: - id: worldPos type: Microsoft.Xna.Framework.Vector2 @@ -2817,14 +2776,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ApplyInverseCameraRotation path: World/Map.cs - startLine: 1195 + startLine: 1197 assemblies: - Tiny Life namespace: TinyLife.World summary: "\nApplies the game's current to the given position in world space in reverse, undoing the action done by \n" example: [] syntax: - content: public Vector2 ApplyInverseCameraRotation(Vector2 worldPos, Direction2? cameraRotation = default(Direction2? )) + content: public Vector2 ApplyInverseCameraRotation(Vector2 worldPos, Direction2? cameraRotation = null) parameters: - id: worldPos type: Microsoft.Xna.Framework.Vector2 @@ -2862,7 +2821,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCameraRotationChanged path: World/Map.cs - startLine: 1210 + startLine: 1212 assemblies: - Tiny Life namespace: TinyLife.World @@ -2901,7 +2860,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddLight path: World/Map.cs - startLine: 1232 + startLine: 1234 assemblies: - Tiny Life namespace: TinyLife.World @@ -2937,7 +2896,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveLight path: World/Map.cs - startLine: 1241 + startLine: 1243 assemblies: - Tiny Life namespace: TinyLife.World @@ -2973,7 +2932,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MoveEverything path: World/Map.cs - startLine: 1252 + startLine: 1254 assemblies: - Tiny Life namespace: TinyLife.World @@ -3015,7 +2974,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ValidateRooms path: World/Map.cs - startLine: 1311 + startLine: 1313 assemblies: - Tiny Life namespace: TinyLife.World @@ -3051,7 +3010,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRegularVisitors path: World/Map.cs - startLine: 1326 + startLine: 1328 assemblies: - Tiny Life namespace: TinyLife.World @@ -3086,7 +3045,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateExternalPeople path: World/Map.cs - startLine: 1338 + startLine: 1340 assemblies: - Tiny Life namespace: TinyLife.World @@ -3118,7 +3077,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsLotHidden path: World/Map.cs - startLine: 1421 + startLine: 1423 assemblies: - Tiny Life namespace: TinyLife.World @@ -3157,7 +3116,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetAllLotEmployments path: World/Map.cs - startLine: 1438 + startLine: 1440 assemblies: - Tiny Life namespace: TinyLife.World @@ -3192,7 +3151,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkTileDirtyForDrawing path: World/Map.cs - startLine: 1451 + startLine: 1453 assemblies: - Tiny Life namespace: TinyLife.World @@ -3228,7 +3187,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LoadStaticMap path: World/Map.cs - startLine: 1802 + startLine: 1804 assemblies: - Tiny Life namespace: TinyLife.World @@ -3925,9 +3884,6 @@ references: name: Mail nameWithType: Mail fullName: TinyLife.World.Mail -- uid: TinyLife.World.Map.SendMail(TinyLife.World.Mail) - commentId: M:TinyLife.World.Map.SendMail(TinyLife.World.Mail) - isExternal: true - uid: System.Collections.Generic.List{TinyLife.World.Mail} commentId: T:System.Collections.Generic.List{TinyLife.World.Mail} parent: System.Collections.Generic @@ -5500,14 +5456,6 @@ references: - name: ) nameWithType: ) fullName: ) -- uid: TinyLife.World.Map.MailToSend - commentId: F:TinyLife.World.Map.MailToSend - isExternal: true -- uid: TinyLife.World.Map.SendMail* - commentId: Overload:TinyLife.World.Map.SendMail - name: SendMail - nameWithType: Map.SendMail - fullName: TinyLife.World.Map.SendMail - uid: TinyLife.World.Map.ApplyCameraRotation* commentId: Overload:TinyLife.World.Map.ApplyCameraRotation name: ApplyCameraRotation diff --git a/docs/api/TinyLife.World.MapAudioEmitter.yml b/docs/api/TinyLife.World.MapAudioEmitter.yml index e2b7ce2..77c8aa2 100644 --- a/docs/api/TinyLife.World.MapAudioEmitter.yml +++ b/docs/api/TinyLife.World.MapAudioEmitter.yml @@ -30,7 +30,6 @@ items: content: 'public class MapAudioEmitter : AudioEmitter' content.vb: >- Public Class MapAudioEmitter - Inherits AudioEmitter inheritance: - System.Object diff --git a/docs/api/TinyLife.World.MapSection.yml b/docs/api/TinyLife.World.MapSection.yml index 6735e87..725f39c 100644 --- a/docs/api/TinyLife.World.MapSection.yml +++ b/docs/api/TinyLife.World.MapSection.yml @@ -42,9 +42,7 @@ items: Public Class MapSection - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder inheritance: - System.Object diff --git a/docs/api/TinyLife.World.Opening.yml b/docs/api/TinyLife.World.Opening.yml index 0b7e05e..9b11472 100644 --- a/docs/api/TinyLife.World.Opening.yml +++ b/docs/api/TinyLife.World.Opening.yml @@ -41,7 +41,6 @@ items: Public Class Opening - Implements IPricedObject inheritance: - System.Object @@ -367,11 +366,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Function GetPrice As Single overload: TinyLife.World.Opening.GetPrice* implements: diff --git a/docs/api/TinyLife.World.Roof.yml b/docs/api/TinyLife.World.Roof.yml index 4a99954..290ec16 100644 --- a/docs/api/TinyLife.World.Roof.yml +++ b/docs/api/TinyLife.World.Roof.yml @@ -43,7 +43,6 @@ items: Public Class Roof - Implements IPricedObject inheritance: - System.Object @@ -363,11 +362,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Function GetPrice As Single overload: TinyLife.World.Roof.GetPrice* implements: diff --git a/docs/api/TinyLife.World.Room.yml b/docs/api/TinyLife.World.Room.yml index 3b1e93c..dcbfaba 100644 --- a/docs/api/TinyLife.World.Room.yml +++ b/docs/api/TinyLife.World.Room.yml @@ -378,7 +378,6 @@ items: syntax: content: >- public IEnumerable GetObjects() - where T : MapObject typeParameters: - id: T diff --git a/docs/api/TinyLife.World.SwingingDoor.yml b/docs/api/TinyLife.World.SwingingDoor.yml index 5b7de19..be4f27b 100644 --- a/docs/api/TinyLife.World.SwingingDoor.yml +++ b/docs/api/TinyLife.World.SwingingDoor.yml @@ -28,14 +28,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nAn opening is some sort of extrusion in a , like a window or a door.\nOpenings are created from their underlying .\n" example: [] syntax: content: 'public class SwingingDoor : Door, IPricedObject' content.vb: >- Public Class SwingingDoor - Inherits Door - Implements IPricedObject inheritance: - System.Object @@ -128,14 +127,17 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nCreates a new opening from the given opening type and color\n" example: [] syntax: content: public SwingingDoor(OpeningType type, int color) parameters: - id: type type: TinyLife.World.OpeningType + description: The opening type - id: color type: System.Int32 + description: The index of the color content.vb: Public Sub New(type As OpeningType, color As Integer) overload: TinyLife.World.SwingingDoor.#ctor* modifiers.csharp: @@ -164,28 +166,38 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nDraws this opening in the world with the given settings\n" example: [] syntax: content: public override void Draw(GameTime time, SpriteBatch batch, Map map, Wall wall, Vector2 drawPos, bool vertical, float scale, float depth, Color? overrideColor) parameters: - id: time type: Microsoft.Xna.Framework.GameTime + description: The game's time - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch + description: The sprite batch to use for drawing - id: map type: TinyLife.World.Map + description: The map that the opening is on - id: wall type: TinyLife.World.Wall + description: The wall that the opening is in - id: drawPos type: Microsoft.Xna.Framework.Vector2 + description: The position, in screen space, to draw the opening on - id: vertical type: System.Boolean + description: Whether the wall that the opening is on is vertical - id: scale type: System.Single + description: The scale to draw the opening with - id: depth type: System.Single + description: The depth to use for drawing the opening - id: overrideColor type: System.Nullable{Microsoft.Xna.Framework.Color} + description: A color that should be used instead of this opening's default color, or null to use the opening's default color content.vb: Public Overrides Sub Draw(time As GameTime, batch As SpriteBatch, map As Map, wall As Wall, drawPos As Vector2, vertical As Boolean, scale As Single, depth As Single, overrideColor As Color?) overridden: TinyLife.World.Opening.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,TinyLife.World.Map,TinyLife.World.Wall,Microsoft.Xna.Framework.Vector2,System.Boolean,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) overload: TinyLife.World.SwingingDoor.Draw* @@ -220,6 +232,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns whether a is able to walk through a that has this opening.\nThis returns true for and and false for .\n" example: [] syntax: content: public override bool CanWalkThrough(Wall wall, Person person) @@ -230,6 +243,7 @@ items: type: TinyLife.Objects.Person return: type: System.Boolean + description: '' content.vb: Public Overrides Function CanWalkThrough(wall As Wall, person As Person) As Boolean overridden: TinyLife.World.Door.CanWalkThrough(TinyLife.World.Wall,TinyLife.Objects.Person) overload: TinyLife.World.SwingingDoor.CanWalkThrough* diff --git a/docs/api/TinyLife.World.Tile.yml b/docs/api/TinyLife.World.Tile.yml index eaa8a2f..9c884e7 100644 --- a/docs/api/TinyLife.World.Tile.yml +++ b/docs/api/TinyLife.World.Tile.yml @@ -55,7 +55,6 @@ items: Public Class Tile - Implements IPricedObject inheritance: - System.Object @@ -793,11 +792,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public virtual float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Overridable Function GetPrice As Single overload: TinyLife.World.Tile.GetPrice* implements: diff --git a/docs/api/TinyLife.World.UpdateDelegate.yml b/docs/api/TinyLife.World.UpdateDelegate.yml index 84676b5..4273bc5 100644 --- a/docs/api/TinyLife.World.UpdateDelegate.yml +++ b/docs/api/TinyLife.World.UpdateDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateDelegate path: World/Map.cs - startLine: 1927 + startLine: 1929 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.Wall.yml b/docs/api/TinyLife.World.Wall.yml index 06063e3..84c2212 100644 --- a/docs/api/TinyLife.World.Wall.yml +++ b/docs/api/TinyLife.World.Wall.yml @@ -53,9 +53,7 @@ items: Public Class Wall - Inherits JsonTypeSafeGenericDataHolder - Implements IGenericDataHolder, IPricedObject inheritance: - System.Object @@ -747,11 +745,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Function GetPrice As Single overload: TinyLife.World.Wall.GetPrice* implements: diff --git a/docs/api/TinyLife.World.Wallpaper.yml b/docs/api/TinyLife.World.Wallpaper.yml index 2523166..d2176a7 100644 --- a/docs/api/TinyLife.World.Wallpaper.yml +++ b/docs/api/TinyLife.World.Wallpaper.yml @@ -47,7 +47,6 @@ items: Public Class Wallpaper - Implements IPricedObject inheritance: - System.Object @@ -430,7 +429,7 @@ items: summary: "\nDraws this wallpaper on the given wall with the given data.\n" example: [] syntax: - content: public virtual void Draw(GameTime time, SpriteBatch batch, Vector2 drawPos, WallMode mode, bool isDown, bool vertical, float scale, float depth, bool shadow, Color? overrideColor = default(Color? )) + content: public virtual void Draw(GameTime time, SpriteBatch batch, Vector2 drawPos, WallMode mode, bool isDown, bool vertical, float scale, float depth, bool shadow, Color? overrideColor = null) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -542,11 +541,13 @@ items: assemblies: - Tiny Life namespace: TinyLife.World + summary: "\nReturns the price that this object can be bought or sold for.\nNote that, like in the case of the , the returned price isn't necessarily the full price that the object can be sold for. Instead, the price returned here should be the price that this object has when bought or sold from the or similar.\n" example: [] syntax: content: public virtual float GetPrice() return: type: System.Single + description: The object's price content.vb: Public Overridable Function GetPrice As Single overload: TinyLife.World.Wallpaper.GetPrice* implements: diff --git a/docs/api/TinyLife.World.yml b/docs/api/TinyLife.World.yml index 896e40e..09265c9 100644 --- a/docs/api/TinyLife.World.yml +++ b/docs/api/TinyLife.World.yml @@ -9,6 +9,7 @@ items: - TinyLife.World.DrawDelegate - TinyLife.World.ExportedHousehold - TinyLife.World.ExportedLot + - TinyLife.World.FurnitureMail - TinyLife.World.GrassyAutoTile - TinyLife.World.Household - TinyLife.World.IPricedObject @@ -104,6 +105,11 @@ references: name: Mail nameWithType: Mail fullName: TinyLife.World.Mail +- uid: TinyLife.World.FurnitureMail + commentId: T:TinyLife.World.FurnitureMail + name: FurnitureMail + nameWithType: FurnitureMail + fullName: TinyLife.World.FurnitureMail - uid: TinyLife.World.BillsMail commentId: T:TinyLife.World.BillsMail name: BillsMail diff --git a/docs/api/toc.yml b/docs/api/toc.yml index 1141141..61d2dee 100644 --- a/docs/api/toc.yml +++ b/docs/api/toc.yml @@ -394,6 +394,8 @@ name: ExportedHousehold - uid: TinyLife.World.ExportedLot name: ExportedLot + - uid: TinyLife.World.FurnitureMail + name: FurnitureMail - uid: TinyLife.World.GrassyAutoTile name: GrassyAutoTile - uid: TinyLife.World.Household diff --git a/media/changelog/0.19.1.png b/media/changelog/0.19.1.png new file mode 100644 index 0000000..bf55bcf Binary files /dev/null and b/media/changelog/0.19.1.png differ