proto

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Regime_name = map[int32]string{
		0: "SQUAD",
		1: "DEATHMATCH",
	}
	Regime_value = map[string]int32{
		"SQUAD":      0,
		"DEATHMATCH": 1,
	}
)

Enum value maps for Regime.

View Source
var (
	Archievement_name = map[int32]string{
		0: "TenKills",
	}
	Archievement_value = map[string]int32{
		"TenKills": 0,
	}
)

Enum value maps for Archievement.

View Source
var ExternalService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ExternalService",
	HandlerType: (*ExternalServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateWorld",
			Handler:    _ExternalService_UpdateWorld_Handler,
		},
		{
			MethodName: "UpdateMap",
			Handler:    _ExternalService_UpdateMap_Handler,
		},
		{
			MethodName: "UpdatePC",
			Handler:    _ExternalService_UpdatePC_Handler,
		},
		{
			MethodName: "UpdateElement",
			Handler:    _ExternalService_UpdateElement_Handler,
		},
		{
			MethodName: "UpdateWeapon",
			Handler:    _ExternalService_UpdateWeapon_Handler,
		},
		{
			MethodName: "UpdateAmmo",
			Handler:    _ExternalService_UpdateAmmo_Handler,
		},
		{
			MethodName: "DeleteWorld",
			Handler:    _ExternalService_DeleteWorld_Handler,
		},
		{
			MethodName: "GetWorld",
			Handler:    _ExternalService_GetWorld_Handler,
		},
		{
			MethodName: "GetStatistics",
			Handler:    _ExternalService_GetStatistics_Handler,
		},
		{
			MethodName: "IsArchievementUnlocked",
			Handler:    _ExternalService_IsArchievementUnlocked_Handler,
		},
		{
			MethodName: "UnlockArchievement",
			Handler:    _ExternalService_UnlockArchievement_Handler,
		},
		{
			MethodName: "AssignRandomSpawnsToPCs",
			Handler:    _ExternalService_AssignRandomSpawnsToPCs_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "external.proto",
}

ExternalService_ServiceDesc is the grpc.ServiceDesc for ExternalService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_external_proto protoreflect.FileDescriptor

Functions

func RegisterExternalServiceServer

func RegisterExternalServiceServer(s grpc.ServiceRegistrar, srv ExternalServiceServer)

Types

type Ammo

type Ammo struct {
	Base      *Base `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Direction int64 `protobuf:"varint,2,opt,name=direction,proto3" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

func (*Ammo) Descriptor deprecated

func (*Ammo) Descriptor() ([]byte, []int)

Deprecated: Use Ammo.ProtoReflect.Descriptor instead.

func (*Ammo) GetBase

func (x *Ammo) GetBase() *Base

func (*Ammo) GetDirection

func (x *Ammo) GetDirection() int64

func (*Ammo) ProtoMessage

func (*Ammo) ProtoMessage()

func (*Ammo) ProtoReflect

func (x *Ammo) ProtoReflect() protoreflect.Message

func (*Ammo) Reset

func (x *Ammo) Reset()

func (*Ammo) String

func (x *Ammo) String() string

type Animation

type Animation struct {
	PositionBeforeAnimation *Position `protobuf:"bytes,1,opt,name=positionBeforeAnimation,proto3" json:"positionBeforeAnimation,omitempty"`
	FrameCount              uint64    `protobuf:"varint,2,opt,name=frameCount,proto3" json:"frameCount,omitempty"`
	FrameDelayCounter       uint64    `protobuf:"varint,3,opt,name=frameDelayCounter,proto3" json:"frameDelayCounter,omitempty"`
	CurrentFrameMatrix      []float64 `protobuf:"fixed64,4,rep,packed,name=currentFrameMatrix,proto3" json:"currentFrameMatrix,omitempty"`
	// contains filtered or unexported fields
}

func (*Animation) Descriptor deprecated

func (*Animation) Descriptor() ([]byte, []int)

Deprecated: Use Animation.ProtoReflect.Descriptor instead.

func (*Animation) GetCurrentFrameMatrix

func (x *Animation) GetCurrentFrameMatrix() []float64

func (*Animation) GetFrameCount

func (x *Animation) GetFrameCount() uint64

func (*Animation) GetFrameDelayCounter

func (x *Animation) GetFrameDelayCounter() uint64

func (*Animation) GetPositionBeforeAnimation

func (x *Animation) GetPositionBeforeAnimation() *Position

func (*Animation) ProtoMessage

func (*Animation) ProtoMessage()

func (*Animation) ProtoReflect

func (x *Animation) ProtoReflect() protoreflect.Message

func (*Animation) Reset

func (x *Animation) Reset()

func (*Animation) String

func (x *Animation) String() string

type Archievement

type Archievement int32
const (
	Archievement_TenKills Archievement = 0
)

func (Archievement) Descriptor

func (Archievement) Enum

func (x Archievement) Enum() *Archievement

func (Archievement) EnumDescriptor deprecated

func (Archievement) EnumDescriptor() ([]byte, []int)

Deprecated: Use Archievement.Descriptor instead.

func (Archievement) Number

func (Archievement) String

func (x Archievement) String() string

func (Archievement) Type

type AssignRandomSpawnsToPCsRequest

type AssignRandomSpawnsToPCsRequest struct {
	WorldId string      `protobuf:"bytes,1,opt,name=worldId,proto3" json:"worldId,omitempty"`
	Spawns  []*Position `protobuf:"bytes,2,rep,name=spawns,proto3" json:"spawns,omitempty"`
	// contains filtered or unexported fields
}

func (*AssignRandomSpawnsToPCsRequest) Descriptor deprecated

func (*AssignRandomSpawnsToPCsRequest) Descriptor() ([]byte, []int)

Deprecated: Use AssignRandomSpawnsToPCsRequest.ProtoReflect.Descriptor instead.

func (*AssignRandomSpawnsToPCsRequest) GetSpawns

func (x *AssignRandomSpawnsToPCsRequest) GetSpawns() []*Position

func (*AssignRandomSpawnsToPCsRequest) GetWorldId

func (x *AssignRandomSpawnsToPCsRequest) GetWorldId() string

func (*AssignRandomSpawnsToPCsRequest) ProtoMessage

func (*AssignRandomSpawnsToPCsRequest) ProtoMessage()

func (*AssignRandomSpawnsToPCsRequest) ProtoReflect

func (*AssignRandomSpawnsToPCsRequest) Reset

func (x *AssignRandomSpawnsToPCsRequest) Reset()

func (*AssignRandomSpawnsToPCsRequest) String

type Base

type Base struct {
	Animation *Animation `protobuf:"bytes,1,opt,name=animation,proto3" json:"animation,omitempty"`
	Skin      *Skin      `protobuf:"bytes,2,opt,name=skin,proto3" json:"skin,omitempty"`
	Physics   *Physics   `protobuf:"bytes,3,opt,name=physics,proto3" json:"physics,omitempty"`
	Parent    *Base      `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
	Id        string     `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	RawPos    *Position  `protobuf:"bytes,6,opt,name=rawPos,proto3" json:"rawPos,omitempty"`
	Spawn     *Position  `protobuf:"bytes,7,opt,name=spawn,proto3" json:"spawn,omitempty"`
	Direction int64      `protobuf:"varint,8,opt,name=direction,proto3" json:"direction,omitempty"`
	Role      int64      `protobuf:"varint,9,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*Base) Descriptor deprecated

func (*Base) Descriptor() ([]byte, []int)

Deprecated: Use Base.ProtoReflect.Descriptor instead.

func (*Base) GetAnimation

func (x *Base) GetAnimation() *Animation

func (*Base) GetDirection

func (x *Base) GetDirection() int64

func (*Base) GetId

func (x *Base) GetId() string

func (*Base) GetParent

func (x *Base) GetParent() *Base

func (*Base) GetPhysics

func (x *Base) GetPhysics() *Physics

func (*Base) GetRawPos

func (x *Base) GetRawPos() *Position

func (*Base) GetRole

func (x *Base) GetRole() int64

func (*Base) GetSkin

func (x *Base) GetSkin() *Skin

func (*Base) GetSpawn

func (x *Base) GetSpawn() *Position

func (*Base) ProtoMessage

func (*Base) ProtoMessage()

func (*Base) ProtoReflect

func (x *Base) ProtoReflect() protoreflect.Message

func (*Base) Reset

func (x *Base) Reset()

func (*Base) String

func (x *Base) String() string

type DeletePCRequest

type DeletePCRequest struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePCRequest) Descriptor deprecated

func (*DeletePCRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeletePCRequest.ProtoReflect.Descriptor instead.

func (*DeletePCRequest) GetId

func (x *DeletePCRequest) GetId() string

func (*DeletePCRequest) ProtoMessage

func (*DeletePCRequest) ProtoMessage()

func (*DeletePCRequest) ProtoReflect

func (x *DeletePCRequest) ProtoReflect() protoreflect.Message

func (*DeletePCRequest) Reset

func (x *DeletePCRequest) Reset()

func (*DeletePCRequest) String

func (x *DeletePCRequest) String() string

type Element

type Element struct {
	Base *Base `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	// contains filtered or unexported fields
}

func (*Element) Descriptor deprecated

func (*Element) Descriptor() ([]byte, []int)

Deprecated: Use Element.ProtoReflect.Descriptor instead.

func (*Element) GetBase

func (x *Element) GetBase() *Base

func (*Element) ProtoMessage

func (*Element) ProtoMessage()

func (*Element) ProtoReflect

func (x *Element) ProtoReflect() protoreflect.Message

func (*Element) Reset

func (x *Element) Reset()

func (*Element) String

func (x *Element) String() string

type ExternalServiceClient

type ExternalServiceClient interface {
	//Game process
	UpdateWorld(ctx context.Context, in *World, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	UpdateMap(ctx context.Context, in *Map, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	UpdatePC(ctx context.Context, in *PC, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	UpdateElement(ctx context.Context, in *Element, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	UpdateWeapon(ctx context.Context, in *Weapon, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	UpdateAmmo(ctx context.Context, in *Ammo, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	DeleteWorld(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	// rpc DeletePC (google.protobuf.StringValue) returns (google.protobuf.BoolValue);
	GetWorld(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*GetWorldResponse, error)
	//Statistics
	GetStatistics(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*GetStatisticsResponse, error)
	//Archievements
	IsArchievementUnlocked(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
	UnlockArchievement(ctx context.Context, in *UnlockArchievementRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	//Utils
	AssignRandomSpawnsToPCs(ctx context.Context, in *AssignRandomSpawnsToPCsRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error)
}

ExternalServiceClient is the client API for ExternalService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ExternalServiceServer

type ExternalServiceServer interface {
	//Game process
	UpdateWorld(context.Context, *World) (*wrapperspb.BoolValue, error)
	UpdateMap(context.Context, *Map) (*wrapperspb.BoolValue, error)
	UpdatePC(context.Context, *PC) (*wrapperspb.BoolValue, error)
	UpdateElement(context.Context, *Element) (*wrapperspb.BoolValue, error)
	UpdateWeapon(context.Context, *Weapon) (*wrapperspb.BoolValue, error)
	UpdateAmmo(context.Context, *Ammo) (*wrapperspb.BoolValue, error)
	DeleteWorld(context.Context, *wrapperspb.StringValue) (*wrapperspb.BoolValue, error)
	// rpc DeletePC (google.protobuf.StringValue) returns (google.protobuf.BoolValue);
	GetWorld(context.Context, *wrapperspb.StringValue) (*GetWorldResponse, error)
	//Statistics
	GetStatistics(context.Context, *wrapperspb.StringValue) (*GetStatisticsResponse, error)
	//Archievements
	IsArchievementUnlocked(context.Context, *wrapperspb.StringValue) (*wrapperspb.BoolValue, error)
	UnlockArchievement(context.Context, *UnlockArchievementRequest) (*emptypb.Empty, error)
	//Utils
	AssignRandomSpawnsToPCs(context.Context, *AssignRandomSpawnsToPCsRequest) (*wrapperspb.BoolValue, error)
	// contains filtered or unexported methods
}

ExternalServiceServer is the server API for ExternalService service. All implementations must embed UnimplementedExternalServiceServer for forward compatibility

type GameSettings

type GameSettings struct {
	Regime        Regime `protobuf:"varint,1,opt,name=regime,proto3,enum=Regime" json:"regime,omitempty"`
	IsGameStarted bool   `protobuf:"varint,2,opt,name=isGameStarted,proto3" json:"isGameStarted,omitempty"`
	IsWorldExist  bool   `protobuf:"varint,3,opt,name=isWorldExist,proto3" json:"isWorldExist,omitempty"`
	// contains filtered or unexported fields
}

func (*GameSettings) Descriptor deprecated

func (*GameSettings) Descriptor() ([]byte, []int)

Deprecated: Use GameSettings.ProtoReflect.Descriptor instead.

func (*GameSettings) GetIsGameStarted

func (x *GameSettings) GetIsGameStarted() bool

func (*GameSettings) GetIsWorldExist

func (x *GameSettings) GetIsWorldExist() bool

func (*GameSettings) GetRegime

func (x *GameSettings) GetRegime() Regime

func (*GameSettings) ProtoMessage

func (*GameSettings) ProtoMessage()

func (*GameSettings) ProtoReflect

func (x *GameSettings) ProtoReflect() protoreflect.Message

func (*GameSettings) Reset

func (x *GameSettings) Reset()

func (*GameSettings) String

func (x *GameSettings) String() string

type GetStatisticsResponse

type GetStatisticsResponse struct {
	KillsNum int64 `protobuf:"varint,1,opt,name=killsNum,proto3" json:"killsNum,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStatisticsResponse) Descriptor deprecated

func (*GetStatisticsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetStatisticsResponse.ProtoReflect.Descriptor instead.

func (*GetStatisticsResponse) GetKillsNum

func (x *GetStatisticsResponse) GetKillsNum() int64

func (*GetStatisticsResponse) ProtoMessage

func (*GetStatisticsResponse) ProtoMessage()

func (*GetStatisticsResponse) ProtoReflect

func (x *GetStatisticsResponse) ProtoReflect() protoreflect.Message

func (*GetStatisticsResponse) Reset

func (x *GetStatisticsResponse) Reset()

func (*GetStatisticsResponse) String

func (x *GetStatisticsResponse) String() string

type GetWorldResponse

type GetWorldResponse struct {
	World    *World     `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"`
	PCs      []*PC      `protobuf:"bytes,2,rep,name=PCs,proto3" json:"PCs,omitempty"`
	Elements []*Element `protobuf:"bytes,3,rep,name=elements,proto3" json:"elements,omitempty"`
	Weapons  []*Weapon  `protobuf:"bytes,4,rep,name=weapons,proto3" json:"weapons,omitempty"`
	Ammos    []*Ammo    `protobuf:"bytes,5,rep,name=ammos,proto3" json:"ammos,omitempty"`
	// contains filtered or unexported fields
}

func (*GetWorldResponse) Descriptor deprecated

func (*GetWorldResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetWorldResponse.ProtoReflect.Descriptor instead.

func (*GetWorldResponse) GetAmmos

func (x *GetWorldResponse) GetAmmos() []*Ammo

func (*GetWorldResponse) GetElements

func (x *GetWorldResponse) GetElements() []*Element

func (*GetWorldResponse) GetPCs

func (x *GetWorldResponse) GetPCs() []*PC

func (*GetWorldResponse) GetWeapons

func (x *GetWorldResponse) GetWeapons() []*Weapon

func (*GetWorldResponse) GetWorld

func (x *GetWorldResponse) GetWorld() *World

func (*GetWorldResponse) ProtoMessage

func (*GetWorldResponse) ProtoMessage()

func (*GetWorldResponse) ProtoReflect

func (x *GetWorldResponse) ProtoReflect() protoreflect.Message

func (*GetWorldResponse) Reset

func (x *GetWorldResponse) Reset()

func (*GetWorldResponse) String

func (x *GetWorldResponse) String() string

type IsGameStartedResponse

type IsGameStartedResponse struct {
	Started bool `protobuf:"varint,1,opt,name=started,proto3" json:"started,omitempty"`
	// contains filtered or unexported fields
}

func (*IsGameStartedResponse) Descriptor deprecated

func (*IsGameStartedResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsGameStartedResponse.ProtoReflect.Descriptor instead.

func (*IsGameStartedResponse) GetStarted

func (x *IsGameStartedResponse) GetStarted() bool

func (*IsGameStartedResponse) ProtoMessage

func (*IsGameStartedResponse) ProtoMessage()

func (*IsGameStartedResponse) ProtoReflect

func (x *IsGameStartedResponse) ProtoReflect() protoreflect.Message

func (*IsGameStartedResponse) Reset

func (x *IsGameStartedResponse) Reset()

func (*IsGameStartedResponse) String

func (x *IsGameStartedResponse) String() string

type Map

type Map struct {
	Base   *Base       `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Spawns []*Position `protobuf:"bytes,2,rep,name=spawns,proto3" json:"spawns,omitempty"`
	// contains filtered or unexported fields
}

func (*Map) Descriptor deprecated

func (*Map) Descriptor() ([]byte, []int)

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetBase

func (x *Map) GetBase() *Base

func (*Map) GetSpawns

func (x *Map) GetSpawns() []*Position

func (*Map) ProtoMessage

func (*Map) ProtoMessage()

func (*Map) ProtoReflect

func (x *Map) ProtoReflect() protoreflect.Message

func (*Map) Reset

func (x *Map) Reset()

func (*Map) String

func (x *Map) String() string

type PC

type PC struct {
	Base        *Base  `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Username    string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	Health      uint64 `protobuf:"varint,3,opt,name=health,proto3" json:"health,omitempty"`
	LobbyNumber int64  `protobuf:"varint,4,opt,name=lobbyNumber,proto3" json:"lobbyNumber,omitempty"`
	// contains filtered or unexported fields
}

func (*PC) Descriptor deprecated

func (*PC) Descriptor() ([]byte, []int)

Deprecated: Use PC.ProtoReflect.Descriptor instead.

func (*PC) GetBase

func (x *PC) GetBase() *Base

func (*PC) GetHealth

func (x *PC) GetHealth() uint64

func (*PC) GetLobbyNumber

func (x *PC) GetLobbyNumber() int64

func (*PC) GetUsername

func (x *PC) GetUsername() string

func (*PC) ProtoMessage

func (*PC) ProtoMessage()

func (*PC) ProtoReflect

func (x *PC) ProtoReflect() protoreflect.Message

func (*PC) Reset

func (x *PC) Reset()

func (*PC) String

func (x *PC) String() string

type Physics

type Physics struct {
	Jump []int64 `protobuf:"varint,1,rep,packed,name=jump,proto3" json:"jump,omitempty"`
	// contains filtered or unexported fields
}

func (*Physics) Descriptor deprecated

func (*Physics) Descriptor() ([]byte, []int)

Deprecated: Use Physics.ProtoReflect.Descriptor instead.

func (*Physics) GetJump

func (x *Physics) GetJump() []int64

func (*Physics) ProtoMessage

func (*Physics) ProtoMessage()

func (*Physics) ProtoReflect

func (x *Physics) ProtoReflect() protoreflect.Message

func (*Physics) Reset

func (x *Physics) Reset()

func (*Physics) String

func (x *Physics) String() string

type Position

type Position struct {
	X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

func (*Position) Descriptor deprecated

func (*Position) Descriptor() ([]byte, []int)

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetX

func (x *Position) GetX() float64

func (*Position) GetY

func (x *Position) GetY() float64

func (*Position) ProtoMessage

func (*Position) ProtoMessage()

func (*Position) ProtoReflect

func (x *Position) ProtoReflect() protoreflect.Message

func (*Position) Reset

func (x *Position) Reset()

func (*Position) String

func (x *Position) String() string

type Regime

type Regime int32
const (
	Regime_SQUAD      Regime = 0
	Regime_DEATHMATCH Regime = 1
)

func (Regime) Descriptor

func (Regime) Descriptor() protoreflect.EnumDescriptor

func (Regime) Enum

func (x Regime) Enum() *Regime

func (Regime) EnumDescriptor deprecated

func (Regime) EnumDescriptor() ([]byte, []int)

Deprecated: Use Regime.Descriptor instead.

func (Regime) Number

func (x Regime) Number() protoreflect.EnumNumber

func (Regime) String

func (x Regime) String() string

func (Regime) Type

func (Regime) Type() protoreflect.EnumType

type RemovePCRequest

type RemovePCRequest struct {
	WorldId string `protobuf:"bytes,1,opt,name=worldId,proto3" json:"worldId,omitempty"`
	PcId    string `protobuf:"bytes,2,opt,name=pcId,proto3" json:"pcId,omitempty"`
	// contains filtered or unexported fields
}

func (*RemovePCRequest) Descriptor deprecated

func (*RemovePCRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemovePCRequest.ProtoReflect.Descriptor instead.

func (*RemovePCRequest) GetPcId

func (x *RemovePCRequest) GetPcId() string

func (*RemovePCRequest) GetWorldId

func (x *RemovePCRequest) GetWorldId() string

func (*RemovePCRequest) ProtoMessage

func (*RemovePCRequest) ProtoMessage()

func (*RemovePCRequest) ProtoReflect

func (x *RemovePCRequest) ProtoReflect() protoreflect.Message

func (*RemovePCRequest) Reset

func (x *RemovePCRequest) Reset()

func (*RemovePCRequest) String

func (x *RemovePCRequest) String() string

type Skin

type Skin struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*Skin) Descriptor deprecated

func (*Skin) Descriptor() ([]byte, []int)

Deprecated: Use Skin.ProtoReflect.Descriptor instead.

func (*Skin) GetName

func (x *Skin) GetName() string

func (*Skin) GetPath

func (x *Skin) GetPath() string

func (*Skin) ProtoMessage

func (*Skin) ProtoMessage()

func (*Skin) ProtoReflect

func (x *Skin) ProtoReflect() protoreflect.Message

func (*Skin) Reset

func (x *Skin) Reset()

func (*Skin) String

func (x *Skin) String() string

type UnimplementedExternalServiceServer

type UnimplementedExternalServiceServer struct {
}

UnimplementedExternalServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedExternalServiceServer) AssignRandomSpawnsToPCs

func (UnimplementedExternalServiceServer) DeleteWorld

func (UnimplementedExternalServiceServer) GetStatistics

func (UnimplementedExternalServiceServer) GetWorld

func (UnimplementedExternalServiceServer) IsArchievementUnlocked

func (UnimplementedExternalServiceServer) UnlockArchievement

func (UnimplementedExternalServiceServer) UpdateAmmo

func (UnimplementedExternalServiceServer) UpdateElement

func (UnimplementedExternalServiceServer) UpdateMap

func (UnimplementedExternalServiceServer) UpdatePC

func (UnimplementedExternalServiceServer) UpdateWeapon

func (UnimplementedExternalServiceServer) UpdateWorld

type UnlockArchievementRequest

type UnlockArchievementRequest struct {
	PcId         string       `protobuf:"bytes,1,opt,name=pcId,proto3" json:"pcId,omitempty"`
	Archievement Archievement `protobuf:"varint,2,opt,name=archievement,proto3,enum=Archievement" json:"archievement,omitempty"`
	// contains filtered or unexported fields
}

func (*UnlockArchievementRequest) Descriptor deprecated

func (*UnlockArchievementRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnlockArchievementRequest.ProtoReflect.Descriptor instead.

func (*UnlockArchievementRequest) GetArchievement

func (x *UnlockArchievementRequest) GetArchievement() Archievement

func (*UnlockArchievementRequest) GetPcId

func (x *UnlockArchievementRequest) GetPcId() string

func (*UnlockArchievementRequest) ProtoMessage

func (*UnlockArchievementRequest) ProtoMessage()

func (*UnlockArchievementRequest) ProtoReflect

func (*UnlockArchievementRequest) Reset

func (x *UnlockArchievementRequest) Reset()

func (*UnlockArchievementRequest) String

func (x *UnlockArchievementRequest) String() string

type UnsafeExternalServiceServer

type UnsafeExternalServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeExternalServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExternalServiceServer will result in compilation errors.

type Weapon

type Weapon struct {
	Base   *Base  `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Radius string `protobuf:"bytes,3,opt,name=radius,proto3" json:"radius,omitempty"`
	// contains filtered or unexported fields
}

func (*Weapon) Descriptor deprecated

func (*Weapon) Descriptor() ([]byte, []int)

Deprecated: Use Weapon.ProtoReflect.Descriptor instead.

func (*Weapon) GetBase

func (x *Weapon) GetBase() *Base

func (*Weapon) GetName

func (x *Weapon) GetName() string

func (*Weapon) GetRadius

func (x *Weapon) GetRadius() string

func (*Weapon) ProtoMessage

func (*Weapon) ProtoMessage()

func (*Weapon) ProtoReflect

func (x *Weapon) ProtoReflect() protoreflect.Message

func (*Weapon) Reset

func (x *Weapon) Reset()

func (*Weapon) String

func (x *Weapon) String() string

type World

type World struct {
	Id           string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	GameSettings *GameSettings `protobuf:"bytes,2,opt,name=gameSettings,proto3" json:"gameSettings,omitempty"`
	// contains filtered or unexported fields
}

func (*World) Descriptor deprecated

func (*World) Descriptor() ([]byte, []int)

Deprecated: Use World.ProtoReflect.Descriptor instead.

func (*World) GetGameSettings

func (x *World) GetGameSettings() *GameSettings

func (*World) GetId

func (x *World) GetId() string

func (*World) ProtoMessage

func (*World) ProtoMessage()

func (*World) ProtoReflect

func (x *World) ProtoReflect() protoreflect.Message

func (*World) Reset

func (x *World) Reset()

func (*World) String

func (x *World) String() string

Jump to

Keyboard shortcuts

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