Show / Hide Table of Contents

Class Terrain.TerrainBase

Base class for server-side implementations of Terrain

Inheritance
object
Terrain.TerrainBase
ChunkService
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TerraProc.Grpc
Assembly: TerraProc.Contracts.dll
Syntax
[BindServiceMethod(typeof(Terrain), "BindService")]
public abstract class Terrain.TerrainBase

Methods

| Edit this page View Source

GetChunk(ChunkCoords, ServerCallContext)

Retrieves a terrain chunk based on its coordinates

Declaration
public virtual Task<Chunk> GetChunk(ChunkCoords request, ServerCallContext context)
Parameters
Type Name Description
ChunkCoords request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<Chunk>

The response to send back to the client (wrapped by a task).

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX