implementation

package
v0.0.0-...-a3ecc91 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalService

type ExternalService struct {
	proto.UnimplementedExternalServiceServer
}

func NewExternalService

func NewExternalService() *ExternalService

func (*ExternalService) AssignRandomSpawnsToPCs

Assigns random spawns to the pcs set by this world

func (*ExternalService) DeleteWorld

func (*ExternalService) GetWorld

func (*ExternalService) UpdateAmmo

func (a *ExternalService) UpdateAmmo(ctx context.Context, r *proto.Ammo) (*wrappers.BoolValue, error)

func (*ExternalService) UpdateMap

func (a *ExternalService) UpdateMap(ctx context.Context, worldMap *proto.Map) (*wrappers.BoolValue, error)

func (*ExternalService) UpdatePC

func (a *ExternalService) UpdatePC(ctx context.Context, r *proto.PC) (*wrappers.BoolValue, error)

func (*ExternalService) UpdateWorld

func (h *ExternalService) UpdateWorld(ctx context.Context, world *proto.World) (*wrappers.BoolValue, error)

Jump to

Keyboard shortcuts

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