Class ChargingComponent
Inheritance
System.Object
ChargingComponent
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
[RequireComponent]
public class ChargingComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IOperatingWorldObjectComponent
Constructors
ChargingComponent()
Declaration
public ChargingComponent()
Properties
Activated
Declaration
public bool Activated { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Availability
Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Overrides
Operating
Declaration
public bool Operating { get; }
Property Value
Type |
Description |
System.Boolean |
|
TargetID
Declaration
public int TargetID { get; }
Property Value
Type |
Description |
System.Int32 |
|
TimeExpended
Declaration
public float TimeExpended { get; set; }
Property Value
Type |
Description |
System.Single |
|
TimeToExpend
Declaration
public float TimeToExpend { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
Activate()
Declaration
Deactivate()
Declaration
Destroy()
Declaration
public override void Destroy()
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
Initialize(Single, Single)
Declaration
public void Initialize(float timeToCharge, float timeToExpend)
Parameters
Type |
Name |
Description |
System.Single |
timeToCharge |
|
System.Single |
timeToExpend |
|
Tick()
Declaration
public override void Tick()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods