diff --git a/Changelog.md b/Changelog.md index a790f0c..80eefa9 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,3 +1,29 @@ +# 0.32.4 +*May 11, 2023* + +Additions +- Added Czech translation thanks to [Pavlína Šeborová](https://steamcommunity.com/id/Paviinka/) +- Added an accessibility setting to highlight Tinies in the world +- Added woodworking recipes for some newer items like the changing table + +Improvements +- Made pregnancy-based energy loss a bit less high +- Don't display pronouns in places where they're not really useful +- Show lot outlines when zoomed all the way out in Play and Build modes +- Show lot type icons in the Visit Lot action name +- Show skill description tooltips in job promotion requirements + +Fixes +- Fixed some transitive genealogy calculations +- Fixed a rare exception when pathfinding a very short car route +- Fixed choice prompts not having a default selected element when using a gamepad +- Fixed a rare crash when publishing items on the Steam workshop + +API +- Easily allow mods to change the game's default textures through TextureHandler events +- Allow for mods to extend the Person class through a protected constructor and various virtual methods +- Allow for clothes to have an additional description in the character creator + # 0.32.3 *May 8, 2023* diff --git a/docs/api/.manifest b/docs/api/.manifest index 3b4d17a..d9d5d6f 100644 --- a/docs/api/.manifest +++ b/docs/api/.manifest @@ -139,7 +139,6 @@ "TinyLife.Actions.ActionType.CanBeSexual(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.CanDoImportantAction(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.CanDoSocialAction(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", - "TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.CanExecuteAll(TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Actions.ActionType.CanExecuteDelegate[])": "TinyLife.Actions.ActionType.yml", "TinyLife.Actions.ActionType.CanExecuteDelegate": "TinyLife.Actions.ActionType.CanExecuteDelegate.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.Nullable{TinyLife.Actions.CanExecuteResult},System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml", @@ -1605,7 +1604,8 @@ "TinyLife.Objects.Clothes.AreCompatible(TinyLife.Objects.Clothes,TinyLife.Objects.Clothes)": "TinyLife.Objects.Clothes.yml", "TinyLife.Objects.Clothes.Colors": "TinyLife.Objects.Clothes.yml", "TinyLife.Objects.Clothes.DepthFunction": "TinyLife.Objects.Clothes.yml", - "TinyLife.Objects.Clothes.GetClothes(TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup)": "TinyLife.Objects.Clothes.yml", + "TinyLife.Objects.Clothes.Description": "TinyLife.Objects.Clothes.yml", + "TinyLife.Objects.Clothes.GetDescription(TinyLife.Objects.Person)": "TinyLife.Objects.Clothes.yml", "TinyLife.Objects.Clothes.GetPrice": "TinyLife.Objects.Clothes.yml", "TinyLife.Objects.Clothes.Icon": "TinyLife.Objects.Clothes.yml", "TinyLife.Objects.Clothes.Intentions": "TinyLife.Objects.Clothes.yml", @@ -2198,7 +2198,7 @@ "TinyLife.Objects.Outfit.EnsureIntentionsMatch(System.Int32)": "TinyLife.Objects.Outfit.yml", "TinyLife.Objects.Outfit.GetIntentionPercentage(TinyLife.Objects.ClothesIntention)": "TinyLife.Objects.Outfit.yml", "TinyLife.Objects.Outfit.Intentions": "TinyLife.Objects.Outfit.yml", - "TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random,TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean})": "TinyLife.Objects.Outfit.yml", + "TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random,TinyLife.Objects.Person,TinyLife.Objects.ClothesLayer,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean})": "TinyLife.Objects.Outfit.yml", "TinyLife.Objects.OverlayWallHanging": "TinyLife.Objects.OverlayWallHanging.yml", "TinyLife.Objects.OverlayWallHanging.#ctor(System.Guid,TinyLife.Objects.FurnitureType,System.Int32[],TinyLife.World.Map,Microsoft.Xna.Framework.Vector2)": "TinyLife.Objects.OverlayWallHanging.yml", "TinyLife.Objects.OverlayWallHanging.Draw(Microsoft.Xna.Framework.GameTime,System.Object,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.ParentInfo,System.Single,System.Boolean,System.Collections.Generic.List{MLEM.Graphics.StaticSpriteBatch.Item})": "TinyLife.Objects.OverlayWallHanging.yml", @@ -2247,6 +2247,7 @@ "TinyLife.Objects.Particle.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Objects.Particle.yml", "TinyLife.Objects.Particle.UpdateWhenPaused": "TinyLife.Objects.Particle.yml", "TinyLife.Objects.Person": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.ActionQueue": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.ActionUpdateDelegate": "TinyLife.Objects.Person.ActionUpdateDelegate.yml", "TinyLife.Objects.Person.AddEmotion(TinyLife.Emotions.EmotionModifier,System.Int32,System.TimeSpan,TinyLife.Emotions.IEmotionSource,System.Boolean)": "TinyLife.Objects.Person.yml", @@ -2256,7 +2257,9 @@ "TinyLife.Objects.Person.AllActions": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.AnimateHeldObject": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.AnimationSpeed": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.CanApplyPersonality(TinyLife.PersonalityType)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.CancelAction(TinyLife.Actions.Action,TinyLife.Actions.Action,System.Boolean)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.ChangeFriendship(TinyLife.Objects.Person,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.ChangeRomance(TinyLife.Objects.Person,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Create(TinyLife.World.Map,System.Random,TinyLife.Objects.AgeGroup,System.Boolean,System.Boolean,System.Boolean,System.Boolean,TinyLife.Objects.Person[])": "TinyLife.Objects.Person.yml", @@ -2269,6 +2272,7 @@ "TinyLife.Objects.Person.CurrentRoomDecorativeRating": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.CurrentSpeakStyle": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.DaysLived": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.DefaultWalkSpeed": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.DepleteNeed(TinyLife.NeedType,System.Single,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Description": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.DiaperDirty": "TinyLife.Objects.Person.yml", @@ -2276,6 +2280,7 @@ "TinyLife.Objects.Person.DisplayEmote(TinyLife.Actions.EmoteCategory,System.Single,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.DisplayEmoteAndSpeak(TinyLife.Actions.EmoteCategory,TinyLife.Objects.SpeakStyle,System.Single,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Draw(Microsoft.Xna.Framework.GameTime,System.Object,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},System.Collections.Generic.List{MLEM.Graphics.StaticSpriteBatch.Item})": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.DrawLooks(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,TinyLife.Objects.ParentInfo,System.Nullable{Microsoft.Xna.Framework.Color},System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.DrawSize": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.DrawUi(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Single,MLEM.Misc.Direction2)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.EarnMoney(System.Single,System.Object)": "TinyLife.Objects.Person.yml", @@ -2292,6 +2297,7 @@ "TinyLife.Objects.Person.FullName": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.FullNamePronouns": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GainSkill(TinyLife.Skills.SkillType,System.Single,TinyLife.Actions.ActionInfo,System.Single)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetAction``1(System.Guid,System.Boolean)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetCategories(TinyLife.Objects.Person)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetCurrentGoals": "TinyLife.Objects.Person.yml", @@ -2299,6 +2305,8 @@ "TinyLife.Objects.Person.GetFreeActionSpotInfo(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetFreeTalkingSpots(TinyLife.Objects.Person)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetHeldActionInfo": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.GetHeldItemDepthOffset": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.GetHeldItemDrawOffset(System.Boolean)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetHeldObject``1(System.Boolean)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetHomeLocation": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetHoverInfo(MLEM.Ui.Elements.Tooltip)": "TinyLife.Objects.Person.yml", @@ -2307,6 +2315,7 @@ "TinyLife.Objects.Person.GetNeedPercentage(TinyLife.NeedType)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetPassiveActionPriority(TinyLife.Actions.ActionType)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetPersonalitySkillBoost(TinyLife.Skills.SkillType)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.GetPivot": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetProject(System.String,System.String)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetProjects(System.String)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetRandomOutfit(TinyLife.Objects.ClothesIntention)": "TinyLife.Objects.Person.yml", @@ -2318,8 +2327,10 @@ "TinyLife.Objects.Person.GetSkillTotalPercentage(TinyLife.Skills.SkillType)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetTimeSinceMemory``1(TinyLife.Goals.MemoryType,System.Func{``0,System.Boolean})": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetTimeSinceMemory``1(TinyLife.Goals.MemoryType[])": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.GetValidClothes(TinyLife.Objects.ClothesLayer)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GetWalkSpeed": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.GoToExitRoad": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.GoToRandomHomeLocation": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.HasEmotionModifier(TinyLife.Emotions.EmotionModifier)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.HasHouseholdMember(System.Guid)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.HasHouseholdMember(TinyLife.Objects.Person)": "TinyLife.Objects.Person.yml", @@ -2328,6 +2339,8 @@ "TinyLife.Objects.Person.HeldObjectRotation": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.HomeLot": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Household": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.ImportAtExitRoad(TinyLife.World.Map)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.InitializeAction(TinyLife.Actions.Action)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Intersects(MLEM.Misc.RectangleF)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.IsAllowedToDie": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.IsCloseForTalking(Microsoft.Xna.Framework.Vector2)": "TinyLife.Objects.Person.yml", @@ -2358,10 +2371,12 @@ "TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2},System.Boolean)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2},System.Boolean)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2},System.Boolean)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.OnActionCompleted(TinyLife.Actions.Action,TinyLife.Actions.CompletionType)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnActionInitialized": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnActionsChanged": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnActionsCompleted": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnActionUpdated": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.OnAgeChanged(TinyLife.Objects.AgeGroup)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnChangeFriendship": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.OnChangeRomance": "TinyLife.Objects.Person.yml", @@ -2399,6 +2414,7 @@ "TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Actions.ActionInfo,TinyLife.Skills.SkillType,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.RestoreNeedDelegate": "TinyLife.Objects.Person.RestoreNeedDelegate.yml", "TinyLife.Objects.Person.Rotation": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.SetAnimationsFromLooks": "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", "TinyLife.Objects.Person.SetHeldObject(TinyLife.Objects.MapObject,System.Boolean)": "TinyLife.Objects.Person.yml", @@ -2406,6 +2422,7 @@ "TinyLife.Objects.Person.SetJob(TinyLife.Goals.JobType,System.Int32)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.SetNewId(TinyLife.World.Map,System.Collections.Generic.IEnumerable{TinyLife.Objects.Person},System.Collections.Generic.IEnumerable{TinyLife.Objects.Furniture})": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.SetPregnancyStatus(System.Int32,System.Guid,System.Boolean)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.ShouldDrawHeldItem": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Skills": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Speak(TinyLife.Objects.SpeakStyle,System.Single,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.SpeakSounds": "TinyLife.Objects.Person.yml", @@ -2416,7 +2433,10 @@ "TinyLife.Objects.Person.Tint": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.ToCreatedByString": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.UpdateAction(TinyLife.Actions.Action,Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single,System.Collections.Generic.IEnumerable{TinyLife.Goals.IGoalTriggerable})": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.UpdateAnimations(System.TimeSpan,System.Single)": "TinyLife.Objects.Person.yml", "TinyLife.Objects.Person.Validate": "TinyLife.Objects.Person.yml", + "TinyLife.Objects.Person.ValidateClothes": "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", @@ -2550,6 +2570,7 @@ "TinyLife.Options.HideEarlyAccessHints": "TinyLife.Options.yml", "TinyLife.Options.HideGamepadControlsHints": "TinyLife.Options.yml", "TinyLife.Options.HideHangingObjects": "TinyLife.Options.yml", + "TinyLife.Options.HighlightTinies": "TinyLife.Options.yml", "TinyLife.Options.IncreaseSpeedKeybind": "TinyLife.Options.yml", "TinyLife.Options.InGameMusic": "TinyLife.Options.yml", "TinyLife.Options.Instance": "TinyLife.Options.yml", @@ -2615,7 +2636,6 @@ "TinyLife.PersonalityType.Asexual": "TinyLife.PersonalityType.yml", "TinyLife.PersonalityType.BoostedSkills": "TinyLife.PersonalityType.yml", "TinyLife.PersonalityType.BoostedSkillTypes": "TinyLife.PersonalityType.yml", - "TinyLife.PersonalityType.CanApply(TinyLife.Objects.Person)": "TinyLife.PersonalityType.yml", "TinyLife.PersonalityType.CapableCarpenter": "TinyLife.PersonalityType.yml", "TinyLife.PersonalityType.Category": "TinyLife.PersonalityType.yml", "TinyLife.PersonalityType.CityNative": "TinyLife.PersonalityType.yml", @@ -3106,6 +3126,7 @@ "TinyLife.Uis.InGameUi.OnInitialized": "TinyLife.Uis.InGameUi.yml", "TinyLife.Uis.Menus": "TinyLife.Uis.Menus.yml", "TinyLife.Uis.Menus.GamepadHint(MLEM.Ui.Anchor,System.Func{TinyLife.Options,Microsoft.Xna.Framework.Input.Buttons},Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Func{System.Boolean})": "TinyLife.Uis.Menus.yml", + "TinyLife.Uis.Menus.MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32)": "TinyLife.Uis.Menus.yml", "TinyLife.Uis.Menus.Transition(System.Action,System.Action,TinyLife.Uis.Menus.TransitionType,TinyLife.Uis.Menus.TransitionType,System.Single,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color})": "TinyLife.Uis.Menus.yml", "TinyLife.Uis.Menus.TransitionType": "TinyLife.Uis.Menus.TransitionType.yml", "TinyLife.Uis.Menus.TransitionType.Fade": "TinyLife.Uis.Menus.TransitionType.yml", @@ -3215,8 +3236,11 @@ "TinyLife.Utilities.TextureHandler.CursorTexture": "TinyLife.Utilities.TextureHandler.yml", "TinyLife.Utilities.TextureHandler.EmoteTexture": "TinyLife.Utilities.TextureHandler.yml", "TinyLife.Utilities.TextureHandler.FurnitureTextures": "TinyLife.Utilities.TextureHandler.yml", + "TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate": "TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate.yml", "TinyLife.Utilities.TextureHandler.LightTexture": "TinyLife.Utilities.TextureHandler.yml", - "TinyLife.Utilities.TextureHandler.MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32)": "TinyLife.Utilities.TextureHandler.yml", + "TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate": "TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate.yml", + "TinyLife.Utilities.TextureHandler.OnGameTextureLoaded": "TinyLife.Utilities.TextureHandler.yml", + "TinyLife.Utilities.TextureHandler.OnLoadGameTexture": "TinyLife.Utilities.TextureHandler.yml", "TinyLife.Utilities.TextureHandler.OpeningTexture": "TinyLife.Utilities.TextureHandler.yml", "TinyLife.Utilities.TextureHandler.ParticleTexture": "TinyLife.Utilities.TextureHandler.yml", "TinyLife.Utilities.TextureHandler.RoofTexture": "TinyLife.Utilities.TextureHandler.yml", diff --git a/docs/api/TinyLife.Actions.Action.yml b/docs/api/TinyLife.Actions.Action.yml index 6bac274..dae1a78 100644 --- a/docs/api/TinyLife.Actions.Action.yml +++ b/docs/api/TinyLife.Actions.Action.yml @@ -1235,7 +1235,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OpenYesNoPrompt path: ../TinyLife/Actions/Action.cs - startLine: 358 + startLine: 359 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1281,7 +1281,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OpenTextPrompt path: ../TinyLife/Actions/Action.cs - startLine: 386 + startLine: 387 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1333,7 +1333,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OpenChoicePrompt path: ../TinyLife/Actions/Action.cs - startLine: 399 + startLine: 400 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1368,7 +1368,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakAlone path: ../TinyLife/Actions/Action.cs - startLine: 414 + startLine: 415 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1418,7 +1418,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakInConversation path: ../TinyLife/Actions/Action.cs - startLine: 431 + startLine: 432 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1477,7 +1477,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FacePartner path: ../TinyLife/Actions/Action.cs - startLine: 442 + startLine: 443 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1511,7 +1511,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CompleteIfNeedFull path: ../TinyLife/Actions/Action.cs - startLine: 457 + startLine: 458 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1549,7 +1549,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CompleteIfTimeUp path: ../TinyLife/Actions/Action.cs - startLine: 471 + startLine: 472 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1599,7 +1599,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CancelIfEmotional path: ../TinyLife/Actions/Action.cs - startLine: 485 + startLine: 486 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1641,7 +1641,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sit path: ../TinyLife/Actions/Action.cs - startLine: 501 + startLine: 502 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1685,7 +1685,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetChildren path: ../TinyLife/Actions/Action.cs - startLine: 517 + startLine: 518 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1723,7 +1723,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetChild path: ../TinyLife/Actions/Action.cs - startLine: 534 + startLine: 535 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1767,7 +1767,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PickUpAndGoTo path: ../TinyLife/Actions/Action.cs - startLine: 576 + startLine: 577 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1814,7 +1814,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PickUpAndGoTo path: ../TinyLife/Actions/Action.cs - startLine: 589 + startLine: 590 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1861,7 +1861,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeChair path: ../TinyLife/Actions/Action.cs - startLine: 626 + startLine: 627 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1899,7 +1899,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeChairs path: ../TinyLife/Actions/Action.cs - startLine: 643 + startLine: 644 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1943,7 +1943,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSeatCategory path: ../TinyLife/Actions/Action.cs - startLine: 663 + startLine: 664 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1978,7 +1978,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindAllFreePeople path: ../TinyLife/Actions/Action.cs - startLine: 679 + startLine: 680 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2037,7 +2037,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindAllFreeFurniture path: ../TinyLife/Actions/Action.cs - startLine: 704 + startLine: 705 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2096,7 +2096,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindAllFreeWalls path: ../TinyLife/Actions/Action.cs - startLine: 722 + startLine: 723 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2143,7 +2143,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindAllFreeGround path: ../TinyLife/Actions/Action.cs - startLine: 737 + startLine: 738 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2190,7 +2190,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindFreeFurniture path: ../TinyLife/Actions/Action.cs - startLine: 755 + startLine: 756 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2243,7 +2243,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindAllActionObjects path: ../TinyLife/Actions/Action.cs - startLine: 768 + startLine: 769 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2284,11 +2284,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindValidActionObjects path: ../TinyLife/Actions/Action.cs - startLine: 806 + startLine: 807 assemblies: - Tiny Life namespace: TinyLife.Actions - summary: "\nReturns all objects that are available to the given for the given , and whose indicates that the actions are valid for execution.\nThis method also checks .\n" + summary: "\nReturns all objects that are available to the given for the given , and whose indicates that the actions are valid for execution.\nThis method also checks .\n" example: [] syntax: content: public static IEnumerable FindValidActionObjects(Person person, ActionType type, bool automatic, Vector2? position = null, bool allowInappropriate = false, bool allowInvalid = false) @@ -2337,7 +2337,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TryGetRandomValidVariety path: ../TinyLife/Actions/Action.cs - startLine: 825 + startLine: 826 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2384,7 +2384,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomValidVariety path: ../TinyLife/Actions/Action.cs - startLine: 844 + startLine: 845 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2425,7 +2425,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTableSpot path: ../TinyLife/Actions/Action.cs - startLine: 859 + startLine: 860 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2463,7 +2463,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InvokeForBoth path: ../TinyLife/Actions/Action.cs - startLine: 872 + startLine: 873 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2504,7 +2504,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanMultitask path: ../TinyLife/Actions/Action.cs - startLine: 884 + startLine: 885 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -6119,20 +6119,24 @@ references: - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ) -- uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - commentId: M:TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) +- uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + commentId: M:TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: CanExecute(ActionInfo, bool) - nameWithType: ActionType.CanExecute(ActionInfo, bool) - fullName: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, bool) - nameWithType.vb: ActionType.CanExecute(ActionInfo, Boolean) - fullName.vb: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, Boolean) - name.vb: CanExecute(ActionInfo, Boolean) + name: CanExecuteAction(ActionType, ActionInfo, bool) + nameWithType: Person.CanExecuteAction(ActionType, ActionInfo, bool) + fullName: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, bool) + nameWithType.vb: Person.CanExecuteAction(ActionType, ActionInfo, Boolean) + fullName.vb: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, Boolean) + name.vb: CanExecuteAction(ActionType, ActionInfo, Boolean) spec.csharp: - - uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - name: CanExecute + - uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + name: CanExecuteAction - name: ( + - uid: TinyLife.Actions.ActionType + name: ActionType + - name: ',' + - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ',' @@ -6143,9 +6147,13 @@ references: href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ) spec.vb: - - uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - name: CanExecute + - uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + name: CanExecuteAction - name: ( + - uid: TinyLife.Actions.ActionType + name: ActionType + - name: ',' + - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ',' diff --git a/docs/api/TinyLife.Actions.ActionType.AiSettings.yml b/docs/api/TinyLife.Actions.ActionType.AiSettings.yml index 529a1d7..fd26fce 100644 --- a/docs/api/TinyLife.Actions.ActionType.AiSettings.yml +++ b/docs/api/TinyLife.Actions.ActionType.AiSettings.yml @@ -26,7 +26,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AiSettings path: ../TinyLife/Actions/ActionType.cs - startLine: 379 + startLine: 325 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -62,7 +62,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SolvedNeeds path: ../TinyLife/Actions/ActionType.cs - startLine: 387 + startLine: 333 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -91,7 +91,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PassivePriority path: ../TinyLife/Actions/ActionType.cs - startLine: 395 + startLine: 341 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -120,7 +120,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanDoRandomly path: ../TinyLife/Actions/ActionType.cs - startLine: 402 + startLine: 348 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -149,7 +149,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanDoAtAnyPoint path: ../TinyLife/Actions/ActionType.cs - startLine: 409 + startLine: 355 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -178,7 +178,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NeedsFreeActionSpot path: ../TinyLife/Actions/ActionType.cs - startLine: 415 + startLine: 361 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -207,7 +207,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IgnoreAiDisabled path: ../TinyLife/Actions/ActionType.cs - startLine: 419 + startLine: 365 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -236,7 +236,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Actions/ActionType.cs - startLine: 424 + startLine: 370 assemblies: - Tiny Life namespace: TinyLife.Actions diff --git a/docs/api/TinyLife.Actions.ActionType.CanExecuteDelegate.yml b/docs/api/TinyLife.Actions.ActionType.CanExecuteDelegate.yml index 5d1626e..a0f52c1 100644 --- a/docs/api/TinyLife.Actions.ActionType.CanExecuteDelegate.yml +++ b/docs/api/TinyLife.Actions.ActionType.CanExecuteDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanExecuteDelegate path: ../TinyLife/Actions/ActionType.cs - startLine: 208 + startLine: 154 assemblies: - Tiny Life namespace: TinyLife.Actions diff --git a/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml b/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml index 610d1e4..dd18262 100644 --- a/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml +++ b/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml @@ -46,7 +46,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TypeSettings path: ../TinyLife/Actions/ActionType.cs - startLine: 213 + startLine: 159 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -84,7 +84,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: ../TinyLife/Actions/ActionType.cs - startLine: 218 + startLine: 164 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -113,7 +113,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NameWithoutCategory path: ../TinyLife/Actions/ActionType.cs - startLine: 223 + startLine: 169 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -144,7 +144,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Categories path: ../TinyLife/Actions/ActionType.cs - startLine: 228 + startLine: 174 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -175,7 +175,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Texture path: ../TinyLife/Actions/ActionType.cs - startLine: 233 + startLine: 179 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -204,7 +204,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Context path: ../TinyLife/Actions/ActionType.cs - startLine: 238 + startLine: 184 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -233,11 +233,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanExecute path: ../TinyLife/Actions/ActionType.cs - startLine: 244 + startLine: 190 assemblies: - Tiny Life namespace: TinyLife.Actions - summary: "\nA delegate that returns a based on whether the given situation allows this action to be executed.\nThis value is initialized always return .\nTo query this delegate effectively, use , which also validates the , the and the .\n" + summary: "\nA delegate that returns a based on whether the given situation allows this action to be executed.\nThis value is initialized always return .\nTo query this delegate effectively, use , which also validates the , the and the .\n" example: [] syntax: content: public ActionType.CanExecuteDelegate CanExecute @@ -262,7 +262,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ConstructedType path: ../TinyLife/Actions/ActionType.cs - startLine: 249 + startLine: 195 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -291,7 +291,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ConstructorArguments path: ../TinyLife/Actions/ActionType.cs - startLine: 254 + startLine: 200 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -320,7 +320,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Varieties path: ../TinyLife/Actions/ActionType.cs - startLine: 262 + startLine: 208 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -349,7 +349,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EmptyVarietiesResult path: ../TinyLife/Actions/ActionType.cs - startLine: 267 + startLine: 213 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -378,7 +378,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Ai path: ../TinyLife/Actions/ActionType.cs - startLine: 272 + startLine: 218 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -407,7 +407,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsInappropriateElsewhere path: ../TinyLife/Actions/ActionType.cs - startLine: 277 + startLine: 223 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -436,7 +436,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IconName path: ../TinyLife/Actions/ActionType.cs - startLine: 283 + startLine: 229 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -465,7 +465,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDisplayName path: ../TinyLife/Actions/ActionType.cs - startLine: 289 + startLine: 235 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -494,7 +494,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredSkill path: ../TinyLife/Actions/ActionType.cs - startLine: 295 + startLine: 241 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -523,7 +523,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredAges path: ../TinyLife/Actions/ActionType.cs - startLine: 299 + startLine: 245 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -552,7 +552,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredEmotion path: ../TinyLife/Actions/ActionType.cs - startLine: 304 + startLine: 250 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -581,7 +581,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredPersonality path: ../TinyLife/Actions/ActionType.cs - startLine: 309 + startLine: 255 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -610,11 +610,11 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IgnoreObjectConditions path: ../TinyLife/Actions/ActionType.cs - startLine: 315 + startLine: 261 assemblies: - Tiny Life namespace: TinyLife.Actions - summary: "\nA function that can return whether a given 's action conditions should be ignored in a given case.\nThis function is used in and to determine whether an action object should have a say in whether this action can be executed.\nBy default, this function is null, meaning no action object conditions will be ignored.\n" + summary: "\nA function that can return whether a given 's action conditions should be ignored in a given case.\nThis function is used in and to determine whether an action object should have a say in whether this action can be executed.\nBy default, this function is null, meaning no action object conditions will be ignored.\n" example: [] syntax: content: public Func<(ActionInfo Info, bool Automatic, MapObject Object, bool IsAuxiliary, CanExecuteResult Reason), bool> IgnoreObjectConditions @@ -639,7 +639,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredPartnerEmployment path: ../TinyLife/Actions/ActionType.cs - startLine: 321 + startLine: 267 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -668,7 +668,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredPartnerAges path: ../TinyLife/Actions/ActionType.cs - startLine: 326 + startLine: 272 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -697,7 +697,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredJob path: ../TinyLife/Actions/ActionType.cs - startLine: 331 + startLine: 277 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -726,7 +726,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Actions/ActionType.cs - startLine: 341 + startLine: 287 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -767,7 +767,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetData path: ../TinyLife/Actions/ActionType.cs - startLine: 354 + startLine: 300 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -804,7 +804,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetData path: ../TinyLife/Actions/ActionType.cs - startLine: 359 + startLine: 305 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -843,7 +843,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetData path: ../TinyLife/Actions/ActionType.cs - startLine: 365 + startLine: 311 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -882,7 +882,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDataKeys path: ../TinyLife/Actions/ActionType.cs - startLine: 370 + startLine: 316 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -1412,20 +1412,24 @@ references: name: Valid nameWithType: CanExecuteResult.Valid fullName: TinyLife.Actions.CanExecuteResult.Valid -- uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - commentId: M:TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) +- uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + commentId: M:TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: CanExecute(ActionInfo, bool) - nameWithType: ActionType.CanExecute(ActionInfo, bool) - fullName: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, bool) - nameWithType.vb: ActionType.CanExecute(ActionInfo, Boolean) - fullName.vb: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, Boolean) - name.vb: CanExecute(ActionInfo, Boolean) + name: CanExecuteAction(ActionType, ActionInfo, bool) + nameWithType: Person.CanExecuteAction(ActionType, ActionInfo, bool) + fullName: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, bool) + nameWithType.vb: Person.CanExecuteAction(ActionType, ActionInfo, Boolean) + fullName.vb: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, Boolean) + name.vb: CanExecuteAction(ActionType, ActionInfo, Boolean) spec.csharp: - - uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - name: CanExecute + - uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + name: CanExecuteAction - name: ( + - uid: TinyLife.Actions.ActionType + name: ActionType + - name: ',' + - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ',' @@ -1436,9 +1440,13 @@ references: href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ) spec.vb: - - uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - name: CanExecute + - uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + name: CanExecuteAction - name: ( + - uid: TinyLife.Actions.ActionType + name: ActionType + - name: ',' + - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ',' diff --git a/docs/api/TinyLife.Actions.ActionType.yml b/docs/api/TinyLife.Actions.ActionType.yml index 5480a99..dcc8635 100644 --- a/docs/api/TinyLife.Actions.ActionType.yml +++ b/docs/api/TinyLife.Actions.ActionType.yml @@ -51,7 +51,6 @@ items: - TinyLife.Actions.ActionType.CanBeSexual(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.CanDoImportantAction(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.CanDoSocialAction(TinyLife.Actions.ActionInfo,System.Boolean) - - TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Actions.ActionType.CanExecuteAll(TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Actions.ActionType.CanExecuteDelegate[]) - TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Nullable{TinyLife.Actions.CanExecuteResult},System.Boolean,System.Boolean) - TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean) @@ -562,47 +561,6 @@ items: description: true if the passed type is a supertype of, or the same type as, this action's constructed type content.vb: Public Function IsActionType(t As Type) As Boolean overload: TinyLife.Actions.ActionType.IsActionType* -- uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - commentId: M:TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - id: CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - parent: TinyLife.Actions.ActionType - langs: - - csharp - - vb - name: CanExecute(ActionInfo, bool) - nameWithType: ActionType.CanExecute(ActionInfo, bool) - fullName: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, bool) - type: Method - source: - remote: - path: TinyLife/Actions/ActionType.cs - branch: main - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: CanExecute - path: ../TinyLife/Actions/ActionType.cs - startLine: 93 - assemblies: - - Tiny Life - namespace: TinyLife.Actions - summary: "\nReturns this action's delegate's result and also checks additional conditions like , , and .\nThis method additionally catches and handles any exceptions by printing them out as a notification to the player.\n" - example: [] - syntax: - content: public CanExecuteResult CanExecute(ActionInfo info, bool automatic) - parameters: - - id: info - type: TinyLife.Actions.ActionInfo - description: The action info - - id: automatic - type: System.Boolean - description: Whether the action is automatically executed - return: - type: TinyLife.Actions.CanExecuteResult - description: A that represents whether the action can be executed right now - content.vb: Public Function CanExecute(info As ActionInfo, automatic As Boolean) As CanExecuteResult - overload: TinyLife.Actions.ActionType.CanExecute* - nameWithType.vb: ActionType.CanExecute(ActionInfo, Boolean) - fullName.vb: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, Boolean) - name.vb: CanExecute(ActionInfo, Boolean) - uid: TinyLife.Actions.ActionType.GetIconName(TinyLife.Actions.ActionInfo) commentId: M:TinyLife.Actions.ActionType.GetIconName(TinyLife.Actions.ActionInfo) id: GetIconName(TinyLife.Actions.ActionInfo) @@ -621,7 +579,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetIconName path: ../TinyLife/Actions/ActionType.cs - startLine: 146 + startLine: 92 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -656,7 +614,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetVarieties path: ../TinyLife/Actions/ActionType.cs - startLine: 163 + startLine: 109 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -697,7 +655,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/Actions/ActionType.cs - startLine: 196 + startLine: 142 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2136,7 +2094,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Paint path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 232 + startLine: 233 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2163,7 +2121,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sell path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 242 + startLine: 243 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2190,7 +2148,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PracticeSpeech path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 250 + startLine: 251 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2217,7 +2175,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Read path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 258 + startLine: 259 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2244,7 +2202,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StudyBook path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 269 + startLine: 270 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2271,7 +2229,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PutAway path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 279 + startLine: 280 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2298,7 +2256,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PracticeJokes path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 289 + startLine: 290 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2325,7 +2283,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Work path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 297 + startLine: 298 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2352,7 +2310,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetJob path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 305 + startLine: 306 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2379,7 +2337,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: QuitJob path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 314 + startLine: 315 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2406,7 +2364,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MopPuddle path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 317 + startLine: 318 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2433,7 +2391,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PracticeProgramming path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 329 + startLine: 330 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2460,7 +2418,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ModGame path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 337 + startLine: 338 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2487,7 +2445,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CreateApp path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 343 + startLine: 344 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2514,7 +2472,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PublishApp path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 349 + startLine: 350 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2541,7 +2499,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HackSomeone path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 355 + startLine: 356 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2568,7 +2526,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ResearchProgrammingPatterns path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 360 + startLine: 361 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2595,7 +2553,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WatchTv path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 365 + startLine: 366 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2622,7 +2580,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Repair path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 375 + startLine: 376 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2649,7 +2607,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PayBills path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 389 + startLine: 390 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2676,7 +2634,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PracticeWriting path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 403 + startLine: 404 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2703,7 +2661,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WriteBook path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 411 + startLine: 412 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2730,7 +2688,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SelfPublishBook path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 421 + startLine: 422 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2757,7 +2715,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HaveBookPublished path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 422 + startLine: 423 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2784,7 +2742,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LockDoor path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 423 + startLine: 424 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2811,7 +2769,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AdmireLgbtFlag path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 428 + startLine: 429 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2838,7 +2796,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWater path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 431 + startLine: 432 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2865,7 +2823,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WashHands path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 439 + startLine: 440 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2892,7 +2850,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToggleLight path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 446 + startLine: 447 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2919,7 +2877,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToggleAllLights path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 449 + startLine: 450 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2946,7 +2904,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GrillFood path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 461 + startLine: 462 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -2973,7 +2931,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ThrowAway path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 471 + startLine: 472 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3000,7 +2958,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Scrap path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 479 + startLine: 480 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3027,7 +2985,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CleanEverything path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 485 + startLine: 486 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3054,7 +3012,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Clean path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 491 + startLine: 492 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3081,7 +3039,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Light path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 499 + startLine: 500 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3108,7 +3066,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DoHomework path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 508 + startLine: 509 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3135,7 +3093,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlayWithToy path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 519 + startLine: 520 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3162,7 +3120,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CookChildFood path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 531 + startLine: 532 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3189,7 +3147,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlayInSandbox path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 544 + startLine: 545 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3216,7 +3174,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ShufflePuzzle path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 553 + startLine: 554 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3243,7 +3201,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Puzzle path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 561 + startLine: 562 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3270,7 +3228,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PsychSelfUp path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 569 + startLine: 570 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3297,7 +3255,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Store path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 573 + startLine: 574 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3324,7 +3282,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFurnitureMail path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 584 + startLine: 585 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3351,7 +3309,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetJobFromNewspaper path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 592 + startLine: 593 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3378,7 +3336,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ReadNewspaper path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 600 + startLine: 601 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3405,7 +3363,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ReadJokes path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 608 + startLine: 609 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3432,7 +3390,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BrewCoffee path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 616 + startLine: 617 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3459,7 +3417,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MakeTea path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 626 + startLine: 627 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3486,7 +3444,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TinkerWith path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 636 + startLine: 637 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3513,7 +3471,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AdmireFood path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 644 + startLine: 645 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3540,7 +3498,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddALittleSomething path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 652 + startLine: 653 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3567,7 +3525,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RunAround path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 666 + startLine: 667 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3594,7 +3552,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Rummage path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 675 + startLine: 676 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3621,7 +3579,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddCandle path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 682 + startLine: 683 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3648,7 +3606,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: BlowOutCandles path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 688 + startLine: 689 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3675,7 +3633,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PutInFridge path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 692 + startLine: 693 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3702,7 +3660,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TakeFromFridge path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 706 + startLine: 707 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3729,7 +3687,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CleanOutFridge path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 710 + startLine: 711 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3756,7 +3714,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLeftovers path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 721 + startLine: 722 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3783,7 +3741,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AdoptChild path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 728 + startLine: 729 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3810,7 +3768,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ResearchBusinessPlans path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 736 + startLine: 737 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3837,7 +3795,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PracticeSalesPitch path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 744 + startLine: 745 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3864,7 +3822,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ReadSkillBook path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 752 + startLine: 753 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3891,7 +3849,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToggleNewspapers path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 761 + startLine: 762 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3918,7 +3876,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TakeOutTrash path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 766 + startLine: 767 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3945,7 +3903,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlayOnJungleGym path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 778 + startLine: 779 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3972,7 +3930,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ColorColoringBook path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 787 + startLine: 788 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -3999,7 +3957,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CollectSunlight path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 796 + startLine: 797 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4026,7 +3984,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GoJogging path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 799 + startLine: 800 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4053,7 +4011,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MoveHere path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 807 + startLine: 808 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4080,7 +4038,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ReadBabyBook path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 814 + startLine: 815 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4107,7 +4065,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Potty path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 826 + startLine: 827 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4134,7 +4092,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UseDiaper path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 838 + startLine: 839 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4161,7 +4119,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FollowAdult path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 846 + startLine: 847 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4188,7 +4146,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HaveBaby path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 863 + startLine: 864 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4215,7 +4173,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HaveAbortion path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 871 + startLine: 872 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4242,7 +4200,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TakePregnancyTest path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 874 + startLine: 875 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4269,7 +4227,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TakeOutOfCrib path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 881 + startLine: 882 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -4296,7 +4254,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SleepInCrib path: ../TinyLife/Actions/ActionType.Misc.cs - startLine: 890 + startLine: 891 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -9624,11 +9582,11 @@ references: name: Type nameWithType: Type fullName: System.Type -- uid: TinyLife.Actions.ActionType.TypeSettings.CanExecute - commentId: F:TinyLife.Actions.ActionType.TypeSettings.CanExecute - name: CanExecute - nameWithType: ActionType.TypeSettings.CanExecute - fullName: TinyLife.Actions.ActionType.TypeSettings.CanExecute +- uid: TinyLife.Actions.ActionType.TypeSettings.IconName + commentId: F:TinyLife.Actions.ActionType.TypeSettings.IconName + name: IconName + nameWithType: ActionType.TypeSettings.IconName + fullName: TinyLife.Actions.ActionType.TypeSettings.IconName - uid: TinyLife.Actions.ActionType.TypeSettings.RequiredSkill commentId: F:TinyLife.Actions.ActionType.TypeSettings.RequiredSkill name: RequiredSkill @@ -9639,112 +9597,6 @@ references: name: RequiredEmotion nameWithType: ActionType.TypeSettings.RequiredEmotion fullName: TinyLife.Actions.ActionType.TypeSettings.RequiredEmotion -- uid: TinyLife.World.LotType.CanExecuteAction - commentId: P:TinyLife.World.LotType.CanExecuteAction - name: CanExecuteAction - nameWithType: LotType.CanExecuteAction - fullName: TinyLife.World.LotType.CanExecuteAction -- uid: TinyLife.Objects.MapObject.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean,System.Boolean) - commentId: M:TinyLife.Objects.MapObject.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean,System.Boolean) - parent: TinyLife.Objects.MapObject - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.boolean - name: CanExecuteAction(ActionType, ActionInfo, bool, bool) - nameWithType: MapObject.CanExecuteAction(ActionType, ActionInfo, bool, bool) - fullName: TinyLife.Objects.MapObject.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, bool, bool) - nameWithType.vb: MapObject.CanExecuteAction(ActionType, ActionInfo, Boolean, Boolean) - fullName.vb: TinyLife.Objects.MapObject.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, Boolean, Boolean) - name.vb: CanExecuteAction(ActionType, ActionInfo, Boolean, Boolean) - spec.csharp: - - uid: TinyLife.Objects.MapObject.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean,System.Boolean) - name: CanExecuteAction - - name: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - - name: ',' - - name: " " - - uid: TinyLife.Actions.ActionInfo - name: ActionInfo - - name: ',' - - name: " " - - uid: System.Boolean - name: bool - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.boolean - - name: ',' - - name: " " - - uid: System.Boolean - name: bool - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.boolean - - name: ) - spec.vb: - - uid: TinyLife.Objects.MapObject.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean,System.Boolean) - name: CanExecuteAction - - name: ( - - uid: TinyLife.Actions.ActionType - name: ActionType - - name: ',' - - name: " " - - uid: TinyLife.Actions.ActionInfo - name: ActionInfo - - name: ',' - - name: " " - - uid: System.Boolean - name: Boolean - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.boolean - - name: ',' - - name: " " - - uid: System.Boolean - name: Boolean - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.boolean - - name: ) -- uid: TinyLife.Uis.Notifications - commentId: T:TinyLife.Uis.Notifications - name: Notifications - nameWithType: Notifications - fullName: TinyLife.Uis.Notifications -- uid: TinyLife.Actions.CanExecuteResult - commentId: T:TinyLife.Actions.CanExecuteResult - parent: TinyLife.Actions - name: CanExecuteResult - nameWithType: CanExecuteResult - fullName: TinyLife.Actions.CanExecuteResult -- uid: TinyLife.Actions.ActionType.CanExecute* - commentId: Overload:TinyLife.Actions.ActionType.CanExecute - name: CanExecute - nameWithType: ActionType.CanExecute - fullName: TinyLife.Actions.ActionType.CanExecute -- uid: TinyLife.Objects.MapObject - commentId: T:TinyLife.Objects.MapObject - parent: TinyLife.Objects - name: MapObject - nameWithType: MapObject - fullName: TinyLife.Objects.MapObject -- uid: TinyLife.Objects - commentId: N:TinyLife.Objects - name: TinyLife.Objects - nameWithType: TinyLife.Objects - fullName: TinyLife.Objects - spec.csharp: - - uid: TinyLife - name: TinyLife - - name: . - - uid: TinyLife.Objects - name: Objects - spec.vb: - - uid: TinyLife - name: TinyLife - - name: . - - uid: TinyLife.Objects - name: Objects -- uid: TinyLife.Actions.ActionType.TypeSettings.IconName - commentId: F:TinyLife.Actions.ActionType.TypeSettings.IconName - name: IconName - nameWithType: ActionType.TypeSettings.IconName - fullName: TinyLife.Actions.ActionType.TypeSettings.IconName - uid: TinyLife.Actions.ActionType.TypeSettings.RequiredPersonality commentId: F:TinyLife.Actions.ActionType.TypeSettings.RequiredPersonality name: RequiredPersonality @@ -10014,6 +9866,12 @@ references: name: MultiAction nameWithType: MultiAction fullName: TinyLife.Actions.MultiAction +- uid: TinyLife.Actions.CanExecuteResult + commentId: T:TinyLife.Actions.CanExecuteResult + parent: TinyLife.Actions + name: CanExecuteResult + nameWithType: CanExecuteResult + fullName: TinyLife.Actions.CanExecuteResult - uid: TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean,System.Boolean) commentId: M:TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean,System.Boolean) isExternal: true @@ -10139,6 +9997,23 @@ references: - uid: TinyLife.Actions.CanExecuteResult name: CanExecuteResult - name: '?' +- uid: TinyLife.Objects + commentId: N:TinyLife.Objects + name: TinyLife.Objects + nameWithType: TinyLife.Objects + fullName: TinyLife.Objects + spec.csharp: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.Objects + name: Objects + spec.vb: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.Objects + name: Objects - uid: System.Func`2 commentId: T:System.Func`2 isExternal: true @@ -10356,6 +10231,11 @@ references: isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ) +- uid: TinyLife.Actions.ActionType.TypeSettings.CanExecute + commentId: F:TinyLife.Actions.ActionType.TypeSettings.CanExecute + name: CanExecute + nameWithType: ActionType.TypeSettings.CanExecute + fullName: TinyLife.Actions.ActionType.TypeSettings.CanExecute - uid: TinyLife.Actions.CanExecuteResult.Hidden commentId: F:TinyLife.Actions.CanExecuteResult.Hidden name: Hidden diff --git a/docs/api/TinyLife.Actions.Handlers.UnderlyingActionHandler.yml b/docs/api/TinyLife.Actions.Handlers.UnderlyingActionHandler.yml index 726bc84..71b71bd 100644 --- a/docs/api/TinyLife.Actions.Handlers.UnderlyingActionHandler.yml +++ b/docs/api/TinyLife.Actions.Handlers.UnderlyingActionHandler.yml @@ -169,7 +169,7 @@ items: description: The info to pass to the action - id: force type: System.Boolean - description: Whether the action should be created even if returns false + description: Whether the action should be created even if returns false typeParameters: - id: T return: @@ -201,7 +201,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions.Handlers - summary: "\nInitializes the underlying action of this action using the given .\nIf should be tested, can be used instead.\n" + summary: "\nInitializes the underlying action of this action using the given .\nIf should be tested, can be used instead.\n" example: [] syntax: content: public void InitializeExact(Action action) @@ -896,20 +896,24 @@ references: nameWithType.vb: UnderlyingActionHandler.New fullName.vb: TinyLife.Actions.Handlers.UnderlyingActionHandler.New name.vb: New -- uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - commentId: M:TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) +- uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + commentId: M:TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: CanExecute(ActionInfo, bool) - nameWithType: ActionType.CanExecute(ActionInfo, bool) - fullName: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, bool) - nameWithType.vb: ActionType.CanExecute(ActionInfo, Boolean) - fullName.vb: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, Boolean) - name.vb: CanExecute(ActionInfo, Boolean) + name: CanExecuteAction(ActionType, ActionInfo, bool) + nameWithType: Person.CanExecuteAction(ActionType, ActionInfo, bool) + fullName: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, bool) + nameWithType.vb: Person.CanExecuteAction(ActionType, ActionInfo, Boolean) + fullName.vb: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, Boolean) + name.vb: CanExecuteAction(ActionType, ActionInfo, Boolean) spec.csharp: - - uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - name: CanExecute + - uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + name: CanExecuteAction - name: ( + - uid: TinyLife.Actions.ActionType + name: ActionType + - name: ',' + - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ',' @@ -920,9 +924,13 @@ references: href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ) spec.vb: - - uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - name: CanExecute + - uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + name: CanExecuteAction - name: ( + - uid: TinyLife.Actions.ActionType + name: ActionType + - name: ',' + - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ',' diff --git a/docs/api/TinyLife.Actions.PathfindAction.yml b/docs/api/TinyLife.Actions.PathfindAction.yml index 7c9cc6c..e4a621d 100644 --- a/docs/api/TinyLife.Actions.PathfindAction.yml +++ b/docs/api/TinyLife.Actions.PathfindAction.yml @@ -440,7 +440,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsCompleted path: ../TinyLife/Actions/PathfindAction.cs - startLine: 97 + startLine: 100 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -472,7 +472,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCompleted path: ../TinyLife/Actions/PathfindAction.cs - startLine: 108 + startLine: 111 assemblies: - Tiny Life namespace: TinyLife.Actions @@ -505,7 +505,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/Actions/PathfindAction.cs - startLine: 119 + startLine: 122 assemblies: - Tiny Life namespace: TinyLife.Actions diff --git a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml index 0de7f10..e5c8147 100644 --- a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml +++ b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml @@ -1020,7 +1020,7 @@ items: assemblies: - Tiny Life namespace: TinyLife.Actions - summary: "\nChecks whether this instance is currently able to be executed. This method takes and into account.\nNote that this does not take into account the , , or any other requirements which are passed to , which can be validated using .\n" + summary: "\nChecks whether this instance is currently able to be executed. This method takes and into account.\nNote that this does not take into account the , , or any other requirements which are passed to , which can be validated using .\n" example: [] syntax: content: public CanExecuteResult CheckCanExecute(ActionInfo info, bool automatic) @@ -3125,20 +3125,24 @@ references: - name: . - uid: TinyLife.Actions.ActionType.TypeSettings name: TypeSettings -- uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - commentId: M:TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) +- uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + commentId: M:TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) isExternal: true href: https://learn.microsoft.com/dotnet/api/system.boolean - name: CanExecute(ActionInfo, bool) - nameWithType: ActionType.CanExecute(ActionInfo, bool) - fullName: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, bool) - nameWithType.vb: ActionType.CanExecute(ActionInfo, Boolean) - fullName.vb: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo, Boolean) - name.vb: CanExecute(ActionInfo, Boolean) + name: CanExecuteAction(ActionType, ActionInfo, bool) + nameWithType: Person.CanExecuteAction(ActionType, ActionInfo, bool) + fullName: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, bool) + nameWithType.vb: Person.CanExecuteAction(ActionType, ActionInfo, Boolean) + fullName.vb: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, Boolean) + name.vb: CanExecuteAction(ActionType, ActionInfo, Boolean) spec.csharp: - - uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - name: CanExecute + - uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + name: CanExecuteAction - name: ( + - uid: TinyLife.Actions.ActionType + name: ActionType + - name: ',' + - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ',' @@ -3149,9 +3153,13 @@ references: href: https://learn.microsoft.com/dotnet/api/system.boolean - name: ) spec.vb: - - uid: TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean) - name: CanExecute + - uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + name: CanExecuteAction - name: ( + - uid: TinyLife.Actions.ActionType + name: ActionType + - name: ',' + - name: " " - uid: TinyLife.Actions.ActionInfo name: ActionInfo - name: ',' diff --git a/docs/api/TinyLife.GameImpl.yml b/docs/api/TinyLife.GameImpl.yml index a77e7e9..848096e 100644 --- a/docs/api/TinyLife.GameImpl.yml +++ b/docs/api/TinyLife.GameImpl.yml @@ -812,7 +812,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Dispose path: ../TinyLife/GameImpl.cs - startLine: 603 + startLine: 602 assemblies: - Tiny Life namespace: TinyLife @@ -846,7 +846,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RotateCamera path: ../TinyLife/GameImpl.cs - startLine: 621 + startLine: 620 assemblies: - Tiny Life namespace: TinyLife @@ -881,7 +881,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsCursorOnUi path: ../TinyLife/GameImpl.cs - startLine: 637 + startLine: 636 assemblies: - Tiny Life namespace: TinyLife @@ -912,7 +912,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SwitchGameMode path: ../TinyLife/GameImpl.cs - startLine: 649 + startLine: 648 assemblies: - Tiny Life namespace: TinyLife @@ -944,7 +944,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanBeExtremelyFast path: ../TinyLife/GameImpl.cs - startLine: 738 + startLine: 737 assemblies: - Tiny Life namespace: TinyLife @@ -975,7 +975,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanSwitchGameModes path: ../TinyLife/GameImpl.cs - startLine: 749 + startLine: 748 assemblies: - Tiny Life namespace: TinyLife @@ -1006,7 +1006,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FadeKeyboardLighting path: ../TinyLife/GameImpl.cs - startLine: 764 + startLine: 763 assemblies: - Tiny Life namespace: TinyLife @@ -1038,7 +1038,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TakeScreenshot path: ../TinyLife/GameImpl.cs - startLine: 790 + startLine: 789 assemblies: - Tiny Life namespace: TinyLife @@ -1079,7 +1079,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkLotVisible path: ../TinyLife/GameImpl.cs - startLine: 818 + startLine: 817 assemblies: - Tiny Life namespace: TinyLife @@ -1111,7 +1111,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkLotNonVisible path: ../TinyLife/GameImpl.cs - startLine: 834 + startLine: 833 assemblies: - Tiny Life namespace: TinyLife @@ -1143,7 +1143,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsLotVisible path: ../TinyLife/GameImpl.cs - startLine: 845 + startLine: 844 assemblies: - Tiny Life namespace: TinyLife @@ -1178,7 +1178,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CompleteAchievement path: ../TinyLife/GameImpl.cs - startLine: 857 + startLine: 856 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.GameSpeed.yml b/docs/api/TinyLife.GameSpeed.yml index 760e08a..090d296 100644 --- a/docs/api/TinyLife.GameSpeed.yml +++ b/docs/api/TinyLife.GameSpeed.yml @@ -24,7 +24,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GameSpeed path: ../TinyLife/Options.cs - startLine: 543 + startLine: 548 assemblies: - Tiny Life namespace: TinyLife @@ -53,7 +53,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Paused path: ../TinyLife/Options.cs - startLine: 548 + startLine: 553 assemblies: - Tiny Life namespace: TinyLife @@ -81,7 +81,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Regular path: ../TinyLife/Options.cs - startLine: 552 + startLine: 557 assemblies: - Tiny Life namespace: TinyLife @@ -109,7 +109,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Fast path: ../TinyLife/Options.cs - startLine: 556 + startLine: 561 assemblies: - Tiny Life namespace: TinyLife @@ -137,7 +137,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VeryFast path: ../TinyLife/Options.cs - startLine: 560 + startLine: 565 assemblies: - Tiny Life namespace: TinyLife @@ -165,7 +165,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ExtremelyFast path: ../TinyLife/Options.cs - startLine: 565 + startLine: 570 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.Mods.Mod.yml b/docs/api/TinyLife.Mods.Mod.yml index 86011e6..4018dcd 100644 --- a/docs/api/TinyLife.Mods.Mod.yml +++ b/docs/api/TinyLife.Mods.Mod.yml @@ -845,6 +845,7 @@ references: fullName: MLEM.Data.Content.RawContentManager - uid: Microsoft.Xna.Framework.Content.ContentManager commentId: T:Microsoft.Xna.Framework.Content.ContentManager + parent: Microsoft.Xna.Framework.Content isExternal: true name: ContentManager nameWithType: ContentManager @@ -904,6 +905,44 @@ references: - uid: MLEM.Data.Content name: Content isExternal: true +- uid: Microsoft.Xna.Framework.Content + commentId: N:Microsoft.Xna.Framework.Content + isExternal: true + name: Microsoft.Xna.Framework.Content + nameWithType: Microsoft.Xna.Framework.Content + fullName: Microsoft.Xna.Framework.Content + spec.csharp: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Content + name: Content + isExternal: true + spec.vb: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Content + name: Content + isExternal: true - uid: ExtremelySimpleLogger commentId: N:ExtremelySimpleLogger isExternal: true diff --git a/docs/api/TinyLife.Objects.AgeGroup.yml b/docs/api/TinyLife.Objects.AgeGroup.yml index 56cdc5a..e010b73 100644 --- a/docs/api/TinyLife.Objects.AgeGroup.yml +++ b/docs/api/TinyLife.Objects.AgeGroup.yml @@ -22,7 +22,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AgeGroup path: ../TinyLife/Objects/Person.cs - startLine: 3188 + startLine: 3348 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -63,7 +63,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Baby path: ../TinyLife/Objects/Person.cs - startLine: 3195 + startLine: 3355 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -91,7 +91,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Child path: ../TinyLife/Objects/Person.cs - startLine: 3201 + startLine: 3361 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -119,7 +119,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Adult path: ../TinyLife/Objects/Person.cs - startLine: 3207 + startLine: 3367 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Clothes.yml b/docs/api/TinyLife.Objects.Clothes.yml index 915c0ad..4c87e2b 100644 --- a/docs/api/TinyLife.Objects.Clothes.yml +++ b/docs/api/TinyLife.Objects.Clothes.yml @@ -11,7 +11,8 @@ items: - TinyLife.Objects.Clothes.AreCompatible(TinyLife.Objects.Clothes,TinyLife.Objects.Clothes) - TinyLife.Objects.Clothes.Colors - TinyLife.Objects.Clothes.DepthFunction - - TinyLife.Objects.Clothes.GetClothes(TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup) + - TinyLife.Objects.Clothes.Description + - TinyLife.Objects.Clothes.GetDescription(TinyLife.Objects.Person) - TinyLife.Objects.Clothes.GetPrice - TinyLife.Objects.Clothes.Icon - TinyLife.Objects.Clothes.Intentions @@ -93,7 +94,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Types path: ../TinyLife/Objects/Clothes.cs - startLine: 29 + startLine: 30 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -122,7 +123,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Layers path: ../TinyLife/Objects/Clothes.cs - startLine: 33 + startLine: 34 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -151,7 +152,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AllIntentions path: ../TinyLife/Objects/Clothes.cs - startLine: 37 + startLine: 38 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -180,7 +181,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ReferencePrice path: ../TinyLife/Objects/Clothes.cs - startLine: 42 + startLine: 43 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -209,7 +210,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: ../TinyLife/Objects/Clothes.cs - startLine: 57 + startLine: 58 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -238,7 +239,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Layer path: ../TinyLife/Objects/Clothes.cs - startLine: 61 + startLine: 62 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -267,7 +268,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Textures path: ../TinyLife/Objects/Clothes.cs - startLine: 65 + startLine: 66 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -296,7 +297,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TextureRegion path: ../TinyLife/Objects/Clothes.cs - startLine: 69 + startLine: 70 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -325,7 +326,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Colors path: ../TinyLife/Objects/Clothes.cs - startLine: 73 + startLine: 74 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -354,7 +355,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Price path: ../TinyLife/Objects/Clothes.cs - startLine: 78 + startLine: 79 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -383,7 +384,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Intentions path: ../TinyLife/Objects/Clothes.cs - startLine: 82 + startLine: 83 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -412,7 +413,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Icon path: ../TinyLife/Objects/Clothes.cs - startLine: 87 + startLine: 88 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -443,7 +444,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NonBuyable path: ../TinyLife/Objects/Clothes.cs - startLine: 92 + startLine: 93 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -474,7 +475,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Ages path: ../TinyLife/Objects/Clothes.cs - startLine: 97 + startLine: 98 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -505,7 +506,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DepthFunction path: ../TinyLife/Objects/Clothes.cs - startLine: 102 + startLine: 103 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -536,7 +537,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TextureBehaviorLayer path: ../TinyLife/Objects/Clothes.cs - startLine: 107 + startLine: 108 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -567,7 +568,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RandomWeight path: ../TinyLife/Objects/Clothes.cs - startLine: 113 + startLine: 114 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -598,7 +599,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RandomColorWeight path: ../TinyLife/Objects/Clothes.cs - startLine: 118 + startLine: 119 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -629,7 +630,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsIncompatible path: ../TinyLife/Objects/Clothes.cs - startLine: 122 + startLine: 123 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -660,7 +661,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LayersToHide path: ../TinyLife/Objects/Clothes.cs - startLine: 127 + startLine: 128 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -673,6 +674,37 @@ items: type: TinyLife.Objects.ClothesLayer content.vb: Public Property LayersToHide As ClothesLayer overload: TinyLife.Objects.Clothes.LayersToHide* +- uid: TinyLife.Objects.Clothes.Description + commentId: P:TinyLife.Objects.Clothes.Description + id: Description + parent: TinyLife.Objects.Clothes + langs: + - csharp + - vb + name: Description + nameWithType: Clothes.Description + fullName: TinyLife.Objects.Clothes.Description + type: Property + source: + remote: + path: TinyLife/Objects/Clothes.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: Description + path: ../TinyLife/Objects/Clothes.cs + startLine: 132 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nA function that can optionally determine a set of additional text strings that are added to this clothes item's description in the . To do so, simply add to the passed .\n" + example: [] + syntax: + content: public Action> Description { get; init; } + parameters: [] + return: + type: System.Action{TinyLife.Objects.Clothes,TinyLife.Objects.Person,System.Collections.Generic.List{System.String}} + content.vb: Public Property Description As Action(Of Clothes, Person, List(Of String)) + overload: TinyLife.Objects.Clothes.Description* - uid: TinyLife.Objects.Clothes.SourceString commentId: P:TinyLife.Objects.Clothes.SourceString id: SourceString @@ -691,7 +723,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SourceString path: ../TinyLife/Objects/Clothes.cs - startLine: 129 + startLine: 134 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -724,7 +756,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Objects/Clothes.cs - startLine: 141 + startLine: 146 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -777,7 +809,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: ../TinyLife/Objects/Clothes.cs - startLine: 167 + startLine: 172 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -792,6 +824,41 @@ items: overload: TinyLife.Objects.Clothes.GetPrice* implements: - TinyLife.World.IPricedObject.GetPrice +- uid: TinyLife.Objects.Clothes.GetDescription(TinyLife.Objects.Person) + commentId: M:TinyLife.Objects.Clothes.GetDescription(TinyLife.Objects.Person) + id: GetDescription(TinyLife.Objects.Person) + parent: TinyLife.Objects.Clothes + langs: + - csharp + - vb + name: GetDescription(Person) + nameWithType: Clothes.GetDescription(Person) + fullName: TinyLife.Objects.Clothes.GetDescription(TinyLife.Objects.Person) + type: Method + source: + remote: + path: TinyLife/Objects/Clothes.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetDescription + path: ../TinyLife/Objects/Clothes.cs + startLine: 182 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nReturns this clothes item's description, which is displayed in the .\nThis method returns this clothes item's ' description, as well as any additional description info returned by .\n" + example: [] + syntax: + content: public IEnumerable GetDescription(Person person) + parameters: + - id: person + type: TinyLife.Objects.Person + description: The person who is wearing this clothing item, or null. + return: + type: System.Collections.Generic.IEnumerable{System.String} + description: This clothes item's description. + content.vb: Public Function GetDescription(person As Person) As IEnumerable(Of String) + overload: TinyLife.Objects.Clothes.GetDescription* - uid: TinyLife.Objects.Clothes.AreCompatible(TinyLife.Objects.Clothes,TinyLife.Objects.Clothes) commentId: M:TinyLife.Objects.Clothes.AreCompatible(TinyLife.Objects.Clothes,TinyLife.Objects.Clothes) id: AreCompatible(TinyLife.Objects.Clothes,TinyLife.Objects.Clothes) @@ -810,7 +877,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AreCompatible path: ../TinyLife/Objects/Clothes.cs - startLine: 177 + startLine: 194 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -848,7 +915,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/Objects/Clothes.cs - startLine: 185 + startLine: 202 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -862,44 +929,6 @@ items: description: The clothes to register content.vb: Public Shared Sub Register(clothes As Clothes) overload: TinyLife.Objects.Clothes.Register* -- uid: TinyLife.Objects.Clothes.GetClothes(TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup) - commentId: M:TinyLife.Objects.Clothes.GetClothes(TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup) - id: GetClothes(TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup) - parent: TinyLife.Objects.Clothes - langs: - - csharp - - vb - name: GetClothes(ClothesLayer, AgeGroup) - nameWithType: Clothes.GetClothes(ClothesLayer, AgeGroup) - fullName: TinyLife.Objects.Clothes.GetClothes(TinyLife.Objects.ClothesLayer, TinyLife.Objects.AgeGroup) - type: Method - source: - remote: - path: TinyLife/Objects/Clothes.cs - branch: main - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: GetClothes - path: ../TinyLife/Objects/Clothes.cs - startLine: 196 - assemblies: - - Tiny Life - namespace: TinyLife.Objects - summary: "\nReturns the clothes from the registry that match the given and optionally match the required \n" - example: [] - syntax: - content: public static IEnumerable GetClothes(ClothesLayer layer, AgeGroup age = (AgeGroup)0) - parameters: - - id: layer - type: TinyLife.Objects.ClothesLayer - description: The layer - - id: age - type: TinyLife.Objects.AgeGroup - description: The required ages, or 0 to allow all ages - return: - type: System.Collections.Generic.IEnumerable{TinyLife.Objects.Clothes} - description: The clothes that match - content.vb: Public Shared Function GetClothes(layer As ClothesLayer, age As AgeGroup = 0) As IEnumerable(Of Clothes) - overload: TinyLife.Objects.Clothes.GetClothes* references: - uid: TinyLife.Objects.Person commentId: T:TinyLife.Objects.Person @@ -2296,6 +2325,167 @@ references: name: LayersToHide nameWithType: Clothes.LayersToHide fullName: TinyLife.Objects.Clothes.LayersToHide +- uid: TinyLife.Uis.CharacterCreator + commentId: T:TinyLife.Uis.CharacterCreator + parent: TinyLife.Uis + name: CharacterCreator + nameWithType: CharacterCreator + fullName: TinyLife.Uis.CharacterCreator +- uid: System.Collections.Generic.List`1 + commentId: T:System.Collections.Generic.List`1 + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1 + name: List + nameWithType: List + fullName: System.Collections.Generic.List + nameWithType.vb: List(Of T) + fullName.vb: System.Collections.Generic.List(Of T) + name.vb: List(Of T) + spec.csharp: + - uid: System.Collections.Generic.List`1 + name: List + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1 + - name: < + - name: T + - name: '>' + spec.vb: + - uid: System.Collections.Generic.List`1 + name: List + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1 + - name: ( + - name: Of + - name: " " + - name: T + - name: ) +- uid: TinyLife.Objects.Clothes.Description* + commentId: Overload:TinyLife.Objects.Clothes.Description + name: Description + nameWithType: Clothes.Description + fullName: TinyLife.Objects.Clothes.Description +- uid: System.Action{TinyLife.Objects.Clothes,TinyLife.Objects.Person,System.Collections.Generic.List{System.String}} + commentId: T:System.Action{TinyLife.Objects.Clothes,TinyLife.Objects.Person,System.Collections.Generic.List{System.String}} + parent: System + definition: System.Action`3 + href: https://learn.microsoft.com/dotnet/api/system.action-3 + name: Action> + nameWithType: Action> + fullName: System.Action> + nameWithType.vb: Action(Of Clothes, Person, List(Of String)) + fullName.vb: System.Action(Of TinyLife.Objects.Clothes, TinyLife.Objects.Person, System.Collections.Generic.List(Of String)) + name.vb: Action(Of Clothes, Person, List(Of String)) + spec.csharp: + - uid: System.Action`3 + name: Action + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.action-3 + - name: < + - uid: TinyLife.Objects.Clothes + name: Clothes + - name: ',' + - name: " " + - uid: TinyLife.Objects.Person + name: Person + - name: ',' + - name: " " + - uid: System.Collections.Generic.List`1 + name: List + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1 + - name: < + - uid: System.String + name: string + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.string + - name: '>' + - name: '>' + spec.vb: + - uid: System.Action`3 + name: Action + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.action-3 + - name: ( + - name: Of + - name: " " + - uid: TinyLife.Objects.Clothes + name: Clothes + - name: ',' + - name: " " + - uid: TinyLife.Objects.Person + name: Person + - name: ',' + - name: " " + - uid: System.Collections.Generic.List`1 + name: List + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1 + - name: ( + - name: Of + - name: " " + - uid: System.String + name: String + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.string + - name: ) + - name: ) +- uid: TinyLife.Uis + commentId: N:TinyLife.Uis + name: TinyLife.Uis + nameWithType: TinyLife.Uis + fullName: TinyLife.Uis + spec.csharp: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.Uis + name: Uis + spec.vb: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.Uis + name: Uis +- uid: System.Action`3 + commentId: T:System.Action`3 + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.action-3 + name: Action + nameWithType: Action + fullName: System.Action + nameWithType.vb: Action(Of T1, T2, T3) + fullName.vb: System.Action(Of T1, T2, T3) + name.vb: Action(Of T1, T2, T3) + spec.csharp: + - uid: System.Action`3 + name: Action + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.action-3 + - name: < + - name: T1 + - name: ',' + - name: " " + - name: T2 + - name: ',' + - name: " " + - name: T3 + - name: '>' + spec.vb: + - uid: System.Action`3 + name: Action + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.action-3 + - name: ( + - name: Of + - name: " " + - name: T1 + - name: ',' + - name: " " + - name: T2 + - name: ',' + - name: " " + - name: T3 + - name: ) - uid: TinyLife.Objects.Clothes.SourceString* commentId: Overload:TinyLife.Objects.Clothes.SourceString name: SourceString @@ -2336,50 +2526,37 @@ references: name: GetPrice - name: ( - name: ) -- uid: TinyLife.Objects.Clothes.IsIncompatible - commentId: P:TinyLife.Objects.Clothes.IsIncompatible - name: IsIncompatible - nameWithType: Clothes.IsIncompatible - fullName: TinyLife.Objects.Clothes.IsIncompatible -- uid: TinyLife.Objects.Clothes.AreCompatible* - commentId: Overload:TinyLife.Objects.Clothes.AreCompatible - name: AreCompatible - nameWithType: Clothes.AreCompatible - fullName: TinyLife.Objects.Clothes.AreCompatible -- uid: TinyLife.Objects.Clothes.Register* - commentId: Overload:TinyLife.Objects.Clothes.Register - name: Register - nameWithType: Clothes.Register - fullName: TinyLife.Objects.Clothes.Register -- uid: TinyLife.Objects.Clothes.Ages - commentId: P:TinyLife.Objects.Clothes.Ages - name: Ages - nameWithType: Clothes.Ages - fullName: TinyLife.Objects.Clothes.Ages -- uid: TinyLife.Objects.Clothes.GetClothes* - commentId: Overload:TinyLife.Objects.Clothes.GetClothes - name: GetClothes - nameWithType: Clothes.GetClothes - fullName: TinyLife.Objects.Clothes.GetClothes -- uid: System.Collections.Generic.IEnumerable{TinyLife.Objects.Clothes} - commentId: T:System.Collections.Generic.IEnumerable{TinyLife.Objects.Clothes} +- uid: TinyLife.Objects.Clothes.Description + commentId: P:TinyLife.Objects.Clothes.Description + name: Description + nameWithType: Clothes.Description + fullName: TinyLife.Objects.Clothes.Description +- uid: TinyLife.Objects.Clothes.GetDescription* + commentId: Overload:TinyLife.Objects.Clothes.GetDescription + name: GetDescription + nameWithType: Clothes.GetDescription + fullName: TinyLife.Objects.Clothes.GetDescription +- uid: System.Collections.Generic.IEnumerable{System.String} + commentId: T:System.Collections.Generic.IEnumerable{System.String} parent: System.Collections.Generic definition: System.Collections.Generic.IEnumerable`1 href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1 - name: IEnumerable - nameWithType: IEnumerable - fullName: System.Collections.Generic.IEnumerable - nameWithType.vb: IEnumerable(Of Clothes) - fullName.vb: System.Collections.Generic.IEnumerable(Of TinyLife.Objects.Clothes) - name.vb: IEnumerable(Of Clothes) + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + nameWithType.vb: IEnumerable(Of String) + fullName.vb: System.Collections.Generic.IEnumerable(Of String) + name.vb: IEnumerable(Of String) spec.csharp: - uid: System.Collections.Generic.IEnumerable`1 name: IEnumerable isExternal: true href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1 - name: < - - uid: TinyLife.Objects.Clothes - name: Clothes + - uid: System.String + name: string + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.string - name: '>' spec.vb: - uid: System.Collections.Generic.IEnumerable`1 @@ -2389,8 +2566,10 @@ references: - name: ( - name: Of - name: " " - - uid: TinyLife.Objects.Clothes - name: Clothes + - uid: System.String + name: String + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.string - name: ) - uid: System.Collections.Generic.IEnumerable`1 commentId: T:System.Collections.Generic.IEnumerable`1 @@ -2420,3 +2599,18 @@ references: - name: " " - name: T - name: ) +- uid: TinyLife.Objects.Clothes.IsIncompatible + commentId: P:TinyLife.Objects.Clothes.IsIncompatible + name: IsIncompatible + nameWithType: Clothes.IsIncompatible + fullName: TinyLife.Objects.Clothes.IsIncompatible +- uid: TinyLife.Objects.Clothes.AreCompatible* + commentId: Overload:TinyLife.Objects.Clothes.AreCompatible + name: AreCompatible + nameWithType: Clothes.AreCompatible + fullName: TinyLife.Objects.Clothes.AreCompatible +- uid: TinyLife.Objects.Clothes.Register* + commentId: Overload:TinyLife.Objects.Clothes.Register + name: Register + nameWithType: Clothes.Register + fullName: TinyLife.Objects.Clothes.Register diff --git a/docs/api/TinyLife.Objects.ClothesIntention.yml b/docs/api/TinyLife.Objects.ClothesIntention.yml index 8997644..6e3cc0f 100644 --- a/docs/api/TinyLife.Objects.ClothesIntention.yml +++ b/docs/api/TinyLife.Objects.ClothesIntention.yml @@ -30,7 +30,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ClothesIntention path: ../TinyLife/Objects/Clothes.cs - startLine: 460 + startLine: 464 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -71,7 +71,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: None path: ../TinyLife/Objects/Clothes.cs - startLine: 464 + startLine: 468 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -97,7 +97,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Everyday path: ../TinyLife/Objects/Clothes.cs - startLine: 465 + startLine: 469 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -123,7 +123,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Party path: ../TinyLife/Objects/Clothes.cs - startLine: 466 + startLine: 470 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -149,7 +149,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Formal path: ../TinyLife/Objects/Clothes.cs - startLine: 467 + startLine: 471 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -175,7 +175,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Workout path: ../TinyLife/Objects/Clothes.cs - startLine: 468 + startLine: 472 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -201,7 +201,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Swimwear path: ../TinyLife/Objects/Clothes.cs - startLine: 469 + startLine: 473 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -227,7 +227,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sleep path: ../TinyLife/Objects/Clothes.cs - startLine: 470 + startLine: 474 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -253,7 +253,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Summer path: ../TinyLife/Objects/Clothes.cs - startLine: 471 + startLine: 475 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -279,7 +279,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Winter path: ../TinyLife/Objects/Clothes.cs - startLine: 472 + startLine: 476 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -305,7 +305,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Work path: ../TinyLife/Objects/Clothes.cs - startLine: 473 + startLine: 477 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -331,7 +331,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Safety path: ../TinyLife/Objects/Clothes.cs - startLine: 474 + startLine: 478 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.ClothesLayer.yml b/docs/api/TinyLife.Objects.ClothesLayer.yml index aa3562b..ac5ab05 100644 --- a/docs/api/TinyLife.Objects.ClothesLayer.yml +++ b/docs/api/TinyLife.Objects.ClothesLayer.yml @@ -31,7 +31,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ClothesLayer path: ../TinyLife/Objects/Clothes.cs - startLine: 401 + startLine: 405 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -73,7 +73,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Body path: ../TinyLife/Objects/Clothes.cs - startLine: 407 + startLine: 411 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -101,7 +101,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Eyes path: ../TinyLife/Objects/Clothes.cs - startLine: 411 + startLine: 415 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -129,7 +129,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Pants path: ../TinyLife/Objects/Clothes.cs - startLine: 415 + startLine: 419 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -157,7 +157,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Arms path: ../TinyLife/Objects/Clothes.cs - startLine: 419 + startLine: 423 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -185,7 +185,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Shirt path: ../TinyLife/Objects/Clothes.cs - startLine: 423 + startLine: 427 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -213,7 +213,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Accessories path: ../TinyLife/Objects/Clothes.cs - startLine: 427 + startLine: 431 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -241,7 +241,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FacialHair path: ../TinyLife/Objects/Clothes.cs - startLine: 431 + startLine: 435 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -269,7 +269,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Hair path: ../TinyLife/Objects/Clothes.cs - startLine: 435 + startLine: 439 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -297,7 +297,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HeadAccessories path: ../TinyLife/Objects/Clothes.cs - startLine: 439 + startLine: 443 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -325,7 +325,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FaceAccessories path: ../TinyLife/Objects/Clothes.cs - startLine: 443 + startLine: 447 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -353,7 +353,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ArmAccessories path: ../TinyLife/Objects/Clothes.cs - startLine: 448 + startLine: 452 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -381,7 +381,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Shoes path: ../TinyLife/Objects/Clothes.cs - startLine: 452 + startLine: 456 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.DeathReason.yml b/docs/api/TinyLife.Objects.DeathReason.yml index a63bdfe..89ac324 100644 --- a/docs/api/TinyLife.Objects.DeathReason.yml +++ b/docs/api/TinyLife.Objects.DeathReason.yml @@ -23,7 +23,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DeathReason path: ../TinyLife/Objects/Person.cs - startLine: 3160 + startLine: 3320 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -52,7 +52,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Starvation path: ../TinyLife/Objects/Person.cs - startLine: 3166 + startLine: 3326 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -80,7 +80,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: InexplicableReasons path: ../TinyLife/Objects/Person.cs - startLine: 3171 + startLine: 3331 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -108,7 +108,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Electrocution path: ../TinyLife/Objects/Person.cs - startLine: 3176 + startLine: 3336 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -136,7 +136,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TooMuchProtein path: ../TinyLife/Objects/Person.cs - startLine: 3180 + startLine: 3340 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.LifeSpan.yml b/docs/api/TinyLife.Objects.LifeSpan.yml index 87b1241..78b3109 100644 --- a/docs/api/TinyLife.Objects.LifeSpan.yml +++ b/docs/api/TinyLife.Objects.LifeSpan.yml @@ -25,7 +25,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LifeSpan path: ../TinyLife/Objects/Person.cs - startLine: 3215 + startLine: 3375 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -56,7 +56,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VeryShort path: ../TinyLife/Objects/Person.cs - startLine: 3218 + startLine: 3378 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -82,7 +82,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Short path: ../TinyLife/Objects/Person.cs - startLine: 3219 + startLine: 3379 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -108,7 +108,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Normal path: ../TinyLife/Objects/Person.cs - startLine: 3220 + startLine: 3380 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -134,7 +134,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Long path: ../TinyLife/Objects/Person.cs - startLine: 3221 + startLine: 3381 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -160,7 +160,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VeryLong path: ../TinyLife/Objects/Person.cs - startLine: 3222 + startLine: 3382 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -186,7 +186,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Infinite path: ../TinyLife/Objects/Person.cs - startLine: 3223 + startLine: 3383 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Outfit.yml b/docs/api/TinyLife.Objects.Outfit.yml index 1d490b6..0c631d9 100644 --- a/docs/api/TinyLife.Objects.Outfit.yml +++ b/docs/api/TinyLife.Objects.Outfit.yml @@ -10,7 +10,7 @@ items: - TinyLife.Objects.Outfit.EnsureIntentionsMatch(System.Int32) - TinyLife.Objects.Outfit.GetIntentionPercentage(TinyLife.Objects.ClothesIntention) - TinyLife.Objects.Outfit.Intentions - - TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random,TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean}) + - TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random,TinyLife.Objects.Person,TinyLife.Objects.ClothesLayer,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean}) langs: - csharp - vb @@ -25,7 +25,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Outfit path: ../TinyLife/Objects/Clothes.cs - startLine: 281 + startLine: 285 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -74,7 +74,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Clothes path: ../TinyLife/Objects/Clothes.cs - startLine: 289 + startLine: 293 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -113,7 +113,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Intentions path: ../TinyLife/Objects/Clothes.cs - startLine: 295 + startLine: 299 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -152,7 +152,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Objects/Clothes.cs - startLine: 301 + startLine: 305 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -187,7 +187,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetIntentionPercentage path: ../TinyLife/Objects/Clothes.cs - startLine: 311 + startLine: 315 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -222,7 +222,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EnsureIntentionsMatch path: ../TinyLife/Objects/Clothes.cs - startLine: 329 + startLine: 333 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -239,16 +239,16 @@ items: nameWithType.vb: Outfit.EnsureIntentionsMatch(Integer) fullName.vb: TinyLife.Objects.Outfit.EnsureIntentionsMatch(Integer) name.vb: EnsureIntentionsMatch(Integer) -- uid: TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random,TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean}) - commentId: M:TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random,TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean}) - id: SetRandomClothesItem(System.Random,TinyLife.Objects.ClothesLayer,TinyLife.Objects.AgeGroup,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean}) +- uid: TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random,TinyLife.Objects.Person,TinyLife.Objects.ClothesLayer,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean}) + commentId: M:TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random,TinyLife.Objects.Person,TinyLife.Objects.ClothesLayer,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean}) + id: SetRandomClothesItem(System.Random,TinyLife.Objects.Person,TinyLife.Objects.ClothesLayer,TinyLife.Objects.ClothesIntention,System.Boolean,System.Int32,System.Func{TinyLife.Objects.Clothes,System.Boolean}) parent: TinyLife.Objects.Outfit langs: - csharp - vb - name: SetRandomClothesItem(Random, ClothesLayer, AgeGroup, ClothesIntention, bool, int, Func) - nameWithType: Outfit.SetRandomClothesItem(Random, ClothesLayer, AgeGroup, ClothesIntention, bool, int, Func) - fullName: TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random, TinyLife.Objects.ClothesLayer, TinyLife.Objects.AgeGroup, TinyLife.Objects.ClothesIntention, bool, int, System.Func) + name: SetRandomClothesItem(Random, Person, ClothesLayer, ClothesIntention, bool, int, Func) + nameWithType: Outfit.SetRandomClothesItem(Random, Person, ClothesLayer, ClothesIntention, bool, int, Func) + fullName: TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random, TinyLife.Objects.Person, TinyLife.Objects.ClothesLayer, TinyLife.Objects.ClothesIntention, bool, int, System.Func) type: Method source: remote: @@ -257,24 +257,24 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetRandomClothesItem path: ../TinyLife/Objects/Clothes.cs - startLine: 350 + startLine: 354 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets a random clothes item for this outfit's given .\n" example: [] syntax: - content: public void SetRandomClothesItem(Random random, ClothesLayer layer, AgeGroup age, ClothesIntention allowedIntentions = ClothesIntention.None, bool keepOldColors = false, int maxPrice = 50, Func additionalConditions = null) + content: public void SetRandomClothesItem(Random random, Person person, ClothesLayer layer, ClothesIntention allowedIntentions = ClothesIntention.None, bool keepOldColors = false, int maxPrice = 50, Func additionalConditions = null) parameters: - id: random type: System.Random description: The random to use. + - id: person + type: TinyLife.Objects.Person + description: The person. - id: layer type: TinyLife.Objects.ClothesLayer description: The layer to set the clothes item for. - - id: age - type: TinyLife.Objects.AgeGroup - description: The ages that clothes items should be generated for. - id: allowedIntentions type: TinyLife.Objects.ClothesIntention description: The intentions allowed, or to allow all intentions. @@ -287,11 +287,11 @@ items: - id: additionalConditions type: System.Func{TinyLife.Objects.Clothes,System.Boolean} description: An optional set of additional conditions to check for when selecting clothing items. - content.vb: Public Sub SetRandomClothesItem(random As Random, layer As ClothesLayer, age As AgeGroup, allowedIntentions As ClothesIntention = ClothesIntention.None, keepOldColors As Boolean = False, maxPrice As Integer = 50, additionalConditions As Func(Of Clothes, Boolean) = Nothing) + content.vb: Public Sub SetRandomClothesItem(random As Random, person As Person, layer As ClothesLayer, allowedIntentions As ClothesIntention = ClothesIntention.None, keepOldColors As Boolean = False, maxPrice As Integer = 50, additionalConditions As Func(Of Clothes, Boolean) = Nothing) overload: TinyLife.Objects.Outfit.SetRandomClothesItem* - nameWithType.vb: Outfit.SetRandomClothesItem(Random, ClothesLayer, AgeGroup, ClothesIntention, Boolean, Integer, Func(Of Clothes, Boolean)) - fullName.vb: TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random, TinyLife.Objects.ClothesLayer, TinyLife.Objects.AgeGroup, TinyLife.Objects.ClothesIntention, Boolean, Integer, System.Func(Of TinyLife.Objects.Clothes, Boolean)) - name.vb: SetRandomClothesItem(Random, ClothesLayer, AgeGroup, ClothesIntention, Boolean, Integer, Func(Of Clothes, Boolean)) + nameWithType.vb: Outfit.SetRandomClothesItem(Random, Person, ClothesLayer, ClothesIntention, Boolean, Integer, Func(Of Clothes, Boolean)) + fullName.vb: TinyLife.Objects.Outfit.SetRandomClothesItem(System.Random, TinyLife.Objects.Person, TinyLife.Objects.ClothesLayer, TinyLife.Objects.ClothesIntention, Boolean, Integer, System.Func(Of TinyLife.Objects.Clothes, Boolean)) + name.vb: SetRandomClothesItem(Random, Person, ClothesLayer, ClothesIntention, Boolean, Integer, Func(Of Clothes, Boolean)) references: - uid: TinyLife.Objects.WornClothes commentId: T:TinyLife.Objects.WornClothes @@ -874,12 +874,6 @@ references: name: Random nameWithType: Random fullName: System.Random -- uid: TinyLife.Objects.AgeGroup - commentId: T:TinyLife.Objects.AgeGroup - parent: TinyLife.Objects - name: AgeGroup - nameWithType: AgeGroup - fullName: TinyLife.Objects.AgeGroup - uid: System.Boolean commentId: T:System.Boolean parent: System diff --git a/docs/api/TinyLife.Objects.Person.ActionUpdateDelegate.yml b/docs/api/TinyLife.Objects.Person.ActionUpdateDelegate.yml index 570ab01..e34b52d 100644 --- a/docs/api/TinyLife.Objects.Person.ActionUpdateDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.ActionUpdateDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ActionUpdateDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3065 + startLine: 3225 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml b/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml index 20a660b..7eda6cd 100644 --- a/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.EfficiencyModifierDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EfficiencyModifierDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3050 + startLine: 3210 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml b/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml index d2ade4a..cc3e831 100644 --- a/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.EmotionModifiersChangedDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EmotionModifiersChangedDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3075 + startLine: 3235 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml b/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml index 493fe0d..eaaaeab 100644 --- a/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.PassiveActionPriorityDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PassiveActionPriorityDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3060 + startLine: 3220 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml b/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml index d1702e3..1d671b3 100644 --- a/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.RelationshipChangeDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RelationshipChangeDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3080 + startLine: 3240 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml b/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml index ba29331..402fa97 100644 --- a/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.RestoreNeedDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RestoreNeedDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3070 + startLine: 3230 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml b/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml index 434e1c7..dfa2904 100644 --- a/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml +++ b/docs/api/TinyLife.Objects.Person.WalkSpeedDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WalkSpeedDelegate path: ../TinyLife/Objects/Person.cs - startLine: 3055 + startLine: 3215 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.Person.yml b/docs/api/TinyLife.Objects.Person.yml index 09a5f7f..c0d9383 100644 --- a/docs/api/TinyLife.Objects.Person.yml +++ b/docs/api/TinyLife.Objects.Person.yml @@ -5,6 +5,7 @@ items: id: Person parent: TinyLife.Objects children: + - TinyLife.Objects.Person.#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2) - TinyLife.Objects.Person.ActionQueue - TinyLife.Objects.Person.AddEmotion(TinyLife.Emotions.EmotionModifier,System.Int32,System.TimeSpan,TinyLife.Emotions.IEmotionSource,System.Boolean) - TinyLife.Objects.Person.AddMemory``1(TinyLife.Goals.MemoryType,TinyLife.Actions.ActionInfo,System.Boolean,System.Nullable{System.TimeSpan}) @@ -13,7 +14,9 @@ items: - TinyLife.Objects.Person.AllActions - TinyLife.Objects.Person.AnimateHeldObject - TinyLife.Objects.Person.AnimationSpeed + - TinyLife.Objects.Person.CanApplyPersonality(TinyLife.PersonalityType) - TinyLife.Objects.Person.CancelAction(TinyLife.Actions.Action,TinyLife.Actions.Action,System.Boolean) + - TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) - TinyLife.Objects.Person.ChangeFriendship(TinyLife.Objects.Person,System.Single) - TinyLife.Objects.Person.ChangeRomance(TinyLife.Objects.Person,System.Single) - TinyLife.Objects.Person.Create(TinyLife.World.Map,System.Random,TinyLife.Objects.AgeGroup,System.Boolean,System.Boolean,System.Boolean,System.Boolean,TinyLife.Objects.Person[]) @@ -26,6 +29,7 @@ items: - TinyLife.Objects.Person.CurrentRoomDecorativeRating - TinyLife.Objects.Person.CurrentSpeakStyle - TinyLife.Objects.Person.DaysLived + - TinyLife.Objects.Person.DefaultWalkSpeed - TinyLife.Objects.Person.DepleteNeed(TinyLife.NeedType,System.Single,System.Single) - TinyLife.Objects.Person.Description - TinyLife.Objects.Person.DiaperDirty @@ -33,6 +37,7 @@ items: - TinyLife.Objects.Person.DisplayEmote(TinyLife.Actions.EmoteCategory,System.Single,System.Single) - TinyLife.Objects.Person.DisplayEmoteAndSpeak(TinyLife.Actions.EmoteCategory,TinyLife.Objects.SpeakStyle,System.Single,System.Single) - TinyLife.Objects.Person.Draw(Microsoft.Xna.Framework.GameTime,System.Object,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},System.Collections.Generic.List{MLEM.Graphics.StaticSpriteBatch.Item}) + - TinyLife.Objects.Person.DrawLooks(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,TinyLife.Objects.ParentInfo,System.Nullable{Microsoft.Xna.Framework.Color},System.Single) - TinyLife.Objects.Person.DrawSize - TinyLife.Objects.Person.DrawUi(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Single,MLEM.Misc.Direction2) - TinyLife.Objects.Person.EarnMoney(System.Single,System.Object) @@ -47,6 +52,7 @@ items: - TinyLife.Objects.Person.FullName - TinyLife.Objects.Person.FullNamePronouns - TinyLife.Objects.Person.GainSkill(TinyLife.Skills.SkillType,System.Single,TinyLife.Actions.ActionInfo,System.Single) + - TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point) - TinyLife.Objects.Person.GetAction``1(System.Guid,System.Boolean) - TinyLife.Objects.Person.GetCategories(TinyLife.Objects.Person) - TinyLife.Objects.Person.GetCurrentGoals @@ -54,6 +60,8 @@ items: - TinyLife.Objects.Person.GetFreeActionSpotInfo(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory) - TinyLife.Objects.Person.GetFreeTalkingSpots(TinyLife.Objects.Person) - TinyLife.Objects.Person.GetHeldActionInfo + - TinyLife.Objects.Person.GetHeldItemDepthOffset + - TinyLife.Objects.Person.GetHeldItemDrawOffset(System.Boolean) - TinyLife.Objects.Person.GetHeldObject``1(System.Boolean) - TinyLife.Objects.Person.GetHomeLocation - TinyLife.Objects.Person.GetHoverInfo(MLEM.Ui.Elements.Tooltip) @@ -62,6 +70,7 @@ items: - TinyLife.Objects.Person.GetNeedPercentage(TinyLife.NeedType) - TinyLife.Objects.Person.GetPassiveActionPriority(TinyLife.Actions.ActionType) - TinyLife.Objects.Person.GetPersonalitySkillBoost(TinyLife.Skills.SkillType) + - TinyLife.Objects.Person.GetPivot - TinyLife.Objects.Person.GetProject(System.String,System.String) - TinyLife.Objects.Person.GetProjects(System.String) - TinyLife.Objects.Person.GetRandomOutfit(TinyLife.Objects.ClothesIntention) @@ -73,8 +82,10 @@ items: - TinyLife.Objects.Person.GetSkillTotalPercentage(TinyLife.Skills.SkillType) - TinyLife.Objects.Person.GetTimeSinceMemory``1(TinyLife.Goals.MemoryType,System.Func{``0,System.Boolean}) - TinyLife.Objects.Person.GetTimeSinceMemory``1(TinyLife.Goals.MemoryType[]) + - TinyLife.Objects.Person.GetValidClothes(TinyLife.Objects.ClothesLayer) - TinyLife.Objects.Person.GetWalkSpeed - TinyLife.Objects.Person.GoToExitRoad + - TinyLife.Objects.Person.GoToRandomHomeLocation - TinyLife.Objects.Person.HasEmotionModifier(TinyLife.Emotions.EmotionModifier) - TinyLife.Objects.Person.HasHouseholdMember(System.Guid) - TinyLife.Objects.Person.HasHouseholdMember(TinyLife.Objects.Person) @@ -83,6 +94,8 @@ items: - TinyLife.Objects.Person.HeldObjectRotation - TinyLife.Objects.Person.HomeLot - TinyLife.Objects.Person.Household + - TinyLife.Objects.Person.ImportAtExitRoad(TinyLife.World.Map) + - TinyLife.Objects.Person.InitializeAction(TinyLife.Actions.Action) - TinyLife.Objects.Person.Intersects(MLEM.Misc.RectangleF) - TinyLife.Objects.Person.IsAllowedToDie - TinyLife.Objects.Person.IsCloseForTalking(Microsoft.Xna.Framework.Vector2) @@ -113,10 +126,12 @@ items: - TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2},System.Boolean) - TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2},System.Boolean) - TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2},System.Boolean) + - TinyLife.Objects.Person.OnActionCompleted(TinyLife.Actions.Action,TinyLife.Actions.CompletionType) - TinyLife.Objects.Person.OnActionInitialized - TinyLife.Objects.Person.OnActionsChanged - TinyLife.Objects.Person.OnActionsCompleted - TinyLife.Objects.Person.OnActionUpdated + - TinyLife.Objects.Person.OnAgeChanged(TinyLife.Objects.AgeGroup) - TinyLife.Objects.Person.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2) - TinyLife.Objects.Person.OnChangeFriendship - TinyLife.Objects.Person.OnChangeRomance @@ -151,6 +166,7 @@ items: - TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Actions.ActionInfo,System.Single) - TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Actions.ActionInfo,TinyLife.Skills.SkillType,System.Single) - TinyLife.Objects.Person.Rotation + - TinyLife.Objects.Person.SetAnimationsFromLooks - TinyLife.Objects.Person.SetCurrentOutfit(System.Int32) - TinyLife.Objects.Person.SetCurrentOutfit(TinyLife.Objects.ClothesIntention) - TinyLife.Objects.Person.SetHeldObject(TinyLife.Objects.MapObject,System.Boolean) @@ -158,6 +174,7 @@ items: - TinyLife.Objects.Person.SetJob(TinyLife.Goals.JobType,System.Int32) - TinyLife.Objects.Person.SetNewId(TinyLife.World.Map,System.Collections.Generic.IEnumerable{TinyLife.Objects.Person},System.Collections.Generic.IEnumerable{TinyLife.Objects.Furniture}) - TinyLife.Objects.Person.SetPregnancyStatus(System.Int32,System.Guid,System.Boolean) + - TinyLife.Objects.Person.ShouldDrawHeldItem - TinyLife.Objects.Person.Skills - TinyLife.Objects.Person.Speak(TinyLife.Objects.SpeakStyle,System.Single,System.Single) - TinyLife.Objects.Person.SpeakSounds @@ -168,7 +185,10 @@ items: - TinyLife.Objects.Person.Tint - TinyLife.Objects.Person.ToCreatedByString - TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) + - TinyLife.Objects.Person.UpdateAction(TinyLife.Actions.Action,Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single,System.Collections.Generic.IEnumerable{TinyLife.Goals.IGoalTriggerable}) + - TinyLife.Objects.Person.UpdateAnimations(System.TimeSpan,System.Single) - TinyLife.Objects.Person.Validate + - TinyLife.Objects.Person.ValidateClothes - TinyLife.Objects.Person.VisitLot(TinyLife.World.Lot) - TinyLife.Objects.Person.VisuallyOccupiedSpot - TinyLife.Objects.Person.VisualPosition @@ -281,6 +301,35 @@ items: return: type: System.Int32 content.vb: Public Const MaxRecentActionsAmount As Integer = 200 +- uid: TinyLife.Objects.Person.DefaultWalkSpeed + commentId: F:TinyLife.Objects.Person.DefaultWalkSpeed + id: DefaultWalkSpeed + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: DefaultWalkSpeed + nameWithType: Person.DefaultWalkSpeed + fullName: TinyLife.Objects.Person.DefaultWalkSpeed + type: Field + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: DefaultWalkSpeed + path: ../TinyLife/Objects/Person.cs + startLine: 54 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nThe default walk speed for a person, which is used in , and additionally determines a person's animation speed.\n" + example: [] + syntax: + content: public const float DefaultWalkSpeed = 0.05 + return: + type: System.Single + content.vb: Public Const DefaultWalkSpeed As Single = 0.05 - uid: TinyLife.Objects.Person.AgeGroups commentId: F:TinyLife.Objects.Person.AgeGroups id: AgeGroups @@ -299,7 +348,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AgeGroups path: ../TinyLife/Objects/Person.cs - startLine: 56 + startLine: 59 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -328,7 +377,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakSounds path: ../TinyLife/Objects/Person.cs - startLine: 60 + startLine: 63 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -357,7 +406,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakStyles path: ../TinyLife/Objects/Person.cs - startLine: 64 + startLine: 67 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -386,7 +435,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VoiceStyles path: ../TinyLife/Objects/Person.cs - startLine: 68 + startLine: 71 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -415,7 +464,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawSize path: ../TinyLife/Objects/Person.cs - startLine: 73 + startLine: 76 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -446,7 +495,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ParentInfo path: ../TinyLife/Objects/Person.cs - startLine: 91 + startLine: 94 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -478,7 +527,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentActions path: ../TinyLife/Objects/Person.cs - startLine: 105 + startLine: 108 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -517,7 +566,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ActionQueue path: ../TinyLife/Objects/Person.cs - startLine: 112 + startLine: 115 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -556,7 +605,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AllActions path: ../TinyLife/Objects/Person.cs - startLine: 116 + startLine: 119 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -587,7 +636,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Needs path: ../TinyLife/Objects/Person.cs - startLine: 122 + startLine: 125 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -626,7 +675,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Skills path: ../TinyLife/Objects/Person.cs - startLine: 128 + startLine: 131 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -665,7 +714,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Relationships path: ../TinyLife/Objects/Person.cs - startLine: 134 + startLine: 137 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -704,7 +753,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Outfits path: ../TinyLife/Objects/Person.cs - startLine: 140 + startLine: 143 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -747,7 +796,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PersonalityTypes path: ../TinyLife/Objects/Person.cs - startLine: 146 + startLine: 149 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -786,7 +835,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EmotionModifiers path: ../TinyLife/Objects/Person.cs - startLine: 152 + startLine: 155 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -825,7 +874,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Projects path: ../TinyLife/Objects/Person.cs - startLine: 158 + startLine: 161 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -864,7 +913,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RecentActions path: ../TinyLife/Objects/Person.cs - startLine: 165 + startLine: 168 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -903,7 +952,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Memories path: ../TinyLife/Objects/Person.cs - startLine: 171 + startLine: 174 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -942,7 +991,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FirstName path: ../TinyLife/Objects/Person.cs - startLine: 177 + startLine: 180 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -981,7 +1030,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LastName path: ../TinyLife/Objects/Person.cs - startLine: 182 + startLine: 185 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1020,7 +1069,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Pronouns path: ../TinyLife/Objects/Person.cs - startLine: 187 + startLine: 190 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1059,7 +1108,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FullName path: ../TinyLife/Objects/Person.cs - startLine: 191 + startLine: 194 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1090,7 +1139,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FullNamePronouns path: ../TinyLife/Objects/Person.cs - startLine: 195 + startLine: 198 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1121,7 +1170,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VoiceStyle path: ../TinyLife/Objects/Person.cs - startLine: 209 + startLine: 212 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1160,7 +1209,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VoicePitch path: ../TinyLife/Objects/Person.cs - startLine: 215 + startLine: 218 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1199,7 +1248,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Rotation path: ../TinyLife/Objects/Person.cs - startLine: 219 + startLine: 222 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1230,7 +1279,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Household path: ../TinyLife/Objects/Person.cs - startLine: 230 + startLine: 233 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1261,14 +1310,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentEmote path: ../TinyLife/Objects/Person.cs - startLine: 235 + startLine: 238 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nThe that this person is currently displaying.\nUse to modify this property.\n" example: [] syntax: - content: public Emote CurrentEmote { get; } + content: public Emote CurrentEmote { get; protected set; } parameters: [] return: type: TinyLife.Actions.Emote @@ -1292,14 +1341,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentSpeakStyle path: ../TinyLife/Objects/Person.cs - startLine: 240 + startLine: 243 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nThe current speak styles that speaking sounds are chosen from.\nUse to modify this property.\n" example: [] syntax: - content: public SpeakStyle? CurrentSpeakStyle { get; } + content: public SpeakStyle? CurrentSpeakStyle { get; protected set; } parameters: [] return: type: System.Nullable{TinyLife.Objects.SpeakStyle} @@ -1323,7 +1372,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LastVisitedLot path: ../TinyLife/Objects/Person.cs - startLine: 246 + startLine: 249 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1354,7 +1403,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LotVisitCooldown path: ../TinyLife/Objects/Person.cs - startLine: 251 + startLine: 254 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1364,7 +1413,7 @@ items: content: >- [DataMember(EmitDefaultValue = false)] - public TimeSpan LotVisitCooldown { get; } + public TimeSpan LotVisitCooldown { get; protected set; } parameters: [] return: type: System.TimeSpan @@ -1399,7 +1448,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Job path: ../TinyLife/Objects/Person.cs - startLine: 257 + startLine: 260 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1409,7 +1458,7 @@ items: content: >- [DataMember] - public Job Job { get; } + public Job Job { get; protected set; } parameters: [] return: type: TinyLife.Goals.Job @@ -1440,7 +1489,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Emotion path: ../TinyLife/Objects/Person.cs - startLine: 262 + startLine: 265 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1471,7 +1520,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EmotionAmount path: ../TinyLife/Objects/Person.cs - startLine: 272 + startLine: 275 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1502,7 +1551,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentRoomDecorativeRating path: ../TinyLife/Objects/Person.cs - startLine: 282 + startLine: 285 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1533,7 +1582,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LastBedSleptIn path: ../TinyLife/Objects/Person.cs - startLine: 287 + startLine: 290 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1576,14 +1625,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsMoving path: ../TinyLife/Objects/Person.cs - startLine: 292 + startLine: 295 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nThis property stores whether this person is currently moving.\nA person is considered moving when their has changed since the last update frame.\n" example: [] syntax: - content: public bool IsMoving { get; } + content: public bool IsMoving { get; protected set; } parameters: [] return: type: System.Boolean @@ -1607,7 +1656,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LotEmployment path: ../TinyLife/Objects/Person.cs - startLine: 298 + startLine: 301 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1650,7 +1699,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentOutfitIndex path: ../TinyLife/Objects/Person.cs - startLine: 303 + startLine: 306 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1691,7 +1740,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentOutfit path: ../TinyLife/Objects/Person.cs - startLine: 308 + startLine: 311 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1722,7 +1771,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsCurrentHousehold path: ../TinyLife/Objects/Person.cs - startLine: 310 + startLine: 313 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1753,7 +1802,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LifeSpan path: ../TinyLife/Objects/Person.cs - startLine: 314 + startLine: 317 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1784,7 +1833,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HomeLot path: ../TinyLife/Objects/Person.cs - startLine: 316 + startLine: 319 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1815,7 +1864,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Money path: ../TinyLife/Objects/Person.cs - startLine: 318 + startLine: 321 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1846,7 +1895,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsRegularVisitor path: ../TinyLife/Objects/Person.cs - startLine: 329 + startLine: 332 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1877,7 +1926,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Age path: ../TinyLife/Objects/Person.cs - startLine: 333 + startLine: 336 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1908,7 +1957,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LifeGoal path: ../TinyLife/Objects/Person.cs - startLine: 346 + startLine: 349 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1939,7 +1988,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Description path: ../TinyLife/Objects/Person.cs - startLine: 359 + startLine: 362 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -1978,7 +2027,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsDead path: ../TinyLife/Objects/Person.cs - startLine: 364 + startLine: 367 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2009,7 +2058,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentAgeDays path: ../TinyLife/Objects/Person.cs - startLine: 370 + startLine: 373 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2048,7 +2097,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DaysLived path: ../TinyLife/Objects/Person.cs - startLine: 376 + startLine: 379 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2087,7 +2136,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RandomlyGenerated path: ../TinyLife/Objects/Person.cs - startLine: 380 + startLine: 383 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2097,7 +2146,7 @@ items: content: >- [DataMember(EmitDefaultValue = false)] - public bool RandomlyGenerated { get; } + public bool RandomlyGenerated { get; protected set; } parameters: [] return: type: System.Boolean @@ -2132,7 +2181,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VisuallyOccupiedSpot path: ../TinyLife/Objects/Person.cs - startLine: 388 + startLine: 391 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2163,7 +2212,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupiedFurniture path: ../TinyLife/Objects/Person.cs - startLine: 399 + startLine: 402 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2194,7 +2243,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CurrentPose path: ../TinyLife/Objects/Person.cs - startLine: 408 + startLine: 411 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2233,7 +2282,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WornLayers path: ../TinyLife/Objects/Person.cs - startLine: 415 + startLine: 418 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2272,7 +2321,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AnimateHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 420 + startLine: 423 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2301,7 +2350,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HeldObjectRotation path: ../TinyLife/Objects/Person.cs - startLine: 426 + startLine: 429 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2330,7 +2379,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AnimationSpeed path: ../TinyLife/Objects/Person.cs - startLine: 431 + startLine: 434 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2359,7 +2408,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Tint path: ../TinyLife/Objects/Person.cs - startLine: 436 + startLine: 439 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2388,7 +2437,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VisualPosition path: ../TinyLife/Objects/Person.cs - startLine: 442 + startLine: 445 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2419,7 +2468,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DiaperDirty path: ../TinyLife/Objects/Person.cs - startLine: 450 + startLine: 453 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2462,7 +2511,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PregnancyAbility path: ../TinyLife/Objects/Person.cs - startLine: 455 + startLine: 458 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2501,7 +2550,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Portrait path: ../TinyLife/Objects/Person.cs - startLine: 460 + startLine: 463 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2532,7 +2581,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PregnancyHoursRemaining path: ../TinyLife/Objects/Person.cs - startLine: 490 + startLine: 493 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2577,7 +2626,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PregnancyPartner path: ../TinyLife/Objects/Person.cs - startLine: 496 + startLine: 499 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2622,7 +2671,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsInLabor path: ../TinyLife/Objects/Person.cs - startLine: 503 + startLine: 506 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2665,7 +2714,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsPregnant path: ../TinyLife/Objects/Person.cs - startLine: 508 + startLine: 511 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2696,7 +2745,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsAllowedToDie path: ../TinyLife/Objects/Person.cs - startLine: 513 + startLine: 516 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2727,7 +2776,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsMinorUpdateNow path: ../TinyLife/Objects/Person.cs - startLine: 520 + startLine: 523 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2760,7 +2809,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnActionsChanged path: ../TinyLife/Objects/Person.cs - startLine: 526 + startLine: 529 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2789,7 +2838,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnNewSkillLearned path: ../TinyLife/Objects/Person.cs - startLine: 531 + startLine: 534 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2818,7 +2867,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnJobChanged path: ../TinyLife/Objects/Person.cs - startLine: 536 + startLine: 539 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2847,7 +2896,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnEmotionModifiersChanged path: ../TinyLife/Objects/Person.cs - startLine: 541 + startLine: 544 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2876,7 +2925,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnEmotionChanged path: ../TinyLife/Objects/Person.cs - startLine: 546 + startLine: 549 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2905,7 +2954,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnGetEfficiencyModifier path: ../TinyLife/Objects/Person.cs - startLine: 552 + startLine: 555 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2934,7 +2983,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnGetWalkSpeed path: ../TinyLife/Objects/Person.cs - startLine: 558 + startLine: 561 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2963,7 +3012,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnGetPassiveActionPriority path: ../TinyLife/Objects/Person.cs - startLine: 564 + startLine: 567 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -2992,7 +3041,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnActionInitialized path: ../TinyLife/Objects/Person.cs - startLine: 569 + startLine: 572 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3021,7 +3070,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnActionsCompleted path: ../TinyLife/Objects/Person.cs - startLine: 574 + startLine: 577 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3050,7 +3099,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnActionUpdated path: ../TinyLife/Objects/Person.cs - startLine: 579 + startLine: 582 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3079,7 +3128,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnOutfitChanged path: ../TinyLife/Objects/Person.cs - startLine: 584 + startLine: 587 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3108,7 +3157,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnGetCurrentGoals path: ../TinyLife/Objects/Person.cs - startLine: 590 + startLine: 593 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3137,7 +3186,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnLifeGoalChanged path: ../TinyLife/Objects/Person.cs - startLine: 595 + startLine: 598 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3166,7 +3215,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnRestoreNeed path: ../TinyLife/Objects/Person.cs - startLine: 601 + startLine: 604 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3195,7 +3244,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnChangeFriendship path: ../TinyLife/Objects/Person.cs - startLine: 607 + startLine: 610 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3224,7 +3273,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnChangeRomance path: ../TinyLife/Objects/Person.cs - startLine: 613 + startLine: 616 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3235,6 +3284,54 @@ items: return: type: TinyLife.Objects.Person.RelationshipChangeDelegate content.vb: Public Event OnChangeRomance As Person.RelationshipChangeDelegate +- uid: TinyLife.Objects.Person.#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2) + commentId: M:TinyLife.Objects.Person.#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2) + id: '#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2)' + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: Person(Map, Vector2) + nameWithType: Person.Person(Map, Vector2) + fullName: TinyLife.Objects.Person.Person(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2) + type: Constructor + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: .ctor + path: ../TinyLife/Objects/Person.cs + startLine: 664 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nCreates a new person with the given settings. To create a new person externally, use .\n" + example: [] + syntax: + content: >- + [JsonConstructor] + + protected Person(Map map, Vector2 position) + parameters: + - id: map + type: TinyLife.World.Map + description: The map. + - id: position + type: Microsoft.Xna.Framework.Vector2 + description: The position. + content.vb: >- + + + Protected Sub New(map As Map, position As Vector2) + overload: TinyLife.Objects.Person.#ctor* + attributes: + - type: Newtonsoft.Json.JsonConstructorAttribute + ctor: Newtonsoft.Json.JsonConstructorAttribute.#ctor + arguments: [] + nameWithType.vb: Person.New(Map, Vector2) + fullName.vb: TinyLife.Objects.Person.New(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2) + name.vb: New(Map, Vector2) - uid: TinyLife.Objects.Person.Finalize commentId: M:TinyLife.Objects.Person.Finalize id: Finalize @@ -3253,7 +3350,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Finalize path: ../TinyLife/Objects/Person.cs - startLine: 663 + startLine: 671 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3283,14 +3380,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Update path: ../TinyLife/Objects/Person.cs - startLine: 668 + startLine: 676 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nThe update method, which is called every update frame by the underlying , as well as additional places like the . Because of this, some actions might only want to be invoked if an object .\nTo call this method while invoking all required events, use .\n" example: [] syntax: - content: public void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) + content: public virtual void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier) parameters: - id: time type: Microsoft.Xna.Framework.GameTime @@ -3301,7 +3398,7 @@ items: - id: speedMultiplier type: System.Single description: The game speed multiplier, which represents how fast things should happen, which is usually determined by - content.vb: Public Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) + content.vb: Public Overridable Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single) overload: TinyLife.Objects.Person.Update* implements: - TinyLife.Objects.IUpdatingObject.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single) @@ -3326,7 +3423,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/Objects/Person.cs - startLine: 990 + startLine: 998 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3373,7 +3470,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/Objects/Person.cs - startLine: 1033 + startLine: 1041 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3405,7 +3502,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCategories path: ../TinyLife/Objects/Person.cs - startLine: 1088 + startLine: 1096 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3441,7 +3538,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Intersects path: ../TinyLife/Objects/Person.cs - startLine: 1093 + startLine: 1101 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3477,7 +3574,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHoverInfo path: ../TinyLife/Objects/Person.cs - startLine: 1098 + startLine: 1106 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3510,7 +3607,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeActionSpotInfo path: ../TinyLife/Objects/Person.cs - startLine: 1119 + startLine: 1127 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3549,7 +3646,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCameraRotationChanged path: ../TinyLife/Objects/Person.cs - startLine: 1132 + startLine: 1140 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3585,21 +3682,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FocusCameraOnEvent path: ../TinyLife/Objects/Person.cs - startLine: 1142 + startLine: 1150 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nA helper method that causes the game camera to focus on this person if it is relevant.\nThis person is considered relevant if its is current or if the is visible to the .\n" example: [] syntax: - content: public bool FocusCameraOnEvent(bool onlyIfImportant) + content: public virtual bool FocusCameraOnEvent(bool onlyIfImportant) parameters: - id: onlyIfImportant type: System.Boolean description: Whether only Tinies that are considered important should be focused on. An important Tiny is one that at least one person in the currently active household knows. return: type: System.Boolean - content.vb: Public Function FocusCameraOnEvent(onlyIfImportant As Boolean) As Boolean + content.vb: Public Overridable Function FocusCameraOnEvent(onlyIfImportant As Boolean) As Boolean overload: TinyLife.Objects.Person.FocusCameraOnEvent* nameWithType.vb: Person.FocusCameraOnEvent(Boolean) fullName.vb: TinyLife.Objects.Person.FocusCameraOnEvent(Boolean) @@ -3622,14 +3719,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetJob path: ../TinyLife/Objects/Person.cs - startLine: 1163 + startLine: 1171 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets this person's current .\nIf null is passed, the person's job gets removed.\n" example: [] syntax: - content: public void SetJob(JobType type, int level = 0) + content: public virtual void SetJob(JobType type, int level = 0) parameters: - id: type type: TinyLife.Goals.JobType @@ -3637,7 +3734,7 @@ items: - id: level type: System.Int32 description: The level to start this job with - content.vb: Public Sub SetJob(type As JobType, level As Integer = 0) + content.vb: Public Overridable Sub SetJob(type As JobType, level As Integer = 0) overload: TinyLife.Objects.Person.SetJob* nameWithType.vb: Person.SetJob(JobType, Integer) fullName.vb: TinyLife.Objects.Person.SetJob(TinyLife.Goals.JobType, Integer) @@ -3660,7 +3757,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ResetToStatic path: ../TinyLife/Objects/Person.cs - startLine: 1169 + startLine: 1177 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3699,15 +3796,15 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PrepareForPermanentRemoval path: ../TinyLife/Objects/Person.cs - startLine: 1225 + startLine: 1233 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nPrepares this person for permanent removal, which includes removing all references to this person from other people's .\nThis method should only be called when a person is about to be irrevocably deleted.\n" example: [] syntax: - content: public void PrepareForPermanentRemoval() - content.vb: Public Sub PrepareForPermanentRemoval() + content: public virtual void PrepareForPermanentRemoval() + content.vb: Public Overridable Sub PrepareForPermanentRemoval() overload: TinyLife.Objects.Person.PrepareForPermanentRemoval* - uid: TinyLife.Objects.Person.VisitLot(TinyLife.World.Lot) commentId: M:TinyLife.Objects.Person.VisitLot(TinyLife.World.Lot) @@ -3727,19 +3824,19 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VisitLot path: ../TinyLife/Objects/Person.cs - startLine: 1239 + startLine: 1247 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nMarks the given lot as visited, setting to 4 hours if the lot is the person's home lot, and 2 otherwise\nThe passed lot is additionally marked as visible for the player using .\n" example: [] syntax: - content: public void VisitLot(Lot lot) + content: public virtual void VisitLot(Lot lot) parameters: - id: lot type: TinyLife.World.Lot description: The lot to mark as visited - content.vb: Public Sub VisitLot(lot As Lot) + content.vb: Public Overridable Sub VisitLot(lot As Lot) overload: TinyLife.Objects.Person.VisitLot* - uid: TinyLife.Objects.Person.DrawUi(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Single,MLEM.Misc.Direction2) commentId: M:TinyLife.Objects.Person.DrawUi(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,System.Single,MLEM.Misc.Direction2) @@ -3759,14 +3856,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawUi path: ../TinyLife/Objects/Person.cs - startLine: 1255 + startLine: 1263 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nRenders this person on a ui level rather than a world level\n" example: [] syntax: - content: public void DrawUi(SpriteBatch batch, Vector2 pos, float scale, Direction2 rotation = Direction2.Right) + content: public virtual void DrawUi(SpriteBatch batch, Vector2 pos, float scale, Direction2 rotation = Direction2.Right) parameters: - id: batch type: Microsoft.Xna.Framework.Graphics.SpriteBatch @@ -3780,7 +3877,7 @@ items: - id: rotation type: MLEM.Misc.Direction2 description: The rotation that this person should be drawn with. Defaults to . - content.vb: Public Sub DrawUi(batch As SpriteBatch, pos As Vector2, scale As Single, rotation As Direction2 = Direction2.Right) + content.vb: Public Overridable Sub DrawUi(batch As SpriteBatch, pos As Vector2, scale As Single, rotation As Direction2 = Direction2.Right) overload: TinyLife.Objects.Person.DrawUi* nameWithType.vb: Person.DrawUi(SpriteBatch, Vector2, Single, Direction2) fullName.vb: TinyLife.Objects.Person.DrawUi(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Single, MLEM.Misc.Direction2) @@ -3803,18 +3900,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHomeLocation path: ../TinyLife/Objects/Person.cs - startLine: 1263 + startLine: 1271 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nShorthand method for that returns the home location of this person's 's lot\n" example: [] syntax: - content: public Vector2 GetHomeLocation() + content: public virtual Vector2 GetHomeLocation() return: type: Microsoft.Xna.Framework.Vector2 description: This person's home location - content.vb: Public Function GetHomeLocation() As Vector2 + content.vb: Public Overridable Function GetHomeLocation() As Vector2 overload: TinyLife.Objects.Person.GetHomeLocation* - uid: TinyLife.Objects.Person.GetRelationship(TinyLife.Objects.Person,System.Boolean) commentId: M:TinyLife.Objects.Person.GetRelationship(TinyLife.Objects.Person,System.Boolean) @@ -3834,7 +3931,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRelationship path: ../TinyLife/Objects/Person.cs - startLine: 1274 + startLine: 1282 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -3875,14 +3972,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ChangeFriendship path: ../TinyLife/Objects/Person.cs - startLine: 1297 + startLine: 1305 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nChanges the wit the given person by the given amount.\nAdditionally, a friendship is displayed and a is displayed if the friendship type changes.\n" example: [] syntax: - content: public void ChangeFriendship(Person person, float amount) + content: public virtual void ChangeFriendship(Person person, float amount) parameters: - id: person type: TinyLife.Objects.Person @@ -3890,7 +3987,7 @@ items: - id: amount type: System.Single description: The amount to change friendship by, can be negative - content.vb: Public Sub ChangeFriendship(person As Person, amount As Single) + content.vb: Public Overridable Sub ChangeFriendship(person As Person, amount As Single) overload: TinyLife.Objects.Person.ChangeFriendship* nameWithType.vb: Person.ChangeFriendship(Person, Single) fullName.vb: TinyLife.Objects.Person.ChangeFriendship(TinyLife.Objects.Person, Single) @@ -3913,14 +4010,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ChangeRomance path: ../TinyLife/Objects/Person.cs - startLine: 1349 + startLine: 1357 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nChanges the wit the given person by the given amount.\nAdditionally, a romance is displayed.\n" example: [] syntax: - content: public void ChangeRomance(Person person, float amount) + content: public virtual void ChangeRomance(Person person, float amount) parameters: - id: person type: TinyLife.Objects.Person @@ -3928,7 +4025,7 @@ items: - id: amount type: System.Single description: The amount to change romance by, can be negative - content.vb: Public Sub ChangeRomance(person As Person, amount As Single) + content.vb: Public Overridable Sub ChangeRomance(person As Person, amount As Single) overload: TinyLife.Objects.Person.ChangeRomance* nameWithType.vb: Person.ChangeRomance(Person, Single) fullName.vb: TinyLife.Objects.Person.ChangeRomance(TinyLife.Objects.Person, Single) @@ -3951,14 +4048,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayEmote path: ../TinyLife/Objects/Person.cs - startLine: 1381 + startLine: 1389 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses this person to display a over its head for 1 to 3 seconds\n" example: [] syntax: - content: public void DisplayEmote(EmoteCategory possibleCategories, float minimumSeconds = 1, float maximumSeconds = 3) + content: public virtual void DisplayEmote(EmoteCategory possibleCategories, float minimumSeconds = 1, float maximumSeconds = 3) parameters: - id: possibleCategories type: TinyLife.Actions.EmoteCategory @@ -3969,7 +4066,7 @@ items: - id: maximumSeconds type: System.Single description: The maximum amount of real-time seconds that the emote should be displayed for, or 3 by default - content.vb: Public Sub DisplayEmote(possibleCategories As EmoteCategory, minimumSeconds As Single = 1, maximumSeconds As Single = 3) + content.vb: Public Overridable Sub DisplayEmote(possibleCategories As EmoteCategory, minimumSeconds As Single = 1, maximumSeconds As Single = 3) overload: TinyLife.Objects.Person.DisplayEmote* nameWithType.vb: Person.DisplayEmote(EmoteCategory, Single, Single) fullName.vb: TinyLife.Objects.Person.DisplayEmote(TinyLife.Actions.EmoteCategory, Single, Single) @@ -3992,15 +4089,15 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StopEmoting path: ../TinyLife/Objects/Person.cs - startLine: 1391 + startLine: 1399 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses this person to stop displaying the current emote immediately\n" example: [] syntax: - content: public void StopEmoting() - content.vb: Public Sub StopEmoting() + content: public virtual void StopEmoting() + content.vb: Public Overridable Sub StopEmoting() overload: TinyLife.Objects.Person.StopEmoting* - uid: TinyLife.Objects.Person.Speak(TinyLife.Objects.SpeakStyle,System.Single,System.Single) commentId: M:TinyLife.Objects.Person.Speak(TinyLife.Objects.SpeakStyle,System.Single,System.Single) @@ -4020,14 +4117,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Speak path: ../TinyLife/Objects/Person.cs - startLine: 1402 + startLine: 1410 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses this person to play speaking sounds with their applied for the given amount of time\n" example: [] syntax: - content: public void Speak(SpeakStyle possibleStyles, float minimumSeconds = 1, float maximumSeconds = 3) + content: public virtual void Speak(SpeakStyle possibleStyles, float minimumSeconds = 1, float maximumSeconds = 3) parameters: - id: possibleStyles type: TinyLife.Objects.SpeakStyle @@ -4038,7 +4135,7 @@ items: - id: maximumSeconds type: System.Single description: The maximum amount of time, in seconds, to speak for - content.vb: Public Sub Speak(possibleStyles As SpeakStyle, minimumSeconds As Single = 1, maximumSeconds As Single = 3) + content.vb: Public Overridable Sub Speak(possibleStyles As SpeakStyle, minimumSeconds As Single = 1, maximumSeconds As Single = 3) overload: TinyLife.Objects.Person.Speak* nameWithType.vb: Person.Speak(SpeakStyle, Single, Single) fullName.vb: TinyLife.Objects.Person.Speak(TinyLife.Objects.SpeakStyle, Single, Single) @@ -4061,15 +4158,15 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StopSpeaking path: ../TinyLife/Objects/Person.cs - startLine: 1412 + startLine: 1420 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses this person to stop speaking, resetting their and interrupting any currently playing speak sounds\n" example: [] syntax: - content: public void StopSpeaking() - content.vb: Public Sub StopSpeaking() + content: public virtual void StopSpeaking() + content.vb: Public Overridable Sub StopSpeaking() overload: TinyLife.Objects.Person.StopSpeaking* - uid: TinyLife.Objects.Person.DisplayEmoteAndSpeak(TinyLife.Actions.EmoteCategory,TinyLife.Objects.SpeakStyle,System.Single,System.Single) commentId: M:TinyLife.Objects.Person.DisplayEmoteAndSpeak(TinyLife.Actions.EmoteCategory,TinyLife.Objects.SpeakStyle,System.Single,System.Single) @@ -4089,14 +4186,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayEmoteAndSpeak path: ../TinyLife/Objects/Person.cs - startLine: 1429 + startLine: 1437 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nThis is a combined helper method that invokes and together.\nSince both methods choose a random amount of time for their actions independently, the emote display might end at a different time than the speaking sound.\n" example: [] syntax: - content: public void DisplayEmoteAndSpeak(EmoteCategory emoteCategories, SpeakStyle speakStyles, float minimumSeconds = 1, float maximumSeconds = 3) + content: public virtual void DisplayEmoteAndSpeak(EmoteCategory emoteCategories, SpeakStyle speakStyles, float minimumSeconds = 1, float maximumSeconds = 3) parameters: - id: emoteCategories type: TinyLife.Actions.EmoteCategory @@ -4110,7 +4207,7 @@ items: - id: maximumSeconds type: System.Single description: The maximum amount of time, in seconds, to speak and display the emote for - content.vb: Public Sub DisplayEmoteAndSpeak(emoteCategories As EmoteCategory, speakStyles As SpeakStyle, minimumSeconds As Single = 1, maximumSeconds As Single = 3) + content.vb: Public Overridable Sub DisplayEmoteAndSpeak(emoteCategories As EmoteCategory, speakStyles As SpeakStyle, minimumSeconds As Single = 1, maximumSeconds As Single = 3) overload: TinyLife.Objects.Person.DisplayEmoteAndSpeak* nameWithType.vb: Person.DisplayEmoteAndSpeak(EmoteCategory, SpeakStyle, Single, Single) fullName.vb: TinyLife.Objects.Person.DisplayEmoteAndSpeak(TinyLife.Actions.EmoteCategory, TinyLife.Objects.SpeakStyle, Single, Single) @@ -4133,21 +4230,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetFreeTalkingSpots path: ../TinyLife/Objects/Person.cs - startLine: 1438 + startLine: 1446 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns a set of locations, in world space, that this person can be talked to from while standing in its current location\n" example: [] syntax: - content: public IEnumerable GetFreeTalkingSpots(Person person) + content: public virtual IEnumerable GetFreeTalkingSpots(Person person) parameters: - id: person type: TinyLife.Objects.Person return: type: System.Collections.Generic.IEnumerable{Microsoft.Xna.Framework.Vector2} description: A set of free talking spots - content.vb: Public Function GetFreeTalkingSpots(person As Person) As IEnumerable(Of Vector2) + content.vb: Public Overridable Function GetFreeTalkingSpots(person As Person) As IEnumerable(Of Vector2) overload: TinyLife.Objects.Person.GetFreeTalkingSpots* - uid: TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2},System.Boolean) commentId: M:TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2},System.Boolean) @@ -4167,14 +4264,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupyActionSpot path: ../TinyLife/Objects/Person.cs - startLine: 1458 + startLine: 1466 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses the given action spot of the given furniture to be marked as occupied.\nOptionally, the can also be changed, causing this person to look as if they were sitting, standing or laying on the furniture.\nNote that the values set in this method are reset every call if stayOccupied is false.\nTo exit an action spot that was marked as stayOccupied, this method can be called with furniture and/or spot set to null.\n" example: [] syntax: - content: public void OccupyActionSpot(Furniture furniture, ActionSpot spot, bool visual = false, Direction2? rotation = null, bool stayOccupied = false) + content: public virtual void OccupyActionSpot(Furniture furniture, ActionSpot spot, bool visual = false, Direction2? rotation = null, bool stayOccupied = false) parameters: - id: furniture type: TinyLife.Objects.Furniture @@ -4191,7 +4288,7 @@ items: - id: stayOccupied type: System.Boolean description: Whether this person should continue to occupy this action spot after the current update frame is over. - content.vb: Public Sub OccupyActionSpot(furniture As Furniture, spot As ActionSpot, visual As Boolean = False, rotation As Direction2? = Nothing, stayOccupied As Boolean = False) + content.vb: Public Overridable Sub OccupyActionSpot(furniture As Furniture, spot As ActionSpot, visual As Boolean = False, rotation As Direction2? = Nothing, stayOccupied As Boolean = False) overload: TinyLife.Objects.Person.OccupyActionSpot* nameWithType.vb: Person.OccupyActionSpot(Furniture, ActionSpot, Boolean, Direction2?, Boolean) fullName.vb: TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture, TinyLife.Objects.ActionSpot, Boolean, MLEM.Misc.Direction2?, Boolean) @@ -4214,14 +4311,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupyFreeActionSpot path: ../TinyLife/Objects/Person.cs - startLine: 1489 + startLine: 1497 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nThis is a shorthand method for and .\nNote that this method needs to be called every update frame for the person to keep occupying the action spot.\n" example: [] syntax: - content: public bool OccupyFreeActionSpot(Furniture furniture, ObjectCategory context = null, bool visual = false, Direction2? rotation = null, bool stayOccupied = false) + content: public virtual bool OccupyFreeActionSpot(Furniture furniture, ObjectCategory context = null, bool visual = false, Direction2? rotation = null, bool stayOccupied = false) parameters: - id: furniture type: TinyLife.Objects.Furniture @@ -4241,7 +4338,7 @@ items: return: type: System.Boolean description: Whether or not we were able to occupy a free action spot - content.vb: Public Function OccupyFreeActionSpot(furniture As Furniture, context As ObjectCategory = Nothing, visual As Boolean = False, rotation As Direction2? = Nothing, stayOccupied As Boolean = False) As Boolean + content.vb: Public Overridable Function OccupyFreeActionSpot(furniture As Furniture, context As ObjectCategory = Nothing, visual As Boolean = False, rotation As Direction2? = Nothing, stayOccupied As Boolean = False) As Boolean overload: TinyLife.Objects.Person.OccupyFreeActionSpot* nameWithType.vb: Person.OccupyFreeActionSpot(Furniture, ObjectCategory, Boolean, Direction2?, Boolean) fullName.vb: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture, TinyLife.Objects.ObjectCategory, Boolean, MLEM.Misc.Direction2?, Boolean) @@ -4264,14 +4361,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OccupyFreeActionSpot path: ../TinyLife/Objects/Person.cs - startLine: 1507 + startLine: 1515 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nThis is a shorthand method for \nNote that this method needs to be called every update frame for the person to keep occupying the action spot.\n" example: [] syntax: - content: public bool OccupyFreeActionSpot(ActionInfo info, ObjectCategory context = null, bool visual = false, Direction2? rotation = null, bool stayOccupied = false) + content: public virtual bool OccupyFreeActionSpot(ActionInfo info, ObjectCategory context = null, bool visual = false, Direction2? rotation = null, bool stayOccupied = false) parameters: - id: info type: TinyLife.Actions.ActionInfo @@ -4291,7 +4388,7 @@ items: return: type: System.Boolean description: Whether or not we were able to occupy a free action spot - content.vb: Public Function OccupyFreeActionSpot(info As ActionInfo, context As ObjectCategory = Nothing, visual As Boolean = False, rotation As Direction2? = Nothing, stayOccupied As Boolean = False) As Boolean + content.vb: Public Overridable Function OccupyFreeActionSpot(info As ActionInfo, context As ObjectCategory = Nothing, visual As Boolean = False, rotation As Direction2? = Nothing, stayOccupied As Boolean = False) As Boolean overload: TinyLife.Objects.Person.OccupyFreeActionSpot* nameWithType.vb: Person.OccupyFreeActionSpot(ActionInfo, ObjectCategory, Boolean, Direction2?, Boolean) fullName.vb: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, Boolean, MLEM.Misc.Direction2?, Boolean) @@ -4314,14 +4411,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsCloseForTalking path: ../TinyLife/Objects/Person.cs - startLine: 1518 + startLine: 1526 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns true if pos is considered close enough for talking.\nFor a person to be close enough for talking, they have to be at least 0.25 and at most 2.5 tiles away and in the same .\n" example: [] syntax: - content: public bool IsCloseForTalking(Vector2 pos) + content: public virtual bool IsCloseForTalking(Vector2 pos) parameters: - id: pos type: Microsoft.Xna.Framework.Vector2 @@ -4329,7 +4426,7 @@ items: return: type: System.Boolean description: Whether the person is close enough to talk to - content.vb: Public Function IsCloseForTalking(pos As Vector2) As Boolean + content.vb: Public Overridable Function IsCloseForTalking(pos As Vector2) As Boolean overload: TinyLife.Objects.Person.IsCloseForTalking* - uid: TinyLife.Objects.Person.GetNeed(TinyLife.NeedType) commentId: M:TinyLife.Objects.Person.GetNeed(TinyLife.NeedType) @@ -4349,7 +4446,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetNeed path: ../TinyLife/Objects/Person.cs - startLine: 1530 + startLine: 1538 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4384,7 +4481,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetNeedPercentage path: ../TinyLife/Objects/Person.cs - startLine: 1539 + startLine: 1547 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4419,28 +4516,28 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RestoreNeed path: ../TinyLife/Objects/Person.cs - startLine: 1551 + startLine: 1559 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nRestores this person's of the given type by the given amount.\nAlso invokes and modifies the restored amount by the person's current .\n" example: [] syntax: - content: public void RestoreNeed(NeedType type, float amount, ActionInfo info, float speedMultiplier) + content: public virtual void RestoreNeed(NeedType type, float amount, ActionInfo info, float speedMultiplier) parameters: - id: type type: TinyLife.NeedType description: The type of need to restore - id: amount type: System.Single - description: The amount to restore this need by + description: The amount to restore this need by, out of . - id: info type: TinyLife.Actions.ActionInfo description: The action info of the action that is causing the need to be restored. Can be null if the need is not being restored by an action. - id: speedMultiplier type: System.Single description: The game speed multiplier, which represents how fast things should happen, which is usually determined by - content.vb: Public Sub RestoreNeed(type As NeedType, amount As Single, info As ActionInfo, speedMultiplier As Single) + content.vb: Public Overridable Sub RestoreNeed(type As NeedType, amount As Single, info As ActionInfo, speedMultiplier As Single) overload: TinyLife.Objects.Person.RestoreNeed* nameWithType.vb: Person.RestoreNeed(NeedType, Single, ActionInfo, Single) fullName.vb: TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType, Single, TinyLife.Actions.ActionInfo, Single) @@ -4463,7 +4560,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RestoreNeed path: ../TinyLife/Objects/Person.cs - startLine: 1587 + startLine: 1595 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4477,7 +4574,7 @@ items: description: The type of need to restore. - id: maxAmount type: System.Single - description: The maximum amount to restore this need by. + description: The maximum amount to restore this need by, out of . - id: info type: TinyLife.Actions.ActionInfo description: The action info of the action that is causing the need to be restored. Can be null if the need is not being restored by an action. @@ -4510,14 +4607,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkill path: ../TinyLife/Objects/Person.cs - startLine: 1598 + startLine: 1606 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns the instance that this person has for the given .\nIf this person does not have the skill yet, and initialize is false or the skill's don't match this person's , null is returned.\n" example: [] syntax: - content: public Skill GetSkill(SkillType type, bool initialize) + content: public virtual Skill GetSkill(SkillType type, bool initialize) parameters: - id: type type: TinyLife.Skills.SkillType @@ -4528,7 +4625,7 @@ items: return: type: TinyLife.Skills.Skill description: The skill instance, or null if this person doesn't have the skill yet, and initialize is false or the skill's don't match this person's . - content.vb: Public Function GetSkill(type As SkillType, initialize As Boolean) As Skill + content.vb: Public Overridable Function GetSkill(type As SkillType, initialize As Boolean) As Skill overload: TinyLife.Objects.Person.GetSkill* nameWithType.vb: Person.GetSkill(SkillType, Boolean) fullName.vb: TinyLife.Objects.Person.GetSkill(TinyLife.Skills.SkillType, Boolean) @@ -4551,7 +4648,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillTotalPercentage path: ../TinyLife/Objects/Person.cs - startLine: 1617 + startLine: 1625 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4586,7 +4683,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillPointPercentage path: ../TinyLife/Objects/Person.cs - startLine: 1627 + startLine: 1635 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4621,7 +4718,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSkillLevel path: ../TinyLife/Objects/Person.cs - startLine: 1637 + startLine: 1645 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4656,7 +4753,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasSkillLevel path: ../TinyLife/Objects/Person.cs - startLine: 1647 + startLine: 1655 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4697,14 +4794,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GainSkill path: ../TinyLife/Objects/Person.cs - startLine: 1659 + startLine: 1667 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses this person to gain the skill with the given and raises it by the given amount.\nNote that influence the skinn gain automatically.\n" example: [] syntax: - content: public bool GainSkill(SkillType type, float amount, ActionInfo info, float speedMultiplier) + content: public virtual bool GainSkill(SkillType type, float amount, ActionInfo info, float speedMultiplier) parameters: - id: type type: TinyLife.Skills.SkillType @@ -4720,7 +4817,7 @@ items: description: The game speed multiplier, which represents how fast things should happen, which is usually determined by return: type: System.Boolean - content.vb: Public Function GainSkill(type As SkillType, amount As Single, info As ActionInfo, speedMultiplier As Single) As Boolean + content.vb: Public Overridable Function GainSkill(type As SkillType, amount As Single, info As ActionInfo, speedMultiplier As Single) As Boolean overload: TinyLife.Objects.Person.GainSkill* nameWithType.vb: Person.GainSkill(SkillType, Single, ActionInfo, Single) fullName.vb: TinyLife.Objects.Person.GainSkill(TinyLife.Skills.SkillType, Single, TinyLife.Actions.ActionInfo, Single) @@ -4743,25 +4840,25 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DepleteNeed path: ../TinyLife/Objects/Person.cs - startLine: 1679 + startLine: 1687 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nDepletes this person's with the given by the given amount\nNote that, when the "NoNeed" cheat is active, this method does nothing.\n" example: [] syntax: - content: public void DepleteNeed(NeedType type, float amount, float speedMultiplier) + content: public virtual void DepleteNeed(NeedType type, float amount, float speedMultiplier) parameters: - id: type type: TinyLife.NeedType description: The type of need to deplete - id: amount type: System.Single - description: The amount to deplete the need by + description: The amount to deplete the need by, out of . - id: speedMultiplier type: System.Single description: The game speed multiplier, which represents how fast things should happen, which is usually determined by - content.vb: Public Sub DepleteNeed(type As NeedType, amount As Single, speedMultiplier As Single) + content.vb: Public Overridable Sub DepleteNeed(type As NeedType, amount As Single, speedMultiplier As Single) overload: TinyLife.Objects.Person.DepleteNeed* nameWithType.vb: Person.DepleteNeed(NeedType, Single, Single) fullName.vb: TinyLife.Objects.Person.DepleteNeed(TinyLife.NeedType, Single, Single) @@ -4784,7 +4881,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasPersonality path: ../TinyLife/Objects/Person.cs - startLine: 1690 + startLine: 1698 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -4819,14 +4916,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EnqueueAction path: ../TinyLife/Objects/Person.cs - startLine: 1704 + startLine: 1712 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nEnqueues the given action into to be executed later.\n" example: [] syntax: - content: 'public T EnqueueAction(ActionType type, ActionInfo info, bool automatic, ActionVariety variety = null, bool priority = false, bool force = false) where T : Action' + content: 'public virtual T EnqueueAction(ActionType type, ActionInfo info, bool automatic, ActionVariety variety = null, bool priority = false, bool force = false) where T : Action' parameters: - id: type type: TinyLife.Actions.ActionType @@ -4851,7 +4948,7 @@ items: return: type: '{T}' description: The created action, or null if the action cannot be executed or the maximum amount of entries in the is reached. - content.vb: Public Function EnqueueAction(Of T As Action)(type As ActionType, info As ActionInfo, automatic As Boolean, variety As ActionVariety = Nothing, priority As Boolean = False, force As Boolean = False) As T + content.vb: Public Overridable Function EnqueueAction(Of T As Action)(type As ActionType, info As ActionInfo, automatic As Boolean, variety As ActionVariety = Nothing, priority As Boolean = False, force As Boolean = False) As T overload: TinyLife.Objects.Person.EnqueueAction* nameWithType.vb: Person.EnqueueAction(Of T)(ActionType, ActionInfo, Boolean, ActionVariety, Boolean, Boolean) fullName.vb: TinyLife.Objects.Person.EnqueueAction(Of T)(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, Boolean, TinyLife.Actions.ActionVariety, Boolean, Boolean) @@ -4874,14 +4971,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CancelAction path: ../TinyLife/Objects/Person.cs - startLine: 1732 + startLine: 1740 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nTries to cancel the given action, removing it from or in the process.\nIf the action in question cannot be canceled, this method returns false.\n" example: [] syntax: - content: public bool CancelAction(Action action, Action cancelSource = null, bool force = false) + content: public virtual bool CancelAction(Action action, Action cancelSource = null, bool force = false) parameters: - id: action type: TinyLife.Actions.Action @@ -4895,7 +4992,7 @@ items: return: type: System.Boolean description: Whether the action could be canceled successfully - content.vb: Public Function CancelAction(action As Action, cancelSource As Action = Nothing, force As Boolean = False) As Boolean + content.vb: Public Overridable Function CancelAction(action As Action, cancelSource As Action = Nothing, force As Boolean = False) As Boolean overload: TinyLife.Objects.Person.CancelAction* nameWithType.vb: Person.CancelAction(Action, Action, Boolean) fullName.vb: TinyLife.Objects.Person.CancelAction(TinyLife.Actions.Action, TinyLife.Actions.Action, Boolean) @@ -4918,14 +5015,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FindPathAsync path: ../TinyLife/Objects/Person.cs - startLine: 1751 + startLine: 1759 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nFinds a path asynchronously using the A* pathfinding algorithm.\nNote that the found path is not automatically embarked on.\nUsually, this method should not be used, but should be used instead.\n" example: [] syntax: - content: public Task> FindPathAsync(Point start, ICollection goals, AStar.GetCost costFunction = null) + content: public virtual Task> FindPathAsync(Point start, ICollection goals, AStar.GetCost costFunction = null) parameters: - id: start type: Microsoft.Xna.Framework.Point @@ -4939,7 +5036,7 @@ items: return: type: System.Threading.Tasks.Task{System.Collections.Generic.Stack{Microsoft.Xna.Framework.Point}} description: A task that, when completed, returns the path found or an empty stack if there is none - content.vb: Public Function FindPathAsync(start As Point, goals As ICollection(Of Point), costFunction As AStar(Of Point).GetCost = Nothing) As Task(Of Stack(Of Point)) + content.vb: Public Overridable Function FindPathAsync(start As Point, goals As ICollection(Of Point), costFunction As AStar(Of Point).GetCost = Nothing) As Task(Of Stack(Of Point)) overload: TinyLife.Objects.Person.FindPathAsync* nameWithType.vb: Person.FindPathAsync(Point, ICollection(Of Point), AStar(Of Point).GetCost) fullName.vb: TinyLife.Objects.Person.FindPathAsync(Microsoft.Xna.Framework.Point, System.Collections.Generic.ICollection(Of Microsoft.Xna.Framework.Point), MLEM.Pathfinding.AStar(Of Microsoft.Xna.Framework.Point).GetCost) @@ -4962,14 +5059,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 1764 + startLine: 1772 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns the that this person is currently holding in their hands, which will always be on the same map as this person's .\nNote that, if the held object is not of the required type T, null is returned.\n" example: [] syntax: - content: 'public T GetHeldObject(bool alsoReturnFake = true) where T : MapObject' + content: 'public virtual T GetHeldObject(bool alsoReturnFake = true) where T : MapObject' parameters: - id: alsoReturnFake type: System.Boolean @@ -4979,7 +5076,7 @@ items: return: type: '{T}' description: The held furniture - content.vb: Public Function GetHeldObject(Of T As MapObject)(alsoReturnFake As Boolean = True) As T + content.vb: Public Overridable Function GetHeldObject(Of T As MapObject)(alsoReturnFake As Boolean = True) As T overload: TinyLife.Objects.Person.GetHeldObject* nameWithType.vb: Person.GetHeldObject(Of T)(Boolean) fullName.vb: TinyLife.Objects.Person.GetHeldObject(Of T)(Boolean) @@ -5002,14 +5099,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 1782 + startLine: 1790 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets the person's held object to the given furniture type, with the given data, and returns the created instance.\nNote that the returned object will automatically be added to the same map as this person's .\n" example: [] syntax: - content: 'public T SetHeldObject(FurnitureType type, int[] colors = null, Guid? id = null, bool fake = false) where T : Furniture' + content: 'public virtual T SetHeldObject(FurnitureType type, int[] colors = null, Guid? id = null, bool fake = false) where T : Furniture' parameters: - id: type type: TinyLife.Objects.FurnitureType @@ -5029,7 +5126,7 @@ items: return: type: '{T}' description: The created furniture instance - content.vb: Public Function SetHeldObject(Of T As Furniture)(type As FurnitureType, colors As Integer() = Nothing, id As Guid? = Nothing, fake As Boolean = False) As T + content.vb: Public Overridable Function SetHeldObject(Of T As Furniture)(type As FurnitureType, colors As Integer() = Nothing, id As Guid? = Nothing, fake As Boolean = False) As T overload: TinyLife.Objects.Person.SetHeldObject* nameWithType.vb: Person.SetHeldObject(Of T)(FurnitureType, Integer(), Guid?, Boolean) fullName.vb: TinyLife.Objects.Person.SetHeldObject(Of T)(TinyLife.Objects.FurnitureType, Integer(), System.Guid?, Boolean) @@ -5052,14 +5149,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 1795 + startLine: 1803 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets this person's held object to the given instance.\nNote that the obj has to be on the same map as this person's .\n" example: [] syntax: - content: public void SetHeldObject(MapObject obj, bool fake = false) + content: public virtual void SetHeldObject(MapObject obj, bool fake = false) parameters: - id: obj type: TinyLife.Objects.MapObject @@ -5067,7 +5164,7 @@ items: - id: fake type: System.Boolean description: Whether the object set to be held is considered fake. A fake object will not be taken into account when a check occurs. Fake items are expected to be removed at the end of an that adds them. - content.vb: Public Sub SetHeldObject(obj As MapObject, fake As Boolean = False) + content.vb: Public Overridable Sub SetHeldObject(obj As MapObject, fake As Boolean = False) overload: TinyLife.Objects.Person.SetHeldObject* nameWithType.vb: Person.SetHeldObject(MapObject, Boolean) fullName.vb: TinyLife.Objects.Person.SetHeldObject(TinyLife.Objects.MapObject, Boolean) @@ -5090,21 +5187,21 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveHeldObject path: ../TinyLife/Objects/Person.cs - startLine: 1808 + startLine: 1816 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nRemoves this person's held object from the world and returns it.\n" example: [] syntax: - content: 'public T RemoveHeldObject() where T : MapObject' + content: 'public virtual T RemoveHeldObject() where T : MapObject' typeParameters: - id: T description: The type of object to remove. If this person's held object does not match, it is not removed. return: type: '{T}' description: The held object that was removed, or null if it did not match, or there was none. - content.vb: Public Function RemoveHeldObject(Of T As MapObject)() As T + content.vb: Public Overridable Function RemoveHeldObject(Of T As MapObject)() As T overload: TinyLife.Objects.Person.RemoveHeldObject* nameWithType.vb: Person.RemoveHeldObject(Of T)() fullName.vb: TinyLife.Objects.Person.RemoveHeldObject(Of T)() @@ -5127,18 +5224,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHeldActionInfo path: ../TinyLife/Objects/Person.cs - startLine: 1822 + startLine: 1830 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns a for the , or null if there is none.\nNote that, if the held object is marked as being fake, this method also returns null.\n" example: [] syntax: - content: public ActionInfo GetHeldActionInfo() + content: public virtual ActionInfo GetHeldActionInfo() return: type: TinyLife.Actions.ActionInfo description: The held action info. - content.vb: Public Function GetHeldActionInfo() As ActionInfo + content.vb: Public Overridable Function GetHeldActionInfo() As ActionInfo overload: TinyLife.Objects.Person.GetHeldActionInfo* - uid: TinyLife.Objects.Person.ToCreatedByString commentId: M:TinyLife.Objects.Person.ToCreatedByString @@ -5158,18 +5255,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ToCreatedByString path: ../TinyLife/Objects/Person.cs - startLine: 1831 + startLine: 1839 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns a string representation of this person using the localized "Created by:" prefix\n" example: [] syntax: - content: public string ToCreatedByString() + content: public virtual string ToCreatedByString() return: type: System.String description: A "created by" string - content.vb: Public Function ToCreatedByString() As String + content.vb: Public Overridable Function ToCreatedByString() As String overload: TinyLife.Objects.Person.ToCreatedByString* - uid: TinyLife.Objects.Person.Die(TinyLife.Objects.DeathReason,System.Boolean) commentId: M:TinyLife.Objects.Person.Die(TinyLife.Objects.DeathReason,System.Boolean) @@ -5189,14 +5286,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Die path: ../TinyLife/Objects/Person.cs - startLine: 1841 + startLine: 1849 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses this person to die, removing it from the world and optionally spawning a .\nNote thta this method's content is executed at the end of the current frame, and not right away.\n" example: [] syntax: - content: public void Die(DeathReason reason, bool createGravestone = true) + content: public virtual void Die(DeathReason reason, bool createGravestone = true) parameters: - id: reason type: TinyLife.Objects.DeathReason @@ -5204,7 +5301,7 @@ items: - id: createGravestone type: System.Boolean description: Whether or not to create a gravestone - content.vb: Public Sub Die(reason As DeathReason, createGravestone As Boolean = True) + content.vb: Public Overridable Sub Die(reason As DeathReason, createGravestone As Boolean = True) overload: TinyLife.Objects.Person.Die* nameWithType.vb: Person.Die(DeathReason, Boolean) fullName.vb: TinyLife.Objects.Person.Die(TinyLife.Objects.DeathReason, Boolean) @@ -5227,14 +5324,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddEmotion path: ../TinyLife/Objects/Person.cs - startLine: 1940 + startLine: 1948 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nAdds the given with the given intensity and time\n" example: [] syntax: - content: public bool AddEmotion(EmotionModifier type, int amount, TimeSpan time, IEmotionSource source, bool increaseExisting = false) + content: public virtual bool AddEmotion(EmotionModifier type, int amount, TimeSpan time, IEmotionSource source, bool increaseExisting = false) parameters: - id: type type: TinyLife.Emotions.EmotionModifier @@ -5254,7 +5351,7 @@ items: return: type: System.Boolean description: Whether the emotion could be added or it was already applied. If increaseExisting is true, this method always returns true. - content.vb: Public Function AddEmotion(type As EmotionModifier, amount As Integer, time As TimeSpan, source As IEmotionSource, increaseExisting As Boolean = False) As Boolean + content.vb: Public Overridable Function AddEmotion(type As EmotionModifier, amount As Integer, time As TimeSpan, source As IEmotionSource, increaseExisting As Boolean = False) As Boolean overload: TinyLife.Objects.Person.AddEmotion* nameWithType.vb: Person.AddEmotion(EmotionModifier, Integer, TimeSpan, IEmotionSource, Boolean) fullName.vb: TinyLife.Objects.Person.AddEmotion(TinyLife.Emotions.EmotionModifier, Integer, System.TimeSpan, TinyLife.Emotions.IEmotionSource, Boolean) @@ -5277,14 +5374,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveEmotion path: ../TinyLife/Objects/Person.cs - startLine: 1963 + startLine: 1971 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nRemoves the given from this person's \n" example: [] syntax: - content: public bool RemoveEmotion(EmotionModifier type) + content: public virtual bool RemoveEmotion(EmotionModifier type) parameters: - id: type type: TinyLife.Emotions.EmotionModifier @@ -5292,7 +5389,7 @@ items: return: type: System.Boolean description: Whether the emotion could be removed (or wasn't contained in the first place) - content.vb: Public Function RemoveEmotion(type As EmotionModifier) As Boolean + content.vb: Public Overridable Function RemoveEmotion(type As EmotionModifier) As Boolean overload: TinyLife.Objects.Person.RemoveEmotion* - uid: TinyLife.Objects.Person.LowerEmotion(TinyLife.Emotions.EmotionType,System.Single,System.Single) commentId: M:TinyLife.Objects.Person.LowerEmotion(TinyLife.Emotions.EmotionType,System.Single,System.Single) @@ -5312,14 +5409,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LowerEmotion path: ../TinyLife/Objects/Person.cs - startLine: 1984 + startLine: 1992 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nLowers any of the given by the given percentage.\nEach modifier's will be lowered by the percentage of their .\n" example: [] syntax: - content: public bool LowerEmotion(EmotionType type, float percentage, float speedMultiplier = 1) + content: public virtual bool LowerEmotion(EmotionType type, float percentage, float speedMultiplier = 1) parameters: - id: type type: TinyLife.Emotions.EmotionType @@ -5333,7 +5430,7 @@ items: return: type: System.Boolean description: Whether the emotion could be lowered, or this person had no emotion modifiers of the given type - content.vb: Public Function LowerEmotion(type As EmotionType, percentage As Single, speedMultiplier As Single = 1) As Boolean + content.vb: Public Overridable Function LowerEmotion(type As EmotionType, percentage As Single, speedMultiplier As Single = 1) As Boolean overload: TinyLife.Objects.Person.LowerEmotion* nameWithType.vb: Person.LowerEmotion(EmotionType, Single, Single) fullName.vb: TinyLife.Objects.Person.LowerEmotion(TinyLife.Emotions.EmotionType, Single, Single) @@ -5356,14 +5453,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LowerEmotionModifier path: ../TinyLife/Objects/Person.cs - startLine: 2003 + startLine: 2011 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nLowers the specified emotion modifier by the specified percentage.\nThis differs from in that only the specific modifier is lowered.\n" example: [] syntax: - content: public bool LowerEmotionModifier(EmotionModifier modifier, float percentage, float speedMultiplier = 1) + content: public virtual bool LowerEmotionModifier(EmotionModifier modifier, float percentage, float speedMultiplier = 1) parameters: - id: modifier type: TinyLife.Emotions.EmotionModifier @@ -5377,7 +5474,7 @@ items: return: type: System.Boolean description: Whether the emotion could be lowered, or this person had no emotion modifiers of the given type - content.vb: Public Function LowerEmotionModifier(modifier As EmotionModifier, percentage As Single, speedMultiplier As Single = 1) As Boolean + content.vb: Public Overridable Function LowerEmotionModifier(modifier As EmotionModifier, percentage As Single, speedMultiplier As Single = 1) As Boolean overload: TinyLife.Objects.Person.LowerEmotionModifier* nameWithType.vb: Person.LowerEmotionModifier(EmotionModifier, Single, Single) fullName.vb: TinyLife.Objects.Person.LowerEmotionModifier(TinyLife.Emotions.EmotionModifier, Single, Single) @@ -5400,7 +5497,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasEmotionModifier path: ../TinyLife/Objects/Person.cs - startLine: 2019 + startLine: 2027 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5435,18 +5532,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWalkSpeed path: ../TinyLife/Objects/Person.cs - startLine: 2028 + startLine: 2036 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns this person's current walk speed, per update frame.\nThe walk speed is influenced by their and .\n" example: [] syntax: - content: public float GetWalkSpeed() + content: public virtual float GetWalkSpeed() return: type: System.Single description: The walk speed - content.vb: Public Function GetWalkSpeed() As Single + content.vb: Public Overridable Function GetWalkSpeed() As Single overload: TinyLife.Objects.Person.GetWalkSpeed* - uid: TinyLife.Objects.Person.GetEfficiencyModifier(System.Single,TinyLife.Actions.ActionInfo,TinyLife.Skills.SkillType,System.Single) commentId: M:TinyLife.Objects.Person.GetEfficiencyModifier(System.Single,TinyLife.Actions.ActionInfo,TinyLife.Skills.SkillType,System.Single) @@ -5466,14 +5563,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetEfficiencyModifier path: ../TinyLife/Objects/Person.cs - startLine: 2065 + startLine: 2073 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns a multiplier (which will be close to 1) of how "efficiently" this person currently works and moves.\nThis value is influenced by the speedMultiplier, the level of the passed skill as well as this person's and .\n" example: [] syntax: - content: public float GetEfficiencyModifier(float speedMultiplier = 1, ActionInfo info = null, SkillType skill = null, float levelModifier = 0.1) + content: public virtual float GetEfficiencyModifier(float speedMultiplier = 1, ActionInfo info = null, SkillType skill = null, float levelModifier = 0.1) parameters: - id: speedMultiplier type: System.Single @@ -5490,7 +5587,7 @@ items: return: type: System.Single description: The person's efficiency, which is a value close to or equal to 1 - content.vb: Public Function GetEfficiencyModifier(speedMultiplier As Single = 1, info As ActionInfo = Nothing, skill As SkillType = Nothing, levelModifier As Single = 0.1) As Single + content.vb: Public Overridable Function GetEfficiencyModifier(speedMultiplier As Single = 1, info As ActionInfo = Nothing, skill As SkillType = Nothing, levelModifier As Single = 0.1) As Single overload: TinyLife.Objects.Person.GetEfficiencyModifier* nameWithType.vb: Person.GetEfficiencyModifier(Single, ActionInfo, SkillType, Single) fullName.vb: TinyLife.Objects.Person.GetEfficiencyModifier(Single, TinyLife.Actions.ActionInfo, TinyLife.Skills.SkillType, Single) @@ -5513,7 +5610,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasHouseholdMember path: ../TinyLife/Objects/Person.cs - startLine: 2119 + startLine: 2127 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5548,7 +5645,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: HasHouseholdMember path: ../TinyLife/Objects/Person.cs - startLine: 2124 + startLine: 2132 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5582,7 +5679,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetProjects path: ../TinyLife/Objects/Person.cs - startLine: 2134 + startLine: 2142 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5620,7 +5717,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetProject path: ../TinyLife/Objects/Person.cs - startLine: 2144 + startLine: 2152 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5661,14 +5758,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StartProject path: ../TinyLife/Objects/Person.cs - startLine: 2153 + startLine: 2161 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nStarts a new project, adding it to the list of this person\n" example: [] syntax: - content: public Project StartProject(Project project) + content: public virtual Project StartProject(Project project) parameters: - id: project type: TinyLife.Goals.Project @@ -5676,7 +5773,7 @@ items: return: type: TinyLife.Goals.Project description: The project that was passed, for chaining - content.vb: Public Function StartProject(project As Project) As Project + content.vb: Public Overridable Function StartProject(project As Project) As Project overload: TinyLife.Objects.Person.StartProject* - uid: TinyLife.Objects.Person.GetPassiveActionPriority(TinyLife.Actions.ActionType) commentId: M:TinyLife.Objects.Person.GetPassiveActionPriority(TinyLife.Actions.ActionType) @@ -5696,14 +5793,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPassiveActionPriority path: ../TinyLife/Objects/Person.cs - startLine: 2165 + startLine: 2173 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns the passive priority for the given .\nThis method evaluates the action's own and adds additional factors like and modifiers for social actions.\nYou can use to change the return value of this method.\n" example: [] syntax: - content: public float GetPassiveActionPriority(ActionType type) + content: public virtual float GetPassiveActionPriority(ActionType type) parameters: - id: type type: TinyLife.Actions.ActionType @@ -5711,7 +5808,7 @@ items: return: type: System.Single description: The action's passive priority - content.vb: Public Function GetPassiveActionPriority(type As ActionType) As Single + content.vb: Public Overridable Function GetPassiveActionPriority(type As ActionType) As Single overload: TinyLife.Objects.Person.GetPassiveActionPriority* - uid: TinyLife.Objects.Person.GetRandomOutfit(TinyLife.Objects.ClothesIntention) commentId: M:TinyLife.Objects.Person.GetRandomOutfit(TinyLife.Objects.ClothesIntention) @@ -5731,14 +5828,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomOutfit path: ../TinyLife/Objects/Person.cs - startLine: 2187 + startLine: 2195 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns the index of the collection that best matches the given .\n" example: [] syntax: - content: public int GetRandomOutfit(ClothesIntention intention) + content: public virtual int GetRandomOutfit(ClothesIntention intention) parameters: - id: intention type: TinyLife.Objects.ClothesIntention @@ -5746,7 +5843,7 @@ items: return: type: System.Int32 description: The index in the collection that best matches the intention, or -1 there is no match. - content.vb: Public Function GetRandomOutfit(intention As ClothesIntention) As Integer + content.vb: Public Overridable Function GetRandomOutfit(intention As ClothesIntention) As Integer overload: TinyLife.Objects.Person.GetRandomOutfit* - uid: TinyLife.Objects.Person.SetCurrentOutfit(TinyLife.Objects.ClothesIntention) commentId: M:TinyLife.Objects.Person.SetCurrentOutfit(TinyLife.Objects.ClothesIntention) @@ -5766,14 +5863,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetCurrentOutfit path: ../TinyLife/Objects/Person.cs - startLine: 2199 + startLine: 2207 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets the current outfit to an outfit that matches the given .\nThis method returns whether returned a valid outfit index or if no matching outfit could be found.\nNote that, if this person is already wearing an outfit that matches the intention, the outfit will not be changed, and this method returns true.\n" example: [] syntax: - content: public bool SetCurrentOutfit(ClothesIntention intention) + content: public virtual bool SetCurrentOutfit(ClothesIntention intention) parameters: - id: intention type: TinyLife.Objects.ClothesIntention @@ -5781,7 +5878,7 @@ items: return: type: System.Boolean description: True if an outfit could be found, or false if no matching outfit could be found. - content.vb: Public Function SetCurrentOutfit(intention As ClothesIntention) As Boolean + content.vb: Public Overridable Function SetCurrentOutfit(intention As ClothesIntention) As Boolean overload: TinyLife.Objects.Person.SetCurrentOutfit* - uid: TinyLife.Objects.Person.SetCurrentOutfit(System.Int32) commentId: M:TinyLife.Objects.Person.SetCurrentOutfit(System.Int32) @@ -5801,19 +5898,19 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetCurrentOutfit path: ../TinyLife/Objects/Person.cs - startLine: 2215 + startLine: 2223 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets this person's to the given index.\nAdditionally, this method updates this person's animation and portrait to the new outfit.\n" example: [] syntax: - content: public void SetCurrentOutfit(int index) + content: public virtual void SetCurrentOutfit(int index) parameters: - id: index type: System.Int32 description: The index to set - content.vb: Public Sub SetCurrentOutfit(index As Integer) + content.vb: Public Overridable Sub SetCurrentOutfit(index As Integer) overload: TinyLife.Objects.Person.SetCurrentOutfit* nameWithType.vb: Person.SetCurrentOutfit(Integer) fullName.vb: TinyLife.Objects.Person.SetCurrentOutfit(Integer) @@ -5836,14 +5933,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetNewId path: ../TinyLife/Objects/Person.cs - startLine: 2230 + startLine: 2238 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets a new for this person, and also updates any furniture and relationship references for them.\nOptionally, a set of additional people and furniture that might not currently be on the map can be passed.\n" example: [] syntax: - content: public void SetNewId(Map map, IEnumerable possibleAdditionalRelationships = null, IEnumerable possibleAdditionalFurniture = null) + content: public virtual void SetNewId(Map map, IEnumerable possibleAdditionalRelationships = null, IEnumerable possibleAdditionalFurniture = null) parameters: - id: map type: TinyLife.World.Map @@ -5854,7 +5951,7 @@ items: - id: possibleAdditionalFurniture type: System.Collections.Generic.IEnumerable{TinyLife.Objects.Furniture} description: A set of objects, in addition to the map's objects, that this person might have created - content.vb: Public Sub SetNewId(map As Map, possibleAdditionalRelationships As IEnumerable(Of Person) = Nothing, possibleAdditionalFurniture As IEnumerable(Of Furniture) = Nothing) + content.vb: Public Overridable Sub SetNewId(map As Map, possibleAdditionalRelationships As IEnumerable(Of Person) = Nothing, possibleAdditionalFurniture As IEnumerable(Of Furniture) = Nothing) overload: TinyLife.Objects.Person.SetNewId* nameWithType.vb: Person.SetNewId(Map, IEnumerable(Of Person), IEnumerable(Of Furniture)) fullName.vb: TinyLife.Objects.Person.SetNewId(TinyLife.World.Map, System.Collections.Generic.IEnumerable(Of TinyLife.Objects.Person), System.Collections.Generic.IEnumerable(Of TinyLife.Objects.Furniture)) @@ -5877,7 +5974,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsIdMatch path: ../TinyLife/Objects/Person.cs - startLine: 2284 + startLine: 2292 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5912,7 +6009,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsIdMatch path: ../TinyLife/Objects/Person.cs - startLine: 2294 + startLine: 2302 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -5947,14 +6044,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPersonalitySkillBoost path: ../TinyLife/Objects/Person.cs - startLine: 2304 + startLine: 2312 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns a modifier that skills with the given should be boosted by, based on this person's .\nThis method is used by .\n" example: [] syntax: - content: public float GetPersonalitySkillBoost(SkillType skill) + content: public virtual float GetPersonalitySkillBoost(SkillType skill) parameters: - id: skill type: TinyLife.Skills.SkillType @@ -5962,7 +6059,7 @@ items: return: type: System.Single description: A modifier that skills should be boosted by - content.vb: Public Function GetPersonalitySkillBoost(skill As SkillType) As Single + content.vb: Public Overridable Function GetPersonalitySkillBoost(skill As SkillType) As Single overload: TinyLife.Objects.Person.GetPersonalitySkillBoost* - uid: TinyLife.Objects.Person.GetCurrentGoals commentId: M:TinyLife.Objects.Person.GetCurrentGoals @@ -5982,18 +6079,18 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetCurrentGoals path: ../TinyLife/Objects/Person.cs - startLine: 2324 + startLine: 2332 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns a set of objects that this person is currently working on.\nTo add more current goals, use .\n" example: [] syntax: - content: public List GetCurrentGoals() + content: public virtual List GetCurrentGoals() return: type: System.Collections.Generic.List{TinyLife.Goals.IGoalTriggerable} description: This person's current goals - content.vb: Public Function GetCurrentGoals() As List(Of IGoalTriggerable) + content.vb: Public Overridable Function GetCurrentGoals() As List(Of IGoalTriggerable) overload: TinyLife.Objects.Person.GetCurrentGoals* - uid: TinyLife.Objects.Person.EarnMoney(System.Single,System.Object) commentId: M:TinyLife.Objects.Person.EarnMoney(System.Single,System.Object) @@ -6013,14 +6110,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EarnMoney path: ../TinyLife/Objects/Person.cs - startLine: 2348 + startLine: 2356 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nCauses this person's to be increased, but additionally triggers the .\nThis method should only be used if the money is earned in a "manual" way, like when selling a homemade painting or publishing a book.\n" example: [] syntax: - content: public void EarnMoney(float money, object triggerObject) + content: public virtual void EarnMoney(float money, object triggerObject) parameters: - id: money type: System.Single @@ -6028,7 +6125,7 @@ items: - id: triggerObject type: System.Object description: The object that caused the money to be earned, which is passed to . - content.vb: Public Sub EarnMoney(money As Single, triggerObject As Object) + content.vb: Public Overridable Sub EarnMoney(money As Single, triggerObject As Object) overload: TinyLife.Objects.Person.EarnMoney* nameWithType.vb: Person.EarnMoney(Single, Object) fullName.vb: TinyLife.Objects.Person.EarnMoney(Single, Object) @@ -6051,14 +6148,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddMemory path: ../TinyLife/Objects/Person.cs - startLine: 2361 + startLine: 2369 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nAdds a to the list of this person.\n" example: [] syntax: - content: 'public T AddMemory(MemoryType type, ActionInfo info, bool replace = true, TimeSpan? timeOccured = null) where T : Memory' + content: 'public virtual T AddMemory(MemoryType type, ActionInfo info, bool replace = true, TimeSpan? timeOccured = null) where T : Memory' parameters: - id: type type: TinyLife.Goals.MemoryType @@ -6077,7 +6174,7 @@ items: return: type: '{T}' description: The added memory. - content.vb: Public Function AddMemory(Of T As Memory)(type As MemoryType, info As ActionInfo, replace As Boolean = True, timeOccured As TimeSpan? = Nothing) As T + content.vb: Public Overridable Function AddMemory(Of T As Memory)(type As MemoryType, info As ActionInfo, replace As Boolean = True, timeOccured As TimeSpan? = Nothing) As T overload: TinyLife.Objects.Person.AddMemory* nameWithType.vb: Person.AddMemory(Of T)(MemoryType, ActionInfo, Boolean, TimeSpan?) fullName.vb: TinyLife.Objects.Person.AddMemory(Of T)(TinyLife.Goals.MemoryType, TinyLife.Actions.ActionInfo, Boolean, System.TimeSpan?) @@ -6100,14 +6197,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMemories path: ../TinyLife/Objects/Person.cs - startLine: 2374 + startLine: 2382 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns all instances that this person currently tracks that match the given .\n" example: [] syntax: - content: 'public IEnumerable GetMemories(MemoryType type) where T : Memory' + content: 'public virtual IEnumerable GetMemories(MemoryType type) where T : Memory' parameters: - id: type type: TinyLife.Goals.MemoryType @@ -6117,7 +6214,7 @@ items: return: type: System.Collections.Generic.IEnumerable{{T}} description: The memories of the given type. - content.vb: Public Function GetMemories(Of T As Memory)(type As MemoryType) As IEnumerable(Of T) + content.vb: Public Overridable Function GetMemories(Of T As Memory)(type As MemoryType) As IEnumerable(Of T) overload: TinyLife.Objects.Person.GetMemories* nameWithType.vb: Person.GetMemories(Of T)(MemoryType) fullName.vb: TinyLife.Objects.Person.GetMemories(Of T)(TinyLife.Goals.MemoryType) @@ -6140,14 +6237,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveMemory path: ../TinyLife/Objects/Person.cs - startLine: 2384 + startLine: 2392 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nRemoves all instances of the given type T and from this person's collection, and returns the amount of memories removed.\n" example: [] syntax: - content: 'public int RemoveMemory(MemoryType type, Func condition = null) where T : Memory' + content: 'public virtual int RemoveMemory(MemoryType type, Func condition = null) where T : Memory' parameters: - id: type type: TinyLife.Goals.MemoryType @@ -6160,7 +6257,7 @@ items: return: type: System.Int32 description: How many memories were removed. - content.vb: Public Function RemoveMemory(Of T As Memory)(type As MemoryType, condition As Func(Of T, Boolean) = Nothing) As Integer + content.vb: Public Overridable Function RemoveMemory(Of T As Memory)(type As MemoryType, condition As Func(Of T, Boolean) = Nothing) As Integer overload: TinyLife.Objects.Person.RemoveMemory* nameWithType.vb: Person.RemoveMemory(Of T)(MemoryType, Func(Of T, Boolean)) fullName.vb: TinyLife.Objects.Person.RemoveMemory(Of T)(TinyLife.Goals.MemoryType, System.Func(Of T, Boolean)) @@ -6183,14 +6280,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTimeSinceMemory path: ../TinyLife/Objects/Person.cs - startLine: 2395 + startLine: 2403 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns the time since a memory of the given has occured.\nIf there are multiple memories of the given type, the minimum time is returned. If there is no memory of the given type, null is returned.\n" example: [] syntax: - content: 'public TimeSpan? GetTimeSinceMemory(MemoryType type, Func condition = null) where T : Memory' + content: 'public virtual TimeSpan? GetTimeSinceMemory(MemoryType type, Func condition = null) where T : Memory' parameters: - id: type type: TinyLife.Goals.MemoryType @@ -6203,7 +6300,7 @@ items: return: type: System.Nullable{System.TimeSpan} description: The time since the given memory type. - content.vb: Public Function GetTimeSinceMemory(Of T As Memory)(type As MemoryType, condition As Func(Of T, Boolean) = Nothing) As TimeSpan? + content.vb: Public Overridable Function GetTimeSinceMemory(Of T As Memory)(type As MemoryType, condition As Func(Of T, Boolean) = Nothing) As TimeSpan? overload: TinyLife.Objects.Person.GetTimeSinceMemory* nameWithType.vb: Person.GetTimeSinceMemory(Of T)(MemoryType, Func(Of T, Boolean)) fullName.vb: TinyLife.Objects.Person.GetTimeSinceMemory(Of T)(TinyLife.Goals.MemoryType, System.Func(Of T, Boolean)) @@ -6226,14 +6323,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTimeSinceMemory path: ../TinyLife/Objects/Person.cs - startLine: 2414 + startLine: 2422 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nReturns the time since a memory of one of the given values has occured.\nIf there are multiple memories that match the given types, the minimum time is returned. If there is no memory of any of the given types, null is returned.\n" example: [] syntax: - content: 'public TimeSpan? GetTimeSinceMemory(params MemoryType[] types) where T : Memory' + content: 'public virtual TimeSpan? GetTimeSinceMemory(params MemoryType[] types) where T : Memory' parameters: - id: types type: TinyLife.Goals.MemoryType[] @@ -6243,7 +6340,7 @@ items: return: type: System.Nullable{System.TimeSpan} description: The time since the given memory type. - content.vb: Public Function GetTimeSinceMemory(Of T As Memory)(ParamArray types As MemoryType()) As TimeSpan? + content.vb: Public Overridable Function GetTimeSinceMemory(Of T As Memory)(ParamArray types As MemoryType()) As TimeSpan? overload: TinyLife.Objects.Person.GetTimeSinceMemory* nameWithType.vb: Person.GetTimeSinceMemory(Of T)(ParamArray MemoryType()) fullName.vb: TinyLife.Objects.Person.GetTimeSinceMemory(Of T)(ParamArray TinyLife.Goals.MemoryType()) @@ -6266,15 +6363,15 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GoToExitRoad path: ../TinyLife/Objects/Person.cs - startLine: 2427 + startLine: 2435 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nTeleports this person to the nearest exit road using .\n" example: [] syntax: - content: public void GoToExitRoad() - content.vb: Public Sub GoToExitRoad() + content: public virtual void GoToExitRoad() + content.vb: Public Overridable Sub GoToExitRoad() overload: TinyLife.Objects.Person.GoToExitRoad* - uid: TinyLife.Objects.Person.GetAction``1(System.Guid,System.Boolean) commentId: M:TinyLife.Objects.Person.GetAction``1(System.Guid,System.Boolean) @@ -6294,7 +6391,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetAction path: ../TinyLife/Objects/Person.cs - startLine: 2439 + startLine: 2447 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6338,14 +6435,14 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetPregnancyStatus path: ../TinyLife/Objects/Person.cs - startLine: 2459 + startLine: 2467 assemblies: - Tiny Life namespace: TinyLife.Objects summary: "\nSets this person's pregnancy status to the given parameters. This person's , as well as their will be set. If memories is true, the memory will be removed, and the memory will be added if hours is greater than 0.\n" example: [] syntax: - content: public void SetPregnancyStatus(int hours, Guid partner, bool memories = true) + content: public virtual void SetPregnancyStatus(int hours, Guid partner, bool memories = true) parameters: - id: hours type: System.Int32 @@ -6356,11 +6453,651 @@ items: - id: memories type: System.Boolean description: Whether the appropriate instances should be added to this person. - content.vb: Public Sub SetPregnancyStatus(hours As Integer, partner As Guid, memories As Boolean = True) + content.vb: Public Overridable Sub SetPregnancyStatus(hours As Integer, partner As Guid, memories As Boolean = True) overload: TinyLife.Objects.Person.SetPregnancyStatus* nameWithType.vb: Person.SetPregnancyStatus(Integer, Guid, Boolean) fullName.vb: TinyLife.Objects.Person.SetPregnancyStatus(Integer, System.Guid, Boolean) name.vb: SetPregnancyStatus(Integer, Guid, Boolean) +- uid: TinyLife.Objects.Person.SetAnimationsFromLooks + commentId: M:TinyLife.Objects.Person.SetAnimationsFromLooks + id: SetAnimationsFromLooks + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: SetAnimationsFromLooks() + nameWithType: Person.SetAnimationsFromLooks() + fullName: TinyLife.Objects.Person.SetAnimationsFromLooks() + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: SetAnimationsFromLooks + path: ../TinyLife/Objects/Person.cs + startLine: 2487 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nA method that is called in various places to update this person's animation data. By default, this method calls for each clothes layer as well as this person's shadow.\n" + example: [] + syntax: + content: public virtual void SetAnimationsFromLooks() + content.vb: Public Overridable Sub SetAnimationsFromLooks() + overload: TinyLife.Objects.Person.SetAnimationsFromLooks* +- uid: TinyLife.Objects.Person.ImportAtExitRoad(TinyLife.World.Map) + commentId: M:TinyLife.Objects.Person.ImportAtExitRoad(TinyLife.World.Map) + id: ImportAtExitRoad(TinyLife.World.Map) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: ImportAtExitRoad(Map) + nameWithType: Person.ImportAtExitRoad(Map) + fullName: TinyLife.Objects.Person.ImportAtExitRoad(TinyLife.World.Map) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: ImportAtExitRoad + path: ../TinyLife/Objects/Person.cs + startLine: 2502 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nImports this person at a nearby exit road, additionally validating them, setting a new for them and adding them to the given map.\n" + example: [] + syntax: + content: public virtual void ImportAtExitRoad(Map map) + parameters: + - id: map + type: TinyLife.World.Map + description: The map to import on. + content.vb: Public Overridable Sub ImportAtExitRoad(map As Map) + overload: TinyLife.Objects.Person.ImportAtExitRoad* +- uid: TinyLife.Objects.Person.GoToRandomHomeLocation + commentId: M:TinyLife.Objects.Person.GoToRandomHomeLocation + id: GoToRandomHomeLocation + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: GoToRandomHomeLocation() + nameWithType: Person.GoToRandomHomeLocation() + fullName: TinyLife.Objects.Person.GoToRandomHomeLocation() + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GoToRandomHomeLocation + path: ../TinyLife/Objects/Person.cs + startLine: 2513 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nCauses this person to teleport to a random location close to their home location ().\n" + example: [] + syntax: + content: public virtual void GoToRandomHomeLocation() + content.vb: Public Overridable Sub GoToRandomHomeLocation() + overload: TinyLife.Objects.Person.GoToRandomHomeLocation* +- uid: TinyLife.Objects.Person.ShouldDrawHeldItem + commentId: M:TinyLife.Objects.Person.ShouldDrawHeldItem + id: ShouldDrawHeldItem + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: ShouldDrawHeldItem() + nameWithType: Person.ShouldDrawHeldItem() + fullName: TinyLife.Objects.Person.ShouldDrawHeldItem() + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: ShouldDrawHeldItem + path: ../TinyLife/Objects/Person.cs + startLine: 2531 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nReturns whether or not to draw this person's held object at the given time, whicih is used by for drawing.\n" + example: [] + syntax: + content: public virtual bool ShouldDrawHeldItem() + return: + type: System.Boolean + description: Whether or not to draw this person's held object. + content.vb: Public Overridable Function ShouldDrawHeldItem() As Boolean + overload: TinyLife.Objects.Person.ShouldDrawHeldItem* +- uid: TinyLife.Objects.Person.GetHeldItemDrawOffset(System.Boolean) + commentId: M:TinyLife.Objects.Person.GetHeldItemDrawOffset(System.Boolean) + id: GetHeldItemDrawOffset(System.Boolean) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: GetHeldItemDrawOffset(bool) + nameWithType: Person.GetHeldItemDrawOffset(bool) + fullName: TinyLife.Objects.Person.GetHeldItemDrawOffset(bool) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetHeldItemDrawOffset + path: ../TinyLife/Objects/Person.cs + startLine: 2542 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nReturns this person's held item's draw offset, which is used by for drawing.\n" + example: [] + syntax: + content: public virtual Vector2 GetHeldItemDrawOffset(bool includeItemOffsets) + parameters: + - id: includeItemOffsets + type: System.Boolean + return: + type: Microsoft.Xna.Framework.Vector2 + description: This person's held item's draw offset. + content.vb: Public Overridable Function GetHeldItemDrawOffset(includeItemOffsets As Boolean) As Vector2 + overload: TinyLife.Objects.Person.GetHeldItemDrawOffset* + nameWithType.vb: Person.GetHeldItemDrawOffset(Boolean) + fullName.vb: TinyLife.Objects.Person.GetHeldItemDrawOffset(Boolean) + name.vb: GetHeldItemDrawOffset(Boolean) +- uid: TinyLife.Objects.Person.GetHeldItemDepthOffset + commentId: M:TinyLife.Objects.Person.GetHeldItemDepthOffset + id: GetHeldItemDepthOffset + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: GetHeldItemDepthOffset() + nameWithType: Person.GetHeldItemDepthOffset() + fullName: TinyLife.Objects.Person.GetHeldItemDepthOffset() + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetHeldItemDepthOffset + path: ../TinyLife/Objects/Person.cs + startLine: 2570 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nReturns this person's held item's depth offset, which is used by for drawing.\n" + example: [] + syntax: + content: public virtual float GetHeldItemDepthOffset() + return: + type: System.Single + description: This person's held item's depth offset. + content.vb: Public Overridable Function GetHeldItemDepthOffset() As Single + overload: TinyLife.Objects.Person.GetHeldItemDepthOffset* +- uid: TinyLife.Objects.Person.GetPivot + commentId: M:TinyLife.Objects.Person.GetPivot + id: GetPivot + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: GetPivot() + nameWithType: Person.GetPivot() + fullName: TinyLife.Objects.Person.GetPivot() + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetPivot + path: ../TinyLife/Objects/Person.cs + startLine: 2581 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nReturns this person's screen-space pivot position, based on the current animation frame.\n" + example: [] + syntax: + content: public virtual Vector2 GetPivot() + return: + type: Microsoft.Xna.Framework.Vector2 + description: This person's screen-space pivot position. + content.vb: Public Overridable Function GetPivot() As Vector2 + overload: TinyLife.Objects.Person.GetPivot* +- uid: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + commentId: M:TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + id: CanExecuteAction(TinyLife.Actions.ActionType,TinyLife.Actions.ActionInfo,System.Boolean) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: CanExecuteAction(ActionType, ActionInfo, bool) + nameWithType: Person.CanExecuteAction(ActionType, ActionInfo, bool) + fullName: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, bool) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: CanExecuteAction + path: ../TinyLife/Objects/Person.cs + startLine: 2593 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nReturns the given action type's delegate's result and also checks additional conditions like , , and .\nThis method additionally catches and handles any exceptions by printing them out as a notification to the player.\n" + example: [] + syntax: + content: public virtual CanExecuteResult CanExecuteAction(ActionType type, ActionInfo info, bool automatic) + parameters: + - id: type + type: TinyLife.Actions.ActionType + description: The action to execute. + - id: info + type: TinyLife.Actions.ActionInfo + description: The action info + - id: automatic + type: System.Boolean + description: Whether the action is automatically executed + return: + type: TinyLife.Actions.CanExecuteResult + description: A that represents whether the action can be executed right now + content.vb: Public Overridable Function CanExecuteAction(type As ActionType, info As ActionInfo, automatic As Boolean) As CanExecuteResult + overload: TinyLife.Objects.Person.CanExecuteAction* + nameWithType.vb: Person.CanExecuteAction(ActionType, ActionInfo, Boolean) + fullName.vb: TinyLife.Objects.Person.CanExecuteAction(TinyLife.Actions.ActionType, TinyLife.Actions.ActionInfo, Boolean) + name.vb: CanExecuteAction(ActionType, ActionInfo, Boolean) +- uid: TinyLife.Objects.Person.GetValidClothes(TinyLife.Objects.ClothesLayer) + commentId: M:TinyLife.Objects.Person.GetValidClothes(TinyLife.Objects.ClothesLayer) + id: GetValidClothes(TinyLife.Objects.ClothesLayer) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: GetValidClothes(ClothesLayer) + nameWithType: Person.GetValidClothes(ClothesLayer) + fullName: TinyLife.Objects.Person.GetValidClothes(TinyLife.Objects.ClothesLayer) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GetValidClothes + path: ../TinyLife/Objects/Person.cs + startLine: 2645 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nReturns the clothes from the registry that match the given that this person can wear, based on their and other factors.\n" + example: [] + syntax: + content: public virtual IEnumerable GetValidClothes(ClothesLayer layer) + parameters: + - id: layer + type: TinyLife.Objects.ClothesLayer + description: The layer + return: + type: System.Collections.Generic.IEnumerable{TinyLife.Objects.Clothes} + description: The clothes that match + content.vb: Public Overridable Function GetValidClothes(layer As ClothesLayer) As IEnumerable(Of Clothes) + overload: TinyLife.Objects.Person.GetValidClothes* +- uid: TinyLife.Objects.Person.CanApplyPersonality(TinyLife.PersonalityType) + commentId: M:TinyLife.Objects.Person.CanApplyPersonality(TinyLife.PersonalityType) + id: CanApplyPersonality(TinyLife.PersonalityType) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: CanApplyPersonality(PersonalityType) + nameWithType: Person.CanApplyPersonality(PersonalityType) + fullName: TinyLife.Objects.Person.CanApplyPersonality(TinyLife.PersonalityType) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: CanApplyPersonality + path: ../TinyLife/Objects/Person.cs + startLine: 2657 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nReturns whether the given personality type can be applied to this person.\nThe return value is determined by this person's existing and the personality type's and value.\n" + example: [] + syntax: + content: public virtual bool CanApplyPersonality(PersonalityType type) + parameters: + - id: type + type: TinyLife.PersonalityType + return: + type: System.Boolean + description: Whether the personality type can apply to this person. + content.vb: Public Overridable Function CanApplyPersonality(type As PersonalityType) As Boolean + overload: TinyLife.Objects.Person.CanApplyPersonality* +- uid: TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point) + commentId: M:TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point) + id: GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: GenerateAnimationGroup(ClothesLayer, int, IReadOnlyDictionary, Point) + nameWithType: Person.GenerateAnimationGroup(ClothesLayer, int, IReadOnlyDictionary, Point) + fullName: TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer, int, System.Collections.Generic.IReadOnlyDictionary, Microsoft.Xna.Framework.Point) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GenerateAnimationGroup + path: ../TinyLife/Objects/Person.cs + startLine: 2671 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nGenerates a for the given settings. This method is called in for each clothes layer, as well as this person's shadow.\n" + example: [] + syntax: + content: protected virtual SpriteAnimationGroup GenerateAnimationGroup(ClothesLayer clothesLayer, int layerAmount, IReadOnlyDictionary textures, Point textureRegion) + parameters: + - id: clothesLayer + type: TinyLife.Objects.ClothesLayer + description: The clothes layer. + - id: layerAmount + type: System.Int32 + description: The amount of layers the clothing item has. + - id: textures + type: System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion} + description: The textures to use. + - id: textureRegion + type: Microsoft.Xna.Framework.Point + description: The initial texture region to use. + return: + type: MLEM.Animations.SpriteAnimationGroup + description: The generated . + content.vb: Protected Overridable Function GenerateAnimationGroup(clothesLayer As ClothesLayer, layerAmount As Integer, textures As IReadOnlyDictionary(Of Point, TextureRegion), textureRegion As Point) As SpriteAnimationGroup + overload: TinyLife.Objects.Person.GenerateAnimationGroup* + nameWithType.vb: Person.GenerateAnimationGroup(ClothesLayer, Integer, IReadOnlyDictionary(Of Point, TextureRegion), Point) + fullName.vb: TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer, Integer, System.Collections.Generic.IReadOnlyDictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point) + name.vb: GenerateAnimationGroup(ClothesLayer, Integer, IReadOnlyDictionary(Of Point, TextureRegion), Point) +- uid: TinyLife.Objects.Person.DrawLooks(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,TinyLife.Objects.ParentInfo,System.Nullable{Microsoft.Xna.Framework.Color},System.Single) + commentId: M:TinyLife.Objects.Person.DrawLooks(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,TinyLife.Objects.ParentInfo,System.Nullable{Microsoft.Xna.Framework.Color},System.Single) + id: DrawLooks(Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,TinyLife.Objects.ParentInfo,System.Nullable{Microsoft.Xna.Framework.Color},System.Single) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: DrawLooks(SpriteBatch, Vector2, Vector2, ParentInfo, Color?, float) + nameWithType: Person.DrawLooks(SpriteBatch, Vector2, Vector2, ParentInfo, Color?, float) + fullName: TinyLife.Objects.Person.DrawLooks(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, TinyLife.Objects.ParentInfo, Microsoft.Xna.Framework.Color?, float) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: DrawLooks + path: ../TinyLife/Objects/Person.cs + startLine: 2708 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nDraws this person's looks in the world, which includes their clothes and shadow by default.\n" + example: [] + syntax: + content: protected virtual void DrawLooks(SpriteBatch batch, Vector2 drawPos, Vector2 depthPos, ParentInfo parent, Color? overrideColor = null, float scale = 1) + parameters: + - 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 draw position in screen space. + - id: depthPos + type: Microsoft.Xna.Framework.Vector2 + description: The position to use for calculating depth. + - id: parent + type: TinyLife.Objects.ParentInfo + description: This person's parent info. + - id: overrideColor + type: System.Nullable{Microsoft.Xna.Framework.Color} + description: An override color to use instead of this person's default colors. + - id: scale + type: System.Single + description: The scale to draw with. + content.vb: Protected Overridable Sub DrawLooks(batch As SpriteBatch, drawPos As Vector2, depthPos As Vector2, parent As ParentInfo, overrideColor As Color? = Nothing, scale As Single = 1) + overload: TinyLife.Objects.Person.DrawLooks* + nameWithType.vb: Person.DrawLooks(SpriteBatch, Vector2, Vector2, ParentInfo, Color?, Single) + fullName.vb: TinyLife.Objects.Person.DrawLooks(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, TinyLife.Objects.ParentInfo, Microsoft.Xna.Framework.Color?, Single) + name.vb: DrawLooks(SpriteBatch, Vector2, Vector2, ParentInfo, Color?, Single) +- uid: TinyLife.Objects.Person.UpdateAnimations(System.TimeSpan,System.Single) + commentId: M:TinyLife.Objects.Person.UpdateAnimations(System.TimeSpan,System.Single) + id: UpdateAnimations(System.TimeSpan,System.Single) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: UpdateAnimations(TimeSpan, float) + nameWithType: Person.UpdateAnimations(TimeSpan, float) + fullName: TinyLife.Objects.Person.UpdateAnimations(System.TimeSpan, float) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: UpdateAnimations + path: ../TinyLife/Objects/Person.cs + startLine: 2731 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nA method called in , as well as when this person's rotation changes in to update this person's animation data to the proper state for the current update frame.\n" + example: [] + syntax: + content: protected virtual void UpdateAnimations(TimeSpan elapsedGameTime, float speedMultiplier) + parameters: + - id: elapsedGameTime + type: System.TimeSpan + description: The amount of time elapsed since the last animation update. + - id: speedMultiplier + type: System.Single + description: The speed multiplier. + content.vb: Protected Overridable Sub UpdateAnimations(elapsedGameTime As TimeSpan, speedMultiplier As Single) + overload: TinyLife.Objects.Person.UpdateAnimations* + nameWithType.vb: Person.UpdateAnimations(TimeSpan, Single) + fullName.vb: TinyLife.Objects.Person.UpdateAnimations(System.TimeSpan, Single) + name.vb: UpdateAnimations(TimeSpan, Single) +- uid: TinyLife.Objects.Person.OnActionCompleted(TinyLife.Actions.Action,TinyLife.Actions.CompletionType) + commentId: M:TinyLife.Objects.Person.OnActionCompleted(TinyLife.Actions.Action,TinyLife.Actions.CompletionType) + id: OnActionCompleted(TinyLife.Actions.Action,TinyLife.Actions.CompletionType) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: OnActionCompleted(Action, CompletionType) + nameWithType: Person.OnActionCompleted(Action, CompletionType) + fullName: TinyLife.Objects.Person.OnActionCompleted(TinyLife.Actions.Action, TinyLife.Actions.CompletionType) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OnActionCompleted + path: ../TinyLife/Objects/Person.cs + startLine: 2750 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nA method that is called in this person's when an completes.\nBy default, this method does multiple things, including raising the event and calling , as well as multiple things related to specific action results, like adding -based emotions.\n" + example: [] + syntax: + content: protected virtual void OnActionCompleted(Action action, CompletionType completion) + parameters: + - id: action + type: TinyLife.Actions.Action + description: '' + - id: completion + type: TinyLife.Actions.CompletionType + description: '' + content.vb: Protected Overridable Sub OnActionCompleted(action As Action, completion As CompletionType) + overload: TinyLife.Objects.Person.OnActionCompleted* +- uid: TinyLife.Objects.Person.UpdateAction(TinyLife.Actions.Action,Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single,System.Collections.Generic.IEnumerable{TinyLife.Goals.IGoalTriggerable}) + commentId: M:TinyLife.Objects.Person.UpdateAction(TinyLife.Actions.Action,Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single,System.Collections.Generic.IEnumerable{TinyLife.Goals.IGoalTriggerable}) + id: UpdateAction(TinyLife.Actions.Action,Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single,System.Collections.Generic.IEnumerable{TinyLife.Goals.IGoalTriggerable}) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: UpdateAction(Action, GameTime, TimeSpan, float, IEnumerable) + nameWithType: Person.UpdateAction(Action, GameTime, TimeSpan, float, IEnumerable) + fullName: TinyLife.Objects.Person.UpdateAction(TinyLife.Actions.Action, Microsoft.Xna.Framework.GameTime, System.TimeSpan, float, System.Collections.Generic.IEnumerable) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: UpdateAction + path: ../TinyLife/Objects/Person.cs + startLine: 2829 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nA method that is called by this person's method when an is to be updated. By default, this method does multiple things including raising the event and calling .\n" + example: [] + syntax: + content: protected virtual void UpdateAction(Action action, GameTime time, TimeSpan passedInGame, float speedMultiplier, IEnumerable goals) + parameters: + - id: action + type: TinyLife.Actions.Action + description: The action to update. + - id: time + type: Microsoft.Xna.Framework.GameTime + description: The game's time. + - id: passedInGame + type: System.TimeSpan + description: The amount of time that has passed in-game since the last update. + - id: speedMultiplier + type: System.Single + description: The current speed multiplier. + - id: goals + type: System.Collections.Generic.IEnumerable{TinyLife.Goals.IGoalTriggerable} + description: This person's goals, which is always equal to . + content.vb: Protected Overridable Sub UpdateAction(action As Action, time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single, goals As IEnumerable(Of IGoalTriggerable)) + overload: TinyLife.Objects.Person.UpdateAction* + nameWithType.vb: Person.UpdateAction(Action, GameTime, TimeSpan, Single, IEnumerable(Of IGoalTriggerable)) + fullName.vb: TinyLife.Objects.Person.UpdateAction(TinyLife.Actions.Action, Microsoft.Xna.Framework.GameTime, System.TimeSpan, Single, System.Collections.Generic.IEnumerable(Of TinyLife.Goals.IGoalTriggerable)) + name.vb: UpdateAction(Action, GameTime, TimeSpan, Single, IEnumerable(Of IGoalTriggerable)) +- uid: TinyLife.Objects.Person.InitializeAction(TinyLife.Actions.Action) + commentId: M:TinyLife.Objects.Person.InitializeAction(TinyLife.Actions.Action) + id: InitializeAction(TinyLife.Actions.Action) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: InitializeAction(Action) + nameWithType: Person.InitializeAction(Action) + fullName: TinyLife.Objects.Person.InitializeAction(TinyLife.Actions.Action) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: InitializeAction + path: ../TinyLife/Objects/Person.cs + startLine: 2842 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nA method that is called by this person's method when an action from the is moved to . By default, this method raises the event and calls .\n" + example: [] + syntax: + content: protected virtual void InitializeAction(Action action) + parameters: + - id: action + type: TinyLife.Actions.Action + description: The action. + content.vb: Protected Overridable Sub InitializeAction(action As Action) + overload: TinyLife.Objects.Person.InitializeAction* +- uid: TinyLife.Objects.Person.OnAgeChanged(TinyLife.Objects.AgeGroup) + commentId: M:TinyLife.Objects.Person.OnAgeChanged(TinyLife.Objects.AgeGroup) + id: OnAgeChanged(TinyLife.Objects.AgeGroup) + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: OnAgeChanged(AgeGroup) + nameWithType: Person.OnAgeChanged(AgeGroup) + fullName: TinyLife.Objects.Person.OnAgeChanged(TinyLife.Objects.AgeGroup) + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OnAgeChanged + path: ../TinyLife/Objects/Person.cs + startLine: 2852 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nA method that is called by when this person's has just changed. Their previous age is stored in lastAge.\n" + example: [] + syntax: + content: protected virtual void OnAgeChanged(AgeGroup lastAge) + parameters: + - id: lastAge + type: TinyLife.Objects.AgeGroup + description: This person's previous age. + content.vb: Protected Overridable Sub OnAgeChanged(lastAge As AgeGroup) + overload: TinyLife.Objects.Person.OnAgeChanged* +- uid: TinyLife.Objects.Person.ValidateClothes + commentId: M:TinyLife.Objects.Person.ValidateClothes + id: ValidateClothes + parent: TinyLife.Objects.Person + langs: + - csharp + - vb + name: ValidateClothes() + nameWithType: Person.ValidateClothes() + fullName: TinyLife.Objects.Person.ValidateClothes() + type: Method + source: + remote: + path: TinyLife/Objects/Person.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: ValidateClothes + path: ../TinyLife/Objects/Person.cs + startLine: 2935 + assemblies: + - Tiny Life + namespace: TinyLife.Objects + summary: "\nValidates this person's current , removing any invalid ones and adding clothes to layers that require them.\nThis method is called automatically in , as well as when a preview is loaded.\n" + example: [] + syntax: + content: public virtual void ValidateClothes() + content.vb: Public Overridable Sub ValidateClothes() + overload: TinyLife.Objects.Person.ValidateClothes* - uid: TinyLife.Objects.Person.GetRandomSpeakSound(TinyLife.Objects.VoiceStyle,TinyLife.Objects.SpeakStyle,System.Collections.Generic.List{Microsoft.Xna.Framework.Audio.SoundEffect},System.Nullable{System.TimeSpan}) commentId: M:TinyLife.Objects.Person.GetRandomSpeakSound(TinyLife.Objects.VoiceStyle,TinyLife.Objects.SpeakStyle,System.Collections.Generic.List{Microsoft.Xna.Framework.Audio.SoundEffect},System.Nullable{System.TimeSpan}) id: GetRandomSpeakSound(TinyLife.Objects.VoiceStyle,TinyLife.Objects.SpeakStyle,System.Collections.Generic.List{Microsoft.Xna.Framework.Audio.SoundEffect},System.Nullable{System.TimeSpan}) @@ -6379,7 +7116,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomSpeakSound path: ../TinyLife/Objects/Person.cs - startLine: 2900 + startLine: 3060 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -6426,7 +7163,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Create path: ../TinyLife/Objects/Person.cs - startLine: 2928 + startLine: 3088 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -8040,6 +8777,32 @@ references: nameWithType.vb: Integer fullName.vb: Integer name.vb: Integer +- uid: TinyLife.Objects.Person.GetWalkSpeed + commentId: M:TinyLife.Objects.Person.GetWalkSpeed + name: GetWalkSpeed() + nameWithType: Person.GetWalkSpeed() + fullName: TinyLife.Objects.Person.GetWalkSpeed() + spec.csharp: + - uid: TinyLife.Objects.Person.GetWalkSpeed + name: GetWalkSpeed + - name: ( + - name: ) + spec.vb: + - uid: TinyLife.Objects.Person.GetWalkSpeed + name: GetWalkSpeed + - name: ( + - name: ) +- uid: System.Single + commentId: T:System.Single + parent: System + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.single + name: float + nameWithType: float + fullName: float + nameWithType.vb: Single + fullName.vb: Single + name.vb: Single - uid: TinyLife.Objects.AgeGroup commentId: T:TinyLife.Objects.AgeGroup parent: TinyLife.Objects @@ -9955,17 +10718,6 @@ references: name: VoiceStyle nameWithType: VoiceStyle fullName: TinyLife.Objects.VoiceStyle -- uid: System.Single - commentId: T:System.Single - parent: System - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.single - name: float - nameWithType: float - fullName: float - nameWithType.vb: Single - fullName.vb: Single - name.vb: Single - uid: MLEM.Misc.Direction2 commentId: T:MLEM.Misc.Direction2 parent: MLEM.Misc @@ -11372,21 +12124,6 @@ references: - name: . - uid: TinyLife.Objects.Person.EfficiencyModifierDelegate name: EfficiencyModifierDelegate -- uid: TinyLife.Objects.Person.GetWalkSpeed - commentId: M:TinyLife.Objects.Person.GetWalkSpeed - name: GetWalkSpeed() - nameWithType: Person.GetWalkSpeed() - fullName: TinyLife.Objects.Person.GetWalkSpeed() - spec.csharp: - - uid: TinyLife.Objects.Person.GetWalkSpeed - name: GetWalkSpeed - - name: ( - - name: ) - spec.vb: - - uid: TinyLife.Objects.Person.GetWalkSpeed - name: GetWalkSpeed - - name: ( - - name: ) - uid: TinyLife.Objects.Person.WalkSpeedDelegate commentId: T:TinyLife.Objects.Person.WalkSpeedDelegate parent: TinyLife.Objects @@ -11927,6 +12664,14 @@ references: isExternal: true href: https://learn.microsoft.com/dotnet/api/system.single - name: ) +- uid: TinyLife.Objects.Person.#ctor* + commentId: Overload:TinyLife.Objects.Person.#ctor + name: Person + nameWithType: Person.Person + fullName: TinyLife.Objects.Person.Person + nameWithType.vb: Person.New + fullName.vb: TinyLife.Objects.Person.New + name.vb: New - uid: TinyLife.Objects.Person.Finalize* commentId: Overload:TinyLife.Objects.Person.Finalize name: ~Person @@ -12767,6 +13512,11 @@ references: name: OnRestoreNeed nameWithType: Person.OnRestoreNeed fullName: TinyLife.Objects.Person.OnRestoreNeed +- uid: TinyLife.Need.Max + commentId: F:TinyLife.Need.Max + name: Max + nameWithType: Need.Max + fullName: TinyLife.Need.Max - uid: TinyLife.GameImpl.Speed commentId: P:TinyLife.GameImpl.Speed name: Speed @@ -14169,6 +14919,547 @@ references: name: SetPregnancyStatus nameWithType: Person.SetPregnancyStatus fullName: TinyLife.Objects.Person.SetPregnancyStatus +- uid: TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point) + commentId: M:TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point) + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + name: GenerateAnimationGroup(ClothesLayer, int, IReadOnlyDictionary, Point) + nameWithType: Person.GenerateAnimationGroup(ClothesLayer, int, IReadOnlyDictionary, Point) + fullName: TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer, int, System.Collections.Generic.IReadOnlyDictionary, Microsoft.Xna.Framework.Point) + nameWithType.vb: Person.GenerateAnimationGroup(ClothesLayer, Integer, IReadOnlyDictionary(Of Point, TextureRegion), Point) + fullName.vb: TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer, Integer, System.Collections.Generic.IReadOnlyDictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion), Microsoft.Xna.Framework.Point) + name.vb: GenerateAnimationGroup(ClothesLayer, Integer, IReadOnlyDictionary(Of Point, TextureRegion), Point) + spec.csharp: + - uid: TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point) + name: GenerateAnimationGroup + - name: ( + - uid: TinyLife.Objects.ClothesLayer + name: ClothesLayer + - name: ',' + - name: " " + - uid: System.Int32 + name: int + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ',' + - name: " " + - uid: System.Collections.Generic.IReadOnlyDictionary`2 + name: IReadOnlyDictionary + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2 + - name: < + - uid: Microsoft.Xna.Framework.Point + name: Point + isExternal: true + - name: ',' + - name: " " + - uid: MLEM.Textures.TextureRegion + name: TextureRegion + isExternal: true + - name: '>' + - name: ',' + - name: " " + - uid: Microsoft.Xna.Framework.Point + name: Point + isExternal: true + - name: ) + spec.vb: + - uid: TinyLife.Objects.Person.GenerateAnimationGroup(TinyLife.Objects.ClothesLayer,System.Int32,System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion},Microsoft.Xna.Framework.Point) + name: GenerateAnimationGroup + - name: ( + - uid: TinyLife.Objects.ClothesLayer + name: ClothesLayer + - name: ',' + - name: " " + - uid: System.Int32 + name: Integer + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + - name: ',' + - name: " " + - uid: System.Collections.Generic.IReadOnlyDictionary`2 + name: IReadOnlyDictionary + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2 + - name: ( + - name: Of + - name: " " + - uid: Microsoft.Xna.Framework.Point + name: Point + isExternal: true + - name: ',' + - name: " " + - uid: MLEM.Textures.TextureRegion + name: TextureRegion + isExternal: true + - name: ) + - name: ',' + - name: " " + - uid: Microsoft.Xna.Framework.Point + name: Point + isExternal: true + - name: ) +- uid: TinyLife.Objects.Person.SetAnimationsFromLooks* + commentId: Overload:TinyLife.Objects.Person.SetAnimationsFromLooks + name: SetAnimationsFromLooks + nameWithType: Person.SetAnimationsFromLooks + fullName: TinyLife.Objects.Person.SetAnimationsFromLooks +- uid: TinyLife.Objects.Person.ImportAtExitRoad* + commentId: Overload:TinyLife.Objects.Person.ImportAtExitRoad + name: ImportAtExitRoad + nameWithType: Person.ImportAtExitRoad + fullName: TinyLife.Objects.Person.ImportAtExitRoad +- uid: TinyLife.Objects.Person.GetHomeLocation + commentId: M:TinyLife.Objects.Person.GetHomeLocation + name: GetHomeLocation() + nameWithType: Person.GetHomeLocation() + fullName: TinyLife.Objects.Person.GetHomeLocation() + spec.csharp: + - uid: TinyLife.Objects.Person.GetHomeLocation + name: GetHomeLocation + - name: ( + - name: ) + spec.vb: + - uid: TinyLife.Objects.Person.GetHomeLocation + name: GetHomeLocation + - name: ( + - name: ) +- uid: TinyLife.Objects.Person.GoToRandomHomeLocation* + commentId: Overload:TinyLife.Objects.Person.GoToRandomHomeLocation + name: GoToRandomHomeLocation + nameWithType: Person.GoToRandomHomeLocation + fullName: TinyLife.Objects.Person.GoToRandomHomeLocation +- uid: TinyLife.Objects.Person.ParentInfo + commentId: P:TinyLife.Objects.Person.ParentInfo + name: ParentInfo + nameWithType: Person.ParentInfo + fullName: TinyLife.Objects.Person.ParentInfo +- uid: TinyLife.Objects.Person.ShouldDrawHeldItem* + commentId: Overload:TinyLife.Objects.Person.ShouldDrawHeldItem + name: ShouldDrawHeldItem + nameWithType: Person.ShouldDrawHeldItem + fullName: TinyLife.Objects.Person.ShouldDrawHeldItem +- uid: TinyLife.Objects.Person.GetHeldItemDrawOffset* + commentId: Overload:TinyLife.Objects.Person.GetHeldItemDrawOffset + name: GetHeldItemDrawOffset + nameWithType: Person.GetHeldItemDrawOffset + fullName: TinyLife.Objects.Person.GetHeldItemDrawOffset +- uid: TinyLife.Objects.Person.GetHeldItemDepthOffset* + commentId: Overload:TinyLife.Objects.Person.GetHeldItemDepthOffset + name: GetHeldItemDepthOffset + nameWithType: Person.GetHeldItemDepthOffset + fullName: TinyLife.Objects.Person.GetHeldItemDepthOffset +- uid: TinyLife.Objects.Person.GetPivot* + commentId: Overload:TinyLife.Objects.Person.GetPivot + name: GetPivot + nameWithType: Person.GetPivot + fullName: TinyLife.Objects.Person.GetPivot +- uid: TinyLife.Actions.ActionType.TypeSettings.RequiredSkill + commentId: F:TinyLife.Actions.ActionType.TypeSettings.RequiredSkill + name: RequiredSkill + nameWithType: ActionType.TypeSettings.RequiredSkill + fullName: TinyLife.Actions.ActionType.TypeSettings.RequiredSkill +- uid: TinyLife.Actions.ActionType.TypeSettings.RequiredEmotion + commentId: F:TinyLife.Actions.ActionType.TypeSettings.RequiredEmotion + name: RequiredEmotion + nameWithType: ActionType.TypeSettings.RequiredEmotion + fullName: TinyLife.Actions.ActionType.TypeSettings.RequiredEmotion +- uid: TinyLife.World.LotType.CanExecuteAction + commentId: P:TinyLife.World.LotType.CanExecuteAction + name: CanExecuteAction + nameWithType: LotType.CanExecuteAction + fullName: TinyLife.World.LotType.CanExecuteAction +- uid: TinyLife.Actions.CanExecuteResult + commentId: T:TinyLife.Actions.CanExecuteResult + parent: TinyLife.Actions + name: CanExecuteResult + nameWithType: CanExecuteResult + fullName: TinyLife.Actions.CanExecuteResult +- uid: TinyLife.Objects.Person.CanExecuteAction* + commentId: Overload:TinyLife.Objects.Person.CanExecuteAction + name: CanExecuteAction + nameWithType: Person.CanExecuteAction + fullName: TinyLife.Objects.Person.CanExecuteAction +- uid: TinyLife.PersonalityType.Types + commentId: F:TinyLife.PersonalityType.Types + name: Types + nameWithType: PersonalityType.Types + fullName: TinyLife.PersonalityType.Types +- uid: TinyLife.Objects.Person.GetValidClothes* + commentId: Overload:TinyLife.Objects.Person.GetValidClothes + name: GetValidClothes + nameWithType: Person.GetValidClothes + fullName: TinyLife.Objects.Person.GetValidClothes +- uid: System.Collections.Generic.IEnumerable{TinyLife.Objects.Clothes} + commentId: T:System.Collections.Generic.IEnumerable{TinyLife.Objects.Clothes} + parent: System.Collections.Generic + definition: System.Collections.Generic.IEnumerable`1 + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + nameWithType.vb: IEnumerable(Of Clothes) + fullName.vb: System.Collections.Generic.IEnumerable(Of TinyLife.Objects.Clothes) + name.vb: IEnumerable(Of Clothes) + spec.csharp: + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1 + - name: < + - uid: TinyLife.Objects.Clothes + name: Clothes + - name: '>' + spec.vb: + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1 + - name: ( + - name: Of + - name: " " + - uid: TinyLife.Objects.Clothes + name: Clothes + - name: ) +- uid: TinyLife.PersonalityType.AllowedAges + commentId: P:TinyLife.PersonalityType.AllowedAges + name: AllowedAges + nameWithType: PersonalityType.AllowedAges + fullName: TinyLife.PersonalityType.AllowedAges +- uid: TinyLife.PersonalityType.IsCompatible(TinyLife.PersonalityType) + commentId: M:TinyLife.PersonalityType.IsCompatible(TinyLife.PersonalityType) + name: IsCompatible(PersonalityType) + nameWithType: PersonalityType.IsCompatible(PersonalityType) + fullName: TinyLife.PersonalityType.IsCompatible(TinyLife.PersonalityType) + spec.csharp: + - uid: TinyLife.PersonalityType.IsCompatible(TinyLife.PersonalityType) + name: IsCompatible + - name: ( + - uid: TinyLife.PersonalityType + name: PersonalityType + - name: ) + spec.vb: + - uid: TinyLife.PersonalityType.IsCompatible(TinyLife.PersonalityType) + name: IsCompatible + - name: ( + - uid: TinyLife.PersonalityType + name: PersonalityType + - name: ) +- uid: TinyLife.Objects.Person.CanApplyPersonality* + commentId: Overload:TinyLife.Objects.Person.CanApplyPersonality + name: CanApplyPersonality + nameWithType: Person.CanApplyPersonality + fullName: TinyLife.Objects.Person.CanApplyPersonality +- uid: MLEM.Animations.SpriteAnimationGroup + commentId: T:MLEM.Animations.SpriteAnimationGroup + parent: MLEM.Animations + isExternal: true + name: SpriteAnimationGroup + nameWithType: SpriteAnimationGroup + fullName: MLEM.Animations.SpriteAnimationGroup +- uid: TinyLife.Objects.Person.SetAnimationsFromLooks + commentId: M:TinyLife.Objects.Person.SetAnimationsFromLooks + name: SetAnimationsFromLooks() + nameWithType: Person.SetAnimationsFromLooks() + fullName: TinyLife.Objects.Person.SetAnimationsFromLooks() + spec.csharp: + - uid: TinyLife.Objects.Person.SetAnimationsFromLooks + name: SetAnimationsFromLooks + - name: ( + - name: ) + spec.vb: + - uid: TinyLife.Objects.Person.SetAnimationsFromLooks + name: SetAnimationsFromLooks + - name: ( + - name: ) +- uid: TinyLife.Objects.Person.GenerateAnimationGroup* + commentId: Overload:TinyLife.Objects.Person.GenerateAnimationGroup + name: GenerateAnimationGroup + nameWithType: Person.GenerateAnimationGroup + fullName: TinyLife.Objects.Person.GenerateAnimationGroup +- uid: System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion} + commentId: T:System.Collections.Generic.IReadOnlyDictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion} + parent: System.Collections.Generic + definition: System.Collections.Generic.IReadOnlyDictionary`2 + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2 + name: IReadOnlyDictionary + nameWithType: IReadOnlyDictionary + fullName: System.Collections.Generic.IReadOnlyDictionary + nameWithType.vb: IReadOnlyDictionary(Of Point, TextureRegion) + fullName.vb: System.Collections.Generic.IReadOnlyDictionary(Of Microsoft.Xna.Framework.Point, MLEM.Textures.TextureRegion) + name.vb: IReadOnlyDictionary(Of Point, TextureRegion) + spec.csharp: + - uid: System.Collections.Generic.IReadOnlyDictionary`2 + name: IReadOnlyDictionary + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2 + - name: < + - uid: Microsoft.Xna.Framework.Point + name: Point + isExternal: true + - name: ',' + - name: " " + - uid: MLEM.Textures.TextureRegion + name: TextureRegion + isExternal: true + - name: '>' + spec.vb: + - uid: System.Collections.Generic.IReadOnlyDictionary`2 + name: IReadOnlyDictionary + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2 + - name: ( + - name: Of + - name: " " + - uid: Microsoft.Xna.Framework.Point + name: Point + isExternal: true + - name: ',' + - name: " " + - uid: MLEM.Textures.TextureRegion + name: TextureRegion + isExternal: true + - name: ) +- uid: MLEM.Animations + commentId: N:MLEM.Animations + isExternal: true + name: MLEM.Animations + nameWithType: MLEM.Animations + fullName: MLEM.Animations + spec.csharp: + - uid: MLEM + name: MLEM + isExternal: true + - name: . + - uid: MLEM.Animations + name: Animations + isExternal: true + spec.vb: + - uid: MLEM + name: MLEM + isExternal: true + - name: . + - uid: MLEM.Animations + name: Animations + isExternal: true +- uid: System.Collections.Generic.IReadOnlyDictionary`2 + commentId: T:System.Collections.Generic.IReadOnlyDictionary`2 + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2 + name: IReadOnlyDictionary + nameWithType: IReadOnlyDictionary + fullName: System.Collections.Generic.IReadOnlyDictionary + nameWithType.vb: IReadOnlyDictionary(Of TKey, TValue) + fullName.vb: System.Collections.Generic.IReadOnlyDictionary(Of TKey, TValue) + name.vb: IReadOnlyDictionary(Of TKey, TValue) + spec.csharp: + - uid: System.Collections.Generic.IReadOnlyDictionary`2 + name: IReadOnlyDictionary + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2 + - name: < + - name: TKey + - name: ',' + - name: " " + - name: TValue + - name: '>' + spec.vb: + - uid: System.Collections.Generic.IReadOnlyDictionary`2 + name: IReadOnlyDictionary + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlydictionary-2 + - name: ( + - name: Of + - name: " " + - name: TKey + - name: ',' + - name: " " + - name: TValue + - name: ) +- uid: TinyLife.Objects.Person.DrawLooks* + commentId: Overload:TinyLife.Objects.Person.DrawLooks + name: DrawLooks + nameWithType: Person.DrawLooks + fullName: TinyLife.Objects.Person.DrawLooks +- uid: TinyLife.Objects.Person.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2) + commentId: M:TinyLife.Objects.Person.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2) + isExternal: true + name: OnCameraRotationChanged(Direction2, Direction2) + nameWithType: Person.OnCameraRotationChanged(Direction2, Direction2) + fullName: TinyLife.Objects.Person.OnCameraRotationChanged(MLEM.Misc.Direction2, MLEM.Misc.Direction2) + spec.csharp: + - uid: TinyLife.Objects.Person.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2) + name: OnCameraRotationChanged + - name: ( + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: ',' + - name: " " + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: ) + spec.vb: + - uid: TinyLife.Objects.Person.OnCameraRotationChanged(MLEM.Misc.Direction2,MLEM.Misc.Direction2) + name: OnCameraRotationChanged + - name: ( + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: ',' + - name: " " + - uid: MLEM.Misc.Direction2 + name: Direction2 + isExternal: true + - name: ) +- uid: TinyLife.Objects.Person.UpdateAnimations* + commentId: Overload:TinyLife.Objects.Person.UpdateAnimations + name: UpdateAnimations + nameWithType: Person.UpdateAnimations + fullName: TinyLife.Objects.Person.UpdateAnimations +- uid: TinyLife.Objects.Person.OnActionsCompleted + commentId: E:TinyLife.Objects.Person.OnActionsCompleted + name: OnActionsCompleted + nameWithType: Person.OnActionsCompleted + fullName: TinyLife.Objects.Person.OnActionsCompleted +- uid: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) + commentId: M:TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) + parent: TinyLife.Actions.Action + name: OnCompleted(CompletionType) + nameWithType: Action.OnCompleted(CompletionType) + fullName: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) + spec.csharp: + - uid: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) + name: OnCompleted + - name: ( + - uid: TinyLife.Actions.CompletionType + name: CompletionType + - name: ) + spec.vb: + - uid: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType) + name: OnCompleted + - name: ( + - uid: TinyLife.Actions.CompletionType + name: CompletionType + - name: ) +- uid: TinyLife.Objects.Person.OnActionCompleted* + commentId: Overload:TinyLife.Objects.Person.OnActionCompleted + name: OnActionCompleted + nameWithType: Person.OnActionCompleted + fullName: TinyLife.Objects.Person.OnActionCompleted +- uid: TinyLife.Objects.Person.OnActionUpdated + commentId: E:TinyLife.Objects.Person.OnActionUpdated + name: OnActionUpdated + nameWithType: Person.OnActionUpdated + fullName: TinyLife.Objects.Person.OnActionUpdated +- uid: TinyLife.Objects.Person.UpdateAction* + commentId: Overload:TinyLife.Objects.Person.UpdateAction + name: UpdateAction + nameWithType: Person.UpdateAction + fullName: TinyLife.Objects.Person.UpdateAction +- uid: System.Collections.Generic.IEnumerable{TinyLife.Goals.IGoalTriggerable} + commentId: T:System.Collections.Generic.IEnumerable{TinyLife.Goals.IGoalTriggerable} + parent: System.Collections.Generic + definition: System.Collections.Generic.IEnumerable`1 + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1 + name: IEnumerable + nameWithType: IEnumerable + fullName: System.Collections.Generic.IEnumerable + nameWithType.vb: IEnumerable(Of IGoalTriggerable) + fullName.vb: System.Collections.Generic.IEnumerable(Of TinyLife.Goals.IGoalTriggerable) + name.vb: IEnumerable(Of IGoalTriggerable) + spec.csharp: + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1 + - name: < + - uid: TinyLife.Goals.IGoalTriggerable + name: IGoalTriggerable + - name: '>' + spec.vb: + - uid: System.Collections.Generic.IEnumerable`1 + name: IEnumerable + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1 + - name: ( + - name: Of + - name: " " + - uid: TinyLife.Goals.IGoalTriggerable + name: IGoalTriggerable + - name: ) +- uid: TinyLife.Objects.Person.OnActionInitialized + commentId: E:TinyLife.Objects.Person.OnActionInitialized + name: OnActionInitialized + nameWithType: Person.OnActionInitialized + fullName: TinyLife.Objects.Person.OnActionInitialized +- uid: TinyLife.Actions.Action.Initialize + commentId: M:TinyLife.Actions.Action.Initialize + parent: TinyLife.Actions.Action + name: Initialize() + nameWithType: Action.Initialize() + fullName: TinyLife.Actions.Action.Initialize() + spec.csharp: + - uid: TinyLife.Actions.Action.Initialize + name: Initialize + - name: ( + - name: ) + spec.vb: + - uid: TinyLife.Actions.Action.Initialize + name: Initialize + - name: ( + - name: ) +- uid: TinyLife.Objects.Person.InitializeAction* + commentId: Overload:TinyLife.Objects.Person.InitializeAction + name: InitializeAction + nameWithType: Person.InitializeAction + fullName: TinyLife.Objects.Person.InitializeAction +- uid: TinyLife.Objects.Person.set_Age(TinyLife.Objects.AgeGroup) + commentId: M:TinyLife.Objects.Person.set_Age(TinyLife.Objects.AgeGroup) + name: Age.set + nameWithType: Person.Age.set + fullName: TinyLife.Objects.Person.Age.set + nameWithType.vb: Person.Age(AgeGroup) + fullName.vb: TinyLife.Objects.Person.Age(TinyLife.Objects.AgeGroup) + name.vb: Age(AgeGroup) + spec.csharp: + - uid: TinyLife.Objects.Person.Age + name: Age + - name: . + - name: set + spec.vb: + - uid: TinyLife.Objects.Person.Age + name: Age + - name: ( + - uid: TinyLife.Objects.AgeGroup + name: AgeGroup + - name: ) +- uid: TinyLife.Objects.Person.OnAgeChanged* + commentId: Overload:TinyLife.Objects.Person.OnAgeChanged + name: OnAgeChanged + nameWithType: Person.OnAgeChanged + fullName: TinyLife.Objects.Person.OnAgeChanged +- uid: TinyLife.Objects.Person.Validate + commentId: M:TinyLife.Objects.Person.Validate + name: Validate() + nameWithType: Person.Validate() + fullName: TinyLife.Objects.Person.Validate() + spec.csharp: + - uid: TinyLife.Objects.Person.Validate + name: Validate + - name: ( + - name: ) + spec.vb: + - uid: TinyLife.Objects.Person.Validate + name: Validate + - name: ( + - name: ) +- uid: TinyLife.Objects.Person.ValidateClothes* + commentId: Overload:TinyLife.Objects.Person.ValidateClothes + name: ValidateClothes + nameWithType: Person.ValidateClothes + fullName: TinyLife.Objects.Person.ValidateClothes - uid: TinyLife.Objects.Person.GetRandomSpeakSound* commentId: Overload:TinyLife.Objects.Person.GetRandomSpeakSound name: GetRandomSpeakSound diff --git a/docs/api/TinyLife.Objects.Pose.yml b/docs/api/TinyLife.Objects.Pose.yml index f2ba27a..9fc107a 100644 --- a/docs/api/TinyLife.Objects.Pose.yml +++ b/docs/api/TinyLife.Objects.Pose.yml @@ -30,7 +30,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Pose path: ../TinyLife/Objects/Person.cs - startLine: 3106 + startLine: 3266 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -60,7 +60,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Standing path: ../TinyLife/Objects/Person.cs - startLine: 3111 + startLine: 3271 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -88,7 +88,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Walking path: ../TinyLife/Objects/Person.cs - startLine: 3115 + startLine: 3275 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -116,7 +116,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sitting path: ../TinyLife/Objects/Person.cs - startLine: 3119 + startLine: 3279 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -144,7 +144,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Laying path: ../TinyLife/Objects/Person.cs - startLine: 3124 + startLine: 3284 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -172,7 +172,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SittingGround path: ../TinyLife/Objects/Person.cs - startLine: 3129 + startLine: 3289 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -200,7 +200,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingStanding path: ../TinyLife/Objects/Person.cs - startLine: 3133 + startLine: 3293 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -228,7 +228,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingSitting path: ../TinyLife/Objects/Person.cs - startLine: 3137 + startLine: 3297 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -256,7 +256,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WorkingSittingGround path: ../TinyLife/Objects/Person.cs - startLine: 3141 + startLine: 3301 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -284,7 +284,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Running path: ../TinyLife/Objects/Person.cs - startLine: 3145 + startLine: 3305 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -312,7 +312,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StandingArmsOut path: ../TinyLife/Objects/Person.cs - startLine: 3149 + startLine: 3309 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -340,7 +340,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WalkingArmsOut path: ../TinyLife/Objects/Person.cs - startLine: 3153 + startLine: 3313 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.PregnancyAbility.yml b/docs/api/TinyLife.Objects.PregnancyAbility.yml index 2c86ca9..9e193b8 100644 --- a/docs/api/TinyLife.Objects.PregnancyAbility.yml +++ b/docs/api/TinyLife.Objects.PregnancyAbility.yml @@ -22,7 +22,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PregnancyAbility path: ../TinyLife/Objects/Person.cs - startLine: 3277 + startLine: 3437 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -51,7 +51,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Neither path: ../TinyLife/Objects/Person.cs - startLine: 3282 + startLine: 3442 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -79,7 +79,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetOthersPregnant path: ../TinyLife/Objects/Person.cs - startLine: 3286 + startLine: 3446 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -107,7 +107,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPregnant path: ../TinyLife/Objects/Person.cs - startLine: 3290 + startLine: 3450 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.SpeakStyle.yml b/docs/api/TinyLife.Objects.SpeakStyle.yml index 660ff0e..b2cee7f 100644 --- a/docs/api/TinyLife.Objects.SpeakStyle.yml +++ b/docs/api/TinyLife.Objects.SpeakStyle.yml @@ -35,7 +35,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SpeakStyle path: ../TinyLife/Objects/Person.cs - startLine: 3233 + startLine: 3393 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -74,7 +74,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Affirmative path: ../TinyLife/Objects/Person.cs - startLine: 3237 + startLine: 3397 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -100,7 +100,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Angry path: ../TinyLife/Objects/Person.cs - startLine: 3238 + startLine: 3398 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -126,7 +126,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Annoyed path: ../TinyLife/Objects/Person.cs - startLine: 3239 + startLine: 3399 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -152,7 +152,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Bored path: ../TinyLife/Objects/Person.cs - startLine: 3240 + startLine: 3400 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -178,7 +178,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Childish path: ../TinyLife/Objects/Person.cs - startLine: 3241 + startLine: 3401 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -204,7 +204,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Confident path: ../TinyLife/Objects/Person.cs - startLine: 3242 + startLine: 3402 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -230,7 +230,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Confused path: ../TinyLife/Objects/Person.cs - startLine: 3243 + startLine: 3403 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -256,7 +256,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Disagreeing path: ../TinyLife/Objects/Person.cs - startLine: 3244 + startLine: 3404 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -282,7 +282,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Excited path: ../TinyLife/Objects/Person.cs - startLine: 3245 + startLine: 3405 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -308,7 +308,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Happy path: ../TinyLife/Objects/Person.cs - startLine: 3246 + startLine: 3406 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -334,7 +334,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Neutral path: ../TinyLife/Objects/Person.cs - startLine: 3247 + startLine: 3407 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -360,7 +360,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Questioning path: ../TinyLife/Objects/Person.cs - startLine: 3248 + startLine: 3408 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -386,7 +386,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Sad path: ../TinyLife/Objects/Person.cs - startLine: 3249 + startLine: 3409 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -412,7 +412,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Scared path: ../TinyLife/Objects/Person.cs - startLine: 3250 + startLine: 3410 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -438,7 +438,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Shocked path: ../TinyLife/Objects/Person.cs - startLine: 3251 + startLine: 3411 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -464,7 +464,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Thinking path: ../TinyLife/Objects/Person.cs - startLine: 3252 + startLine: 3412 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.VoiceStyle.yml b/docs/api/TinyLife.Objects.VoiceStyle.yml index 34da40e..bf45fed 100644 --- a/docs/api/TinyLife.Objects.VoiceStyle.yml +++ b/docs/api/TinyLife.Objects.VoiceStyle.yml @@ -23,7 +23,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VoiceStyle path: ../TinyLife/Objects/Person.cs - startLine: 3261 + startLine: 3421 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -52,7 +52,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Low path: ../TinyLife/Objects/Person.cs - startLine: 3264 + startLine: 3424 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -78,7 +78,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: High path: ../TinyLife/Objects/Person.cs - startLine: 3265 + startLine: 3425 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -104,7 +104,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Child path: ../TinyLife/Objects/Person.cs - startLine: 3266 + startLine: 3426 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -130,7 +130,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Baby path: ../TinyLife/Objects/Person.cs - startLine: 3268 + startLine: 3428 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Objects.WornClothes.yml b/docs/api/TinyLife.Objects.WornClothes.yml index d7559eb..444f208 100644 --- a/docs/api/TinyLife.Objects.WornClothes.yml +++ b/docs/api/TinyLife.Objects.WornClothes.yml @@ -27,7 +27,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WornClothes path: ../TinyLife/Objects/Clothes.cs - startLine: 208 + startLine: 212 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -78,7 +78,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Type path: ../TinyLife/Objects/Clothes.cs - startLine: 215 + startLine: 219 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -117,7 +117,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Colors path: ../TinyLife/Objects/Clothes.cs - startLine: 222 + startLine: 226 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -156,7 +156,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FromStorage path: ../TinyLife/Objects/Clothes.cs - startLine: 227 + startLine: 231 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -195,7 +195,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CustomPrice path: ../TinyLife/Objects/Clothes.cs - startLine: 233 + startLine: 237 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -238,7 +238,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Objects/Clothes.cs - startLine: 240 + startLine: 244 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -276,7 +276,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetColor path: ../TinyLife/Objects/Clothes.cs - startLine: 250 + startLine: 254 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -314,7 +314,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/Objects/Clothes.cs - startLine: 258 + startLine: 262 assemblies: - Tiny Life namespace: TinyLife.Objects @@ -345,7 +345,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPrice path: ../TinyLife/Objects/Clothes.cs - startLine: 271 + startLine: 275 assemblies: - Tiny Life namespace: TinyLife.Objects diff --git a/docs/api/TinyLife.Options.yml b/docs/api/TinyLife.Options.yml index efcae02..ddf04ca 100644 --- a/docs/api/TinyLife.Options.yml +++ b/docs/api/TinyLife.Options.yml @@ -32,6 +32,7 @@ items: - TinyLife.Options.HideEarlyAccessHints - TinyLife.Options.HideGamepadControlsHints - TinyLife.Options.HideHangingObjects + - TinyLife.Options.HighlightTinies - TinyLife.Options.IncreaseSpeedKeybind - TinyLife.Options.InGameMusic - TinyLife.Options.Instance @@ -2513,6 +2514,45 @@ items: - type: System.Runtime.Serialization.DataMemberAttribute ctor: System.Runtime.Serialization.DataMemberAttribute.#ctor arguments: [] +- uid: TinyLife.Options.HighlightTinies + commentId: F:TinyLife.Options.HighlightTinies + id: HighlightTinies + parent: TinyLife.Options + langs: + - csharp + - vb + name: HighlightTinies + nameWithType: Options.HighlightTinies + fullName: TinyLife.Options.HighlightTinies + type: Field + source: + remote: + path: TinyLife/Options.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: HighlightTinies + path: ../TinyLife/Options.cs + startLine: 328 + assemblies: + - Tiny Life + namespace: TinyLife + summary: "\nWhether Tinies in the world should be highlighted using the selection outline effect.\n" + example: [] + syntax: + content: >- + [DataMember] + + public bool HighlightTinies + return: + type: System.Boolean + content.vb: >- + + + Public HighlightTinies As Boolean + attributes: + - type: System.Runtime.Serialization.DataMemberAttribute + ctor: System.Runtime.Serialization.DataMemberAttribute.#ctor + arguments: [] - uid: TinyLife.Options.Apply(System.Boolean) commentId: M:TinyLife.Options.Apply(System.Boolean) id: Apply(System.Boolean) @@ -2531,7 +2571,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Apply path: ../TinyLife/Options.cs - startLine: 354 + startLine: 359 assemblies: - Tiny Life namespace: TinyLife @@ -2565,7 +2605,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Save path: ../TinyLife/Options.cs - startLine: 393 + startLine: 398 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.PerSaveOptions.yml b/docs/api/TinyLife.PerSaveOptions.yml index 40f6542..9ae73e9 100644 --- a/docs/api/TinyLife.PerSaveOptions.yml +++ b/docs/api/TinyLife.PerSaveOptions.yml @@ -34,7 +34,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PerSaveOptions path: ../TinyLife/Options.cs - startLine: 420 + startLine: 425 assemblies: - Tiny Life namespace: TinyLife @@ -90,7 +90,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Instance path: ../TinyLife/Options.cs - startLine: 427 + startLine: 432 assemblies: - Tiny Life namespace: TinyLife @@ -121,7 +121,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisplayedHints path: ../TinyLife/Options.cs - startLine: 433 + startLine: 438 assemblies: - Tiny Life namespace: TinyLife @@ -160,7 +160,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisableAiSelected path: ../TinyLife/Options.cs - startLine: 439 + startLine: 444 assemblies: - Tiny Life namespace: TinyLife @@ -199,7 +199,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DisableAiHousehold path: ../TinyLife/Options.cs - startLine: 444 + startLine: 449 assemblies: - Tiny Life namespace: TinyLife @@ -238,7 +238,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AiImportantActions path: ../TinyLife/Options.cs - startLine: 450 + startLine: 455 assemblies: - Tiny Life namespace: TinyLife @@ -277,7 +277,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AiSkillBuilding path: ../TinyLife/Options.cs - startLine: 456 + startLine: 461 assemblies: - Tiny Life namespace: TinyLife @@ -316,7 +316,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AiRelationships path: ../TinyLife/Options.cs - startLine: 462 + startLine: 467 assemblies: - Tiny Life namespace: TinyLife @@ -355,7 +355,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MaxRegularVisitors path: ../TinyLife/Options.cs - startLine: 468 + startLine: 473 assemblies: - Tiny Life namespace: TinyLife @@ -394,7 +394,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LoadedMods path: ../TinyLife/Options.cs - startLine: 474 + startLine: 479 assemblies: - Tiny Life namespace: TinyLife @@ -433,7 +433,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MapName path: ../TinyLife/Options.cs - startLine: 480 + startLine: 485 assemblies: - Tiny Life namespace: TinyLife @@ -472,7 +472,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MapCustom path: ../TinyLife/Options.cs - startLine: 486 + startLine: 491 assemblies: - Tiny Life namespace: TinyLife @@ -511,7 +511,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlayedLifespan path: ../TinyLife/Options.cs - startLine: 492 + startLine: 497 assemblies: - Tiny Life namespace: TinyLife @@ -550,7 +550,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OtherLifespan path: ../TinyLife/Options.cs - startLine: 498 + startLine: 503 assemblies: - Tiny Life namespace: TinyLife @@ -589,7 +589,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Save path: ../TinyLife/Options.cs - startLine: 503 + startLine: 508 assemblies: - Tiny Life namespace: TinyLife @@ -623,7 +623,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Load path: ../TinyLife/Options.cs - startLine: 511 + startLine: 516 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.PersonalityType.TypeCategory.yml b/docs/api/TinyLife.PersonalityType.TypeCategory.yml index c01b28a..f6b6949 100644 --- a/docs/api/TinyLife.PersonalityType.TypeCategory.yml +++ b/docs/api/TinyLife.PersonalityType.TypeCategory.yml @@ -22,7 +22,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TypeCategory path: ../TinyLife/PersonalityType.cs - startLine: 310 + startLine: 299 assemblies: - Tiny Life namespace: TinyLife @@ -51,7 +51,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Major path: ../TinyLife/PersonalityType.cs - startLine: 315 + startLine: 304 assemblies: - Tiny Life namespace: TinyLife @@ -79,7 +79,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Minor path: ../TinyLife/PersonalityType.cs - startLine: 319 + startLine: 308 assemblies: - Tiny Life namespace: TinyLife @@ -107,7 +107,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Hidden path: ../TinyLife/PersonalityType.cs - startLine: 324 + startLine: 313 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.PersonalityType.yml b/docs/api/TinyLife.PersonalityType.yml index 9d5b3d6..f1b3734 100644 --- a/docs/api/TinyLife.PersonalityType.yml +++ b/docs/api/TinyLife.PersonalityType.yml @@ -13,7 +13,6 @@ items: - TinyLife.PersonalityType.Asexual - TinyLife.PersonalityType.BoostedSkills - TinyLife.PersonalityType.BoostedSkillTypes - - TinyLife.PersonalityType.CanApply(TinyLife.Objects.Person) - TinyLife.PersonalityType.CapableCarpenter - TinyLife.PersonalityType.Category - TinyLife.PersonalityType.CityNative @@ -1455,41 +1454,6 @@ items: description: Whether the two personalities are compatible. content.vb: Public Function IsCompatible(other As PersonalityType) As Boolean overload: TinyLife.PersonalityType.IsCompatible* -- uid: TinyLife.PersonalityType.CanApply(TinyLife.Objects.Person) - commentId: M:TinyLife.PersonalityType.CanApply(TinyLife.Objects.Person) - id: CanApply(TinyLife.Objects.Person) - parent: TinyLife.PersonalityType - langs: - - csharp - - vb - name: CanApply(Person) - nameWithType: PersonalityType.CanApply(Person) - fullName: TinyLife.PersonalityType.CanApply(TinyLife.Objects.Person) - type: Method - source: - remote: - path: TinyLife/PersonalityType.cs - branch: main - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: CanApply - path: ../TinyLife/PersonalityType.cs - startLine: 247 - assemblies: - - Tiny Life - namespace: TinyLife - summary: "\nReturns whether this personality type can be applied to the given .\nThe return value is determined by the person's existing and this personality type's and value.\n" - example: [] - syntax: - content: public bool CanApply(Person person) - parameters: - - id: person - type: TinyLife.Objects.Person - description: The person to query. - return: - type: System.Boolean - description: Whether this personality type can apply to the given . - content.vb: Public Function CanApply(person As Person) As Boolean - overload: TinyLife.PersonalityType.CanApply* - uid: TinyLife.PersonalityType.CreateInfoGroup(MLEM.Ui.Anchor,System.Single) commentId: M:TinyLife.PersonalityType.CreateInfoGroup(MLEM.Ui.Anchor,System.Single) id: CreateInfoGroup(MLEM.Ui.Anchor,System.Single) @@ -1508,7 +1472,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CreateInfoGroup path: ../TinyLife/PersonalityType.cs - startLine: 259 + startLine: 248 assemblies: - Tiny Life namespace: TinyLife @@ -1549,7 +1513,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/PersonalityType.cs - startLine: 274 + startLine: 263 assemblies: - Tiny Life namespace: TinyLife @@ -1584,7 +1548,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FillRandomly path: ../TinyLife/PersonalityType.cs - startLine: 285 + startLine: 274 assemblies: - Tiny Life namespace: TinyLife @@ -2639,21 +2603,6 @@ references: nameWithType.vb: Boolean fullName.vb: Boolean name.vb: Boolean -- uid: TinyLife.Objects.Person.PersonalityTypes - commentId: F:TinyLife.Objects.Person.PersonalityTypes - name: PersonalityTypes - nameWithType: Person.PersonalityTypes - fullName: TinyLife.Objects.Person.PersonalityTypes -- uid: TinyLife.PersonalityType.AllowedAges - commentId: P:TinyLife.PersonalityType.AllowedAges - name: AllowedAges - nameWithType: PersonalityType.AllowedAges - fullName: TinyLife.PersonalityType.AllowedAges -- uid: TinyLife.PersonalityType.CanApply* - commentId: Overload:TinyLife.PersonalityType.CanApply - name: CanApply - nameWithType: PersonalityType.CanApply - fullName: TinyLife.PersonalityType.CanApply - uid: MLEM.Ui.Elements.Group commentId: T:MLEM.Ui.Elements.Group parent: MLEM.Ui.Elements @@ -2746,6 +2695,11 @@ references: name: Register nameWithType: PersonalityType.Register fullName: TinyLife.PersonalityType.Register +- uid: TinyLife.Objects.Person.PersonalityTypes + commentId: F:TinyLife.Objects.Person.PersonalityTypes + name: PersonalityTypes + nameWithType: Person.PersonalityTypes + fullName: TinyLife.Objects.Person.PersonalityTypes - uid: TinyLife.PersonalityType.MaxMajorsPerPerson commentId: F:TinyLife.PersonalityType.MaxMajorsPerPerson name: MaxMajorsPerPerson diff --git a/docs/api/TinyLife.Skills.WoodworkingRecipe.yml b/docs/api/TinyLife.Skills.WoodworkingRecipe.yml index 540028d..16e72f7 100644 --- a/docs/api/TinyLife.Skills.WoodworkingRecipe.yml +++ b/docs/api/TinyLife.Skills.WoodworkingRecipe.yml @@ -101,7 +101,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Output path: ../TinyLife/Skills/WoodworkingRecipe.cs - startLine: 63 + startLine: 67 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -130,7 +130,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RequiredLevel path: ../TinyLife/Skills/WoodworkingRecipe.cs - startLine: 67 + startLine: 71 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -159,7 +159,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PriceMultiplier path: ../TinyLife/Skills/WoodworkingRecipe.cs - startLine: 71 + startLine: 75 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -188,7 +188,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CraftingTime path: ../TinyLife/Skills/WoodworkingRecipe.cs - startLine: 76 + startLine: 80 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -217,7 +217,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Name path: ../TinyLife/Skills/WoodworkingRecipe.cs - startLine: 81 + startLine: 85 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -248,7 +248,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/Skills/WoodworkingRecipe.cs - startLine: 90 + startLine: 94 assemblies: - Tiny Life namespace: TinyLife.Skills @@ -292,7 +292,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/Skills/WoodworkingRecipe.cs - startLine: 102 + startLine: 106 assemblies: - Tiny Life namespace: TinyLife.Skills diff --git a/docs/api/TinyLife.Tools.PlayModeTool.StatType.yml b/docs/api/TinyLife.Tools.PlayModeTool.StatType.yml index 218462c..f54289d 100644 --- a/docs/api/TinyLife.Tools.PlayModeTool.StatType.yml +++ b/docs/api/TinyLife.Tools.PlayModeTool.StatType.yml @@ -26,7 +26,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StatType path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1068 + startLine: 1069 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -55,7 +55,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Needs path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1071 + startLine: 1072 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -81,7 +81,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Emotions path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1072 + startLine: 1073 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -107,7 +107,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Skills path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1073 + startLine: 1074 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -133,7 +133,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Relationships path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1074 + startLine: 1075 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -159,7 +159,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Job path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1075 + startLine: 1076 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -185,7 +185,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LifeGoal path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1076 + startLine: 1077 assemblies: - Tiny Life namespace: TinyLife.Tools @@ -211,7 +211,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: About path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1077 + startLine: 1078 assemblies: - Tiny Life namespace: TinyLife.Tools diff --git a/docs/api/TinyLife.Tools.PlayModeTool.yml b/docs/api/TinyLife.Tools.PlayModeTool.yml index 9a6c85c..1492846 100644 --- a/docs/api/TinyLife.Tools.PlayModeTool.yml +++ b/docs/api/TinyLife.Tools.PlayModeTool.yml @@ -314,7 +314,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Reload path: ../TinyLife/Tools/PlayModeTool.cs - startLine: 1026 + startLine: 1027 assemblies: - Tiny Life namespace: TinyLife.Tools diff --git a/docs/api/TinyLife.Uis.Menus.TransitionType.yml b/docs/api/TinyLife.Uis.Menus.TransitionType.yml index 7af3cba..10891d7 100644 --- a/docs/api/TinyLife.Uis.Menus.TransitionType.yml +++ b/docs/api/TinyLife.Uis.Menus.TransitionType.yml @@ -21,7 +21,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TransitionType path: ../TinyLife/Uis/Menus.cs - startLine: 1120 + startLine: 1134 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -50,7 +50,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Swipe path: ../TinyLife/Uis/Menus.cs - startLine: 1126 + startLine: 1140 assemblies: - Tiny Life namespace: TinyLife.Uis @@ -78,7 +78,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Fade path: ../TinyLife/Uis/Menus.cs - startLine: 1131 + startLine: 1145 assemblies: - Tiny Life namespace: TinyLife.Uis diff --git a/docs/api/TinyLife.Uis.Menus.yml b/docs/api/TinyLife.Uis.Menus.yml index b01160e..d98df71 100644 --- a/docs/api/TinyLife.Uis.Menus.yml +++ b/docs/api/TinyLife.Uis.Menus.yml @@ -6,6 +6,7 @@ items: parent: TinyLife.Uis children: - TinyLife.Uis.Menus.GamepadHint(MLEM.Ui.Anchor,System.Func{TinyLife.Options,Microsoft.Xna.Framework.Input.Buttons},Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Func{System.Boolean}) + - TinyLife.Uis.Menus.MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32) - TinyLife.Uis.Menus.Transition(System.Action,System.Action,TinyLife.Uis.Menus.TransitionType,TinyLife.Uis.Menus.TransitionType,System.Single,System.Single,System.Single,System.Nullable{Microsoft.Xna.Framework.Color}) langs: - csharp @@ -150,6 +151,53 @@ items: nameWithType.vb: Menus.GamepadHint(Anchor, Func(Of Options, Buttons), Vector2, Vector2?, Func(Of Boolean)) fullName.vb: TinyLife.Uis.Menus.GamepadHint(MLEM.Ui.Anchor, System.Func(Of TinyLife.Options, Microsoft.Xna.Framework.Input.Buttons), Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2?, System.Func(Of Boolean)) name.vb: GamepadHint(Anchor, Func(Of Options, Buttons), Vector2, Vector2?, Func(Of Boolean)) +- uid: TinyLife.Uis.Menus.MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32) + commentId: M:TinyLife.Uis.Menus.MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32) + id: MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32) + parent: TinyLife.Uis.Menus + langs: + - csharp + - vb + name: MenuBackground(int, int, int, int) + nameWithType: Menus.MenuBackground(int, int, int, int) + fullName: TinyLife.Uis.Menus.MenuBackground(int, int, int, int) + type: Method + source: + remote: + path: TinyLife/Uis/Menus.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: MenuBackground + path: ../TinyLife/Uis/Menus.cs + startLine: 152 + assemblies: + - Tiny Life + namespace: TinyLife.Uis + summary: "\nReturns a that contains a menu background texture region, based on the given data.\n" + example: [] + syntax: + content: public static NinePatch MenuBackground(int x, int y, int width = 1, int height = 1) + parameters: + - id: x + type: System.Int32 + description: The x coordinate of the menu background section to return, which is expected to be between 0 and 1. + - id: y + type: System.Int32 + description: The y coordinate of the menu background section to return, which is expected to be between 0 and 1. + - id: width + type: System.Int32 + description: The width of the menu background section to return, which is expected to be between 1 and 2. + - id: height + type: System.Int32 + description: The height of the menu background section to return, which is expected to be between 1 and 2. + return: + type: MLEM.Textures.NinePatch + description: A that contains a menu background texture region. + content.vb: Public Shared Function MenuBackground(x As Integer, y As Integer, width As Integer = 1, height As Integer = 1) As NinePatch + overload: TinyLife.Uis.Menus.MenuBackground* + nameWithType.vb: Menus.MenuBackground(Integer, Integer, Integer, Integer) + fullName.vb: TinyLife.Uis.Menus.MenuBackground(Integer, Integer, Integer, Integer) + name.vb: MenuBackground(Integer, Integer, Integer, Integer) references: - uid: MLEM.Ui commentId: N:MLEM.Ui @@ -807,3 +855,48 @@ references: - uid: MLEM.Ui.Elements name: Elements isExternal: true +- uid: MLEM.Textures.NinePatch + commentId: T:MLEM.Textures.NinePatch + parent: MLEM.Textures + isExternal: true + name: NinePatch + nameWithType: NinePatch + fullName: MLEM.Textures.NinePatch +- uid: TinyLife.Uis.Menus.MenuBackground* + commentId: Overload:TinyLife.Uis.Menus.MenuBackground + name: MenuBackground + nameWithType: Menus.MenuBackground + fullName: TinyLife.Uis.Menus.MenuBackground +- uid: System.Int32 + commentId: T:System.Int32 + parent: System + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.int32 + name: int + nameWithType: int + fullName: int + nameWithType.vb: Integer + fullName.vb: Integer + name.vb: Integer +- uid: MLEM.Textures + commentId: N:MLEM.Textures + isExternal: true + name: MLEM.Textures + nameWithType: MLEM.Textures + fullName: MLEM.Textures + spec.csharp: + - uid: MLEM + name: MLEM + isExternal: true + - name: . + - uid: MLEM.Textures + name: Textures + isExternal: true + spec.vb: + - uid: MLEM + name: MLEM + isExternal: true + - name: . + - uid: MLEM.Textures + name: Textures + isExternal: true diff --git a/docs/api/TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate.yml b/docs/api/TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate.yml new file mode 100644 index 0000000..9fa59a4 --- /dev/null +++ b/docs/api/TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate.yml @@ -0,0 +1,171 @@ +### YamlMime:ManagedReference +items: +- uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + commentId: T:TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + id: TextureHandler.GameTextureLoadedDelegate + parent: TinyLife.Utilities + children: [] + langs: + - csharp + - vb + name: TextureHandler.GameTextureLoadedDelegate + nameWithType: TextureHandler.GameTextureLoadedDelegate + fullName: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + type: Delegate + source: + remote: + path: TinyLife/Utilities/TextureHandler.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: GameTextureLoadedDelegate + path: ../TinyLife/Utilities/TextureHandler.cs + startLine: 152 + assemblies: + - Tiny Life + namespace: TinyLife.Utilities + summary: "\nA delegate used by .\n" + example: [] + syntax: + content: public delegate void TextureHandler.GameTextureLoadedDelegate(ref Texture2D texture) + parameters: + - id: texture + type: Microsoft.Xna.Framework.Graphics.Texture2D + content.vb: Public Delegate Sub TextureHandler.GameTextureLoadedDelegate(texture As Texture2D) + extensionMethods: + - TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate.TinyLife.Utilities.Extensions.JsonCopy``1 +references: +- uid: TinyLife.Utilities.TextureHandler.OnGameTextureLoaded + commentId: E:TinyLife.Utilities.TextureHandler.OnGameTextureLoaded + name: OnGameTextureLoaded + nameWithType: TextureHandler.OnGameTextureLoaded + fullName: TinyLife.Utilities.TextureHandler.OnGameTextureLoaded +- uid: TinyLife.Utilities + commentId: N:TinyLife.Utilities + name: TinyLife.Utilities + nameWithType: TinyLife.Utilities + fullName: TinyLife.Utilities + spec.csharp: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.Utilities + name: Utilities + spec.vb: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.Utilities + name: Utilities +- uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate.TinyLife.Utilities.Extensions.JsonCopy``1 + commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) + parent: TinyLife.Utilities.Extensions + definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy(GameTextureLoadedDelegate) + nameWithType: Extensions.JsonCopy(TextureHandler.GameTextureLoadedDelegate) + fullName: TinyLife.Utilities.Extensions.JsonCopy(TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate) + nameWithType.vb: Extensions.JsonCopy(Of TextureHandler.GameTextureLoadedDelegate)(TextureHandler.GameTextureLoadedDelegate) + fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate)(TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate) + name.vb: JsonCopy(Of GameTextureLoadedDelegate)(GameTextureLoadedDelegate) + spec.csharp: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate) + name: JsonCopy + - name: < + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: GameTextureLoadedDelegate + - name: '>' + - name: ( + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: GameTextureLoadedDelegate + - name: ) + spec.vb: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate) + name: JsonCopy + - name: ( + - name: Of + - name: " " + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: GameTextureLoadedDelegate + - name: ) + - name: ( + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: GameTextureLoadedDelegate + - name: ) +- uid: Microsoft.Xna.Framework.Graphics.Texture2D + commentId: T:Microsoft.Xna.Framework.Graphics.Texture2D + parent: Microsoft.Xna.Framework.Graphics + isExternal: true + name: Texture2D + nameWithType: Texture2D + fullName: Microsoft.Xna.Framework.Graphics.Texture2D +- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy(T) + nameWithType: Extensions.JsonCopy(T) + fullName: TinyLife.Utilities.Extensions.JsonCopy(T) + nameWithType.vb: Extensions.JsonCopy(Of T)(T) + fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T) + name.vb: JsonCopy(Of T)(T) + spec.csharp: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy + - name: < + - name: T + - name: '>' + - name: ( + - name: T + - name: ) + spec.vb: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy + - name: ( + - name: Of + - name: " " + - name: T + - name: ) + - name: ( + - name: T + - name: ) +- uid: TinyLife.Utilities.Extensions + commentId: T:TinyLife.Utilities.Extensions + parent: TinyLife.Utilities + name: Extensions + nameWithType: Extensions + fullName: TinyLife.Utilities.Extensions +- uid: Microsoft.Xna.Framework.Graphics + commentId: N:Microsoft.Xna.Framework.Graphics + isExternal: true + name: Microsoft.Xna.Framework.Graphics + nameWithType: Microsoft.Xna.Framework.Graphics + fullName: Microsoft.Xna.Framework.Graphics + spec.csharp: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Graphics + name: Graphics + isExternal: true + spec.vb: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Graphics + name: Graphics + isExternal: true diff --git a/docs/api/TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate.yml b/docs/api/TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate.yml new file mode 100644 index 0000000..27b138f --- /dev/null +++ b/docs/api/TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate.yml @@ -0,0 +1,191 @@ +### YamlMime:ManagedReference +items: +- uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + commentId: T:TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + id: TextureHandler.LoadGameTextureDelegate + parent: TinyLife.Utilities + children: [] + langs: + - csharp + - vb + name: TextureHandler.LoadGameTextureDelegate + nameWithType: TextureHandler.LoadGameTextureDelegate + fullName: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + type: Delegate + source: + remote: + path: TinyLife/Utilities/TextureHandler.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: LoadGameTextureDelegate + path: ../TinyLife/Utilities/TextureHandler.cs + startLine: 147 + assemblies: + - Tiny Life + namespace: TinyLife.Utilities + summary: "\nA delegate used by .\n" + example: [] + syntax: + content: public delegate void TextureHandler.LoadGameTextureDelegate(ref ContentManager content, ref string name) + parameters: + - id: content + type: Microsoft.Xna.Framework.Content.ContentManager + - id: name + type: System.String + content.vb: Public Delegate Sub TextureHandler.LoadGameTextureDelegate(content As ContentManager, name As String) + extensionMethods: + - TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate.TinyLife.Utilities.Extensions.JsonCopy``1 +references: +- uid: TinyLife.Utilities.TextureHandler.OnLoadGameTexture + commentId: E:TinyLife.Utilities.TextureHandler.OnLoadGameTexture + name: OnLoadGameTexture + nameWithType: TextureHandler.OnLoadGameTexture + fullName: TinyLife.Utilities.TextureHandler.OnLoadGameTexture +- uid: TinyLife.Utilities + commentId: N:TinyLife.Utilities + name: TinyLife.Utilities + nameWithType: TinyLife.Utilities + fullName: TinyLife.Utilities + spec.csharp: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.Utilities + name: Utilities + spec.vb: + - uid: TinyLife + name: TinyLife + - name: . + - uid: TinyLife.Utilities + name: Utilities +- uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate.TinyLife.Utilities.Extensions.JsonCopy``1 + commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) + parent: TinyLife.Utilities.Extensions + definition: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy(LoadGameTextureDelegate) + nameWithType: Extensions.JsonCopy(TextureHandler.LoadGameTextureDelegate) + fullName: TinyLife.Utilities.Extensions.JsonCopy(TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate) + nameWithType.vb: Extensions.JsonCopy(Of TextureHandler.LoadGameTextureDelegate)(TextureHandler.LoadGameTextureDelegate) + fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate)(TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate) + name.vb: JsonCopy(Of LoadGameTextureDelegate)(LoadGameTextureDelegate) + spec.csharp: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate) + name: JsonCopy + - name: < + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: LoadGameTextureDelegate + - name: '>' + - name: ( + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: LoadGameTextureDelegate + - name: ) + spec.vb: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate) + name: JsonCopy + - name: ( + - name: Of + - name: " " + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: LoadGameTextureDelegate + - name: ) + - name: ( + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: LoadGameTextureDelegate + - name: ) +- uid: Microsoft.Xna.Framework.Content.ContentManager + commentId: T:Microsoft.Xna.Framework.Content.ContentManager + parent: Microsoft.Xna.Framework.Content + isExternal: true + name: ContentManager + nameWithType: ContentManager + fullName: Microsoft.Xna.Framework.Content.ContentManager +- uid: System.String + commentId: T:System.String + parent: System + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system.string + name: string + nameWithType: string + fullName: string + nameWithType.vb: String + fullName.vb: String + name.vb: String +- uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + commentId: M:TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy(T) + nameWithType: Extensions.JsonCopy(T) + fullName: TinyLife.Utilities.Extensions.JsonCopy(T) + nameWithType.vb: Extensions.JsonCopy(Of T)(T) + fullName.vb: TinyLife.Utilities.Extensions.JsonCopy(Of T)(T) + name.vb: JsonCopy(Of T)(T) + spec.csharp: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy + - name: < + - name: T + - name: '>' + - name: ( + - name: T + - name: ) + spec.vb: + - uid: TinyLife.Utilities.Extensions.JsonCopy``1(``0) + name: JsonCopy + - name: ( + - name: Of + - name: " " + - name: T + - name: ) + - name: ( + - name: T + - name: ) +- uid: TinyLife.Utilities.Extensions + commentId: T:TinyLife.Utilities.Extensions + parent: TinyLife.Utilities + name: Extensions + nameWithType: Extensions + fullName: TinyLife.Utilities.Extensions +- uid: Microsoft.Xna.Framework.Content + commentId: N:Microsoft.Xna.Framework.Content + isExternal: true + name: Microsoft.Xna.Framework.Content + nameWithType: Microsoft.Xna.Framework.Content + fullName: Microsoft.Xna.Framework.Content + spec.csharp: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Content + name: Content + isExternal: true + spec.vb: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Content + name: Content + isExternal: true +- uid: System + commentId: N:System + isExternal: true + href: https://learn.microsoft.com/dotnet/api/system + name: System + nameWithType: System + fullName: System diff --git a/docs/api/TinyLife.Utilities.TextureHandler.yml b/docs/api/TinyLife.Utilities.TextureHandler.yml index 83fbff1..d24041f 100644 --- a/docs/api/TinyLife.Utilities.TextureHandler.yml +++ b/docs/api/TinyLife.Utilities.TextureHandler.yml @@ -11,7 +11,8 @@ items: - TinyLife.Utilities.TextureHandler.EmoteTexture - TinyLife.Utilities.TextureHandler.FurnitureTextures - TinyLife.Utilities.TextureHandler.LightTexture - - TinyLife.Utilities.TextureHandler.MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32) + - TinyLife.Utilities.TextureHandler.OnGameTextureLoaded + - TinyLife.Utilities.TextureHandler.OnLoadGameTexture - TinyLife.Utilities.TextureHandler.OpeningTexture - TinyLife.Utilities.TextureHandler.ParticleTexture - TinyLife.Utilities.TextureHandler.RoofTexture @@ -35,7 +36,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TextureHandler path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 17 + startLine: 16 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -54,6 +55,64 @@ items: - System.Object.MemberwiseClone - System.Object.ReferenceEquals(System.Object,System.Object) - System.Object.ToString +- uid: TinyLife.Utilities.TextureHandler.OnLoadGameTexture + commentId: E:TinyLife.Utilities.TextureHandler.OnLoadGameTexture + id: OnLoadGameTexture + parent: TinyLife.Utilities.TextureHandler + langs: + - csharp + - vb + name: OnLoadGameTexture + nameWithType: TextureHandler.OnLoadGameTexture + fullName: TinyLife.Utilities.TextureHandler.OnLoadGameTexture + type: Event + source: + remote: + path: TinyLife/Utilities/TextureHandler.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OnLoadGameTexture + path: ../TinyLife/Utilities/TextureHandler.cs + startLine: 22 + assemblies: + - Tiny Life + namespace: TinyLife.Utilities + summary: "\nAn event that is invoked when the base game loads textures to be packed or otherwise used.\nThis event can be used by mods to change what textures the game uses by changing the and/or the path of the texture to load.\n" + example: [] + syntax: + content: public static event TextureHandler.LoadGameTextureDelegate OnLoadGameTexture + return: + type: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + content.vb: Public Shared Event OnLoadGameTexture As TextureHandler.LoadGameTextureDelegate +- uid: TinyLife.Utilities.TextureHandler.OnGameTextureLoaded + commentId: E:TinyLife.Utilities.TextureHandler.OnGameTextureLoaded + id: OnGameTextureLoaded + parent: TinyLife.Utilities.TextureHandler + langs: + - csharp + - vb + name: OnGameTextureLoaded + nameWithType: TextureHandler.OnGameTextureLoaded + fullName: TinyLife.Utilities.TextureHandler.OnGameTextureLoaded + type: Event + source: + remote: + path: TinyLife/Utilities/TextureHandler.cs + branch: main + repo: https://git.ellpeck.de/Ellpeck/TinyLife + id: OnGameTextureLoaded + path: ../TinyLife/Utilities/TextureHandler.cs + startLine: 27 + assemblies: + - Tiny Life + namespace: TinyLife.Utilities + summary: "\nAn event that is invoked when the base game has just loaded a through a .\nThis event can be used by mods to change what textures the game uses.\n" + example: [] + syntax: + content: public static event TextureHandler.GameTextureLoadedDelegate OnGameTextureLoaded + return: + type: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + content.vb: Public Shared Event OnGameTextureLoaded As TextureHandler.GameTextureLoadedDelegate - uid: TinyLife.Utilities.TextureHandler.TexturePacker commentId: F:TinyLife.Utilities.TextureHandler.TexturePacker id: TexturePacker @@ -72,7 +131,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TexturePacker path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 20 + startLine: 30 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -99,7 +158,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FurnitureTextures path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 21 + startLine: 31 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -126,7 +185,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ClothesTextures path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 22 + startLine: 32 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -153,7 +212,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WallpaperTextures path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 23 + startLine: 33 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -182,7 +241,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UiTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 24 + startLine: 34 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -211,7 +270,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CursorTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 25 + startLine: 35 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -240,7 +299,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OpeningTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 26 + startLine: 36 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -269,7 +328,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RoofTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 27 + startLine: 37 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -298,7 +357,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: TileTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 28 + startLine: 38 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -327,7 +386,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AutoTileTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 29 + startLine: 39 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -356,7 +415,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WaterTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 30 + startLine: 40 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -385,7 +444,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: VehicleTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 31 + startLine: 41 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -414,7 +473,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LightTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 32 + startLine: 42 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -443,7 +502,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ParticleTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 33 + startLine: 43 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -472,7 +531,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: EmoteTexture path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 34 + startLine: 44 assemblies: - Tiny Life namespace: TinyLife.Utilities @@ -483,53 +542,6 @@ items: type: System.Collections.Generic.Dictionary{Microsoft.Xna.Framework.Point,MLEM.Textures.TextureRegion} content.vb: Public Shared Property EmoteTexture As Dictionary(Of Point, TextureRegion) overload: TinyLife.Utilities.TextureHandler.EmoteTexture* -- uid: TinyLife.Utilities.TextureHandler.MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32) - commentId: M:TinyLife.Utilities.TextureHandler.MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32) - id: MenuBackground(System.Int32,System.Int32,System.Int32,System.Int32) - parent: TinyLife.Utilities.TextureHandler - langs: - - csharp - - vb - name: MenuBackground(int, int, int, int) - nameWithType: TextureHandler.MenuBackground(int, int, int, int) - fullName: TinyLife.Utilities.TextureHandler.MenuBackground(int, int, int, int) - type: Method - source: - remote: - path: TinyLife/Utilities/TextureHandler.cs - branch: main - repo: https://git.ellpeck.de/Ellpeck/TinyLife - id: MenuBackground - path: ../TinyLife/Utilities/TextureHandler.cs - startLine: 128 - assemblies: - - Tiny Life - namespace: TinyLife.Utilities - summary: "\nReturns a that contains a menu background texture region, based on the given data.\n" - example: [] - syntax: - content: public static NinePatch MenuBackground(int x, int y, int width = 1, int height = 1) - parameters: - - id: x - type: System.Int32 - description: The x coordinate of the menu background section to return, which is expected to be between 0 and 1. - - id: y - type: System.Int32 - description: The y coordinate of the menu background section to return, which is expected to be between 0 and 1. - - id: width - type: System.Int32 - description: The width of the menu background section to return, which is expected to be between 1 and 2. - - id: height - type: System.Int32 - description: The height of the menu background section to return, which is expected to be between 1 and 2. - return: - type: MLEM.Textures.NinePatch - description: A that contains a menu background texture region. - content.vb: Public Shared Function MenuBackground(x As Integer, y As Integer, width As Integer = 1, height As Integer = 1) As NinePatch - overload: TinyLife.Utilities.TextureHandler.MenuBackground* - nameWithType.vb: TextureHandler.MenuBackground(Integer, Integer, Integer, Integer) - fullName.vb: TinyLife.Utilities.TextureHandler.MenuBackground(Integer, Integer, Integer, Integer) - name.vb: MenuBackground(Integer, Integer, Integer, Integer) references: - uid: MLEM.Data.RuntimeTexturePacker commentId: T:MLEM.Data.RuntimeTexturePacker @@ -814,6 +826,132 @@ references: name: System nameWithType: System fullName: System +- uid: Microsoft.Xna.Framework.Content.ContentManager + commentId: T:Microsoft.Xna.Framework.Content.ContentManager + parent: Microsoft.Xna.Framework.Content + isExternal: true + name: ContentManager + nameWithType: ContentManager + fullName: Microsoft.Xna.Framework.Content.ContentManager +- uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + commentId: T:TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + parent: TinyLife.Utilities + name: TextureHandler.LoadGameTextureDelegate + nameWithType: TextureHandler.LoadGameTextureDelegate + fullName: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + spec.csharp: + - uid: TinyLife.Utilities.TextureHandler + name: TextureHandler + - name: . + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: LoadGameTextureDelegate + spec.vb: + - uid: TinyLife.Utilities.TextureHandler + name: TextureHandler + - name: . + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: LoadGameTextureDelegate +- uid: Microsoft.Xna.Framework.Content + commentId: N:Microsoft.Xna.Framework.Content + isExternal: true + name: Microsoft.Xna.Framework.Content + nameWithType: Microsoft.Xna.Framework.Content + fullName: Microsoft.Xna.Framework.Content + spec.csharp: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Content + name: Content + isExternal: true + spec.vb: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Content + name: Content + isExternal: true +- uid: Microsoft.Xna.Framework.Graphics.Texture2D + commentId: T:Microsoft.Xna.Framework.Graphics.Texture2D + parent: Microsoft.Xna.Framework.Graphics + isExternal: true + name: Texture2D + nameWithType: Texture2D + fullName: Microsoft.Xna.Framework.Graphics.Texture2D +- uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + commentId: T:TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + parent: TinyLife.Utilities + name: TextureHandler.GameTextureLoadedDelegate + nameWithType: TextureHandler.GameTextureLoadedDelegate + fullName: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + spec.csharp: + - uid: TinyLife.Utilities.TextureHandler + name: TextureHandler + - name: . + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: GameTextureLoadedDelegate + spec.vb: + - uid: TinyLife.Utilities.TextureHandler + name: TextureHandler + - name: . + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: GameTextureLoadedDelegate +- uid: Microsoft.Xna.Framework.Graphics + commentId: N:Microsoft.Xna.Framework.Graphics + isExternal: true + name: Microsoft.Xna.Framework.Graphics + nameWithType: Microsoft.Xna.Framework.Graphics + fullName: Microsoft.Xna.Framework.Graphics + spec.csharp: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Graphics + name: Graphics + isExternal: true + spec.vb: + - uid: Microsoft + name: Microsoft + isExternal: true + - name: . + - uid: Microsoft.Xna + name: Xna + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework + name: Framework + isExternal: true + - name: . + - uid: Microsoft.Xna.Framework.Graphics + name: Graphics + isExternal: true - uid: System.Collections.Generic.List{MLEM.Data.DataTextureAtlas} commentId: T:System.Collections.Generic.List{MLEM.Data.DataTextureAtlas} parent: System.Collections.Generic @@ -1162,26 +1300,3 @@ references: name: EmoteTexture nameWithType: TextureHandler.EmoteTexture fullName: TinyLife.Utilities.TextureHandler.EmoteTexture -- uid: MLEM.Textures.NinePatch - commentId: T:MLEM.Textures.NinePatch - parent: MLEM.Textures - isExternal: true - name: NinePatch - nameWithType: NinePatch - fullName: MLEM.Textures.NinePatch -- uid: TinyLife.Utilities.TextureHandler.MenuBackground* - commentId: Overload:TinyLife.Utilities.TextureHandler.MenuBackground - name: MenuBackground - nameWithType: TextureHandler.MenuBackground - fullName: TinyLife.Utilities.TextureHandler.MenuBackground -- uid: System.Int32 - commentId: T:System.Int32 - parent: System - isExternal: true - href: https://learn.microsoft.com/dotnet/api/system.int32 - name: int - nameWithType: int - fullName: int - nameWithType.vb: Integer - fullName.vb: Integer - name.vb: Integer diff --git a/docs/api/TinyLife.Utilities.yml b/docs/api/TinyLife.Utilities.yml index 4a44ef3..b54dfcc 100644 --- a/docs/api/TinyLife.Utilities.yml +++ b/docs/api/TinyLife.Utilities.yml @@ -7,6 +7,8 @@ items: - TinyLife.Utilities.ColorScheme - TinyLife.Utilities.Extensions - TinyLife.Utilities.TextureHandler + - TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + - TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate langs: - csharp - vb @@ -34,6 +36,42 @@ references: name: TextureHandler nameWithType: TextureHandler fullName: TinyLife.Utilities.TextureHandler +- uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + commentId: T:TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + parent: TinyLife.Utilities + name: TextureHandler.LoadGameTextureDelegate + nameWithType: TextureHandler.LoadGameTextureDelegate + fullName: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + spec.csharp: + - uid: TinyLife.Utilities.TextureHandler + name: TextureHandler + - name: . + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: LoadGameTextureDelegate + spec.vb: + - uid: TinyLife.Utilities.TextureHandler + name: TextureHandler + - name: . + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: LoadGameTextureDelegate +- uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + commentId: T:TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + parent: TinyLife.Utilities + name: TextureHandler.GameTextureLoadedDelegate + nameWithType: TextureHandler.GameTextureLoadedDelegate + fullName: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + spec.csharp: + - uid: TinyLife.Utilities.TextureHandler + name: TextureHandler + - name: . + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: GameTextureLoadedDelegate + spec.vb: + - uid: TinyLife.Utilities.TextureHandler + name: TextureHandler + - name: . + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: GameTextureLoadedDelegate - uid: TinyLife.Utilities commentId: N:TinyLife.Utilities name: TinyLife.Utilities diff --git a/docs/api/TinyLife.WallDisplay.yml b/docs/api/TinyLife.WallDisplay.yml index 04b9121..fb8faca 100644 --- a/docs/api/TinyLife.WallDisplay.yml +++ b/docs/api/TinyLife.WallDisplay.yml @@ -23,7 +23,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WallDisplay path: ../TinyLife/Options.cs - startLine: 573 + startLine: 578 assemblies: - Tiny Life namespace: TinyLife @@ -52,7 +52,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Roofs path: ../TinyLife/Options.cs - startLine: 578 + startLine: 583 assemblies: - Tiny Life namespace: TinyLife @@ -80,7 +80,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Up path: ../TinyLife/Options.cs - startLine: 582 + startLine: 587 assemblies: - Tiny Life namespace: TinyLife @@ -108,7 +108,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Auto path: ../TinyLife/Options.cs - startLine: 586 + startLine: 591 assemblies: - Tiny Life namespace: TinyLife @@ -136,7 +136,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Down path: ../TinyLife/Options.cs - startLine: 590 + startLine: 595 assemblies: - Tiny Life namespace: TinyLife diff --git a/docs/api/TinyLife.World.DrawDelegate.yml b/docs/api/TinyLife.World.DrawDelegate.yml index d5530f2..5584646 100644 --- a/docs/api/TinyLife.World.DrawDelegate.yml +++ b/docs/api/TinyLife.World.DrawDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: DrawDelegate path: ../TinyLife/World/Map.cs - startLine: 2444 + startLine: 2466 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.Map.yml b/docs/api/TinyLife.World.Map.yml index 34a79dc..073221b 100644 --- a/docs/api/TinyLife.World.Map.yml +++ b/docs/api/TinyLife.World.Map.yml @@ -101,7 +101,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Map path: ../TinyLife/World/Map.cs - startLine: 37 + startLine: 38 assemblies: - Tiny Life namespace: TinyLife.World @@ -157,7 +157,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RoadRadius path: ../TinyLife/World/Map.cs - startLine: 44 + startLine: 45 assemblies: - Tiny Life namespace: TinyLife.World @@ -186,7 +186,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnUpdate path: ../TinyLife/World/Map.cs - startLine: 79 + startLine: 81 assemblies: - Tiny Life namespace: TinyLife.World @@ -215,7 +215,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnObjectAdded path: ../TinyLife/World/Map.cs - startLine: 83 + startLine: 85 assemblies: - Tiny Life namespace: TinyLife.World @@ -244,7 +244,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnObjectRemoved path: ../TinyLife/World/Map.cs - startLine: 87 + startLine: 89 assemblies: - Tiny Life namespace: TinyLife.World @@ -273,7 +273,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MailToSend path: ../TinyLife/World/Map.cs - startLine: 93 + startLine: 95 assemblies: - Tiny Life namespace: TinyLife.World @@ -312,7 +312,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AdoptableChildren path: ../TinyLife/World/Map.cs - startLine: 98 + startLine: 100 assemblies: - Tiny Life namespace: TinyLife.World @@ -343,7 +343,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SizeInSections path: ../TinyLife/World/Map.cs - startLine: 109 + startLine: 111 assemblies: - Tiny Life namespace: TinyLife.World @@ -384,7 +384,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Size path: ../TinyLife/World/Map.cs - startLine: 123 + startLine: 125 assemblies: - Tiny Life namespace: TinyLife.World @@ -415,7 +415,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: StaticVersion path: ../TinyLife/World/Map.cs - startLine: 137 + startLine: 139 assemblies: - Tiny Life namespace: TinyLife.World @@ -456,7 +456,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Time path: ../TinyLife/World/Map.cs - startLine: 142 + startLine: 144 assemblies: - Tiny Life namespace: TinyLife.World @@ -487,7 +487,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/World/Map.cs - startLine: 181 + startLine: 183 assemblies: - Tiny Life namespace: TinyLife.World @@ -522,7 +522,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Finalize path: ../TinyLife/World/Map.cs - startLine: 186 + startLine: 188 assemblies: - Tiny Life namespace: TinyLife.World @@ -552,7 +552,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Update path: ../TinyLife/World/Map.cs - startLine: 197 + startLine: 199 assemblies: - Tiny Life namespace: TinyLife.World @@ -593,7 +593,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Draw path: ../TinyLife/World/Map.cs - startLine: 242 + startLine: 244 assemblies: - Tiny Life namespace: TinyLife.World @@ -646,7 +646,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDepth path: ../TinyLife/World/Map.cs - startLine: 527 + startLine: 540 assemblies: - Tiny Life namespace: TinyLife.World @@ -696,7 +696,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsInBounds path: ../TinyLife/World/Map.cs - startLine: 538 + startLine: 551 assemblies: - Tiny Life namespace: TinyLife.World @@ -731,7 +731,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddRoad path: ../TinyLife/World/Map.cs - startLine: 547 + startLine: 560 assemblies: - Tiny Life namespace: TinyLife.World @@ -763,7 +763,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsRoad path: ../TinyLife/World/Map.cs - startLine: 557 + startLine: 570 assemblies: - Tiny Life namespace: TinyLife.World @@ -798,7 +798,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestRoads path: ../TinyLife/World/Map.cs - startLine: 567 + startLine: 580 assemblies: - Tiny Life namespace: TinyLife.World @@ -839,7 +839,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoads path: ../TinyLife/World/Map.cs - startLine: 577 + startLine: 590 assemblies: - Tiny Life namespace: TinyLife.World @@ -870,7 +870,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestRoadsidePosition path: ../TinyLife/World/Map.cs - startLine: 588 + startLine: 601 assemblies: - Tiny Life namespace: TinyLife.World @@ -908,7 +908,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTilesAround path: ../TinyLife/World/Map.cs - startLine: 605 + startLine: 618 assemblies: - Tiny Life namespace: TinyLife.World @@ -958,7 +958,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestEmptyTile path: ../TinyLife/World/Map.cs - startLine: 632 + startLine: 645 assemblies: - Tiny Life namespace: TinyLife.World @@ -1008,7 +1008,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRandomTile path: ../TinyLife/World/Map.cs - startLine: 650 + startLine: 663 assemblies: - Tiny Life namespace: TinyLife.World @@ -1061,7 +1061,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Validate path: ../TinyLife/World/Map.cs - startLine: 677 + startLine: 690 assemblies: - Tiny Life namespace: TinyLife.World @@ -1099,7 +1099,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PostValidate path: ../TinyLife/World/Map.cs - startLine: 735 + startLine: 748 assemblies: - Tiny Life namespace: TinyLife.World @@ -1137,7 +1137,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoom path: ../TinyLife/World/Map.cs - startLine: 752 + startLine: 765 assemblies: - Tiny Life namespace: TinyLife.World @@ -1172,7 +1172,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLot path: ../TinyLife/World/Map.cs - startLine: 766 + startLine: 779 assemblies: - Tiny Life namespace: TinyLife.World @@ -1207,7 +1207,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLot path: ../TinyLife/World/Map.cs - startLine: 777 + startLine: 790 assemblies: - Tiny Life namespace: TinyLife.World @@ -1242,7 +1242,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddLot path: ../TinyLife/World/Map.cs - startLine: 790 + startLine: 803 assemblies: - Tiny Life namespace: TinyLife.World @@ -1277,7 +1277,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddLot path: ../TinyLife/World/Map.cs - startLine: 800 + startLine: 813 assemblies: - Tiny Life namespace: TinyLife.World @@ -1309,7 +1309,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveLot path: ../TinyLife/World/Map.cs - startLine: 808 + startLine: 821 assemblies: - Tiny Life namespace: TinyLife.World @@ -1341,7 +1341,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetLots path: ../TinyLife/World/Map.cs - startLine: 827 + startLine: 840 assemblies: - Tiny Life namespace: TinyLife.World @@ -1372,7 +1372,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddWall path: ../TinyLife/World/Map.cs - startLine: 838 + startLine: 851 assemblies: - Tiny Life namespace: TinyLife.World @@ -1410,7 +1410,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddWall path: ../TinyLife/World/Map.cs - startLine: 849 + startLine: 862 assemblies: - Tiny Life namespace: TinyLife.World @@ -1445,7 +1445,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveWall path: ../TinyLife/World/Map.cs - startLine: 859 + startLine: 872 assemblies: - Tiny Life namespace: TinyLife.World @@ -1480,7 +1480,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWallBetween path: ../TinyLife/World/Map.cs - startLine: 875 + startLine: 888 assemblies: - Tiny Life namespace: TinyLife.World @@ -1518,7 +1518,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetTile path: ../TinyLife/World/Map.cs - startLine: 889 + startLine: 902 assemblies: - Tiny Life namespace: TinyLife.World @@ -1553,7 +1553,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SetTile path: ../TinyLife/World/Map.cs - startLine: 899 + startLine: 912 assemblies: - Tiny Life namespace: TinyLife.World @@ -1588,7 +1588,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddRoof path: ../TinyLife/World/Map.cs - startLine: 915 + startLine: 928 assemblies: - Tiny Life namespace: TinyLife.World @@ -1620,7 +1620,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoof path: ../TinyLife/World/Map.cs - startLine: 925 + startLine: 938 assemblies: - Tiny Life namespace: TinyLife.World @@ -1655,7 +1655,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRoofs path: ../TinyLife/World/Map.cs - startLine: 940 + startLine: 953 assemblies: - Tiny Life namespace: TinyLife.World @@ -1690,7 +1690,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveRoof path: ../TinyLife/World/Map.cs - startLine: 953 + startLine: 966 assemblies: - Tiny Life namespace: TinyLife.World @@ -1722,7 +1722,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetObjects path: ../TinyLife/World/Map.cs - startLine: 964 + startLine: 977 assemblies: - Tiny Life namespace: TinyLife.World @@ -1763,7 +1763,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetObject path: ../TinyLife/World/Map.cs - startLine: 980 + startLine: 993 assemblies: - Tiny Life namespace: TinyLife.World @@ -1804,7 +1804,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddObject path: ../TinyLife/World/Map.cs - startLine: 992 + startLine: 1005 assemblies: - Tiny Life namespace: TinyLife.World @@ -1836,7 +1836,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveObject path: ../TinyLife/World/Map.cs - startLine: 1017 + startLine: 1030 assemblies: - Tiny Life namespace: TinyLife.World @@ -1869,7 +1869,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPeople path: ../TinyLife/World/Map.cs - startLine: 1037 + startLine: 1050 assemblies: - Tiny Life namespace: TinyLife.World @@ -1900,7 +1900,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHousehold path: ../TinyLife/World/Map.cs - startLine: 1049 + startLine: 1062 assemblies: - Tiny Life namespace: TinyLife.World @@ -1935,7 +1935,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHousehold path: ../TinyLife/World/Map.cs - startLine: 1062 + startLine: 1075 assemblies: - Tiny Life namespace: TinyLife.World @@ -1970,7 +1970,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddHousehold path: ../TinyLife/World/Map.cs - startLine: 1075 + startLine: 1088 assemblies: - Tiny Life namespace: TinyLife.World @@ -2005,7 +2005,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveHousehold path: ../TinyLife/World/Map.cs - startLine: 1085 + startLine: 1098 assemblies: - Tiny Life namespace: TinyLife.World @@ -2037,7 +2037,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetHouseholds path: ../TinyLife/World/Map.cs - startLine: 1093 + startLine: 1106 assemblies: - Tiny Life namespace: TinyLife.World @@ -2068,7 +2068,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSection path: ../TinyLife/World/Map.cs - startLine: 1103 + startLine: 1116 assemblies: - Tiny Life namespace: TinyLife.World @@ -2103,7 +2103,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSections path: ../TinyLife/World/Map.cs - startLine: 1118 + startLine: 1131 assemblies: - Tiny Life namespace: TinyLife.World @@ -2144,7 +2144,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetSections path: ../TinyLife/World/Map.cs - startLine: 1128 + startLine: 1141 assemblies: - Tiny Life namespace: TinyLife.World @@ -2185,7 +2185,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkDirtyForPathfinding path: ../TinyLife/World/Map.cs - startLine: 1149 + startLine: 1162 assemblies: - Tiny Life namespace: TinyLife.World @@ -2217,7 +2217,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetPathCost path: ../TinyLife/World/Map.cs - startLine: 1170 + startLine: 1183 assemblies: - Tiny Life namespace: TinyLife.World @@ -2258,7 +2258,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: CanWalkBetween path: ../TinyLife/World/Map.cs - startLine: 1192 + startLine: 1205 assemblies: - Tiny Life namespace: TinyLife.World @@ -2299,7 +2299,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsFreeSpot path: ../TinyLife/World/Map.cs - startLine: 1201 + startLine: 1214 assemblies: - Tiny Life namespace: TinyLife.World @@ -2334,7 +2334,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetDeadPerson path: ../TinyLife/World/Map.cs - startLine: 1211 + startLine: 1224 assemblies: - Tiny Life namespace: TinyLife.World @@ -2369,7 +2369,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlaySound path: ../TinyLife/World/Map.cs - startLine: 1231 + startLine: 1244 assemblies: - Tiny Life namespace: TinyLife.World @@ -2422,7 +2422,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: PlaySound path: ../TinyLife/World/Map.cs - startLine: 1248 + startLine: 1261 assemblies: - Tiny Life namespace: TinyLife.World @@ -2475,7 +2475,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetClosestFreeExitPoint path: ../TinyLife/World/Map.cs - startLine: 1267 + startLine: 1280 assemblies: - Tiny Life namespace: TinyLife.World @@ -2510,7 +2510,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetExitRoads path: ../TinyLife/World/Map.cs - startLine: 1278 + startLine: 1291 assemblies: - Tiny Life namespace: TinyLife.World @@ -2541,7 +2541,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetWalls path: ../TinyLife/World/Map.cs - startLine: 1293 + startLine: 1306 assemblies: - Tiny Life namespace: TinyLife.World @@ -2576,7 +2576,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ApplyCameraRotation path: ../TinyLife/World/Map.cs - startLine: 1313 + startLine: 1326 assemblies: - Tiny Life namespace: TinyLife.World @@ -2620,7 +2620,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ApplyInverseCameraRotation path: ../TinyLife/World/Map.cs - startLine: 1329 + startLine: 1342 assemblies: - Tiny Life namespace: TinyLife.World @@ -2658,7 +2658,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OnCameraRotationChanged path: ../TinyLife/World/Map.cs - startLine: 1344 + startLine: 1357 assemblies: - Tiny Life namespace: TinyLife.World @@ -2693,7 +2693,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddLight path: ../TinyLife/World/Map.cs - startLine: 1367 + startLine: 1380 assemblies: - Tiny Life namespace: TinyLife.World @@ -2725,7 +2725,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RemoveLight path: ../TinyLife/World/Map.cs - startLine: 1376 + startLine: 1389 assemblies: - Tiny Life namespace: TinyLife.World @@ -2757,7 +2757,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MoveEverything path: ../TinyLife/World/Map.cs - startLine: 1388 + startLine: 1401 assemblies: - Tiny Life namespace: TinyLife.World @@ -2801,7 +2801,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ValidateExistingRooms path: ../TinyLife/World/Map.cs - startLine: 1464 + startLine: 1477 assemblies: - Tiny Life namespace: TinyLife.World @@ -2836,7 +2836,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: AddNewRoomsAndValidateExisting path: ../TinyLife/World/Map.cs - startLine: 1483 + startLine: 1496 assemblies: - Tiny Life namespace: TinyLife.World @@ -2877,7 +2877,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetRegularVisitors path: ../TinyLife/World/Map.cs - startLine: 1537 + startLine: 1550 assemblies: - Tiny Life namespace: TinyLife.World @@ -2908,7 +2908,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateExternalPeople path: ../TinyLife/World/Map.cs - startLine: 1549 + startLine: 1562 assemblies: - Tiny Life namespace: TinyLife.World @@ -2942,7 +2942,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetAllLotEmployments path: ../TinyLife/World/Map.cs - startLine: 1632 + startLine: 1645 assemblies: - Tiny Life namespace: TinyLife.World @@ -2973,7 +2973,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkTileDirtyForDrawing path: ../TinyLife/World/Map.cs - startLine: 1645 + startLine: 1658 assemblies: - Tiny Life namespace: TinyLife.World @@ -3005,7 +3005,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MarkObjectDirtyForDrawing path: ../TinyLife/World/Map.cs - startLine: 1661 + startLine: 1674 assemblies: - Tiny Life namespace: TinyLife.World @@ -3046,7 +3046,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LoadStaticMap path: ../TinyLife/World/Map.cs - startLine: 2208 + startLine: 2230 assemblies: - Tiny Life namespace: TinyLife.World @@ -3093,7 +3093,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: IsLotHidden path: ../TinyLife/World/Map.cs - startLine: 2263 + startLine: 2285 assemblies: - Tiny Life namespace: TinyLife.World @@ -3128,7 +3128,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: GetMapSampler path: ../TinyLife/World/Map.cs - startLine: 2281 + startLine: 2303 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.UpdateDelegate.yml b/docs/api/TinyLife.World.UpdateDelegate.yml index 824f9d3..ca3dca5 100644 --- a/docs/api/TinyLife.World.UpdateDelegate.yml +++ b/docs/api/TinyLife.World.UpdateDelegate.yml @@ -19,7 +19,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: UpdateDelegate path: ../TinyLife/World/Map.cs - startLine: 2434 + startLine: 2456 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/TinyLife.World.WallMode.yml b/docs/api/TinyLife.World.WallMode.yml index 4de9399..6c8c843 100644 --- a/docs/api/TinyLife.World.WallMode.yml +++ b/docs/api/TinyLife.World.WallMode.yml @@ -36,7 +36,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: WallMode path: ../TinyLife/World/WallMode.cs - startLine: 15 + startLine: 16 assemblies: - Tiny Life namespace: TinyLife.World @@ -75,7 +75,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Modes path: ../TinyLife/World/WallMode.cs - startLine: 21 + startLine: 22 assemblies: - Tiny Life namespace: TinyLife.World @@ -104,7 +104,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Full path: ../TinyLife/World/WallMode.cs - startLine: 29 + startLine: 30 assemblies: - Tiny Life namespace: TinyLife.World @@ -133,7 +133,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: SmallWindow path: ../TinyLife/World/WallMode.cs - startLine: 33 + startLine: 34 assemblies: - Tiny Life namespace: TinyLife.World @@ -162,7 +162,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Door path: ../TinyLife/World/WallMode.cs - startLine: 37 + startLine: 38 assemblies: - Tiny Life namespace: TinyLife.World @@ -191,7 +191,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Roof path: ../TinyLife/World/WallMode.cs - startLine: 41 + startLine: 42 assemblies: - Tiny Life namespace: TinyLife.World @@ -220,7 +220,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RoofGable path: ../TinyLife/World/WallMode.cs - startLine: 45 + startLine: 46 assemblies: - Tiny Life namespace: TinyLife.World @@ -249,7 +249,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: RoofGableInverse path: ../TinyLife/World/WallMode.cs - startLine: 49 + startLine: 50 assemblies: - Tiny Life namespace: TinyLife.World @@ -278,7 +278,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: LongWindow path: ../TinyLife/World/WallMode.cs - startLine: 53 + startLine: 54 assemblies: - Tiny Life namespace: TinyLife.World @@ -307,7 +307,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NarrowWideTop path: ../TinyLife/World/WallMode.cs - startLine: 57 + startLine: 58 assemblies: - Tiny Life namespace: TinyLife.World @@ -336,7 +336,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: NarrowLong path: ../TinyLife/World/WallMode.cs - startLine: 61 + startLine: 62 assemblies: - Tiny Life namespace: TinyLife.World @@ -365,7 +365,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: FullSizeWindow path: ../TinyLife/World/WallMode.cs - startLine: 65 + startLine: 66 assemblies: - Tiny Life namespace: TinyLife.World @@ -394,7 +394,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MaskTexture path: ../TinyLife/World/WallMode.cs - startLine: 71 + startLine: 72 assemblies: - Tiny Life namespace: TinyLife.World @@ -423,7 +423,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: MaskPosition path: ../TinyLife/World/WallMode.cs - startLine: 76 + startLine: 77 assemblies: - Tiny Life namespace: TinyLife.World @@ -452,7 +452,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: .ctor path: ../TinyLife/World/WallMode.cs - startLine: 85 + startLine: 86 assemblies: - Tiny Life namespace: TinyLife.World @@ -490,7 +490,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: OffsetTextureRegion path: ../TinyLife/World/WallMode.cs - startLine: 97 + startLine: 98 assemblies: - Tiny Life namespace: TinyLife.World @@ -534,7 +534,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: Register path: ../TinyLife/World/WallMode.cs - startLine: 111 + startLine: 112 assemblies: - Tiny Life namespace: TinyLife.World @@ -569,7 +569,7 @@ items: repo: https://git.ellpeck.de/Ellpeck/TinyLife id: ApplyMasks path: ../TinyLife/World/WallMode.cs - startLine: 126 + startLine: 127 assemblies: - Tiny Life namespace: TinyLife.World diff --git a/docs/api/toc.yml b/docs/api/toc.yml index 5774055..c137380 100644 --- a/docs/api/toc.yml +++ b/docs/api/toc.yml @@ -464,6 +464,10 @@ items: name: Extensions - uid: TinyLife.Utilities.TextureHandler name: TextureHandler + - uid: TinyLife.Utilities.TextureHandler.GameTextureLoadedDelegate + name: TextureHandler.GameTextureLoadedDelegate + - uid: TinyLife.Utilities.TextureHandler.LoadGameTextureDelegate + name: TextureHandler.LoadGameTextureDelegate - uid: TinyLife.World name: TinyLife.World items: