Show / Hide Table of Contents

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.

Namespace: Eco.Gameplay.Items
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
Type Description
Result

Extension Methods

IPersistentExtensions.TryHandleClearAndComposeFeedback(IClearRequestHandler, Player, LocStringBuilder)
TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾