Candide.CandideUI.ControllerUiInputSystem
Type JSONpublic class in Candide.CandideUI
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI - Base type
System.Object - Hash
9771DEAB1594D7BFACE4E32470AB6252BDEBF549C58C943EAB203B340807CEC5
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
ButtonHeldProgressBarSpriteSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet ButtonHeldProgressBarSpriteSheet |
HeldStartTarget# | private | private System.Single HeldStartTarget |
MenuSelectionSpriteSheet# | public | public CandideCreator.Shared.Graphics.SpriteSheet MenuSelectionSpriteSheet |
MenuSelectionSpriteSheetActivated# | public | public CandideCreator.Shared.Graphics.SpriteSheet MenuSelectionSpriteSheetActivated |
TileSize# | private | private System.Int32 TileSize |
TimerTarget# | private | private System.Single TimerTarget |
_aPressHoldStarted# | private | private System.Boolean _aPressHoldStarted |
_disableUiTemporarily# | private | private System.Boolean _disableUiTemporarily |
_focusedElement# | private | private Candide.CandideUI.CandideUiElement _focusedElement |
_holdTimer# | private | private System.Single _holdTimer |
_holdWasCancelled# | private | private System.Boolean _holdWasCancelled |
_navigationHoldDirection# | private | private System.Nullable<Candide.CandideUI.ControllerNavigation> _navigationHoldDirection |
_navigationHoldTimer# | private | private System.Single _navigationHoldTimer |
_rightTriggerPressHoldStarted# | private | private System.Boolean _rightTriggerPressHoldStarted |
Properties
| Name | Visibility | Signature |
|---|---|---|
DisableUiTemporarily# | public | public System.Boolean DisableUiTemporarily |
FocusedElement# | public | public Candide.CandideUI.CandideUiElement FocusedElement |
IsFocusingUi# | public | public System.Boolean IsFocusingUi |
Methods
CancelHold
#
private System.Void CancelHold()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
08A82DBDA1D9D9C731CDBEAE409325AED06675671ED557D552F61C59164B2046 - Body hash
8AFEFB559A629D57128127B45E37199646125781760EE1DD67B35E1C6626072D - IL size51
CreateImgui
#
public System.Void CreateImgui()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
110343E455BC5DE2600B017C23713D4EC221E91D9E7A6118A0E9B9DA9E0C0F97 - Body hash
6F92499BA79249A9E559574DC2535499B0F8713531A6081D94E18C323A624F70 - IL size224
Referenced calls
System.String::op_Implicit(System.String)ImGuiNET.ImGui::SeparatorText(System.ReadOnlySpan<System.Char>)Candide.CandideUI.ControllerUiInputSystem::get_FocusedElement()System.Object::ToString()ImGuiNET.ImGui::Text(System.ReadOnlySpan<System.Char>)Candide.CandideUI.CandideUiElement::GetControllerFocusContainerElement()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::.ctor(System.Int32, System.Int32)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(System.String)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendLiteral(System.String)Candide.CandideUI.ControllerUiInputSystem::get_DisableUiTemporarily()System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::AppendFormatted(!!0)System.Runtime.CompilerServices.DefaultInterpolatedStringHandler::ToStringAndClear()
String literals
ControllernullDisableUiTemporarily:_aPressHoldStarted
DoControllerNavigation
#
private System.Void DoControllerNavigation(Candide.CandideUI.ControllerNavigation navigation, Candide.CandideUI.CandideDesktop desktop)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
0C91A1CF5AC8C2E31B15603FD0253E77036AA74E31B014497DCC7776176516CF - Body hash
50489ECF727243F385FFDD69780692E2F0830B59063304AFC76C63B39FF03FF3 - IL size93
Referenced calls
Candide.CandideUI.CandideUiElement::GetControllerFocusContainerElement()Candide.CandideUI.ControllerUiInputSystem::get_FocusedElement()Candide.CandideUI.CandideUiElement::OnControllerNavigation(Candide.CandideUI.ControllerNavigation)Candide.CandideUI.ControllerNavigationExtensions::ToVector2(Candide.CandideUI.ControllerNavigation)Candide.CandideUI.CandideUiElement::GetClosestFocusableToElementAngle(Candide.CandideUI.CandideUiElement, Microsoft.Xna.Framework.Vector2, System.Single)Candide.CandideUI.CandideUiElement::RequestFocus()Candide.Sound.SoundPlayer::PlayEventOneShot(System.String, System.Single, System.Single)
Called by
String literals
event:/interface/furniture/ui_furniture_select
DoNavigationHold
#
private System.Void DoNavigationHold(Candide.CandideUI.ControllerNavigation navigation, System.Single dt, Candide.CandideUI.CandideDesktop desktop)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
748183ABD7160799CA3800270D73634879ABB8D6C6DD1FAA49E8FA06980527C5 - Body hash
E821FC317CBD8E76C2C622E8D28E367BC7DEEFEB14E6E18FB59411DC200A423A - IL size109
Referenced calls
System.Nullable<Candide.CandideUI.ControllerNavigation>::GetValueOrDefault()System.Nullable<Candide.CandideUI.ControllerNavigation>::get_HasValue()System.Nullable<Candide.CandideUI.ControllerNavigation>::.ctor(!0)Candide.CandideUI.ControllerUiInputSystem::DoControllerNavigation(Candide.CandideUI.ControllerNavigation, Candide.CandideUI.CandideDesktop)
Draw
#
public System.Void Draw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
E374CB2B87EA1E015CBBFE4D8B547D6C376538EDD9D62AC6184F31517D28FA4D - Body hash
761EEB3A003AB7899F025E7D748EF5127F725E148EBCFC64E9AF2B7D4A0C7C90 - IL size219
Referenced calls
Candide.CandideUI.ControllerUiInputSystem::get_FocusedElement()Candide.CandideUI.UiRenderContext::Begin()Candide.CandideUI.CandideUiElement::get_BorderBounds()Candide.CandideUI.CandideUiSystem::get_Scale()Microsoft.Xna.Framework.Vector2::.ctor(System.Single)Microsoft.Xna.Framework.Vector2::op_UnaryNegation(Microsoft.Xna.Framework.Vector2)Candide.CandideUI.CandideUiElement::CalculateScreenPosition()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)Microsoft.Xna.Framework.Vector2::get_One()Candide.CandideUI.UiRenderContext::DrawSprite9Box(System.Single, System.Single, CandideCreator.Shared.Graphics.SpriteSheet, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.MathF::Min(System.Single, System.Single)Microsoft.Xna.Framework.MathHelper::Lerp(System.Single, System.Single, System.Single)System.MathF::Round(System.Single)Candide.CandideUI.UiRenderContext::DrawSprite(CandideCreator.Shared.Graphics.SpriteSheet, System.Int32, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, System.Single, System.Boolean)Candide.CandideUI.UiRenderContext::End()
Called by
DrawInWorldUi
#
public System.Void DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch batch)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2DDC0EF914BF9BF2822C9D8D76C4226FCA3ADEDEFE363BF99647E818A358123C - Body hash
12D8010A6D66F589B3B6A11B9BE39BF9BCC75D7494114C97388AB9FC6153FF34 - IL size178
Referenced calls
Candide.CandideUI.ControllerUiInputSystem::get_FocusedElement()Candide.Entities.PlayerState.PlayerStateMachine::get_CurrentStateName()System.String::op_Equality(System.String, System.String)Microsoft.Xna.Framework.Vector3::.ctor(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Matrix::CreateRotationZ(System.Single)Shared.Entity.EntityWrapper::get_Position()CandideCreator.Shared.Helpers.VectorExtension::ToScreenSpace(Microsoft.Xna.Framework.Vector3)Microsoft.Xna.Framework.Vector3::Transform(Microsoft.Xna.Framework.Vector3, Microsoft.Xna.Framework.Matrix)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.Color::get_White()Microsoft.Xna.Framework.Color::.ctor(Microsoft.Xna.Framework.Color, System.Single)CandideCreator.Shared.Graphics.PrimitiveRenderer::DrawLine(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single)
String literals
PlacingState
EvaluateInputBlocker
#
private System.Void EvaluateInputBlocker()
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
7BC839EB37A4B5EC58811FC09E7CCBB9CB319F2E0BEAB69D61DBD91698A8987D - Body hash
2FB9AD73F41EDCD195259600586AFB8F505EF60B93C4ACC7AC896D4D3BD4A51A - IL size48
Referenced calls
System.Collections.Generic.HashSet<System.String>::Remove(!0)System.Collections.Generic.HashSet<System.String>::Add(!0)
String literals
ControllerUiInputSystem
FocusedElementOnDismounted
#
private System.Void FocusedElementOnDismounted(System.Object sender, System.EventArgs e)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
DA749223DA97BE19ECEB52D59253A0F6B66E9D151DD09DF5999675CFF70DCFC5 - Body hash
C9565A5323ADFF2DACB37BF3FA687AFDE06203F5534BCD027534256A6B234596 - IL size7
Referenced calls
Candide.CandideUI.ControllerUiInputSystem::set_FocusedElement(Candide.CandideUI.CandideUiElement)
OnInputFocused
#
public System.Void OnInputFocused(Candide.CandideUI.Input.IInputFocusable element)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
9C353A5FB025AFD957452338EE344AE0D68382433945D03214C528ED179307EA - Body hash
B59CA4EF6D328EADB5D56E97ECB761DE545563ACD4C17CC90468EAB7BCD3AA7E - IL size148
Referenced calls
ControllerUiInputSystem.<>c__DisplayClass32_0::.ctor()Candide.CandideUI.Input.CandideTextInputBox::get_HintText()Candide.CandideUI.Input.CandideTextInputBox::get_SelectEnd()Candide.CandideUI.Input.CandideTextInputBox::get_Text()System.String::get_Length()ControllerUiInputSystem.<>c__DisplayClass32_0::<OnInputFocused>b__0(System.String)System.Action<System.String>::.ctor(System.Object, System.IntPtr)Candide.Input.ControllerKeyboardInputManager::FullscreenKeyboard(System.Boolean, System.Boolean, System.String, System.Nullable<System.Int32>, System.String, System.Action<System.String>)
OnStopInputFocused
#
public System.Void OnStopInputFocused()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
C494F9D42559E15B8DE440B4F2F6766892B12251CBC57E82859FA6AF25BC2F57 - Body hash
8A6F127E0053EB13AFDA0F394E4CD706376ECB1E15358DC72521A636A4B8AD55 - IL size1
PreUpdate
#
public System.Void PreUpdate()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
05E161F8AD4C7DE90932658F838E1508873878785605137E714ACE56D612D993 - Body hash
2FDA4FBC61E923AC2BDE0C0599108EEC6B6B5A0E52D705F61BDF79B3779EA174 - IL size180
Referenced calls
Candide.Input.SuperKeybind::Pressed()Candide.CandideUI.CandideUiElement::OnUiClosePressed()Candide.Input.Keybinds::ConsumeAllNonMovement()Candide.CandideUI.ControllerUiInputSystem::get_FocusedElement()Candide.CandideUI.CandideUiElement::OnControllerNextWindowNavigation(System.Boolean)Candide.CandideUI.ControllerUiInputSystem::CancelHold()
Reset
#
public System.Void Reset()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
6B34EDE04B0CF48526D38CB37230237A68ED61F8F0F274D917329B613A1C2F15 - Body hash
C9565A5323ADFF2DACB37BF3FA687AFDE06203F5534BCD027534256A6B234596 - IL size7
Referenced calls
Candide.CandideUI.ControllerUiInputSystem::set_FocusedElement(Candide.CandideUI.CandideUiElement)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
9E0F09B2A65DC00C14B4C6D33E0F20BF1B580295B4B40DFC3F3255F19E0A7FBE - Body hash
19FED1EA9423DCCA513EB9512F7B74C83767B1B22CD265B9D46CFCD1DC366F2B - IL size742
Referenced calls
Candide.CandideUI.Tooltip.CandideTooltipWindow::set_TooltipContent(Candide.CandideUI.Tooltip.ITooltipContent)Candide.CandideUI.CandideUiElement::GetFocusable()Candide.CandideUI.ControllerUiInputSystem::set_FocusedElement(Candide.CandideUI.CandideUiElement)Candide.Input.SuperKeybind::Down()Candide.Input.SuperKeybind::Pressed()Candide.CandideUI.ControllerUiInputSystem::DoControllerNavigation(Candide.CandideUI.ControllerNavigation, Candide.CandideUI.CandideDesktop)Candide.CandideUI.ControllerUiInputSystem::CancelHold()Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Candide.CandideUI.ControllerUiInputSystem::DoNavigationHold(Candide.CandideUI.ControllerNavigation, System.Single, Candide.CandideUI.CandideDesktop)Candide.CandideUI.ControllerUiInputSystem::get_FocusedElement()Candide.Input.SuperKeybind::Released()Candide.CandideUI.CandideUiElement::get_Enabled()Candide.CandideUI.CandideUiElement::OnControllerAFullClick()Candide.CandideUI.CandideUiElement::OnControllerPickupPartialFullClick()Candide.CandideUI.CandideUiElement::OnControllerAPressed()Candide.CandideUI.CandideUiElement::OnControllerXPressed()Candide.CandideUI.CandideUiElement::OnControllerPickupPartialDown()Candide.Input.SuperKeybind::Held()Candide.CandideUI.CandideUiElement::OnControllerYPressed(System.Boolean)Candide.CandideUI.Tooltip.ITooltipContent::get_GetTooltipContent()Candide.CandideUI.CandideUiElement::CalculateScreenPosition()