darwin_service

package
v0.0.0-...-a1aec39 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterHit

type CharacterHit struct {
	// contains filtered or unexported fields
}

type DarwinService

type DarwinService struct {
	proto.UnimplementedDarwinServiceServer
	// contains filtered or unexported fields
}

func NewDarwinService

func NewDarwinService(worldDatabase *proto.WorldDatabase) *DarwinService

func (*DarwinService) CreateCharacter

func (s *DarwinService) CreateCharacter(
	ctx context.Context, createRequest *proto.CreateCharacterRequest) (
	*proto.CreateCharacterResponse, error)

func (*DarwinService) Ping

func (s *DarwinService) Ping(
	ctx context.Context, pingRequest *proto.PingRequest) (
	*proto.PingResponse, error)

func (*DarwinService) ReportInGame

func (s *DarwinService) ReportInGame(
	ctx context.Context, reportRequest *proto.ReportInGameRequest) (
	*proto.ReportInGameResponse, error)

func (*DarwinService) Update

type HitType

type HitType int
const (
	HitTypeNone HitType = iota
	HitTypeElement
	HitTypeCharacter
)

type PeerClient

type PeerClient struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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