Search Results for

    Show / Hide Table of Contents

    Class ChargingChannel

    Inheritance
    object
    ChargingChannel
    Namespace: Global
    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
    Type Description
    CastMethodData

    Properties

    castInfo

    Current cast info of this charging channel.

    Declaration
    public CastInfo castInfo { get; }
    Property Value
    Type Description
    CastInfo

    chargeAmount

    Declaration
    public float chargeAmount { get; }
    Property Value
    Type Description
    float

    elapsedTime

    Declaration
    public float elapsedTime { get; }
    Property Value
    Type Description
    float

    isActive

    Declaration
    public bool isActive { get; }
    Property Value
    Type Description
    bool

    normalizedTime

    Declaration
    public float normalizedTime { get; }
    Property Value
    Type Description
    float

    Methods

    Cancel()

    Declaration
    public void Cancel()

    Dispatch(Entity, AbilityTrigger)

    Declaration
    public ChargingChannel Dispatch(Entity entity, AbilityTrigger trigger)
    Parameters
    Type Name Description
    Entity entity
    AbilityTrigger trigger
    Returns
    Type Description
    ChargingChannel

    OnCancel(Action<ChargingChannel>)

    Declaration
    public ChargingChannel OnCancel(Action<ChargingChannel> callback)
    Parameters
    Type Name Description
    System.Action<T><ChargingChannel> callback
    Returns
    Type Description
    ChargingChannel

    OnCast(Action<ChargingChannel>)

    Declaration
    public ChargingChannel OnCast(Action<ChargingChannel> callback)
    Parameters
    Type Name Description
    System.Action<T><ChargingChannel> callback
    Returns
    Type Description
    ChargingChannel

    OnChargeFull(Action<ChargingChannel>)

    Declaration
    public ChargingChannel OnChargeFull(Action<ChargingChannel> callback)
    Parameters
    Type Name Description
    System.Action<T><ChargingChannel> callback
    Returns
    Type Description
    ChargingChannel

    OnComplete(Action<ChargingChannel>)

    Declaration
    public ChargingChannel OnComplete(Action<ChargingChannel> callback)
    Parameters
    Type Name Description
    System.Action<T><ChargingChannel> callback
    Returns
    Type Description
    ChargingChannel

    SetInitialInfo(CastInfo)

    Declaration
    public ChargingChannel SetInitialInfo(CastInfo info)
    Parameters
    Type Name Description
    CastInfo info
    Returns
    Type Description
    ChargingChannel

    UpdateCastMethod()

    Send updated cast method to client to reflect the changes.

    Declaration
    public ChargingChannel UpdateCastMethod()
    Returns
    Type Description
    ChargingChannel
    In This Article
    Back to top Shape of Dreams API Documentation