Candide.CandideUI.TradingPost.Components.UiTradeRouteLine
Type JSONpublic class in Candide.CandideUI.TradingPost.Components
Type metadata
- Assembly
Romestead - Namespace
Candide.CandideUI.TradingPost.Components - Base type
Candide.CandideUI.CandideUiElement - Hash
DFCCEDADB2B32F26ADE655DB8FD9C725938242A02E48254BFD098F84FA4F1D9E
Relationships
Base type
Referenced by types
Fields
| Name | Visibility | Signature |
|---|---|---|
CurrentTradeRouteRouteTime# | public | public System.Single CurrentTradeRouteRouteTime |
CurrentTradeRouteStatus# | public | public CandideServer.SimulationModels.TradeRouteStatus CurrentTradeRouteStatus |
CurrentTradeRouteTimer# | public | public System.Single CurrentTradeRouteTimer |
EndPosition# | public | public Microsoft.Xna.Framework.Vector2 EndPosition |
IsHighlighted# | public | public System.Boolean IsHighlighted |
StartPosition# | public | public Microsoft.Xna.Framework.Vector2 StartPosition |
_angle# | private | private System.Single _angle |
_arrowLength# | private | private System.Single _arrowLength |
_drawHighlighted# | private | private System.Boolean _drawHighlighted |
_end# | private | private Microsoft.Xna.Framework.Vector2 _end |
_isHovered# | private | private System.Boolean _isHovered |
_length# | private | private System.Single _length |
_mapUserControl# | private | private Candide.CandideUI.TradingPost.TradingPostMapUserControl _mapUserControl |
_scale# | private | private System.Int32 _scale |
_start# | private | private Microsoft.Xna.Framework.Vector2 _start |
_tradeRouteId# | private | private System.Guid _tradeRouteId |
_unitVector# | private | private Microsoft.Xna.Framework.Vector2 _unitVector |
Methods
InternalDraw
#
protected System.Void InternalDraw(Candide.CandideUI.UiRenderContext context)
Method metadata
- Visibilityprotected
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
C0678612305F0D443EDA9BFB8CFA4212979402F0C972D4F29EFA88D6C9CBC32D - Body hash
900E19765BB0FC2EB550E71B34EFA7E39DBA111E89D43B9F2F7D920B049049F1 - IL size779
Referenced calls
System.Collections.Generic.HashSet<System.Guid>::Add(!0)CandideCreator.Shared.Helpers.VectorExtension::AngleToVector(System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Graphics.PrimitiveRenderer::DrawLine(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, System.Single, System.Single, Microsoft.Xna.Framework.Color, System.Single)Candide.CandideUI.CandideUiSystem::get_Scale()Candide.Database.IconDataBase::GetIconOrMissing(System.String)CandideCreator.Shared.Graphics.IconData::GetIcon(CandideCreator.Shared.Graphics.IconFlag)Microsoft.Xna.Framework.MathHelper::Lerp(System.Single, System.Single, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::Ceiling()Microsoft.Xna.Framework.Color::get_White()CandideCreator.Shared.Graphics.Icon::DrawCentered(Microsoft.Xna.Framework.Graphics.SpriteBatch, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single)System.ArgumentOutOfRangeException::.ctor()
String literals
ui:citizen
InternalMeasure
#
protected Microsoft.Xna.Framework.Vector2 InternalMeasure(Microsoft.Xna.Framework.Vector2 availableSize)
Method metadata
- Visibilityprotected
- Return type
Microsoft.Xna.Framework.Vector2 - StaticFalse
- VirtualTrue
- Hash
68EE98415A21581519DE0FB3B967F3F44E6F8571730700F3E6394DA31432004D - Body hash
D6B0C777ED2F8E9C4E70CFEFF6C969BE41FD4AC5841744FF32FB1DC72270E51A - IL size2
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
5CF619BFFA1332FA02EA7742F54E626E241D835139AB206AC97F63F6D76B9F33 - Body hash
D7C094711521704C3FF55D6494E8814C9E43C257DF04F6A8A70ACA595D4E5B1E - IL size322
Referenced calls
Microsoft.Xna.Framework.GameTime::get_ElapsedGameTime()System.TimeSpan::get_TotalSeconds()Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.CandideUI.CandideUiElement::get_Transform()Candide.CandideUI.Transform::Apply(Microsoft.Xna.Framework.Vector2)Candide.CandideUI.CandideUiSystem::get_Scale()System.Math::Atan2(System.Double, System.Double)Microsoft.Xna.Framework.Vector2::Length()Microsoft.Xna.Framework.Vector2::Normalize(Microsoft.Xna.Framework.Vector2)CandideCreator.Shared.Helpers.VectorExtension::ToNormalDirection(Microsoft.Xna.Framework.Vector2&)Candide.CandideUI.MouseUiInputSystem::get_MouseWindowPosition()Microsoft.Xna.Framework.Vector2::Dot(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)System.Math::Abs(System.Single)System.Collections.Generic.HashSet<System.Guid>::Contains(!0)