Class SdkEvents
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
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
OnInWorldUpdate
Called on update when the player is in the world
Declaration
public static readonly MelonEvent OnInWorldUpdate
Field Value
OnItemConsumed
Called when the player consumes an item
Declaration
public static readonly MelonEvent<ItemInstance> OnItemConsumed
Field Value
OnItemCrafted
Called when the player crafts an item
Declaration
public static readonly MelonEvent<int> OnItemCrafted
Field Value
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
OnSonsSceneInitialized
Declaration
public static readonly MelonEvent<SdkEvents.ESonsScene> OnSonsSceneInitialized
Field Value