Show / Hide Table of Contents

Class Terrain

Service providing terrain data

Inheritance
object
Terrain
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
public static class Terrain

Properties

| Edit this page View Source

Descriptor

Service descriptor

Declaration
public static ServiceDescriptor Descriptor { get; }
Property Value
Type Description
ServiceDescriptor

Methods

| Edit this page View Source

BindService(ServiceBinderBase, TerrainBase)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Declaration
public static void BindService(ServiceBinderBase serviceBinder, Terrain.TerrainBase serviceImpl)
Parameters
Type Name Description
ServiceBinderBase serviceBinder

Service methods will be bound by calling AddMethod on this object.

Terrain.TerrainBase serviceImpl

An object implementing the server-side handling logic.

| Edit this page View Source

BindService(TerrainBase)

Creates service definition that can be registered with a server

Declaration
public static ServerServiceDefinition BindService(Terrain.TerrainBase serviceImpl)
Parameters
Type Name Description
Terrain.TerrainBase serviceImpl

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX