This commit is contained in:
Ell 2022-01-08 12:41:09 +01:00
parent fd7401dd85
commit bb8b07bc34
141 changed files with 6088 additions and 2720 deletions

View file

@ -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)

View file

@ -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",

View file

@ -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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> is modified in this method and <xref href=\"TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action%2cMicrosoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, or if it is canceled from an outside source.\nNote that, if this method is called as a result of <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, the <xref href=\"TinyLife.Actions.CompletionType\" data-throw-if-not-resolved=\"false\"></xref> 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&apos;s data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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:
<DataContract>
Public Class ActionInfo
Inherits JsonTypeSafeGenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object
@ -395,7 +392,6 @@ items:
syntax:
content: >-
public T GetInvolvedObject<T>(ObjectCategory category = null, bool includeIndirectly = true, Func<T, bool> 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<Direction2>)
nameWithType: ActionInfo.OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable<Direction2>)
fullName: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory, System.Boolean, System.Nullable<MLEM.Misc.Direction2>)
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 <xref href=\"TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture%2cTinyLife.Objects.ObjectCategory%2cSystem.Boolean%2cSystem.Nullable%7bMLEM.Misc.Direction2%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;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<Direction2>
nameWithType: Nullable<Direction2>
fullName: System.Nullable<MLEM.Misc.Direction2>
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<T>
nameWithType: Nullable<T>
fullName: System.Nullable<T>
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

View file

@ -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&apos;s actual display name.\nThe function is given the default display name (<xref href=\"TinyLife.Actions.ActionType.GetDisplayName(TinyLife.Actions.ActionInfo%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>) and an <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref> 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&apos;s actual display name.\nThe function is given the default display name (<xref href=\"TinyLife.Actions.ActionType.GetDisplayName(TinyLife.Actions.ActionInfo%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>) and an <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref> 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<string, ActionInfo, string> GetDisplayName

File diff suppressed because it is too large Load diff

View file

@ -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<ActionVariety> 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<ActionVariety>
nameWithType: IEnumerable<ActionVariety>
fullName: System.Collections.Generic.IEnumerable<TinyLife.Actions.ActionVariety>
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<T>
nameWithType: IEnumerable<T>
fullName: System.Collections.Generic.IEnumerable<T>
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

View file

@ -39,9 +39,7 @@ items:
description: The type of <xref href="TinyLife.Actions.Behaviors.ActionBehavior" data-throw-if-not-resolved="false"></xref> 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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that it is not called when the action gets added to the <xref href=\"TinyLife.Objects.Person.ActionQueue\" data-throw-if-not-resolved=\"false\"></xref>, but when it is moved to <xref href=\"TinyLife.Objects.Person.CurrentActions\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> is modified in this method and <xref href=\"TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action%2cMicrosoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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&apos;s type has a <xref href=\"TinyLife.Actions.ActionType.TypeSettings.Texture\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, the <xref href=\"TinyLife.Actions.ActionInfo.GetActionObject%60%601\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, or if it is canceled from an outside source.\nNote that, if this method is called as a result of <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, the <xref href=\"TinyLife.Actions.CompletionType\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -40,9 +40,7 @@ items:
description: The type of <xref href="TinyLife.Actions.Behaviors.MultiActionBehavior" data-throw-if-not-resolved="false"></xref> 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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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<TypelessAction> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis method is called every update frame while the main action is active.\nBy default, only <xref href=\"TinyLife.Actions.MultiAction.MainElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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&apos;s type has a <xref href=\"TinyLife.Actions.ActionType.TypeSettings.Texture\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, the <xref href=\"TinyLife.Actions.ActionInfo.GetActionObject%60%601\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -350,7 +350,6 @@ items:
syntax:
content: >-
public static T CreateDefaultInstance<T>(Action action)
where T : ActionBehavior
parameters:
- id: action

View file

@ -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 <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.MultiAction.AndThenInitialize\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\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*

View file

@ -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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref> starts.\nThis method is automatically called when using <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.BehaviorMultiAction%601.CreateFirstActions\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public override IEnumerable<Action> 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 <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.MultiAction.AndThenInitialize\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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&apos;s icon object.\nThis method is automatically called when using <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.Action.GetIconObject\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, this method returns the underlying <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref>&apos;s <xref href=\"TinyLife.Actions.ActionInfo.GetActionObject%60%601\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;s underlying <xref href=\"TinyLife.Actions.Behaviors.ActionBehavior.Action\" data-throw-if-not-resolved=\"false\"></xref> completes.\nThis method is automatically called when using <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.Action.GetNextAction(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public override Action GetNextAction(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
description: The underlying action&apos;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<T>()
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 <xref href=\"TinyLife.Actions.ActionInfo.GetActionObject%60%601\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: >-
public static T GetInteractingItemForAction<T>(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())

View file

@ -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 <xref href=\"TinyLife.Actions.Behaviors.ActionBehavior.CreateDefaultInstance%60%601(TinyLife.Actions.Action)\" data-throw-if-not-resolved=\"false\"></xref>.\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:

View file

@ -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 <xref href=\"TinyLife.Actions.Behaviors.ActionBehavior.CreateDefaultInstance%60%601(TinyLife.Actions.Action)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref> starts.\nThis method is automatically called when using <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.BehaviorMultiAction%601.CreateFirstActions\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public override IEnumerable<Action> 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 <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\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*

View file

@ -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 <xref href=\"TinyLife.Actions.Behaviors.ActionBehavior.CreateDefaultInstance%60%601(TinyLife.Actions.Action)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref> starts.\nThis method is automatically called when using <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.BehaviorMultiAction%601.CreateFirstActions\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public override IEnumerable<Action> 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 <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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&apos;s underlying <xref href=\"TinyLife.Actions.Behaviors.ActionBehavior.Action\" data-throw-if-not-resolved=\"false\"></xref> completes.\nThis method is automatically called when using <xref href=\"TinyLife.Actions.BehaviorMultiAction%601\" data-throw-if-not-resolved=\"false\"></xref> in <xref href=\"TinyLife.Actions.Action.GetNextAction(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public override Action GetNextAction(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
description: The underlying action&apos;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*

View file

@ -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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that it is not called when the action gets added to the <xref href=\"TinyLife.Objects.Person.ActionQueue\" data-throw-if-not-resolved=\"false\"></xref>, but when it is moved to <xref href=\"TinyLife.Objects.Person.CurrentActions\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.ActionType.GetDisplayName(TinyLife.Actions.ActionInfo%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public override string GetDisplayName()
return:
type: System.String
description: This action&apos;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 <code data-dev-comment-type=\"paramref\" class=\"paramref\">cancelSource</code> 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 <code data-dev-comment-type=\"paramref\" class=\"paramref\">person</code> can (automatically) enqueue a social action with the <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> that is executing this action.\nNote that enqueueing a social action manually is still possible even if this method returns false.\nBy default, only <xref href=\"TinyLife.Actions.SleepAction\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> is modified in this method and <xref href=\"TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action%2cMicrosoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref> if this action is currently active to check if it should be stopped.\nIf this returns a result other than <xref href=\"MLEM.Animations.SpriteAnimation.Completed\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref> will be called and the action is stopped.\nBy default, only <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ForceFail\" data-throw-if-not-resolved=\"false\"></xref> modifies the completion type, otherwise <xref href=\"TinyLife.Actions.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, or if it is canceled from an outside source.\nNote that, if this method is called as a result of <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, the <xref href=\"TinyLife.Actions.CompletionType\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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<Action> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\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 <code data-dev-comment-type=\"paramref\" class=\"paramref\">cancelSource</code> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 &quot;properly&quot; been in progress for.\nThis is used by <xref href=\"TinyLife.Actions.MultiAction\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Actions.SocialAction\" data-throw-if-not-resolved=\"false\"></xref> and returns true only once the first actions are completed or the conversation has started, respectively.\nBy default, <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> is modified in this method and <xref href=\"TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action%2cMicrosoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that it is not called when the action gets added to the <xref href=\"TinyLife.Objects.Person.ActionQueue\" data-throw-if-not-resolved=\"false\"></xref>, but when it is moved to <xref href=\"TinyLife.Objects.Person.CurrentActions\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref> if this action is currently active to check if it should be stopped.\nIf this returns a result other than <xref href=\"MLEM.Animations.SpriteAnimation.Completed\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref> will be called and the action is stopped.\nBy default, only <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ForceFail\" data-throw-if-not-resolved=\"false\"></xref> modifies the completion type, otherwise <xref href=\"TinyLife.Actions.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, or if it is canceled from an outside source.\nNote that, if this method is called as a result of <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, the <xref href=\"TinyLife.Actions.CompletionType\" data-throw-if-not-resolved=\"false\"></xref> 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&apos;s data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\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 <code data-dev-comment-type=\"paramref\" class=\"paramref\">cancelSource</code> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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&apos;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<Action> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis method is called every update frame while the main action is active.\nBy default, only <xref href=\"TinyLife.Actions.MultiAction.MainElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <code data-dev-comment-type=\"paramref\" class=\"paramref\">person</code> can (automatically) enqueue a social action with the <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> that is executing this action.\nNote that enqueueing a social action manually is still possible even if this method returns false.\nBy default, only <xref href=\"TinyLife.Actions.SleepAction\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.GameSpeed.ExtremelyFast\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that it is not called when the action gets added to the <xref href=\"TinyLife.Objects.Person.ActionQueue\" data-throw-if-not-resolved=\"false\"></xref>, but when it is moved to <xref href=\"TinyLife.Objects.Person.CurrentActions\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> is modified in this method and <xref href=\"TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action%2cMicrosoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref> if this action is currently active to check if it should be stopped.\nIf this returns a result other than <xref href=\"MLEM.Animations.SpriteAnimation.Completed\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref> will be called and the action is stopped.\nBy default, only <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ForceFail\" data-throw-if-not-resolved=\"false\"></xref> modifies the completion type, otherwise <xref href=\"TinyLife.Actions.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, or if it is canceled from an outside source.\nNote that, if this method is called as a result of <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, the <xref href=\"TinyLife.Actions.CompletionType\" data-throw-if-not-resolved=\"false\"></xref> 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&apos;s data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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<TypelessAction> 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&apos;s type has a <xref href=\"TinyLife.Actions.ActionType.TypeSettings.Texture\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, the <xref href=\"TinyLife.Actions.ActionInfo.GetActionObject%60%601\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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&apos;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<Action> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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&apos;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<Action> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\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<T>(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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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<TypelessAction> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis method is called every update frame while the main action is active.\nBy default, only <xref href=\"TinyLife.Actions.MultiAction.MainElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.MultiAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref>.\nTo actually check this property, <xref href=\"TinyLife.Actions.Action.CanMultitask(TinyLife.Actions.Action%2cTinyLife.Actions.Action)\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 &quot;properly&quot; been in progress for.\nThis is used by <xref href=\"TinyLife.Actions.MultiAction\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Actions.SocialAction\" data-throw-if-not-resolved=\"false\"></xref> and returns true only once the first actions are completed or the conversation has started, respectively.\nBy default, <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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<TypelessAction> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis method is called every update frame while the main action is active.\nBy default, only <xref href=\"TinyLife.Actions.MultiAction.MainElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.MultiAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\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 <code data-dev-comment-type=\"paramref\" class=\"paramref\">cancelSource</code> 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 <xref href=\"TinyLife.Actions.MultiAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref>.\nTo actually check this property, <xref href=\"TinyLife.Actions.Action.CanMultitask(TinyLife.Actions.Action%2cTinyLife.Actions.Action)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.ActionType.GetDisplayName(TinyLife.Actions.ActionInfo%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: public override string GetDisplayName()
return:
type: System.String
description: This action&apos;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 <code data-dev-comment-type="paramref" class="paramref">totalAmount</code> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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&apos;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<TypelessAction> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis method is called every update frame while the main action is active.\nBy default, only <xref href=\"TinyLife.Actions.MultiAction.MainElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.MultiAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.MultiAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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

View file

@ -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 <xref href=\"TinyLife.Actions.TalkAction.TalkSettings\" data-throw-if-not-resolved=\"false\"></xref> after a <xref href=\"TinyLife.Actions.TalkAction\" data-throw-if-not-resolved=\"false\"></xref> has completed.\nThis method causes friendship and romance to be added to the involved people&apos;s <xref href=\"TinyLife.Relationship\" data-throw-if-not-resolved=\"false\"></xref>, adds the <xref href=\"TinyLife.Actions.TalkAction.TalkSettings.GainedSkill\" data-throw-if-not-resolved=\"false\"></xref> etc.\nThis method is automatically called by the main conversation partner (<xref href=\"TinyLife.Actions.SocialAction.IsMain\" data-throw-if-not-resolved=\"false\"></xref>) in <xref href=\"TinyLife.Actions.TalkAction\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.TalkAction.TalkSettings\" data-throw-if-not-resolved=\"false\"></xref> after a <xref href=\"TinyLife.Actions.TalkAction\" data-throw-if-not-resolved=\"false\"></xref> has completed.\nThis method causes friendship and romance to be added to the involved people&apos;s <xref href=\"TinyLife.Relationship\" data-throw-if-not-resolved=\"false\"></xref>, adds the <xref href=\"TinyLife.Actions.TalkAction.TalkSettings.GainedSkill\" data-throw-if-not-resolved=\"false\"></xref> etc.\nThis method is automatically called by the main conversation partner (<xref href=\"TinyLife.Actions.SocialAction.IsMain\" data-throw-if-not-resolved=\"false\"></xref>) in <xref href=\"TinyLife.Actions.TalkAction\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis method is called every update frame during an active conversation for both conversation partners.\nBy default, this method only increases <xref href=\"TinyLife.Actions.SocialAction.ConversationTime\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.MultiAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\nThis method returns whether or not the conversation should be marked as completed.\nNote that this method is only called for the <xref href=\"TinyLife.Actions.SocialAction.IsMain\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that it is not called when the action gets added to the <xref href=\"TinyLife.Objects.Person.ActionQueue\" data-throw-if-not-resolved=\"false\"></xref>, but when it is moved to <xref href=\"TinyLife.Objects.Person.CurrentActions\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> is modified in this method and <xref href=\"TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action%2cMicrosoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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&apos;s data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref> if this action is currently active to check if it should be stopped.\nIf this returns a result other than <xref href=\"MLEM.Animations.SpriteAnimation.Completed\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref> will be called and the action is stopped.\nBy default, only <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ForceFail\" data-throw-if-not-resolved=\"false\"></xref> modifies the completion type, otherwise <xref href=\"TinyLife.Actions.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, or if it is canceled from an outside source.\nNote that, if this method is called as a result of <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, the <xref href=\"TinyLife.Actions.CompletionType\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that it is not called when the action gets added to the <xref href=\"TinyLife.Objects.Person.ActionQueue\" data-throw-if-not-resolved=\"false\"></xref>, but when it is moved to <xref href=\"TinyLife.Objects.Person.CurrentActions\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref> if this action is currently active to check if it should be stopped.\nIf this returns a result other than <xref href=\"MLEM.Animations.SpriteAnimation.Completed\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref> will be called and the action is stopped.\nBy default, only <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ForceFail\" data-throw-if-not-resolved=\"false\"></xref> modifies the completion type, otherwise <xref href=\"TinyLife.Actions.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> is modified in this method and <xref href=\"TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action%2cMicrosoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, or if it is canceled from an outside source.\nNote that, if this method is called as a result of <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, the <xref href=\"TinyLife.Actions.CompletionType\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>.\nNote that it is not called when the action gets added to the <xref href=\"TinyLife.Objects.Person.ActionQueue\" data-throw-if-not-resolved=\"false\"></xref>, but when it is moved to <xref href=\"TinyLife.Objects.Person.CurrentActions\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref> if this action is currently active to check if it should be stopped.\nIf this returns a result other than <xref href=\"MLEM.Animations.SpriteAnimation.Completed\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref> will be called and the action is stopped.\nBy default, only <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ForceFail\" data-throw-if-not-resolved=\"false\"></xref> modifies the completion type, otherwise <xref href=\"TinyLife.Actions.CompletionType.Active\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, or if it is canceled from an outside source.\nNote that, if this method is called as a result of <xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>, the <xref href=\"TinyLife.Actions.CompletionType\" data-throw-if-not-resolved=\"false\"></xref> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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:
<DataContract>
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 <xref href=\"TinyLife.Actions.ActionType.QuitJob\" data-throw-if-not-resolved=\"false\"></xref> action, where a confirmation panel pops up.\nTo check whether a player prompt is currently opened, see <xref href=\"TinyLife.Actions.Typeless.TypelessAction.PlayerPromptOpen\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: protected CoveringGroup OpenPlayerPrompt(string title, Predicate<Panel> canFinish, Action<Panel> onFinished, bool canExit, Func<CoveringGroup, IEnumerable<Element>> children)
content: public CoveringGroup OpenPlayerPrompt(string title, Predicate<Panel> canFinish, Action<Panel> onFinished, bool canExit, Func<CoveringGroup, IEnumerable<Element>> 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 <code data-dev-comment-type="paramref" class="paramref">canFinish</code> 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 <xref href="TinyLife.Actions.Typeless.TypelessAction.StartedAutomatically" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.PlayerPromptOpen\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.PlayerPromptOpen\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: protected void OpenTextPrompt(string title, Action<string> onFinished, Predicate<string> isNameValid = null, TextField.Rule rule = null, string defaultText = null)
content: public void OpenTextPrompt(string title, Action<string> onFinished, Predicate<string> 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&apos;s <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref> with the given settings as if they were talking to themselves out loud.\nThis is used by actions like <xref href=\"TinyLife.Actions.ActionType.PracticeJokes\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Actions.ActionType.PracticeSpeech\" data-throw-if-not-resolved=\"false\"></xref>.\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 <code data-dev-comment-type="paramref" class="paramref">totalAmount</code> 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, System.Boolean)
name: FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, System.Boolean)
type: Method
source:
remote:
@ -1338,14 +1336,14 @@ items:
summary: "\nA helper method to find a set of all <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref> instances that are currently valid for interaction with the passed <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>\n"
example: []
syntax:
content: public static IEnumerable<Person> FindAllFreePeople(ActionType type, Person person, Vector2? position = default(Vector2? ), float? radius = default(float? ), bool ignoreVisibility = false)
content: public static IEnumerable<Person> 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&apos;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 <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> instances that are currently valid for interaction with the passed <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>\n"
example: []
syntax:
content: public static IEnumerable<Furniture> 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<Furniture> 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 <xref href=\"TinyLife.World.Wall\" data-throw-if-not-resolved=\"false\"></xref> instances that are currently valid for interaction with the passed <xref href=\"TinyLife.Actions.Typeless.TypelessAction.Person\" data-throw-if-not-resolved=\"false\"></xref>\n"
example: []
syntax:
content: public static IEnumerable<Wall> FindAllFreeWalls(Person person, Vector2? position = default(Vector2? ), float? radius = default(float? ), bool ignoreVisibility = false)
content: public static IEnumerable<Wall> 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<Point> FindAllFreeGround(Person person, Vector2? position = default(Vector2? ), float? radius = default(float? ), bool ignoreVisibility = false)
content: public static IEnumerable<Point> 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 <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> instance to interact with based on the given data.\nNote that this method always returns a <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref> related to the first result from <xref href=\"TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person%2cTinyLife.Objects.ObjectCategory%2cTinyLife.Objects.FurnitureType%2cSystem.Boolean%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Vector2%7d%2cSystem.Nullable%7bSystem.Single%7d%2cSystem.Boolean%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -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 <xref href=\"TinyLife.Actions.ActionType\" data-throw-if-not-resolved=\"false\"></xref>\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 <xref href=\"TinyLife.Actions.PathfindAction.Initialize\" data-throw-if-not-resolved=\"false\"></xref> to start finding a path to the given goal location.\n"
example: []
syntax:
content: protected override Task<Stack<Point>> 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 <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> is modified in this method and <xref href=\"TinyLife.Objects.MapObject.ActionUpdate(TinyLife.Actions.Action%2cMicrosoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 &quot;properly&quot; in progress.\nThis is used by <xref href=\"TinyLife.Actions.MultiAction\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Actions.SocialAction\" data-throw-if-not-resolved=\"false\"></xref> and returns true only once the first actions are completed or the conversation has started, respectively.\nBy default, this property is true if <xref href=\"TinyLife.Actions.Typeless.TypelessAction.InProgressTime\" data-throw-if-not-resolved=\"false\"></xref> is greater than <xref href=\"System.TimeSpan.Zero\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;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<Action> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.Update(Microsoft.Xna.Framework.GameTime%2cSystem.TimeSpan%2cSystem.Single)\" data-throw-if-not-resolved=\"false\"></xref>.\nThis method is called every update frame while the main action is active.\nBy default, only <xref href=\"TinyLife.Actions.MultiAction.MainElapsedTime\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.MultiAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref>.\nTo actually check this property, <xref href=\"TinyLife.Actions.Action.CanMultitask(TinyLife.Actions.Action%2cTinyLife.Actions.Action)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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 <xref href=\"TinyLife.Actions.MultiAction.Initialize\" data-throw-if-not-resolved=\"false\"></xref> before <xref href=\"TinyLife.Actions.MultiAction.CreateFirstActions\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.Handler\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Actions.MultiAction.IsCompleted\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.MultiAction.OnCompleted(TinyLife.Actions.CompletionType)\" data-throw-if-not-resolved=\"false\"></xref>.\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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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<Vector2>, Nullable<Single>, Boolean)
nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable<Vector2>, Nullable<Single>, Boolean)
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Nullable<System.Single>, 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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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 <xref href=\"TinyLife.GameImpl.SwitchGameMode(TinyLife.GameImpl.GameMode)\" data-throw-if-not-resolved=\"false\"></xref> is allowed to be used right now.\nThe return value is influenced by <xref href=\"TinyLife.Tools.Tool.CanSaveOrSwitchModes\" data-throw-if-not-resolved=\"false\"></xref>, <xref href=\"TinyLife.Uis.CharacterCreator.CanCloseOrExport\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.World.Lot.AreRequirementsMet\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -34,9 +34,7 @@ items:
content: 'public class AmountGoal : AutoTriggerGoal<float>, 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 <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;s displayed ui information that determines the progress of this goal.\nBy default, the <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Goals.AutoGoalInfo.Condition\" data-throw-if-not-resolved=\"false\"></xref> is met.\n"
example: []
syntax:
content: protected override void Trigger(float value)

View file

@ -34,9 +34,7 @@ items:
content: 'public class AutoGoalInfo : GoalInfo, IGenericDataHolder'
content.vb: >-
Public Class AutoGoalInfo
Inherits GoalInfo
Implements IGenericDataHolder
inheritance:
- System.Object

View file

@ -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 <xref href=\"TinyLife.Goals.GoalSet\" data-throw-if-not-resolved=\"false\"></xref> 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*

View file

@ -34,9 +34,7 @@ items:
content: 'public class ConditionedGoal : AutoTriggerGoal<bool>, 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 <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;s displayed ui information that determines the progress of this goal.\nBy default, the <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Goals.AutoGoalInfo.Condition\" data-throw-if-not-resolved=\"false\"></xref> is met.\n"
example: []
syntax:
content: protected override void Trigger(bool value)

View file

@ -35,9 +35,7 @@ items:
content: 'public class DistinctGoal : AutoTriggerGoal<object>, 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 <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;s displayed ui information that determines the progress of this goal.\nBy default, the <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Goals.GoalSet\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Goals.AutoGoalInfo.Condition\" data-throw-if-not-resolved=\"false\"></xref> is met.\n"
example: []
syntax:
content: protected override void Trigger(object value)

View file

@ -42,9 +42,7 @@ items:
<DataContract>
Public MustInherit Class Goal
Inherits JsonTypeSafeGenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object

View file

@ -32,9 +32,7 @@ items:
content: 'public class GoalInfo : GenericDataHolder, IGenericDataHolder'
content.vb: >-
Public Class GoalInfo
Inherits GenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object

View file

@ -45,9 +45,7 @@ items:
<DataContract>
Public Class GoalSet
Inherits JsonTypeSafeGenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object
@ -319,7 +317,6 @@ items:
syntax:
content: >-
public IEnumerable<T> GetGoals<T>()
where T : Goal
typeParameters:
- id: T
@ -363,7 +360,6 @@ items:
syntax:
content: >-
public T GetGoal<T>(string name)
where T : Goal
parameters:
- id: name
@ -411,7 +407,6 @@ items:
syntax:
content: >-
public T GetGoal<T>()
where T : Goal
typeParameters:
- id: T

View file

@ -32,9 +32,7 @@ items:
content: 'public class GoalSetInfo : GenericDataHolder, IGenericDataHolder'
content.vb: >-
Public Class GoalSetInfo
Inherits GenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object

View file

@ -46,9 +46,7 @@ items:
<DataContract>
Public Class Job
Inherits JsonTypeSafeGenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object

View file

@ -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<JobType>), new object[]{typeof(JobType), "PrivateTypes"})]
public class JobType : GenericDataHolder, IGenericDataHolder
public class JobType : GenericDataHolder, IGenericDataHolder, IEmotionSource
content.vb: >-
<JsonConverter(GetType(StaticJsonConverter(Of JobType)), New Object() {GetType(JobType), "PrivateTypes"})>
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 <xref href=\"TinyLife.Emotions.EmotionModifier\" data-throw-if-not-resolved=\"false\"></xref> 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&apos;s current time) is in the bounds of <xref href=\"TinyLife.Goals.JobType.WorkHours\" data-throw-if-not-resolved=\"false\"></xref> and outside of the bounds of <xref href=\"TinyLife.Goals.JobType.OffWorkDays\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this method returns true, <xref href=\"TinyLife.Actions.WorkAction\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Goals.JobType\" data-throw-if-not-resolved=\"false\"></xref>, based on the given <code data-dev-comment-type=\"paramref\" class=\"paramref\">level</code>.\nIf no level is given, the job&apos;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>(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

View file

@ -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 <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref>\n"
example: []
syntax:
content: public override void Reset()

View file

@ -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 <xref href=\"TinyLife.Actions.Action.ApplyVariety(TinyLife.Actions.ActionVariety)\" data-throw-if-not-resolved=\"false\"></xref> via the variety&apos;s <xref href=\"TinyLife.Actions.ActionVariety.Name\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Actions.Action.ApplyVariety(TinyLife.Actions.ActionVariety)\" data-throw-if-not-resolved=\"false\"></xref> via the variety&apos;s <xref href=\"TinyLife.Actions.ActionVariety.Name\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;s <xref href=\"TinyLife.Goals.Project.Name\" data-throw-if-not-resolved=\"false\"></xref> is displayed.\n"
summary: "\nA function that determines the display name for a given project.\nIf this is null, the project&apos;s <xref href=\"TinyLife.Goals.Project.Name\" data-throw-if-not-resolved=\"false\"></xref> is displayed along with its doneness percentage.\n"
example: []
syntax:
content: public Func<Project, string> 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 <xref href=\"TinyLife.Goals.Project.Progress\" data-throw-if-not-resolved=\"false\"></xref> is less than 100.\n"
example: []
syntax:
content: public Predicate<Project> 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 <xref href=\"TinyLife.Goals.Project.DailyPay\" data-throw-if-not-resolved=\"false\"></xref> is less than or equal to 0.\n"
example: []
syntax:
content: public Predicate<Project> 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

View file

@ -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:
<DataContract>
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 <xref href=\"TinyLife.Goals.Project.DailyPay\" data-throw-if-not-resolved=\"false\"></xref> value of this project and reduces it by the <xref href=\"TinyLife.Goals.Project.DailyPayReductionFactor\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, this method also <xref href=\"TinyLife.Goals.Project.Remove\" data-throw-if-not-resolved=\"false\"></xref>s this project if the daily pay reached 0.\nIn essence, this method causes one day to pass in the project&apos;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 <xref href=\"TinyLife.Actions.ActionType.RegisterAll(System.Collections.Generic.IEnumerable%7bTinyLife.Actions.ActionType.TypeSettings%7d)\" data-throw-if-not-resolved=\"false\"></xref>) that involve creating, continuing and scrapping projects of a specified type.\nIt is recommended to use the provided non-default constructor of <xref href=\"TinyLife.Goals.Project.ActionSettings\" data-throw-if-not-resolved=\"false\"></xref> for this method.\n"
example: []
syntax:
content: public static ICollection<ActionType.TypeSettings> CreateActions(Project.ActionSettings settings)
content: public static IEnumerable<ActionType.TypeSettings> 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>, String)
nameWithType: Project.OpenNamePrompt(TypelessAction, String, Action<String>, String)
fullName: TinyLife.Goals.Project.OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction, System.String, System.Action<System.String>, 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<string> 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<ActionType.TypeSettings>
nameWithType: ICollection<ActionType.TypeSettings>
fullName: System.Collections.Generic.ICollection<TinyLife.Actions.ActionType.TypeSettings>
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<ActionType.TypeSettings>
nameWithType: IEnumerable<ActionType.TypeSettings>
fullName: System.Collections.Generic.IEnumerable<TinyLife.Actions.ActionType.TypeSettings>
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<T>
nameWithType: ICollection<T>
fullName: System.Collections.Generic.ICollection<T>
nameWithType.vb: ICollection(Of T)
fullName.vb: System.Collections.Generic.ICollection(Of T)
name.vb: ICollection(Of T)
name: IEnumerable<T>
nameWithType: IEnumerable<T>
fullName: System.Collections.Generic.IEnumerable<T>
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<T>
nameWithType: IEnumerable<T>
fullName: System.Collections.Generic.IEnumerable<T>
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<String>
nameWithType: Action<String>
fullName: System.Action<System.String>
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<T>
nameWithType: Action<T>
fullName: System.Action<T>
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

View file

@ -29,19 +29,18 @@ items:
summary: "\nA <xref href=\"TinyLife.Goals.JobType\" data-throw-if-not-resolved=\"false\"></xref> 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<int> 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 <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> finishes a <xref href=\"TinyLife.Actions.WorkAction\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref> 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>(T)

View file

@ -34,9 +34,7 @@ items:
content: 'public class TimedGoal : AutoTriggerGoal<TimeSpan>, 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 <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;s displayed ui information that determines the progress of this goal.\nBy default, the <xref href=\"TinyLife.Goals.Goal.GetProgress\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Goals.AutoGoalInfo.Condition\" data-throw-if-not-resolved=\"false\"></xref> is met.\n"
example: []
syntax:
content: protected override void Trigger(TimeSpan value)

View file

@ -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

View file

@ -35,7 +35,6 @@ items:
content: 'public class ModInfo : IDisposable'
content.vb: >-
Public Class ModInfo
Implements IDisposable
inheritance:
- System.Object

View file

@ -49,7 +49,6 @@ items:
<JsonConverter(GetType(NeedType.Converter))>
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 <xref href=\"TinyLife.Emotions.EmotionModifier\" data-throw-if-not-resolved=\"false\"></xref> that has this source\n"
example: []
syntax:
content: public string SourceString { get; }

View file

@ -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

View file

@ -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

View file

@ -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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref> that this object is involved in updates, which is every <xref href=\"Microsoft.Xna.Framework.Game.Update(Microsoft.Xna.Framework.GameTime)\" data-throw-if-not-resolved=\"false\"></xref> frame. Note that this includes actions that are underlying (<xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsUnderlying\" data-throw-if-not-resolved=\"false\"></xref>) and actions that aren&apos;t fully in progress yet (<xref href=\"TinyLife.Actions.Typeless.TypelessAction.FullyInProgress\" data-throw-if-not-resolved=\"false\"></xref>).\nThis object counts as involved in the action if its <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref>&apos;s <xref href=\"TinyLife.Actions.ActionInfo.GetInvolvedObjects%60%601(TinyLife.Objects.ObjectCategory%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> includes this object.\nIn general, the base method should be called for <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> objects, since it sets deals with <xref href=\"TinyLife.Objects.Furniture.Dirty\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
- id: isAuxiliary
type: System.Boolean
description: Whether this object counts as an auxiliary object. If this value is false, the object is th e<xref href="TinyLife.Actions.ActionInfo.GetActionObject%60%601" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.Painting\" data-throw-if-not-resolved=\"false\"></xref>, the returned price isn&apos;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 <xref href=\"TinyLife.Tools.FurnitureTool\" data-throw-if-not-resolved=\"false\"></xref> or similar.\n"
example: []
syntax:
content: public override float GetPrice()
return:
type: System.Single
description: The object&apos;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 <xref href=\"TinyLife.World.Household.FurnitureStorage\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, info about <xref href=\"TinyLife.Objects.FurnitureType.TypeSettings.Reliability\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.FurnitureType.TypeSettings.ElectricityRating\" data-throw-if-not-resolved=\"false\"></xref> is returned, and <xref href=\"TinyLife.Objects.Furniture.OnGetDescription\" data-throw-if-not-resolved=\"false\"></xref> is invoked.\n"
example: []
syntax:
content: public override IEnumerable<string> 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 <xref href=\"TinyLife.Objects.Furniture.Type\" data-throw-if-not-resolved=\"false\"></xref>&apos;s <xref href=\"TinyLife.Objects.FurnitureType.TypeSettings.DecorativeRating\" data-throw-if-not-resolved=\"false\"></xref>, influeced by whether this object is <xref href=\"TinyLife.Objects.Furniture.Dirty\" data-throw-if-not-resolved=\"false\"></xref>, 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

View file

@ -54,7 +54,6 @@ items:
<JsonConverter(GetType(StaticJsonConverter(Of Clothes)), New Object() {GetType(Clothes), "PrivateTypes"})>
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 <xref href=\"TinyLife.Objects.Painting\" data-throw-if-not-resolved=\"false\"></xref>, the returned price isn&apos;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 <xref href=\"TinyLife.Tools.FurnitureTool\" data-throw-if-not-resolved=\"false\"></xref> or similar.\n"
example: []
syntax:
content: public float GetPrice()
return:
type: System.Single
description: The object&apos;s price
content.vb: Public Function GetPrice As Single
overload: TinyLife.Objects.Clothes.GetPrice*
implements:

View file

@ -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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;s rotation is passed to <xref href=\"TinyLife.Objects.CornerFurniture.GetCornerStatus(System.Collections.Generic.Dictionary%7bMLEM.Misc.Direction2%2cMLEM.Misc.Direction2%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <code data-dev-comment-type=\"paramref\" class=\"paramref\">neighborRotations</code>.\nThe neighbor rotations are previously gathered based on the information returned for each neighbor in <xref href=\"TinyLife.Objects.CornerFurniture.ShouldConnectTo(TinyLife.Objects.Furniture)\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: protected override Direction2 GetCornerStatus(Dictionary<Direction2, Direction2> 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&apos;s <xref href="TinyLife.Objects.Furniture.Rotation" data-throw-if-not-resolved="false"></xref>
return:
type: MLEM.Misc.Direction2
description: The direction of the texture that should be used for this corner, or <xref href="MLEM.Misc.Direction2" data-throw-if-not-resolved="false"></xref> 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

View file

@ -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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.MapObject.OnValidated\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.MapObject.OnValidated\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -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, <xref href=\"TinyLife.Objects.Furniture.AreUtilitiesDisabled\" data-throw-if-not-resolved=\"false\"></xref> will cause this object&apos;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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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&apos;s lights should get initialized.\nBy default, this method calls <xref href=\"TinyLife.Objects.FurnitureType.TypeSettings.CreateLights\" data-throw-if-not-resolved=\"false\"></xref>.\n"
example: []
syntax:
content: protected override IEnumerable<Light> 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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -27,14 +27,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA furniture is an instance of a <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref> which is placed in the world, or in a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref>&apos;s hand.\nTo register a custom furniture, use <xref href=\"TinyLife.Objects.FurnitureType.Register(TinyLife.Objects.FurnitureType.TypeSettings)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"MLEM.Ui.Elements.Tooltip\" data-throw-if-not-resolved=\"false\"></xref> 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

View file

@ -31,14 +31,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA furniture is an instance of a <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref> which is placed in the world, or in a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref>&apos;s hand.\nTo register a custom furniture, use <xref href=\"TinyLife.Objects.FurnitureType.Register(TinyLife.Objects.FurnitureType.TypeSettings)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.MapObject.OnValidated\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"MLEM.Ui.Elements.Tooltip\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref>\n"
example: []
syntax:
content: public void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
description: The game&apos;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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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

View file

@ -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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>, at the current <xref href=\"TinyLife.Objects.MapObject.Position\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;s actual color. If null, the object&apos;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 <xref href=\"TinyLife.Objects.MapObject.OnValidated\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.World.Map.GetObjects%60%601(MLEM.Misc.RectangleF)\" data-throw-if-not-resolved=\"false\"></xref>\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 <xref href=\"TinyLife.Objects.ObjectCategory\" data-throw-if-not-resolved=\"false\"></xref> flags that this object has, based on the given <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.PersonAi\" data-throw-if-not-resolved=\"false\"></xref>&apos;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 <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> with the <xref href=\"TinyLife.Objects.ObjectCategory.SingleBed\" data-throw-if-not-resolved=\"false\"></xref> or <xref href=\"TinyLife.Objects.ObjectCategory.DoubleBed\" data-throw-if-not-resolved=\"false\"></xref> category that is the person&apos;s <xref href=\"TinyLife.Objects.Person.LastBedSleptIn\" data-throw-if-not-resolved=\"false\"></xref>, 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&apos;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, <xref href=\"TinyLife.Objects.Visibility.WhenVisible\" data-throw-if-not-resolved=\"false\"></xref> is returned.\nFor <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref>, its <xref href=\"TinyLife.Objects.FurnitureType.TypeSettings.Visibility\" data-throw-if-not-resolved=\"false\"></xref> is returned instead.\n"
example: []
syntax:
content: public override Visibility GetVisibility()
return:
type: TinyLife.Objects.Visibility
description: This object&apos;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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref> that this object is involved in is completed. Note that this includes actions that are underlying (<xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsUnderlying\" data-throw-if-not-resolved=\"false\"></xref>).\nThis object counts as involved in the action if its <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref>&apos;s <xref href=\"TinyLife.Actions.ActionInfo.GetInvolvedObjects%60%601(TinyLife.Objects.ObjectCategory%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> includes this object.\nIn general, the base method should be called for <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> objects, since it sets <xref href=\"TinyLife.Objects.Furniture.DevaluedThroughUse\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;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<xref href="TinyLife.Actions.ActionInfo.GetActionObject%60%601" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Actions.Action\" data-throw-if-not-resolved=\"false\"></xref> that this object is involved in updates, which is every <xref href=\"Microsoft.Xna.Framework.Game.Update(Microsoft.Xna.Framework.GameTime)\" data-throw-if-not-resolved=\"false\"></xref> frame. Note that this includes actions that are underlying (<xref href=\"TinyLife.Actions.Typeless.TypelessAction.IsUnderlying\" data-throw-if-not-resolved=\"false\"></xref>) and actions that aren&apos;t fully in progress yet (<xref href=\"TinyLife.Actions.Typeless.TypelessAction.FullyInProgress\" data-throw-if-not-resolved=\"false\"></xref>).\nThis object counts as involved in the action if its <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref>&apos;s <xref href=\"TinyLife.Actions.ActionInfo.GetInvolvedObjects%60%601(TinyLife.Objects.ObjectCategory%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> includes this object.\nIn general, the base method should be called for <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> objects, since it sets deals with <xref href=\"TinyLife.Objects.Furniture.Dirty\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
- id: isAuxiliary
type: System.Boolean
description: Whether this object counts as an auxiliary object. If this value is false, the object is th e<xref href="TinyLife.Actions.ActionInfo.GetActionObject%60%601" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.Painting\" data-throw-if-not-resolved=\"false\"></xref>, the returned price isn&apos;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 <xref href=\"TinyLife.Tools.FurnitureTool\" data-throw-if-not-resolved=\"false\"></xref> or similar.\n"
example: []
syntax:
content: public virtual float GetPrice()
return:
type: System.Single
description: The object&apos;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 <xref href=\"TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person%2cTinyLife.Objects.ObjectCategory)\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;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 <xref href=\"TinyLife.Actions.ActionInfo\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href="TinyLife.Actions.ActionInfo" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.ObjectSpot\" data-throw-if-not-resolved=\"false\"></xref> on this furniture.\nFree, in this case, is any object spot that isn&apos;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<T> GetChildren<T>()
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<T> RemoveChildren<T>(Predicate<T> 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<T>(FurnitureType type, Direction2 rotation, int[] colors = null, Guid? id = default(Guid? ), Vector2? position = default(Vector2? ))
public T AddChild<T>(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 (<xref href=\"TinyLife.Objects.Furniture.SetParent(TinyLife.Objects.Furniture%2cTinyLife.Objects.ObjectSpot)\" data-throw-if-not-resolved=\"false\"></xref>) to this furniture and adding it to this furniture&apos;s <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;s <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -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 <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> instance.\nIf this is set, additional variations of this furniture type will show up in the <xref href=\"TinyLife.Tools.FurnitureTool\" data-throw-if-not-resolved=\"false\"></xref>, and buying them will invoke this action that can then modify the furniture type.\nThis is used, for example, for <xref href=\"TinyLife.Objects.FurnitureType.FoodPlate\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.FurnitureType.CustomPainting\" data-throw-if-not-resolved=\"false\"></xref>.\n"
summary: "\nAn array of actions that can modify the passed <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Objects.FurnitureType.FoodPlate\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.FurnitureType.CustomPainting\" data-throw-if-not-resolved=\"false\"></xref>.\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<Furniture>[] 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<string, Furniture, string> 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<String, Furniture, String>
nameWithType: Func<String, Furniture, String>
fullName: System.Func<System.String, TinyLife.Objects.Furniture, System.String>
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<T1, T2, TResult>
nameWithType: Func<T1, T2, TResult>
fullName: System.Func<T1, T2, TResult>
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

View file

@ -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:
<JsonConverter(GetType(StaticJsonConverter(Of FurnitureType)), New Object() {GetType(FurnitureType), "PrivateTypes"})>
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 <xref href=\"TinyLife.Objects.FurnitureType.Textures\" data-throw-if-not-resolved=\"false\"></xref>\n"
example: []
syntax:
content: public ICollection<Direction2> 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 <xref href=\"TinyLife.Objects.FurnitureType.Textures\" data-throw-if-not-resolved=\"false\"></xref>\n"
example: []
syntax:
content: public ICollection<Direction2> 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 <xref href=\"TinyLife.Emotions.EmotionModifier\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Objects.FurnitureType.DrawColumns(TinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cMLEM.Misc.Direction2%2cMLEM.Textures.TextureRegion%2cMicrosoft.Xna.Framework.Color%2cSystem.Single%2cSystem.Boolean%2cTinyLife.Objects.Furniture%2cTinyLife.Objects.AbstractSpot%2cSystem.Single%2cSystem.Boolean%2cSystem.Boolean)\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Objects.FurnitureType.DirtyTextures\" data-throw-if-not-resolved=\"false\"></xref> of this object into the world.\nNote that, if this object cannot get dirty, this method will throw a <xref href=\"System.NullReferenceException\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, the dirty overlay is automatically drawn in <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Objects.Painting\" data-throw-if-not-resolved=\"false\"></xref>, the returned price isn&apos;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 <xref href=\"TinyLife.Tools.FurnitureTool\" data-throw-if-not-resolved=\"false\"></xref> or similar.\n"
example: []
syntax:
content: public float GetPrice()
return:
type: System.Single
description: The object&apos;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

View file

@ -27,14 +27,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA furniture is an instance of a <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref> which is placed in the world, or in a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref>&apos;s hand.\nTo register a custom furniture, use <xref href=\"TinyLife.Objects.FurnitureType.Register(TinyLife.Objects.FurnitureType.TypeSettings)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"MLEM.Ui.Elements.Tooltip\" data-throw-if-not-resolved=\"false\"></xref> 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

View file

@ -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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.MapObject.OnValidated\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -64,9 +64,7 @@ items:
<DataContract>
Public Class MapObject
Inherits JsonTypeSafeGenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object

View file

@ -92,7 +92,6 @@ items:
content: 'public class ObjectCategory : DynamicEnum'
content.vb: >-
Public Class ObjectCategory
Inherits DynamicEnum
inheritance:
- System.Object

View file

@ -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<T> GetContents<T>(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 <xref href=\"TinyLife.Objects.ObjectSpot\" data-throw-if-not-resolved=\"false\"></xref> instnaces for counters and stoves.\nThe resulting set contains a single object spot for <xref href=\"TinyLife.Objects.ObjectCategory.SmallObject\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.ObjectCategory.CounterObject\" data-throw-if-not-resolved=\"false\"></xref> object, or <xref href=\"TinyLife.Objects.FurnitureType.PreparedFood\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.FurnitureType.Pot\" data-throw-if-not-resolved=\"false\"></xref> if <code data-dev-comment-type=\"paramref\" class=\"paramref\">stove</code> 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

View file

@ -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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>
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

View file

@ -30,14 +30,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA furniture is an instance of a <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref> which is placed in the world, or in a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref>&apos;s hand.\nTo register a custom furniture, use <xref href=\"TinyLife.Objects.FurnitureType.Register(TinyLife.Objects.FurnitureType.TypeSettings)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.Painting\" data-throw-if-not-resolved=\"false\"></xref>, the returned price isn&apos;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 <xref href=\"TinyLife.Tools.FurnitureTool\" data-throw-if-not-resolved=\"false\"></xref> or similar.\n"
example: []
syntax:
content: public override float GetPrice()
return:
type: System.Single
description: The object&apos;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 <xref href=\"TinyLife.Objects.MapObject.OnValidated\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"MLEM.Ui.Elements.Tooltip\" data-throw-if-not-resolved=\"false\"></xref> 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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

File diff suppressed because it is too large Load diff

View file

@ -29,14 +29,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Objects
summary: "\nA furniture is an instance of a <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref> which is placed in the world, or in a <xref href=\"TinyLife.Objects.Person\" data-throw-if-not-resolved=\"false\"></xref>&apos;s hand.\nTo register a custom furniture, use <xref href=\"TinyLife.Objects.FurnitureType.Register(TinyLife.Objects.FurnitureType.TypeSettings)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>
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

View file

@ -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

View file

@ -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 <xref href=\"TinyLife.Objects.FurnitureType.Construct(System.Int32%5b%5d%2cTinyLife.World.Map%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bSystem.Guid%7d)\" data-throw-if-not-resolved=\"false\"></xref>.\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 <xref href=\"TinyLife.Objects.Furniture.Draw(Microsoft.Xna.Framework.GameTime%2cMicrosoft.Xna.Framework.Graphics.SpriteBatch%2cMicrosoft.Xna.Framework.Vector2%2cSystem.Nullable%7bMicrosoft.Xna.Framework.Color%7d)\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.Objects.Person" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.MapObject.OnValidated\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\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

View file

@ -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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>.\nIf this object&apos;s <xref href=\"TinyLife.Objects.MapObject.Position\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.World.Map\" data-throw-if-not-resolved=\"false\"></xref>\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&apos;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 <xref href="TinyLife.GameImpl.Speed" data-throw-if-not-resolved="false"></xref>
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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>, at the current <xref href=\"TinyLife.Objects.MapObject.Position\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;s actual color. If null, the object&apos;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 <xref href=\"TinyLife.Objects.MapObject.OnValidated\" data-throw-if-not-resolved=\"false\"></xref> and <xref href=\"TinyLife.Objects.MapObject.OnEventsAttachable\" data-throw-if-not-resolved=\"false\"></xref>.\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&apos;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 <xref href=\"TinyLife.Objects.MapObject.Map\" data-throw-if-not-resolved=\"false\"></xref>.\nBy default, it does nothing.\n"
example: []
syntax:
content: public override void OnRemoved()

View file

@ -72,9 +72,7 @@ items:
<DataContract>
Public Class Options
Inherits JsonTypeSafeGenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object

View file

@ -42,9 +42,7 @@ items:
<DataContract>
Public Class PerSaveOptions
Inherits JsonTypeSafeGenericDataHolder
Implements IGenericDataHolder
inheritance:
- System.Object

View file

@ -62,7 +62,6 @@ items:
<JsonConverter(GetType(StaticJsonConverter(Of PersonalityType)), New Object() {GetType(PersonalityType), "PrivateTypes"})>
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 <xref href=\"TinyLife.Emotions.EmotionModifier\" data-throw-if-not-resolved=\"false\"></xref> that has this source\n"
example: []
syntax:
content: public string SourceString { get; }

View file

@ -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

View file

@ -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

View file

@ -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<Action, FoodType> 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 <xref href=\"TinyLife.Objects.Food\" data-throw-if-not-resolved=\"false\"></xref> furniture instance based on this food type&apos;s <xref href=\"TinyLife.Skills.FoodType.GetContainer(System.Int32)\" data-throw-if-not-resolved=\"false\"></xref>\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 <xref href=\"TinyLife.Objects.FoodTypedItem\" data-throw-if-not-resolved=\"false\"></xref> furniture instance based on the passed <xref href=\"TinyLife.Objects.FurnitureType\" data-throw-if-not-resolved=\"false\"></xref>\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<Action, FoodType>
nameWithType: Action<Action, FoodType>
fullName: System.Action<TinyLife.Actions.Action, TinyLife.Skills.FoodType>
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<T1, T2>
nameWithType: Action<T1, T2>
fullName: System.Action<T1, T2>
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

View file

@ -336,11 +336,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Tools
summary: "\nWhether or not the <xref href=\"TinyLife.Tools.Tool.SelectedObject\" data-throw-if-not-resolved=\"false\"></xref> should currently have a white highlight around it.\nThis method defaults to return true if <xref href=\"TinyLife.GameImpl.IsMouseOnUi\" data-throw-if-not-resolved=\"false\"></xref> 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 <xref href=\"TinyLife.Uis.CursorType\" data-throw-if-not-resolved=\"false\"></xref> that this tool should currently display.\nBy default, <xref href=\"TinyLife.Uis.CursorType.Default\" data-throw-if-not-resolved=\"false\"></xref> 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:

View file

@ -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

Some files were not shown because too many files have changed in this diff Show more