Game.UI.InGame.PrefabUISystem+ComponentIntPropertyBinder`1
Assembly: Game
Namespace: Game.UI.InGame
Type: class public
Base: Game.UI.InGame.PrefabUISystem+IntPropertyBinder
Implements: Game.UI.InGame.PrefabUISystem+IPrefabPropertyBinder
Code
public class ComponentIntPropertyBinder<T> : Game.UI.InGame.PrefabUISystem+IntPropertyBinder, Game.UI.InGame.PrefabUISystem+IPrefabPropertyBinder
{
private readonly System.Func<T, System.Int32> m_Getter;
private readonly System.Boolean m_OmitZero;
public ComponentIntPropertyBinder`1(System.String labelId, System.String unit, System.Func<T, System.Int32> getter, System.Boolean omitZero, System.Boolean signed, System.String icon, System.String valueIcon);
public virtual System.Int32 GetValue(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity);
public virtual System.Boolean Matches(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity);
}
Fields
private readonly System.Func<T, System.Int32> m_Getter
private readonly System.Func<T, System.Int32> m_Getter;
private readonly System.Boolean m_OmitZero
private readonly System.Boolean m_OmitZero;
Constructors
public ComponentIntPropertyBinder
1(System.String labelId, System.String unit, System.Funcgetter, System.Boolean omitZero = True, System.Boolean signed = False, System.String icon = null, System.String valueIcon = null)`
public ComponentIntPropertyBinder`1(System.String labelId, System.String unit, System.Func<T, System.Int32> getter, System.Boolean omitZero, System.Boolean signed, System.String icon, System.String valueIcon);
Methods
public virtual GetValue(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity) : System.Int32
public virtual System.Int32 GetValue(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity);
public virtual Matches(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity) : System.Boolean
public virtual System.Boolean Matches(Unity.Entities.EntityManager entityManager, Unity.Entities.Entity entity);