rpc

package
v0.0.0-...-71ffa5d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checker

func Checker()

func GetRPC

func GetRPC() *rpc.RPC

func InitNode

func InitNode()

func SendData

func SendData(data *web_socket_response.Response)

Types

type MapPosition

type MapPosition struct {
	X   int       `json:"x"`
	Y   int       `json:"Y"`
	Map *_map.Map `json:"map"`
}

type StartGameObject

type StartGameObject struct {
	StartPlayers []*player.Player `json:"start_players"`
	MapID        int              `json:"map_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL