Documentation ¶
Index ¶
- func ContainsString(arr []string, target string) bool
- func GetEntityValueRouteHandler(ctx *server.EngineCtx) gin.HandlerFunc
- func GetStateRouteHandler(ctx *server.EngineCtx) gin.HandlerFunc
- func StateRootRouteHandler(ctx *server.EngineCtx) gin.HandlerFunc
- type DownloadStateRequest
- type GameStateResponse
- type GetEntityRequest
- type GetEntityResponse
- type StateRootRequest
- type StateRootResponse
- type TableData
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
func GetEntityValueRouteHandler ¶
func GetEntityValueRouteHandler(ctx *server.EngineCtx) gin.HandlerFunc
calculate state root hash for a game world
func GetStateRouteHandler ¶
func GetStateRouteHandler(ctx *server.EngineCtx) gin.HandlerFunc
fetch the world state
func StateRootRouteHandler ¶
func StateRootRouteHandler(ctx *server.EngineCtx) gin.HandlerFunc
calculate state root hash for a game world
Types ¶
type DownloadStateRequest ¶
type DownloadStateRequest struct {
Tables []string `json:"tables"`
}
request
type GameStateResponse ¶
response
type GetEntityResponse ¶
response
type StateRootResponse ¶
response
Click to show internal directories.
Click to hide internal directories.