Candide.CandideUI.ImmediateUi.ImmediateKeybindLabel
Type JSONpublic class in Candide.CandideUI.ImmediateUi
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.ImmediateUi - Base type
System.Object - Hash
C9493CC2755B229F9B8C53A7F98C932DA43662FD2FDA47E920EA854C05BF8E4C
Relationships
Base type
System.Object
Properties
| Name | Visibility | Signature |
|---|---|---|
IconTextMargin# | private | private System.Int32 IconTextMargin |
Methods
Draw
#
public System.Void Draw(Microsoft.Xna.Framework.Graphics.SpriteBatch batch, FontStashSharp.SpriteFontBase font, Candide.UserSettings.PlayerKeyAction action, System.String text, Microsoft.Xna.Framework.Vector2 origin, System.Single iconScale)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
57AE1F84473FF83CB85CA0CB6BA83C85436D1C3E73EA37AD34AC559138FC9BD0 - Body hash
D5BA7158670ABE3FCA627936DFD3650911FDE1D8D89685ACB61847EC6BA6A8F2 - IL size513
Referenced calls
Candide.CandideUI.ImmediateUi.ImmediateKeybindLabel::get_IconTextMargin()Candide.UserSettings.ControlsUserSettings::get_KeybindMap()System.Collections.Generic.Dictionary<Candide.UserSettings.PlayerKeyAction, Candide.UserSettings.PlayerKeyBinds>::get_Item(!0)Candide.CandideUI.Helpers.PlayerInputDisplayHelper::GetSpriteDisplayData(Candide.UserSettings.PlayerKeyBinds)Microsoft.Xna.Framework.Vector2::.ctor(System.Single)Microsoft.Xna.Framework.Rectangle::get_Size()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Candide.CandideUI.ImmediateUi.ImmediateCandideTextLabel::Measure(FontStashSharp.SpriteFontBase, System.String)System.MathF::Max(System.Single, System.Single)Microsoft.Xna.Framework.GameTime::get_TotalGameTime()System.TimeSpan::get_TotalSeconds()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Nullable<Microsoft.Xna.Framework.Rectangle>::.ctor(!0)Microsoft.Xna.Framework.Color::get_White()Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Graphics.SpriteBatch::Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Rectangle>, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Graphics.SpriteEffects, System.Single)FontStashSharp.SpriteBatchExtensions::DrawString(Microsoft.Xna.Framework.Graphics.SpriteBatch, FontStashSharp.SpriteFontBase, 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)Candide.CandideUI.CandideUiSystem::get_Scale()
Measure
#
public Microsoft.Xna.Framework.Vector2 Measure(FontStashSharp.SpriteFontBase font, Candide.UserSettings.PlayerKeyAction action, System.String text, System.Single iconScale)
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
F0D14BB9D617DF089EF8146179BAB5358B59FD4D22EFE32C8782B8AF957DF0DD - Body hash
7ABCE88A37FE71BF04E35FA42A5BBBB7669C41463EF3882E349A48247361B81D - IL size105
Referenced calls
Candide.CandideUI.ImmediateUi.ImmediateKeybindLabel::get_IconTextMargin()Candide.UserSettings.ControlsUserSettings::get_KeybindMap()System.Collections.Generic.Dictionary<Candide.UserSettings.PlayerKeyAction, Candide.UserSettings.PlayerKeyBinds>::get_Item(!0)Candide.CandideUI.Helpers.PlayerInputDisplayHelper::GetSpriteDisplayData(Candide.UserSettings.PlayerKeyBinds)Microsoft.Xna.Framework.Rectangle::get_Size()Microsoft.Xna.Framework.Point::ToVector2()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Candide.CandideUI.ImmediateUi.ImmediateCandideTextLabel::Measure(FontStashSharp.SpriteFontBase, System.String)System.Math::Max(System.Single, System.Single)Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)