[This is preliminary documentation and is subject to change.]

Resets key value to its default setting.

Namespace: fCraft
Assembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)

Syntax

   
 C# 
public static bool ResetValue(
	this ConfigKey key
)

Parameters

key
ConfigKey
Config key to reset.

Return Value

True if value was reset. False if resetting was cancelled by an event handler/plugin.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ConfigKey. When you use instance method syntax to call this method, omit the first parameter.

See Also