Table of Contents

Class ConstantFloatValue

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Float value provider that always returns a fixed constant value.

[Serializable]
public sealed class ConstantFloatValue : IFloatValueProvider
Inheritance
ConstantFloatValue
Implements
Inherited Members

Fields

Amount

The fixed float value to return.

[Tooltip("The fixed constant float value.")]
public float Amount

Field Value

float

Methods

GetValue(ICharacter, EventData)

Computes and returns the float value for the current execution context.

public float GetValue(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character initiating the action (used for stat lookups, etc.).

eventData EventData

The event data for the current execution (used for RNG, target info, etc.).

Returns

float

The computed float value.