Interface IClearRequestHandler
Item data class with this interface will be notified when someone decides to manually reset the item's persistent data (e.g. via a tooltip).
Result message will be shown to the player. Entries that return failed result will not be removed from the list.
Assembly: Eco.Gameplay.dll
Syntax
public interface IClearRequestHandler
Properties
HasDataThatCanBeCleared
Declaration
virtual bool HasDataThatCanBeCleared { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
TryHandleClearRequest(Player)
Declaration
Result TryHandleClearRequest(Player player)
Parameters
Type |
Name |
Description |
Player |
player |
|
Returns
Extension Methods