Documentation
¶
Index ¶
- Variables
- func RegisterExternalServerServiceServer(s *grpc.Server, srv ExternalServerServiceServer)
- type Ammo
- type Animation
- func (*Animation) Descriptor() ([]byte, []int)deprecated
- func (x *Animation) GetCurrentFrameMatrix() []float64
- func (x *Animation) GetFrameCount() uint64
- func (x *Animation) GetFrameDelayCounter() uint64
- func (x *Animation) GetPositionBeforeAnimation() *Position
- func (*Animation) ProtoMessage()
- func (x *Animation) ProtoReflect() protoreflect.Message
- func (x *Animation) Reset()
- func (x *Animation) String() string
- type Archievement
- func (Archievement) Descriptor() protoreflect.EnumDescriptor
- func (x Archievement) Enum() *Archievement
- func (Archievement) EnumDescriptor() ([]byte, []int)deprecated
- func (x Archievement) Number() protoreflect.EnumNumber
- func (x Archievement) String() string
- func (Archievement) Type() protoreflect.EnumType
- type AssignRandomSpawnsToPCsRequest
- func (*AssignRandomSpawnsToPCsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AssignRandomSpawnsToPCsRequest) GetSpawns() []*Position
- func (x *AssignRandomSpawnsToPCsRequest) GetWorldId() string
- func (*AssignRandomSpawnsToPCsRequest) ProtoMessage()
- func (x *AssignRandomSpawnsToPCsRequest) ProtoReflect() protoreflect.Message
- func (x *AssignRandomSpawnsToPCsRequest) Reset()
- func (x *AssignRandomSpawnsToPCsRequest) String() string
- type Base
- func (*Base) Descriptor() ([]byte, []int)deprecated
- func (x *Base) GetAnimation() *Animation
- func (x *Base) GetDirection() int64
- func (x *Base) GetId() string
- func (x *Base) GetParent() *Base
- func (x *Base) GetPhysics() *Physics
- func (x *Base) GetRawPos() *Position
- func (x *Base) GetRole() int64
- func (x *Base) GetSkin() *Skin
- func (x *Base) GetSpawn() *PositionInt
- func (x *Base) GetType() string
- func (*Base) ProtoMessage()
- func (x *Base) ProtoReflect() protoreflect.Message
- func (x *Base) Reset()
- func (x *Base) String() string
- type DeleteCooldownRequest
- func (*DeleteCooldownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCooldownRequest) GetPcId() string
- func (x *DeleteCooldownRequest) GetWorldId() string
- func (*DeleteCooldownRequest) ProtoMessage()
- func (x *DeleteCooldownRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCooldownRequest) Reset()
- func (x *DeleteCooldownRequest) String() string
- type DeletePCRequest
- type Element
- type ExternalServerServiceClient
- type ExternalServerServiceServer
- type FindCooldownRequest
- func (*FindCooldownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindCooldownRequest) GetPcId() string
- func (x *FindCooldownRequest) GetWorldId() string
- func (*FindCooldownRequest) ProtoMessage()
- func (x *FindCooldownRequest) ProtoReflect() protoreflect.Message
- func (x *FindCooldownRequest) Reset()
- func (x *FindCooldownRequest) String() string
- type FindWorldObjectsResponse
- func (*FindWorldObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FindWorldObjectsResponse) GetAmmos() []*Ammo
- func (x *FindWorldObjectsResponse) GetElements() []*Element
- func (x *FindWorldObjectsResponse) GetPCs() []*PC
- func (x *FindWorldObjectsResponse) GetWeapons() []*Weapon
- func (x *FindWorldObjectsResponse) GetWorld() *World
- func (x *FindWorldObjectsResponse) GetWorldMap() *Map
- func (*FindWorldObjectsResponse) ProtoMessage()
- func (x *FindWorldObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *FindWorldObjectsResponse) Reset()
- func (x *FindWorldObjectsResponse) String() string
- type GameSettings
- func (*GameSettings) Descriptor() ([]byte, []int)deprecated
- func (x *GameSettings) GetAFKTimeout() int64
- func (x *GameSettings) GetIsGameStarted() bool
- func (x *GameSettings) GetIsWorldExist() bool
- func (x *GameSettings) GetRegime() Regime
- func (*GameSettings) ProtoMessage()
- func (x *GameSettings) ProtoReflect() protoreflect.Message
- func (x *GameSettings) Reset()
- func (x *GameSettings) String() string
- type GetStatisticsResponse
- func (*GetStatisticsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStatisticsResponse) GetKillsNum() int64
- func (*GetStatisticsResponse) ProtoMessage()
- func (x *GetStatisticsResponse) ProtoReflect() protoreflect.Message
- func (x *GetStatisticsResponse) Reset()
- func (x *GetStatisticsResponse) String() string
- type InsertOrUpdateCooldownRequest
- func (*InsertOrUpdateCooldownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InsertOrUpdateCooldownRequest) GetPcId() string
- func (x *InsertOrUpdateCooldownRequest) GetWorldId() string
- func (*InsertOrUpdateCooldownRequest) ProtoMessage()
- func (x *InsertOrUpdateCooldownRequest) ProtoReflect() protoreflect.Message
- func (x *InsertOrUpdateCooldownRequest) Reset()
- func (x *InsertOrUpdateCooldownRequest) String() string
- type IsGameStartedResponse
- func (*IsGameStartedResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsGameStartedResponse) GetStarted() bool
- func (*IsGameStartedResponse) ProtoMessage()
- func (x *IsGameStartedResponse) ProtoReflect() protoreflect.Message
- func (x *IsGameStartedResponse) Reset()
- func (x *IsGameStartedResponse) String() string
- type Map
- type PC
- func (*PC) Descriptor() ([]byte, []int)deprecated
- func (x *PC) GetBase() *Base
- func (x *PC) GetHealth() uint64
- func (x *PC) GetLastActivity() int64
- func (x *PC) GetLobbyNumber() int64
- func (x *PC) GetUsername() string
- func (*PC) ProtoMessage()
- func (x *PC) ProtoReflect() protoreflect.Message
- func (x *PC) Reset()
- func (x *PC) String() string
- type Physics
- type Position
- type PositionInt
- type Regime
- type RemovePCRequest
- func (*RemovePCRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RemovePCRequest) GetPcId() string
- func (x *RemovePCRequest) GetWorldId() string
- func (*RemovePCRequest) ProtoMessage()
- func (x *RemovePCRequest) ProtoReflect() protoreflect.Message
- func (x *RemovePCRequest) Reset()
- func (x *RemovePCRequest) String() string
- type Skin
- type UnimplementedExternalServerServiceServer
- func (*UnimplementedExternalServerServiceServer) AssignRandomSpawnsToPCs(context.Context, *AssignRandomSpawnsToPCsRequest) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) DeleteCooldown(context.Context, *DeleteCooldownRequest) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) DeletePC(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) DeleteWorld(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) FindCooldown(context.Context, *FindCooldownRequest) (*wrapperspb.BoolValue, error)
- func (*UnimplementedExternalServerServiceServer) FindWorldObjects(context.Context, *wrapperspb.StringValue) (*FindWorldObjectsResponse, error)
- func (*UnimplementedExternalServerServiceServer) GetStatistics(context.Context, *wrapperspb.StringValue) (*GetStatisticsResponse, error)
- func (*UnimplementedExternalServerServiceServer) InsertOrUpdateAmmo(context.Context, *Ammo) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) InsertOrUpdateCooldown(context.Context, *InsertOrUpdateCooldownRequest) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) InsertOrUpdateElement(context.Context, *Element) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) InsertOrUpdateMap(context.Context, *Map) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) InsertOrUpdatePC(context.Context, *PC) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) InsertOrUpdateWeapon(context.Context, *Weapon) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) InsertOrUpdateWorld(context.Context, *World) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) IsArchievementUnlocked(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
- func (*UnimplementedExternalServerServiceServer) UnlockArchievement(context.Context, *UnlockArchievementRequest) (*emptypb.Empty, error)
- type UnlockArchievementRequest
- func (*UnlockArchievementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlockArchievementRequest) GetArchievement() Archievement
- func (x *UnlockArchievementRequest) GetPcId() string
- func (*UnlockArchievementRequest) ProtoMessage()
- func (x *UnlockArchievementRequest) ProtoReflect() protoreflect.Message
- func (x *UnlockArchievementRequest) Reset()
- func (x *UnlockArchievementRequest) String() string
- type Weapon
- type World
Constants ¶
This section is empty.
Variables ¶
var ( Regime_name = map[int32]string{ 0: "SQUAD", 1: "DEATHMATCH", } Regime_value = map[string]int32{ "SQUAD": 0, "DEATHMATCH": 1, } )
Enum value maps for Regime.
var ( Archievement_name = map[int32]string{ 0: "TenKills", } Archievement_value = map[string]int32{ "TenKills": 0, } )
Enum value maps for Archievement.
var File_api_server_external_proto protoreflect.FileDescriptor
Functions ¶
func RegisterExternalServerServiceServer ¶
func RegisterExternalServerServiceServer(s *grpc.Server, srv ExternalServerServiceServer)
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) GetDirection ¶
func (*Ammo) ProtoMessage ¶
func (*Ammo) ProtoMessage()
func (*Ammo) ProtoReflect ¶
func (x *Ammo) ProtoReflect() protoreflect.Message
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) GetCurrentFrameMatrix ¶
func (*Animation) GetFrameCount ¶
func (*Animation) GetFrameDelayCounter ¶
func (*Animation) GetPositionBeforeAnimation ¶
func (*Animation) ProtoMessage ¶
func (*Animation) ProtoMessage()
func (*Animation) ProtoReflect ¶
func (x *Animation) ProtoReflect() protoreflect.Message
type Archievement ¶
type Archievement int32
const (
Archievement_TenKills Archievement = 0
)
func (Archievement) Descriptor ¶
func (Archievement) Descriptor() protoreflect.EnumDescriptor
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 (x Archievement) Number() protoreflect.EnumNumber
func (Archievement) String ¶
func (x Archievement) String() string
func (Archievement) Type ¶
func (Archievement) Type() protoreflect.EnumType
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 (x *AssignRandomSpawnsToPCsRequest) ProtoReflect() protoreflect.Message
func (*AssignRandomSpawnsToPCsRequest) Reset ¶
func (x *AssignRandomSpawnsToPCsRequest) Reset()
func (*AssignRandomSpawnsToPCsRequest) String ¶
func (x *AssignRandomSpawnsToPCsRequest) String() 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 *PositionInt `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"` Type string `protobuf:"bytes,10,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Base) Descriptor
deprecated
func (*Base) GetAnimation ¶
func (*Base) GetDirection ¶
func (*Base) GetPhysics ¶
func (*Base) GetSpawn ¶
func (x *Base) GetSpawn() *PositionInt
func (*Base) ProtoMessage ¶
func (*Base) ProtoMessage()
func (*Base) ProtoReflect ¶
func (x *Base) ProtoReflect() protoreflect.Message
type DeleteCooldownRequest ¶
type DeleteCooldownRequest 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 (*DeleteCooldownRequest) Descriptor
deprecated
func (*DeleteCooldownRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCooldownRequest.ProtoReflect.Descriptor instead.
func (*DeleteCooldownRequest) GetPcId ¶
func (x *DeleteCooldownRequest) GetPcId() string
func (*DeleteCooldownRequest) GetWorldId ¶
func (x *DeleteCooldownRequest) GetWorldId() string
func (*DeleteCooldownRequest) ProtoMessage ¶
func (*DeleteCooldownRequest) ProtoMessage()
func (*DeleteCooldownRequest) ProtoReflect ¶
func (x *DeleteCooldownRequest) ProtoReflect() protoreflect.Message
func (*DeleteCooldownRequest) Reset ¶
func (x *DeleteCooldownRequest) Reset()
func (*DeleteCooldownRequest) String ¶
func (x *DeleteCooldownRequest) 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) ProtoMessage ¶
func (*Element) ProtoMessage()
func (*Element) ProtoReflect ¶
func (x *Element) ProtoReflect() protoreflect.Message
type ExternalServerServiceClient ¶
type ExternalServerServiceClient interface { InsertOrUpdateWorld(ctx context.Context, in *World, opts ...grpc.CallOption) (*emptypb.Empty, error) InsertOrUpdateMap(ctx context.Context, in *Map, opts ...grpc.CallOption) (*emptypb.Empty, error) InsertOrUpdatePC(ctx context.Context, in *PC, opts ...grpc.CallOption) (*emptypb.Empty, error) InsertOrUpdateElement(ctx context.Context, in *Element, opts ...grpc.CallOption) (*emptypb.Empty, error) InsertOrUpdateWeapon(ctx context.Context, in *Weapon, opts ...grpc.CallOption) (*emptypb.Empty, error) InsertOrUpdateAmmo(ctx context.Context, in *Ammo, opts ...grpc.CallOption) (*emptypb.Empty, error) InsertOrUpdateCooldown(ctx context.Context, in *InsertOrUpdateCooldownRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteWorld(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error) DeletePC(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error) DeleteCooldown(ctx context.Context, in *DeleteCooldownRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) FindWorldObjects(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*FindWorldObjectsResponse, error) FindCooldown(ctx context.Context, in *FindCooldownRequest, opts ...grpc.CallOption) (*wrapperspb.BoolValue, error) GetStatistics(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*GetStatisticsResponse, error) IsArchievementUnlocked(ctx context.Context, in *wrapperspb.StringValue, opts ...grpc.CallOption) (*emptypb.Empty, error) UnlockArchievement(ctx context.Context, in *UnlockArchievementRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) AssignRandomSpawnsToPCs(ctx context.Context, in *AssignRandomSpawnsToPCsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ExternalServerServiceClient is the client API for ExternalServerService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewExternalServerServiceClient ¶
func NewExternalServerServiceClient(cc grpc.ClientConnInterface) ExternalServerServiceClient
type ExternalServerServiceServer ¶
type ExternalServerServiceServer interface { InsertOrUpdateWorld(context.Context, *World) (*emptypb.Empty, error) InsertOrUpdateMap(context.Context, *Map) (*emptypb.Empty, error) InsertOrUpdatePC(context.Context, *PC) (*emptypb.Empty, error) InsertOrUpdateElement(context.Context, *Element) (*emptypb.Empty, error) InsertOrUpdateWeapon(context.Context, *Weapon) (*emptypb.Empty, error) InsertOrUpdateAmmo(context.Context, *Ammo) (*emptypb.Empty, error) InsertOrUpdateCooldown(context.Context, *InsertOrUpdateCooldownRequest) (*emptypb.Empty, error) DeleteWorld(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error) DeletePC(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error) DeleteCooldown(context.Context, *DeleteCooldownRequest) (*emptypb.Empty, error) FindWorldObjects(context.Context, *wrapperspb.StringValue) (*FindWorldObjectsResponse, error) FindCooldown(context.Context, *FindCooldownRequest) (*wrapperspb.BoolValue, error) GetStatistics(context.Context, *wrapperspb.StringValue) (*GetStatisticsResponse, error) IsArchievementUnlocked(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error) UnlockArchievement(context.Context, *UnlockArchievementRequest) (*emptypb.Empty, error) AssignRandomSpawnsToPCs(context.Context, *AssignRandomSpawnsToPCsRequest) (*emptypb.Empty, error) }
ExternalServerServiceServer is the server API for ExternalServerService service.
type FindCooldownRequest ¶
type FindCooldownRequest 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 (*FindCooldownRequest) Descriptor
deprecated
func (*FindCooldownRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindCooldownRequest.ProtoReflect.Descriptor instead.
func (*FindCooldownRequest) GetPcId ¶
func (x *FindCooldownRequest) GetPcId() string
func (*FindCooldownRequest) GetWorldId ¶
func (x *FindCooldownRequest) GetWorldId() string
func (*FindCooldownRequest) ProtoMessage ¶
func (*FindCooldownRequest) ProtoMessage()
func (*FindCooldownRequest) ProtoReflect ¶
func (x *FindCooldownRequest) ProtoReflect() protoreflect.Message
func (*FindCooldownRequest) Reset ¶
func (x *FindCooldownRequest) Reset()
func (*FindCooldownRequest) String ¶
func (x *FindCooldownRequest) String() string
type FindWorldObjectsResponse ¶
type FindWorldObjectsResponse struct { World *World `protobuf:"bytes,1,opt,name=world,proto3" json:"world,omitempty"` WorldMap *Map `protobuf:"bytes,2,opt,name=worldMap,proto3" json:"worldMap,omitempty"` PCs []*PC `protobuf:"bytes,3,rep,name=PCs,proto3" json:"PCs,omitempty"` Elements []*Element `protobuf:"bytes,4,rep,name=elements,proto3" json:"elements,omitempty"` Weapons []*Weapon `protobuf:"bytes,5,rep,name=weapons,proto3" json:"weapons,omitempty"` Ammos []*Ammo `protobuf:"bytes,6,rep,name=ammos,proto3" json:"ammos,omitempty"` // contains filtered or unexported fields }
func (*FindWorldObjectsResponse) Descriptor
deprecated
func (*FindWorldObjectsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FindWorldObjectsResponse.ProtoReflect.Descriptor instead.
func (*FindWorldObjectsResponse) GetAmmos ¶
func (x *FindWorldObjectsResponse) GetAmmos() []*Ammo
func (*FindWorldObjectsResponse) GetElements ¶
func (x *FindWorldObjectsResponse) GetElements() []*Element
func (*FindWorldObjectsResponse) GetPCs ¶
func (x *FindWorldObjectsResponse) GetPCs() []*PC
func (*FindWorldObjectsResponse) GetWeapons ¶
func (x *FindWorldObjectsResponse) GetWeapons() []*Weapon
func (*FindWorldObjectsResponse) GetWorld ¶
func (x *FindWorldObjectsResponse) GetWorld() *World
func (*FindWorldObjectsResponse) GetWorldMap ¶
func (x *FindWorldObjectsResponse) GetWorldMap() *Map
func (*FindWorldObjectsResponse) ProtoMessage ¶
func (*FindWorldObjectsResponse) ProtoMessage()
func (*FindWorldObjectsResponse) ProtoReflect ¶
func (x *FindWorldObjectsResponse) ProtoReflect() protoreflect.Message
func (*FindWorldObjectsResponse) Reset ¶
func (x *FindWorldObjectsResponse) Reset()
func (*FindWorldObjectsResponse) String ¶
func (x *FindWorldObjectsResponse) String() string
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"` AFKTimeout int64 `protobuf:"varint,4,opt,name=AFKTimeout,proto3" json:"AFKTimeout,omitempty"` // contains filtered or unexported fields }
func (*GameSettings) Descriptor
deprecated
func (*GameSettings) Descriptor() ([]byte, []int)
Deprecated: Use GameSettings.ProtoReflect.Descriptor instead.
func (*GameSettings) GetAFKTimeout ¶
func (x *GameSettings) GetAFKTimeout() int64
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 InsertOrUpdateCooldownRequest ¶
type InsertOrUpdateCooldownRequest 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 (*InsertOrUpdateCooldownRequest) Descriptor
deprecated
func (*InsertOrUpdateCooldownRequest) Descriptor() ([]byte, []int)
Deprecated: Use InsertOrUpdateCooldownRequest.ProtoReflect.Descriptor instead.
func (*InsertOrUpdateCooldownRequest) GetPcId ¶
func (x *InsertOrUpdateCooldownRequest) GetPcId() string
func (*InsertOrUpdateCooldownRequest) GetWorldId ¶
func (x *InsertOrUpdateCooldownRequest) GetWorldId() string
func (*InsertOrUpdateCooldownRequest) ProtoMessage ¶
func (*InsertOrUpdateCooldownRequest) ProtoMessage()
func (*InsertOrUpdateCooldownRequest) ProtoReflect ¶
func (x *InsertOrUpdateCooldownRequest) ProtoReflect() protoreflect.Message
func (*InsertOrUpdateCooldownRequest) Reset ¶
func (x *InsertOrUpdateCooldownRequest) Reset()
func (*InsertOrUpdateCooldownRequest) String ¶
func (x *InsertOrUpdateCooldownRequest) 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 []*PositionInt `protobuf:"bytes,2,rep,name=spawns,proto3" json:"spawns,omitempty"` // contains filtered or unexported fields }
func (*Map) Descriptor
deprecated
func (*Map) GetSpawns ¶
func (x *Map) GetSpawns() []*PositionInt
func (*Map) ProtoMessage ¶
func (*Map) ProtoMessage()
func (*Map) ProtoReflect ¶
func (x *Map) ProtoReflect() protoreflect.Message
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"` LastActivity int64 `protobuf:"varint,5,opt,name=lastActivity,proto3" json:"lastActivity,omitempty"` // contains filtered or unexported fields }
func (*PC) Descriptor
deprecated
func (*PC) GetLastActivity ¶
func (*PC) GetLobbyNumber ¶
func (*PC) GetUsername ¶
func (*PC) ProtoMessage ¶
func (*PC) ProtoMessage()
func (*PC) ProtoReflect ¶
func (x *PC) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Physics) ProtoMessage()
func (*Physics) ProtoReflect ¶
func (x *Physics) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Position) ProtoMessage()
func (*Position) ProtoReflect ¶
func (x *Position) ProtoReflect() protoreflect.Message
type PositionInt ¶
type PositionInt struct { X int64 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"` Y int64 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"` // contains filtered or unexported fields }
func (*PositionInt) Descriptor
deprecated
func (*PositionInt) Descriptor() ([]byte, []int)
Deprecated: Use PositionInt.ProtoReflect.Descriptor instead.
func (*PositionInt) GetX ¶
func (x *PositionInt) GetX() int64
func (*PositionInt) GetY ¶
func (x *PositionInt) GetY() int64
func (*PositionInt) ProtoMessage ¶
func (*PositionInt) ProtoMessage()
func (*PositionInt) ProtoReflect ¶
func (x *PositionInt) ProtoReflect() protoreflect.Message
func (*PositionInt) Reset ¶
func (x *PositionInt) Reset()
func (*PositionInt) String ¶
func (x *PositionInt) String() string
type Regime ¶
type Regime int32
func (Regime) Descriptor ¶
func (Regime) Descriptor() protoreflect.EnumDescriptor
func (Regime) EnumDescriptor
deprecated
func (Regime) Number ¶
func (x Regime) Number() protoreflect.EnumNumber
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) ProtoMessage ¶
func (*Skin) ProtoMessage()
func (*Skin) ProtoReflect ¶
func (x *Skin) ProtoReflect() protoreflect.Message
type UnimplementedExternalServerServiceServer ¶
type UnimplementedExternalServerServiceServer struct { }
UnimplementedExternalServerServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedExternalServerServiceServer) AssignRandomSpawnsToPCs ¶
func (*UnimplementedExternalServerServiceServer) AssignRandomSpawnsToPCs(context.Context, *AssignRandomSpawnsToPCsRequest) (*emptypb.Empty, error)
func (*UnimplementedExternalServerServiceServer) DeleteCooldown ¶
func (*UnimplementedExternalServerServiceServer) DeleteCooldown(context.Context, *DeleteCooldownRequest) (*emptypb.Empty, error)
func (*UnimplementedExternalServerServiceServer) DeletePC ¶
func (*UnimplementedExternalServerServiceServer) DeletePC(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*UnimplementedExternalServerServiceServer) DeleteWorld ¶
func (*UnimplementedExternalServerServiceServer) DeleteWorld(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*UnimplementedExternalServerServiceServer) FindCooldown ¶
func (*UnimplementedExternalServerServiceServer) FindCooldown(context.Context, *FindCooldownRequest) (*wrapperspb.BoolValue, error)
func (*UnimplementedExternalServerServiceServer) FindWorldObjects ¶
func (*UnimplementedExternalServerServiceServer) FindWorldObjects(context.Context, *wrapperspb.StringValue) (*FindWorldObjectsResponse, error)
func (*UnimplementedExternalServerServiceServer) GetStatistics ¶
func (*UnimplementedExternalServerServiceServer) GetStatistics(context.Context, *wrapperspb.StringValue) (*GetStatisticsResponse, error)
func (*UnimplementedExternalServerServiceServer) InsertOrUpdateAmmo ¶
func (*UnimplementedExternalServerServiceServer) InsertOrUpdateCooldown ¶
func (*UnimplementedExternalServerServiceServer) InsertOrUpdateCooldown(context.Context, *InsertOrUpdateCooldownRequest) (*emptypb.Empty, error)
func (*UnimplementedExternalServerServiceServer) InsertOrUpdateElement ¶
func (*UnimplementedExternalServerServiceServer) InsertOrUpdateMap ¶
func (*UnimplementedExternalServerServiceServer) InsertOrUpdatePC ¶
func (*UnimplementedExternalServerServiceServer) InsertOrUpdateWeapon ¶
func (*UnimplementedExternalServerServiceServer) InsertOrUpdateWorld ¶
func (*UnimplementedExternalServerServiceServer) IsArchievementUnlocked ¶
func (*UnimplementedExternalServerServiceServer) IsArchievementUnlocked(context.Context, *wrapperspb.StringValue) (*emptypb.Empty, error)
func (*UnimplementedExternalServerServiceServer) UnlockArchievement ¶
func (*UnimplementedExternalServerServiceServer) UnlockArchievement(context.Context, *UnlockArchievementRequest) (*emptypb.Empty, error)
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 (x *UnlockArchievementRequest) ProtoReflect() protoreflect.Message
func (*UnlockArchievementRequest) Reset ¶
func (x *UnlockArchievementRequest) Reset()
func (*UnlockArchievementRequest) String ¶
func (x *UnlockArchievementRequest) String() string
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) ProtoMessage ¶
func (*Weapon) ProtoMessage()
func (*Weapon) ProtoReflect ¶
func (x *Weapon) ProtoReflect() protoreflect.Message
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) GetGameSettings ¶
func (x *World) GetGameSettings() *GameSettings
func (*World) ProtoMessage ¶
func (*World) ProtoMessage()
func (*World) ProtoReflect ¶
func (x *World) ProtoReflect() protoreflect.Message