Class ChargingChannel
Inheritance
object
ChargingChannel
Assembly: Dew.Core.dll
Syntax
public class ChargingChannel
Fields
castMethod
You must call UpdateCastMethod after making change to this.
Declaration
public CastMethodData castMethod
Field Value
Properties
castInfo
Current cast info of this charging channel.
Declaration
public CastInfo castInfo { get; }
Property Value
chargeAmount
Declaration
public float chargeAmount { get; }
Property Value
elapsedTime
Declaration
public float elapsedTime { get; }
Property Value
isActive
Declaration
public bool isActive { get; }
Property Value
normalizedTime
Declaration
public float normalizedTime { get; }
Property Value
Methods
Cancel()
Declaration
Dispatch(Entity, AbilityTrigger)
Declaration
public ChargingChannel Dispatch(Entity entity, AbilityTrigger trigger)
Parameters
Returns
OnCancel(Action<ChargingChannel>)
Declaration
public ChargingChannel OnCancel(Action<ChargingChannel> callback)
Parameters
Returns
OnCast(Action<ChargingChannel>)
Declaration
public ChargingChannel OnCast(Action<ChargingChannel> callback)
Parameters
Returns
OnChargeFull(Action<ChargingChannel>)
Declaration
public ChargingChannel OnChargeFull(Action<ChargingChannel> callback)
Parameters
Returns
OnComplete(Action<ChargingChannel>)
Declaration
public ChargingChannel OnComplete(Action<ChargingChannel> callback)
Parameters
Returns
SetInitialInfo(CastInfo)
Declaration
public ChargingChannel SetInitialInfo(CastInfo info)
Parameters
Returns
UpdateCastMethod()
Send updated cast method to client to reflect the changes.
Declaration
public ChargingChannel UpdateCastMethod()
Returns