Documentation ¶
Index ¶
- type ExternalService
- func (a *ExternalService) AssignRandomSpawnsToPCs(ctx context.Context, r *proto.AssignRandomSpawnsToPCsRequest) (*wrappers.BoolValue, error)
- func (a *ExternalService) DeleteWorld(ctx context.Context, r *wrappers.StringValue) (*wrappers.BoolValue, error)
- func (a *ExternalService) GetWorld(ctx context.Context, worldID *wrappers.StringValue) (*proto.GetWorldResponse, error)
- func (a *ExternalService) UpdateAmmo(ctx context.Context, r *proto.Ammo) (*wrappers.BoolValue, error)
- func (a *ExternalService) UpdateMap(ctx context.Context, worldMap *proto.Map) (*wrappers.BoolValue, error)
- func (a *ExternalService) UpdatePC(ctx context.Context, r *proto.PC) (*wrappers.BoolValue, error)
- func (h *ExternalService) UpdateWorld(ctx context.Context, world *proto.World) (*wrappers.BoolValue, error)
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 ¶
func (a *ExternalService) AssignRandomSpawnsToPCs(ctx context.Context, r *proto.AssignRandomSpawnsToPCsRequest) (*wrappers.BoolValue, error)
Assigns random spawns to the pcs set by this world
func (*ExternalService) DeleteWorld ¶
func (a *ExternalService) DeleteWorld(ctx context.Context, r *wrappers.StringValue) (*wrappers.BoolValue, error)
func (*ExternalService) GetWorld ¶
func (a *ExternalService) GetWorld(ctx context.Context, worldID *wrappers.StringValue) (*proto.GetWorldResponse, error)
func (*ExternalService) UpdateAmmo ¶
func (*ExternalService) UpdateWorld ¶
Click to show internal directories.
Click to hide internal directories.