Show / Hide Table of Contents

Class PowerGridNetworkComponent

Inheritance
System.Object
WorldObjectComponent
PowerGridNetworkComponent
Implements
ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
Inherited Members
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.PostInitialize()
WorldObjectComponent.OnCreate()
WorldObjectComponent.LateTick()
WorldObjectComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
WorldObjectComponent.OnPickup(Player)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnAfterObjectMoved()
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
WorldObjectComponent.IsDestroyed
WorldObjectComponent.ShouldRequestEverything
WorldObjectComponent.Owners
WorldObjectComponent.ControllerID
WorldObjectComponent.IOwned.Deed
WorldObjectComponent.Subscriptions
WorldObjectComponent.PropertyChanged
Namespace: Eco.Gameplay.Components
Assembly: Eco.Gameplay.dll
Syntax
[RequireComponent]
[RequireComponent]
public class PowerGridNetworkComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions

Constructors

PowerGridNetworkComponent()

Declaration
public PowerGridNetworkComponent()

Properties

Availability

Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Type Description
WorldObjectComponentClientAvailability
Overrides
WorldObjectComponent.Availability

CanActivate

Declaration
public bool CanActivate { get; }
Property Value
Type Description
System.Boolean

CanControl

Declaration
public bool CanControl { get; }
Property Value
Type Description
System.Boolean

Enabled

Declaration
public override bool Enabled { get; }
Property Value
Type Description
System.Boolean
Overrides
WorldObjectComponent.Enabled

IconName

Declaration
public override string IconName { get; }
Property Value
Type Description
System.String
Overrides
WorldObjectComponent.IconName

NetworkedItemTypes

Declaration
public Dictionary<Type, int> NetworkedItemTypes { get; }
Property Value
Type Description
System.Collections.Generic.Dictionary<System.Type, System.Int32>

NetworkedObjects

Declaration
public ImmutableArray<WorldObject> NetworkedObjects { get; }
Property Value
Type Description
System.Collections.Immutable.ImmutableArray<WorldObject>

NetworkStatusString

Declaration
public string NetworkStatusString { get; }
Property Value
Type Description
System.String

RequirementsString

Declaration
public string RequirementsString { get; }
Property Value
Type Description
System.String

Methods

Activate()

Declaration
public void Activate()

Deactivate()

Declaration
public void Deactivate()

Destroy()

Declaration
public override void Destroy()
Overrides
WorldObjectComponent.Destroy()

Initialize()

Declaration
public override void Initialize()
Overrides
WorldObjectComponent.Initialize()

Initialize(Dictionary<Type, Int32>, Boolean)

Declaration
public void Initialize(Dictionary<Type, int> requiredItemTypes, bool canControl)
Parameters
Type Name Description
System.Collections.Generic.Dictionary<System.Type, System.Int32> requiredItemTypes
System.Boolean canControl

Tick()

Declaration
public override void Tick()
Overrides
WorldObjectComponent.Tick()

Implements

ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IHasInteractions

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾