Class ExplosionLinkComponent
Inheritance
System.Object
ExplosionLinkComponent
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
Syntax
public class ExplosionLinkComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, INotifyPropertyChanged
Constructors
ExplosionLinkComponent()
Declaration
public ExplosionLinkComponent()
ExplosionLinkComponent(Single)
Declaration
public ExplosionLinkComponent(float fuseTimeDetonatorSeconds)
Parameters
Type |
Name |
Description |
System.Single |
fuseTimeDetonatorSeconds |
|
Properties
FuseTimeDetonator
Declaration
public float FuseTimeDetonator { get; set; }
Property Value
Type |
Description |
System.Single |
|
IsLinked
Declaration
public bool IsLinked { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
Initialize(Single)
Declaration
public void Initialize(float fuseTimeDetonatorSeconds)
Parameters
Type |
Name |
Description |
System.Single |
fuseTimeDetonatorSeconds |
|
Link(Player)
Links this fuse to player detonator
Declaration
public bool Link(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Returns
Type |
Description |
System.Boolean |
|
LinkedDetonation(Player)
Triggers this fuse from client, should be called for all such components at once
Declaration
public void LinkedDetonation(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
UnLink(Player)
Unlinks this fuse from player detonator
Declaration
public bool UnLink(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods