Search Results for

    Show / Hide Table of Contents

    Class Building

    Inheritance
    Object
    Entity
    FactionEntity
    Building
    ResourceBuilding
    Implements
    IBuilding
    IFactionEntity
    IEntity
    IMonoBehaviour
    Inherited Members
    FactionEntity.FactionMgr
    FactionEntity.IsMainEntity
    FactionEntity.IsFactionLocked
    FactionEntity.InitResources
    FactionEntity.DisableResources
    FactionEntity.Rallypoint
    FactionEntity.DropOffTarget
    FactionEntity.UnitCarrier
    FactionEntity.BuildingCreator
    FactionEntity.ResourceGenerators
    FactionEntity.resourceMgr
    FactionEntity.unitMgr
    FactionEntity.buildingMgr
    FactionEntity.Init(IGameManager, InitEntityParameters)
    FactionEntity.UpdateSelectionColor()
    FactionEntity.SetFaction(IEntity, Int32)
    FactionEntity.SetFactionLocal(IEntity, Int32)
    Entity.tabID
    Entity.IsInitialized
    Entity.Key
    Entity.Name
    Entity.Code
    Entity.Category
    Entity.Description
    Entity.Icon
    Entity.Radius
    Entity.UpdateRadius(Single)
    Entity.Model
    Entity.IsFree
    Entity.FactionID
    Entity.Slot
    Entity.SelectionColor
    Entity.AudioSourceComponent
    Entity.AnimatorController
    Entity.Selection
    Entity.SelectionMarker
    Entity.IsInteractable
    Entity.IsSearchable
    Entity.IsIdle
    Entity.MinimapIconHandler
    Entity.EntityComponents
    Entity.PendingTaskEntityComponents
    Entity.PendingTasksHandler
    Entity.TasksQueue
    Entity.AddableUnitComponents
    Entity.MovementComponent
    Entity.CanMove()
    Entity.CanMove(Boolean)
    Entity.EntityTargetComponents
    Entity.EntityTargetProgressComponents
    Entity.AttackComponents
    Entity.AttackComponentsDic
    Entity.FirstActiveAttackComponent
    Entity.ActiveAttackComponents
    Entity.CanAttack
    Entity.gameMgr
    Entity.logger
    Entity.globalEvent
    Entity.selector
    Entity.selectionMgr
    Entity.inputMgr
    Entity.entityComponentUpgradeMgr
    Entity.taskMgr
    Entity.attackMgr
    Entity.mvtMgr
    Entity.playerMsgHandler
    Entity.EntityInitiated
    Entity.EntityEnterIdle
    Entity.EntityExitIdle
    Entity.FactionUpdateStart
    Entity.FactionUpdateComplete
    Entity.RaiseFactionUpdateStart(FactionUpdateArgs)
    Entity.RaiseFactionUpdateComplete(FactionUpdateArgs)
    Entity.EntityComponentUpgraded
    Entity.InitPrefab(IGameManager)
    Entity.CompleteInit()
    Entity.OnInitComplete()
    Entity.InitPriorityComponents()
    Entity.InitComponents(Boolean, Boolean)
    Entity.DisableComponents()
    Entity.UpgradeComponent(UpgradeElement<IEntityComponent>)
    Entity.UnsubFromEvents()
    Entity.GetEntityComponent<T>()
    Entity.GetEntityComponents<T>()
    Entity.SetTargetFirst(SetTargetInputData)
    Entity.SetIdle(Boolean)
    Entity.SetIdle(IEntityTargetComponent, Boolean)
    Entity.Equals(IEntity)
    Namespace: RTSEngine.Entities
    Assembly: cs.temp.dll.dll
    Syntax
    public class Building : FactionEntity, IBuilding, IFactionEntity, IEntity, IMonoBehaviour, IEquatable<IEntity>

    Properties

    BorderComponent

    Declaration
    public IBorder BorderComponent { get; }
    Property Value
    Type Description
    IBorder

    CanLaunchTask

    Declaration
    public override sealed bool CanLaunchTask { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    Entity.CanLaunchTask

    CurrentCenter

    Declaration
    public IBorder CurrentCenter { get; }
    Property Value
    Type Description
    IBorder

    Health

    Declaration
    public IBuildingHealth Health { get; }
    Property Value
    Type Description
    IBuildingHealth

    IsBuilt

    Declaration
    public bool IsBuilt { get; }
    Property Value
    Type Description
    Boolean

    IsDummy

    Declaration
    public override bool IsDummy { get; }
    Property Value
    Type Description
    Boolean
    Overrides
    Entity.IsDummy

    IsPlacementInstance

    Declaration
    public bool IsPlacementInstance { get; }
    Property Value
    Type Description
    Boolean

    PlacerComponent

    Declaration
    public IBuildingPlacer PlacerComponent { get; }
    Property Value
    Type Description
    IBuildingPlacer

    Type

    Declaration
    public override EntityType Type { get; }
    Property Value
    Type Description
    EntityType
    Overrides
    Entity.Type

    WorkerMgr

    Declaration
    public IBuildingWorkerManager WorkerMgr { get; }
    Property Value
    Type Description
    IBuildingWorkerManager

    Methods

    Disable(Boolean, Boolean)

    Declaration
    protected override sealed void Disable(bool isUpgrade, bool isFactionUpdate)
    Parameters
    Type Name Description
    Boolean isUpgrade
    Boolean isFactionUpdate
    Overrides
    FactionEntity.Disable(Boolean, Boolean)

    FetchComponents()

    Declaration
    protected override void FetchComponents()
    Overrides
    FactionEntity.FetchComponents()

    Init(IGameManager, InitBuildingParameters)

    Declaration
    public void Init(IGameManager gameMgr, InitBuildingParameters initParams)
    Parameters
    Type Name Description
    IGameManager gameMgr
    InitBuildingParameters initParams

    InitPlacementInstance(IGameManager, InitBuildingParameters)

    Declaration
    public void InitPlacementInstance(IGameManager gameMgr, InitBuildingParameters initParams)
    Parameters
    Type Name Description
    IGameManager gameMgr
    InitBuildingParameters initParams

    OnConstructionComplete()

    Declaration
    protected virtual void OnConstructionComplete()

    OnDisabled(Boolean, Boolean)

    Declaration
    protected virtual void OnDisabled(bool isUpgrade, bool isFactionUpdate)
    Parameters
    Type Name Description
    Boolean isUpgrade
    Boolean isFactionUpdate

    OnFactionUpdated()

    Declaration
    protected override void OnFactionUpdated()
    Overrides
    FactionEntity.OnFactionUpdated()

    SubToEvents()

    Declaration
    protected override void SubToEvents()
    Overrides
    Entity.SubToEvents()

    Events

    BuildingBuilt

    Declaration
    public event CustomEventHandler<IBuilding, EventArgs> BuildingBuilt
    Event Type
    Type Description
    CustomEventHandler<IBuilding, System.EventArgs>

    Implements

    IBuilding
    IFactionEntity
    IEntity
    IMonoBehaviour
    In This Article
    Back to top Unity RTS Engine Documentation