Candide.CandideUI.PlayerWarningMessage
Type JSONpublic class in Candide.CandideUI
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI - Base type
System.Object - Hash
0A53315249285887B6658DFB652BBE4885BE234658552CE7F963A05EF3CCBDA7
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
WarningMessageDuration# | private | private System.Single WarningMessageDuration |
WarningMessageFadeout# | private | private System.Single WarningMessageFadeout |
WarningMessages# | private | private System.ValueTuple<System.String, System.Single, Microsoft.Xna.Framework.Vector2>[] WarningMessages |
_activeMessages# | private | private System.Int32 _activeMessages |
_wmIndex# | private | private System.Int32 _wmIndex |
Properties
| Name | Visibility | Signature |
|---|---|---|
Font# | private | private FontStashSharp.SpriteFontBase Font |
Scale# | private | private System.Single Scale |
Methods
Add
#
public System.Void Add(System.String msg)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
4B1A08C01D3099CC2ADA628054BD72C22FFFBD108DF9B1C112AE54F0155FA0DA - Body hash
E405D895D52E94E70D58AF25D8AF676B706519D1B29B374DCC482443543A2189 - IL size229
Referenced calls
Candide.CandideUI.PlayerWarningMessage::get_Font()Candide.CandideUI.PlayerWarningMessage::get_Scale()Microsoft.Xna.Framework.Vector2::.ctor(System.Single)System.Nullable<Microsoft.Xna.Framework.Vector2>::.ctor(!0)FontStashSharp.SpriteFontBase::MeasureString(System.String, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, FontStashSharp.FontSystemEffect, System.Int32)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)System.ValueTuple<System.String, System.Single, Microsoft.Xna.Framework.Vector2>::.ctor(!0, !1, !2)
Called by
Candide.ActionInProgress.CutTreeActionInProgress::VerifyCandide.Entities.Controllers.Legacy.TreeController::OnInteractCandide.Entities.Controllers.Other.Buildings.PermanentStubController::OnInteractCandide.Entities.PlayerState.PlayerStates.BowChargeUpState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.BowChargeUpState::UpdateCandide.Entities.PlayerState.PlayerStates.BowHoldingState::UpdateCandide.Entities.PlayerState.PlayerStates.BowSecondaryChargeUpState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.BowSecondaryChargeUpState::UpdateCandide.Entities.PlayerState.PlayerStates.BowSecondaryState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.BowShootingState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.JavelinChargeUpState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.JavelinChargeUpState::UpdateCandide.Entities.PlayerState.PlayerStates.JavelinHoldingState::UpdateCandide.Entities.PlayerState.PlayerStates.JavelinThrowState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.ShootingState::CheckCanEnterCandide.Entities.PlayerState.PlayerStates.SpearAttackState::UpdateCandide.Entities.PlayerState.PlayerStates.SpearShieldState::UpdateCandide.Entities.PlayerState.PlayerStates.SpearSpecialState::UpdateCandide.Entities.PlayerState.PlayerStates.UnarmedAttackState::OnEnterCandide.GameModels.Controllers.JobsController::CheckCanPerformFurnitureCraftCandide.GameModels.Controllers.JobsController::MakeWorkOrderCandide.GameModels.Managers.ConstructionSitesManager::CreateConstructionSiteCandide.GameModels.Managers.DungeonManager::CanEnterDungeonRoomCandide.GameModels.Managers.EquipmentManager::TryUnequipItemCandide.GameModels.Managers.ItemRecipeManager::TryCraftItemCandide.GameModels.Managers.ItemRecipeManager::TryCraftItemAndDropCandide.GameModels.Managers.ItemRecipeManager::TryCraftItemAndEquipCandide.GameModels.Models.Spells.PlaceConstructionSpell::CastCandide.GameModels.Models.Spells.PlaceCropSpell::CastCandide.GameModels.Models.Spells.PlaceTileSpell::Cast
Draw
#
public System.Void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
8C42783B5A1B81FB2C05890476C7368AE8F9853215C1911976FC8A63F38BB2DA - Body hash
C3322352F07B9A398F53839E48B0FBF497A648A558143313D2390CBFC21BA895 - IL size406
Referenced calls
Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()Microsoft.Xna.Framework.Graphics.Viewport::get_Height()Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)Candide.CandideUI.PlayerWarningMessage::get_Font()CandideCreator.Shared.Helpers.CandideMathHelper::From1To0Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::From0To1Between(System.Single, System.Single, System.Single)CandideCreator.Shared.Helpers.InterpolationHelperExtemsion::QuadIn(System.Single)CandideCreator.Shared.Helpers.CandideMathHelper::InterpolateBetween(System.Single, System.Single, System.Single)Candide.CandideUI.PlayerWarningMessage::get_Scale()Microsoft.Xna.Framework.Vector2::.ctor(System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Round()Microsoft.Xna.Framework.Vector2::get_One()Microsoft.Xna.Framework.Color::get_Black()Microsoft.Xna.Framework.Color::.ctor(Microsoft.Xna.Framework.Color, System.Single)System.Nullable<Microsoft.Xna.Framework.Vector2>::.ctor(!0)FontStashSharp.SpriteFontBase::DrawText(Microsoft.Xna.Framework.Graphics.SpriteBatch, System.String, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, System.Single, FontStashSharp.TextStyle, FontStashSharp.FontSystemEffect, System.Int32, System.Int32)
Update
#
public System.Void Update(System.Single dt)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E2258182C8ED8A4B8748F6FC793D214CE11CD5B33FEBA718D252FCA2E071E6F9 - Body hash
8BDD939808AB7ECD92FC1F5E24FD744C485D0316D4B073334F5DF82EBB6E938B - IL size106