Table of Contents

Class GuiElementServerCell

Namespace
Vintagestory.API.Client
Assembly
VintagestoryAPI.dll
public class GuiElementServerCell : GuiElementMainMenuCell, IGuiElementCell, IDisposable
Inheritance
GuiElementServerCell
Implements
Inherited Members
Extension Methods

Constructors

GuiElementServerCell(ICoreClientAPI, ServerCellEntry, ElementBounds)

Creates a new Element Cell.

public GuiElementServerCell(ICoreClientAPI capi, ServerCellEntry cell, ElementBounds bounds)

Parameters

capi ICoreClientAPI

The Client API

cell ServerCellEntry

The base cell

bounds ElementBounds

The bounds of the TableCell

Methods

Compose()

public override void Compose()

ComposeButton(Context, ImageSurface, bool)

public override void ComposeButton(Context ctx, ImageSurface surface, bool pressed)

Parameters

ctx Context
surface ImageSurface
pressed bool

Dispose()

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

public override void Dispose()

OnRenderInteractiveElements(ICoreClientAPI, float)

Renders the main menu cell

public override void OnRenderInteractiveElements(ICoreClientAPI api, float deltaTime)

Parameters

api ICoreClientAPI
deltaTime float