Table of Contents

Interface IMacroManager

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public interface IMacroManager
Extension Methods

Properties

MacrosByIndex

SortedDictionary<int, IMacroBase> MacrosByIndex { get; set; }

Property Value

SortedDictionary<int, IMacroBase>

Methods

DeleteMacro(int)

void DeleteMacro(int macroIndex)

Parameters

macroIndex int

LoadMacros()

void LoadMacros()

RunMacro(int, IClientWorldAccessor)

bool RunMacro(int macroIndex, IClientWorldAccessor world)

Parameters

macroIndex int
world IClientWorldAccessor

Returns

bool

SaveMacro(int)

bool SaveMacro(int macroIndex)

Parameters

macroIndex int

Returns

bool

SetMacro(int, IMacroBase)

void SetMacro(int macroIndex, IMacroBase macro)

Parameters

macroIndex int
macro IMacroBase