Search Results for

    Class SdkEvents

    Inheritance
    object
    SdkEvents
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: SonsSdk
    Assembly: SonsSdk.dll
    Syntax
    public static class SdkEvents

    Fields

    OnArmorEquipped

    Called when the player equips some armor

    Declaration
    public static readonly MelonEvent OnArmorEquipped
    Field Value
    Type Description
    MelonEvent

    OnCameraRender

    Called by HDRP at the end of rendering a frame

    Declaration
    public static readonly MelonEvent<ScriptableRenderContext, List<Camera>> OnCameraRender
    Field Value
    Type Description
    MelonEvent<ScriptableRenderContext, List<Camera>>

    OnGameStart

    Called when the player spawns in the world and gains control

    Declaration
    public static readonly MelonEvent OnGameStart
    Field Value
    Type Description
    MelonEvent

    OnInWorldUpdate

    Called on update when the player is in the world

    Declaration
    public static readonly MelonEvent OnInWorldUpdate
    Field Value
    Type Description
    MelonEvent

    OnItemConsumed

    Called when the player consumes an item

    Declaration
    public static readonly MelonEvent<ItemInstance> OnItemConsumed
    Field Value
    Type Description
    MelonEvent<ItemInstance>

    OnItemCrafted

    Called when the player crafts an item

    Declaration
    public static readonly MelonEvent<int> OnItemCrafted
    Field Value
    Type Description
    MelonEvent<int>

    OnItemPickup

    Called when the player picks up an item

    Declaration
    public static readonly MelonEvent<ItemInstance.ItemInstanceAndCount> OnItemPickup
    Field Value
    Type Description
    MelonEvent<ItemInstance.ItemInstanceAndCount>

    OnSdkInitialized

    Called when the sdk has been fully initialized

    Declaration
    public static readonly MelonEvent OnSdkInitialized
    Field Value
    Type Description
    MelonEvent

    OnSonsSceneInitialized

    Declaration
    public static readonly MelonEvent<SdkEvents.ESonsScene> OnSonsSceneInitialized
    Field Value
    Type Description
    MelonEvent<SdkEvents.ESonsScene>