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
capiICoreClientAPIThe Client API
cellServerCellEntryThe base cell
boundsElementBoundsThe 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
ctxContextsurfaceImageSurfacepressedbool
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
apiICoreClientAPIdeltaTimefloat