Table of Contents

Class SkillItem

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public class SkillItem : IDisposable
Inheritance
SkillItem
Implements
Inherited Members

Fields

Code

public AssetLocation Code

Field Value

AssetLocation

Data

public object Data

Field Value

object

Description

public string Description

Field Value

string

Enabled

public bool Enabled

Field Value

bool

Hotkey

public KeyCombination Hotkey

Field Value

KeyCombination

Linebreak

public bool Linebreak

Field Value

bool

Name

public string Name

Field Value

string

RenderHandler

public RenderSkillItemDelegate RenderHandler

Field Value

RenderSkillItemDelegate

Texture

public LoadedTexture Texture

Field Value

LoadedTexture

TexturePremultipliedAlpha

public bool TexturePremultipliedAlpha

Field Value

bool

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

WithIcon(ICoreClientAPI, string)

public SkillItem WithIcon(ICoreClientAPI capi, string iconCode)

Parameters

capi ICoreClientAPI
iconCode string

Returns

SkillItem

WithIcon(ICoreClientAPI, DrawSkillIconDelegate)

public SkillItem WithIcon(ICoreClientAPI capi, DrawSkillIconDelegate onDrawIcon)

Parameters

capi ICoreClientAPI
onDrawIcon DrawSkillIconDelegate

Returns

SkillItem

WithIcon(ICoreClientAPI, LoadedTexture)

public SkillItem WithIcon(ICoreClientAPI capi, LoadedTexture texture)

Parameters

capi ICoreClientAPI
texture LoadedTexture

Returns

SkillItem

WithLetterIcon(ICoreClientAPI, string)

public SkillItem WithLetterIcon(ICoreClientAPI capi, string letter)

Parameters

capi ICoreClientAPI
letter string

Returns

SkillItem