api

package
v0.0.0-...-193d145 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package api is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	DamageType_name = map[int32]string{
		0: "none",
		1: "slash",
		2: "pierce",
		3: "fire",
		4: "poison",
		5: "electric",
	}
	DamageType_value = map[string]int32{
		"none":     0,
		"slash":    1,
		"pierce":   2,
		"fire":     3,
		"poison":   4,
		"electric": 5,
	}
)

Enum value maps for DamageType.

View Source
var (
	Skill_Target_name = map[int32]string{
		0: "none",
		1: "position",
		2: "character",
	}
	Skill_Target_value = map[string]int32{
		"none":      0,
		"position":  1,
		"character": 2,
	}
)

Enum value maps for Skill_Target.

View Source
var (
	Item_Type_name = map[int32]string{
		0: "head",
		1: "mainHand",
		2: "offHand",
		3: "body",
		4: "legs",
		5: "neck",
	}
	Item_Type_value = map[string]int32{
		"head":     0,
		"mainHand": 1,
		"offHand":  2,
		"body":     3,
		"legs":     4,
		"neck":     5,
	}
)

Enum value maps for Item_Type.

View Source
var (
	Event_Type_name = map[int32]string{
		0: "DAMAGE",
		1: "MESSAGE",
		2: "BUY",
		3: "EQUIP",
		4: "ERROR",
		5: "SKILL",
		6: "DEATH",
		7: "SCORE",
		8: "MOVE",
		9: "AOE",
	}
	Event_Type_value = map[string]int32{
		"DAMAGE":  0,
		"MESSAGE": 1,
		"BUY":     2,
		"EQUIP":   3,
		"ERROR":   4,
		"SKILL":   5,
		"DEATH":   6,
		"SCORE":   7,
		"MOVE":    8,
		"AOE":     9,
	}
)

Enum value maps for Event_Type.

View Source
var DungeonsAndTrolls_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dungeonsandtrolls.DungeonsAndTrolls",
	HandlerType: (*DungeonsAndTrollsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Game",
			Handler:    _DungeonsAndTrolls_Game_Handler,
		},
		{
			MethodName: "GameLevel",
			Handler:    _DungeonsAndTrolls_GameLevel_Handler,
		},
		{
			MethodName: "Players",
			Handler:    _DungeonsAndTrolls_Players_Handler,
		},
		{
			MethodName: "Levels",
			Handler:    _DungeonsAndTrolls_Levels_Handler,
		},
		{
			MethodName: "Register",
			Handler:    _DungeonsAndTrolls_Register_Handler,
		},
		{
			MethodName: "Buy",
			Handler:    _DungeonsAndTrolls_Buy_Handler,
		},
		{
			MethodName: "PickUp",
			Handler:    _DungeonsAndTrolls_PickUp_Handler,
		},
		{
			MethodName: "Move",
			Handler:    _DungeonsAndTrolls_Move_Handler,
		},
		{
			MethodName: "Respawn",
			Handler:    _DungeonsAndTrolls_Respawn_Handler,
		},
		{
			MethodName: "Skill",
			Handler:    _DungeonsAndTrolls_Skill_Handler,
		},
		{
			MethodName: "Yell",
			Handler:    _DungeonsAndTrolls_Yell_Handler,
		},
		{
			MethodName: "Commands",
			Handler:    _DungeonsAndTrolls_Commands_Handler,
		},
		{
			MethodName: "MonstersCommands",
			Handler:    _DungeonsAndTrolls_MonstersCommands_Handler,
		},
		{
			MethodName: "AssignSkillPoints",
			Handler:    _DungeonsAndTrolls_AssignSkillPoints_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/dungeonsandtrolls.proto",
}

DungeonsAndTrolls_ServiceDesc is the grpc.ServiceDesc for DungeonsAndTrolls 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_proto_dungeonsandtrolls_proto protoreflect.FileDescriptor

Functions

func RegisterDungeonsAndTrollsHandler

func RegisterDungeonsAndTrollsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDungeonsAndTrollsHandler registers the http handlers for service DungeonsAndTrolls to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDungeonsAndTrollsHandlerClient

func RegisterDungeonsAndTrollsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DungeonsAndTrollsClient) error

RegisterDungeonsAndTrollsHandlerClient registers the http handlers for service DungeonsAndTrolls to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DungeonsAndTrollsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DungeonsAndTrollsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DungeonsAndTrollsClient" to call the correct interceptors.

func RegisterDungeonsAndTrollsHandlerFromEndpoint

func RegisterDungeonsAndTrollsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDungeonsAndTrollsHandlerFromEndpoint is same as RegisterDungeonsAndTrollsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDungeonsAndTrollsHandlerServer

func RegisterDungeonsAndTrollsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DungeonsAndTrollsServer) error

RegisterDungeonsAndTrollsHandlerServer registers the http handlers for service DungeonsAndTrolls to "mux". UnaryRPC :call DungeonsAndTrollsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDungeonsAndTrollsHandlerFromEndpoint instead.

func RegisterDungeonsAndTrollsServer

func RegisterDungeonsAndTrollsServer(s grpc.ServiceRegistrar, srv DungeonsAndTrollsServer)

Types

type Attributes

type Attributes struct {
	Strength       *float32 `protobuf:"fixed32,1,opt,name=strength,proto3,oneof" json:"strength,omitempty"`
	Dexterity      *float32 `protobuf:"fixed32,2,opt,name=dexterity,proto3,oneof" json:"dexterity,omitempty"`
	Intelligence   *float32 `protobuf:"fixed32,3,opt,name=intelligence,proto3,oneof" json:"intelligence,omitempty"`
	Willpower      *float32 `protobuf:"fixed32,4,opt,name=willpower,proto3,oneof" json:"willpower,omitempty"`
	Constitution   *float32 `protobuf:"fixed32,5,opt,name=constitution,proto3,oneof" json:"constitution,omitempty"`
	SlashResist    *float32 `protobuf:"fixed32,6,opt,name=slash_resist,json=slashResist,proto3,oneof" json:"slash_resist,omitempty"`
	PierceResist   *float32 `protobuf:"fixed32,7,opt,name=pierce_resist,json=pierceResist,proto3,oneof" json:"pierce_resist,omitempty"`
	FireResist     *float32 `protobuf:"fixed32,8,opt,name=fire_resist,json=fireResist,proto3,oneof" json:"fire_resist,omitempty"`
	PoisonResist   *float32 `protobuf:"fixed32,9,opt,name=poison_resist,json=poisonResist,proto3,oneof" json:"poison_resist,omitempty"`
	ElectricResist *float32 `protobuf:"fixed32,10,opt,name=electric_resist,json=electricResist,proto3,oneof" json:"electric_resist,omitempty"`
	Life           *float32 `protobuf:"fixed32,11,opt,name=life,proto3,oneof" json:"life,omitempty"`
	Stamina        *float32 `protobuf:"fixed32,12,opt,name=stamina,proto3,oneof" json:"stamina,omitempty"`
	Mana           *float32 `protobuf:"fixed32,13,opt,name=mana,proto3,oneof" json:"mana,omitempty"`
	Constant       *float32 `protobuf:"fixed32,14,opt,name=constant,proto3,oneof" json:"constant,omitempty"`
	// contains filtered or unexported fields
}

func (*Attributes) Descriptor deprecated

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

Deprecated: Use Attributes.ProtoReflect.Descriptor instead.

func (*Attributes) GetConstant

func (x *Attributes) GetConstant() float32

func (*Attributes) GetConstitution

func (x *Attributes) GetConstitution() float32

func (*Attributes) GetDexterity

func (x *Attributes) GetDexterity() float32

func (*Attributes) GetElectricResist

func (x *Attributes) GetElectricResist() float32

func (*Attributes) GetFireResist

func (x *Attributes) GetFireResist() float32

func (*Attributes) GetIntelligence

func (x *Attributes) GetIntelligence() float32

func (*Attributes) GetLife

func (x *Attributes) GetLife() float32

func (*Attributes) GetMana

func (x *Attributes) GetMana() float32

func (*Attributes) GetPierceResist

func (x *Attributes) GetPierceResist() float32

func (*Attributes) GetPoisonResist

func (x *Attributes) GetPoisonResist() float32

func (*Attributes) GetSlashResist

func (x *Attributes) GetSlashResist() float32

func (*Attributes) GetStamina

func (x *Attributes) GetStamina() float32

func (*Attributes) GetStrength

func (x *Attributes) GetStrength() float32

func (*Attributes) GetWillpower

func (x *Attributes) GetWillpower() float32

func (*Attributes) ProtoMessage

func (*Attributes) ProtoMessage()

func (*Attributes) ProtoReflect

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

func (*Attributes) Reset

func (x *Attributes) Reset()

func (*Attributes) String

func (x *Attributes) String() string

type AttributesWithParams

type AttributesWithParams struct {
	Attributes *Attributes `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
	Blocking   *bool       `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributesWithParams) Descriptor deprecated

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

Deprecated: Use AttributesWithParams.ProtoReflect.Descriptor instead.

func (*AttributesWithParams) GetAttributes

func (x *AttributesWithParams) GetAttributes() *Attributes

func (*AttributesWithParams) GetBlocking

func (x *AttributesWithParams) GetBlocking() bool

func (*AttributesWithParams) ProtoMessage

func (*AttributesWithParams) ProtoMessage()

func (*AttributesWithParams) ProtoReflect

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

func (*AttributesWithParams) Reset

func (x *AttributesWithParams) Reset()

func (*AttributesWithParams) String

func (x *AttributesWithParams) String() string

type AvailableLevels

type AvailableLevels struct {
	Levels []int32 `protobuf:"varint,1,rep,packed,name=levels,proto3" json:"levels,omitempty"`
	// contains filtered or unexported fields
}

func (*AvailableLevels) Descriptor deprecated

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

Deprecated: Use AvailableLevels.ProtoReflect.Descriptor instead.

func (*AvailableLevels) GetLevels

func (x *AvailableLevels) GetLevels() []int32

func (*AvailableLevels) ProtoMessage

func (*AvailableLevels) ProtoMessage()

func (*AvailableLevels) ProtoReflect

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

func (*AvailableLevels) Reset

func (x *AvailableLevels) Reset()

func (*AvailableLevels) String

func (x *AvailableLevels) String() string

type Character

type Character struct {
	Id              string       `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name            string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Attributes      *Attributes  `protobuf:"bytes,3,opt,name=attributes,proto3" json:"attributes,omitempty"`
	Money           int32        `protobuf:"varint,4,opt,name=money,proto3" json:"money,omitempty"`
	Equip           []*Item      `protobuf:"bytes,5,rep,name=equip,proto3" json:"equip,omitempty"`
	Score           float32      `protobuf:"fixed32,6,opt,name=score,proto3" json:"score,omitempty"`
	SkillPoints     float32      `protobuf:"fixed32,7,opt,name=skill_points,json=skillPoints,proto3" json:"skill_points,omitempty"`
	Effects         []*Effect    `protobuf:"bytes,9,rep,name=effects,proto3" json:"effects,omitempty"`
	MaxAttributes   *Attributes  `protobuf:"bytes,10,opt,name=max_attributes,json=maxAttributes,proto3" json:"max_attributes,omitempty"`
	LastDamageTaken int32        `protobuf:"varint,11,opt,name=last_damage_taken,json=lastDamageTaken,proto3" json:"last_damage_taken,omitempty"`
	Coordinates     *Coordinates `protobuf:"bytes,12,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
	Stun            *Stun        `protobuf:"bytes,13,opt,name=stun,proto3" json:"stun,omitempty"`
	// contains filtered or unexported fields
}

func (*Character) Descriptor deprecated

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

Deprecated: Use Character.ProtoReflect.Descriptor instead.

func (*Character) GetAttributes

func (x *Character) GetAttributes() *Attributes

func (*Character) GetCoordinates

func (x *Character) GetCoordinates() *Coordinates

func (*Character) GetEffects

func (x *Character) GetEffects() []*Effect

func (*Character) GetEquip

func (x *Character) GetEquip() []*Item

func (*Character) GetId

func (x *Character) GetId() string

func (*Character) GetLastDamageTaken

func (x *Character) GetLastDamageTaken() int32

func (*Character) GetMaxAttributes

func (x *Character) GetMaxAttributes() *Attributes

func (*Character) GetMoney

func (x *Character) GetMoney() int32

func (*Character) GetName

func (x *Character) GetName() string

func (*Character) GetScore

func (x *Character) GetScore() float32

func (*Character) GetSkillPoints

func (x *Character) GetSkillPoints() float32

func (*Character) GetStun

func (x *Character) GetStun() *Stun

func (*Character) ProtoMessage

func (*Character) ProtoMessage()

func (*Character) ProtoReflect

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

func (*Character) Reset

func (x *Character) Reset()

func (*Character) String

func (x *Character) String() string

type CommandsBatch

type CommandsBatch struct {
	Buy               *Identifiers `protobuf:"bytes,1,opt,name=buy,proto3,oneof" json:"buy,omitempty"`
	PickUp            *Identifier  `protobuf:"bytes,2,opt,name=pick_up,json=pickUp,proto3,oneof" json:"pick_up,omitempty"`
	Move              *Position    `protobuf:"bytes,3,opt,name=move,proto3,oneof" json:"move,omitempty"`
	Skill             *SkillUse    `protobuf:"bytes,4,opt,name=skill,proto3,oneof" json:"skill,omitempty"`
	Yell              *Message     `protobuf:"bytes,6,opt,name=yell,proto3,oneof" json:"yell,omitempty"`
	AssignSkillPoints *Attributes  `protobuf:"bytes,7,opt,name=assign_skill_points,json=assignSkillPoints,proto3,oneof" json:"assign_skill_points,omitempty"`
	// contains filtered or unexported fields
}

func (*CommandsBatch) Descriptor deprecated

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

Deprecated: Use CommandsBatch.ProtoReflect.Descriptor instead.

func (*CommandsBatch) GetAssignSkillPoints

func (x *CommandsBatch) GetAssignSkillPoints() *Attributes

func (*CommandsBatch) GetBuy

func (x *CommandsBatch) GetBuy() *Identifiers

func (*CommandsBatch) GetMove

func (x *CommandsBatch) GetMove() *Position

func (*CommandsBatch) GetPickUp

func (x *CommandsBatch) GetPickUp() *Identifier

func (*CommandsBatch) GetSkill

func (x *CommandsBatch) GetSkill() *SkillUse

func (*CommandsBatch) GetYell

func (x *CommandsBatch) GetYell() *Message

func (*CommandsBatch) ProtoMessage

func (*CommandsBatch) ProtoMessage()

func (*CommandsBatch) ProtoReflect

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

func (*CommandsBatch) Reset

func (x *CommandsBatch) Reset()

func (*CommandsBatch) String

func (x *CommandsBatch) String() string

type CommandsBatchWithParams

type CommandsBatchWithParams struct {
	CommandsBatch *CommandsBatch `protobuf:"bytes,1,opt,name=commands_batch,json=commandsBatch,proto3" json:"commands_batch,omitempty"`
	Blocking      *bool          `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*CommandsBatchWithParams) Descriptor deprecated

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

Deprecated: Use CommandsBatchWithParams.ProtoReflect.Descriptor instead.

func (*CommandsBatchWithParams) GetBlocking

func (x *CommandsBatchWithParams) GetBlocking() bool

func (*CommandsBatchWithParams) GetCommandsBatch

func (x *CommandsBatchWithParams) GetCommandsBatch() *CommandsBatch

func (*CommandsBatchWithParams) ProtoMessage

func (*CommandsBatchWithParams) ProtoMessage()

func (*CommandsBatchWithParams) ProtoReflect

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

func (*CommandsBatchWithParams) Reset

func (x *CommandsBatchWithParams) Reset()

func (*CommandsBatchWithParams) String

func (x *CommandsBatchWithParams) String() string

type CommandsForMonsters

type CommandsForMonsters struct {
	Commands map[string]*CommandsBatch `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CommandsForMonsters) Descriptor deprecated

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

Deprecated: Use CommandsForMonsters.ProtoReflect.Descriptor instead.

func (*CommandsForMonsters) GetCommands

func (x *CommandsForMonsters) GetCommands() map[string]*CommandsBatch

func (*CommandsForMonsters) ProtoMessage

func (*CommandsForMonsters) ProtoMessage()

func (*CommandsForMonsters) ProtoReflect

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

func (*CommandsForMonsters) Reset

func (x *CommandsForMonsters) Reset()

func (*CommandsForMonsters) String

func (x *CommandsForMonsters) String() string

type CommandsForMonstersWithParams

type CommandsForMonstersWithParams struct {
	CommandsForMonsters *CommandsForMonsters `protobuf:"bytes,1,opt,name=commands_for_monsters,json=commandsForMonsters,proto3" json:"commands_for_monsters,omitempty"`
	Blocking            *bool                `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*CommandsForMonstersWithParams) Descriptor deprecated

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

Deprecated: Use CommandsForMonstersWithParams.ProtoReflect.Descriptor instead.

func (*CommandsForMonstersWithParams) GetBlocking

func (x *CommandsForMonstersWithParams) GetBlocking() bool

func (*CommandsForMonstersWithParams) GetCommandsForMonsters

func (x *CommandsForMonstersWithParams) GetCommandsForMonsters() *CommandsForMonsters

func (*CommandsForMonstersWithParams) ProtoMessage

func (*CommandsForMonstersWithParams) ProtoMessage()

func (*CommandsForMonstersWithParams) ProtoReflect

func (*CommandsForMonstersWithParams) Reset

func (x *CommandsForMonstersWithParams) Reset()

func (*CommandsForMonstersWithParams) String

type Coordinates

type Coordinates struct {
	Level     int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	PositionX int32 `protobuf:"varint,2,opt,name=position_x,json=positionX,proto3" json:"position_x,omitempty"`
	PositionY int32 `protobuf:"varint,3,opt,name=position_y,json=positionY,proto3" json:"position_y,omitempty"`
	// contains filtered or unexported fields
}

func (*Coordinates) Descriptor deprecated

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

Deprecated: Use Coordinates.ProtoReflect.Descriptor instead.

func (*Coordinates) GetLevel

func (x *Coordinates) GetLevel() int32

func (*Coordinates) GetPositionX

func (x *Coordinates) GetPositionX() int32

func (*Coordinates) GetPositionY

func (x *Coordinates) GetPositionY() int32

func (*Coordinates) ProtoMessage

func (*Coordinates) ProtoMessage()

func (*Coordinates) ProtoReflect

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

func (*Coordinates) Reset

func (x *Coordinates) Reset()

func (*Coordinates) String

func (x *Coordinates) String() string

type DamageType

type DamageType int32
const (
	DamageType_none     DamageType = 0
	DamageType_slash    DamageType = 1
	DamageType_pierce   DamageType = 2
	DamageType_fire     DamageType = 3
	DamageType_poison   DamageType = 4
	DamageType_electric DamageType = 5
)

func (DamageType) Descriptor

func (DamageType) Descriptor() protoreflect.EnumDescriptor

func (DamageType) Enum

func (x DamageType) Enum() *DamageType

func (DamageType) EnumDescriptor deprecated

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

Deprecated: Use DamageType.Descriptor instead.

func (DamageType) Number

func (x DamageType) Number() protoreflect.EnumNumber

func (DamageType) String

func (x DamageType) String() string

func (DamageType) Type

type Decoration

type Decoration struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Icon string `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*Decoration) Descriptor deprecated

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

Deprecated: Use Decoration.ProtoReflect.Descriptor instead.

func (*Decoration) GetIcon

func (x *Decoration) GetIcon() string

func (*Decoration) GetName

func (x *Decoration) GetName() string

func (*Decoration) GetType

func (x *Decoration) GetType() string

func (*Decoration) ProtoMessage

func (*Decoration) ProtoMessage()

func (*Decoration) ProtoReflect

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

func (*Decoration) Reset

func (x *Decoration) Reset()

func (*Decoration) String

func (x *Decoration) String() string

type Droppable

type Droppable struct {

	// Types that are assignable to Data:
	//
	//	*Droppable_Skill
	//	*Droppable_Item
	//	*Droppable_Monster
	//	*Droppable_Decoration
	//	*Droppable_Waypoint
	//	*Droppable_Key
	Data isDroppable_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Droppable) Descriptor deprecated

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

Deprecated: Use Droppable.ProtoReflect.Descriptor instead.

func (*Droppable) GetData

func (m *Droppable) GetData() isDroppable_Data

func (*Droppable) GetDecoration

func (x *Droppable) GetDecoration() *Decoration

func (*Droppable) GetItem

func (x *Droppable) GetItem() *Item

func (*Droppable) GetKey

func (x *Droppable) GetKey() *Key

func (*Droppable) GetMonster

func (x *Droppable) GetMonster() *Monster

func (*Droppable) GetSkill

func (x *Droppable) GetSkill() *Skill

func (*Droppable) GetWaypoint

func (x *Droppable) GetWaypoint() *Waypoint

func (*Droppable) ProtoMessage

func (*Droppable) ProtoMessage()

func (*Droppable) ProtoReflect

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

func (*Droppable) Reset

func (x *Droppable) Reset()

func (*Droppable) String

func (x *Droppable) String() string

type Droppable_Decoration

type Droppable_Decoration struct {
	Decoration *Decoration `protobuf:"bytes,4,opt,name=decoration,proto3,oneof"`
}

type Droppable_Item

type Droppable_Item struct {
	Item *Item `protobuf:"bytes,2,opt,name=item,proto3,oneof"`
}

type Droppable_Key

type Droppable_Key struct {
	Key *Key `protobuf:"bytes,6,opt,name=key,proto3,oneof"`
}

type Droppable_Monster

type Droppable_Monster struct {
	Monster *Monster `protobuf:"bytes,3,opt,name=monster,proto3,oneof"`
}

type Droppable_Skill

type Droppable_Skill struct {
	Skill *Skill `protobuf:"bytes,1,opt,name=skill,proto3,oneof"`
}

type Droppable_Waypoint

type Droppable_Waypoint struct {
	Waypoint *Waypoint `protobuf:"bytes,5,opt,name=waypoint,proto3,oneof"`
}

type DungeonsAndTrollsClient

type DungeonsAndTrollsClient interface {
	Game(ctx context.Context, in *GameStateParams, opts ...grpc.CallOption) (*GameState, error)
	GameLevel(ctx context.Context, in *GameStateParamsLevel, opts ...grpc.CallOption) (*GameState, error)
	Players(ctx context.Context, in *PlayersParams, opts ...grpc.CallOption) (*PlayersInfo, error)
	Levels(ctx context.Context, in *PlayersParams, opts ...grpc.CallOption) (*AvailableLevels, error)
	Register(ctx context.Context, in *User, opts ...grpc.CallOption) (*Registration, error)
	Buy(ctx context.Context, in *IdentifiersWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
	PickUp(ctx context.Context, in *IdentifierWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Move(ctx context.Context, in *PositionWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Respawn(ctx context.Context, in *RespawnWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Skill(ctx context.Context, in *SkillUseWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Yell(ctx context.Context, in *MessageWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Commands(ctx context.Context, in *CommandsBatchWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
	MonstersCommands(ctx context.Context, in *CommandsForMonstersWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
	AssignSkillPoints(ctx context.Context, in *AttributesWithParams, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

DungeonsAndTrollsClient is the client API for DungeonsAndTrolls 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 DungeonsAndTrollsServer

DungeonsAndTrollsServer is the server API for DungeonsAndTrolls service. All implementations must embed UnimplementedDungeonsAndTrollsServer for forward compatibility

type Effect

type Effect struct {
	DamageAmount float32     `protobuf:"fixed32,1,opt,name=damage_amount,json=damageAmount,proto3" json:"damage_amount,omitempty"`
	DamageType   DamageType  `` /* 126-byte string literal not displayed */
	Effects      *Attributes `protobuf:"bytes,3,opt,name=effects,proto3" json:"effects,omitempty"`
	Duration     int32       `protobuf:"varint,4,opt,name=duration,proto3" json:"duration,omitempty"`
	XCasterId    *string     `protobuf:"bytes,5,opt,name=_caster_id,json=CasterId,proto3,oneof" json:"_caster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Effect) Descriptor deprecated

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

Deprecated: Use Effect.ProtoReflect.Descriptor instead.

func (*Effect) GetDamageAmount

func (x *Effect) GetDamageAmount() float32

func (*Effect) GetDamageType

func (x *Effect) GetDamageType() DamageType

func (*Effect) GetDuration

func (x *Effect) GetDuration() int32

func (*Effect) GetEffects

func (x *Effect) GetEffects() *Attributes

func (*Effect) GetXCasterId

func (x *Effect) GetXCasterId() string

func (*Effect) ProtoMessage

func (*Effect) ProtoMessage()

func (*Effect) ProtoReflect

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

func (*Effect) Reset

func (x *Effect) Reset()

func (*Effect) String

func (x *Effect) String() string

type Event

type Event struct {
	Message     string       `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Type        *Event_Type  `protobuf:"varint,2,opt,name=type,proto3,enum=dungeonsandtrolls.Event_Type,oneof" json:"type,omitempty"`
	Coordinates *Coordinates `protobuf:"bytes,3,opt,name=coordinates,proto3,oneof" json:"coordinates,omitempty"`
	Damage      *float32     `protobuf:"fixed32,4,opt,name=damage,proto3,oneof" json:"damage,omitempty"`
	PlayerId    *string      `protobuf:"bytes,5,opt,name=player_id,json=playerId,proto3,oneof" json:"player_id,omitempty"`
	SkillName   *string      `protobuf:"bytes,6,opt,name=skill_name,json=skillName,proto3,oneof" json:"skill_name,omitempty"`
	Radius      *float32     `protobuf:"fixed32,7,opt,name=radius,proto3,oneof" json:"radius,omitempty"`
	Target      *Coordinates `protobuf:"bytes,8,opt,name=target,proto3,oneof" json:"target,omitempty"`
	Skill       *Skill       `protobuf:"bytes,9,opt,name=skill,proto3,oneof" json:"skill,omitempty"`
	IsRanged    *bool        `protobuf:"varint,10,opt,name=is_ranged,json=isRanged,proto3,oneof" json:"is_ranged,omitempty"`
	// contains filtered or unexported fields
}

func (*Event) Descriptor deprecated

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

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetCoordinates

func (x *Event) GetCoordinates() *Coordinates

func (*Event) GetDamage

func (x *Event) GetDamage() float32

func (*Event) GetIsRanged

func (x *Event) GetIsRanged() bool

func (*Event) GetMessage

func (x *Event) GetMessage() string

func (*Event) GetPlayerId

func (x *Event) GetPlayerId() string

func (*Event) GetRadius

func (x *Event) GetRadius() float32

func (*Event) GetSkill

func (x *Event) GetSkill() *Skill

func (*Event) GetSkillName

func (x *Event) GetSkillName() string

func (*Event) GetTarget

func (x *Event) GetTarget() *Coordinates

func (*Event) GetType

func (x *Event) GetType() Event_Type

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) ProtoReflect

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

type Event_Type

type Event_Type int32
const (
	Event_DAMAGE  Event_Type = 0
	Event_MESSAGE Event_Type = 1
	Event_BUY     Event_Type = 2
	Event_EQUIP   Event_Type = 3
	Event_ERROR   Event_Type = 4
	Event_SKILL   Event_Type = 5
	Event_DEATH   Event_Type = 6
	Event_SCORE   Event_Type = 7
	Event_MOVE    Event_Type = 8
	Event_AOE     Event_Type = 9
)

func (Event_Type) Descriptor

func (Event_Type) Descriptor() protoreflect.EnumDescriptor

func (Event_Type) Enum

func (x Event_Type) Enum() *Event_Type

func (Event_Type) EnumDescriptor deprecated

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

Deprecated: Use Event_Type.Descriptor instead.

func (Event_Type) Number

func (x Event_Type) Number() protoreflect.EnumNumber

func (Event_Type) String

func (x Event_Type) String() string

func (Event_Type) Type

type FogOfWarMap

type FogOfWarMap struct {
	Position *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	FogOfWar bool      `protobuf:"varint,3,opt,name=fog_of_war,json=fogOfWar,proto3" json:"fog_of_war,omitempty"`
	// contains filtered or unexported fields
}

func (*FogOfWarMap) Descriptor deprecated

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

Deprecated: Use FogOfWarMap.ProtoReflect.Descriptor instead.

func (*FogOfWarMap) GetFogOfWar

func (x *FogOfWarMap) GetFogOfWar() bool

func (*FogOfWarMap) GetPosition

func (x *FogOfWarMap) GetPosition() *Position

func (*FogOfWarMap) ProtoMessage

func (*FogOfWarMap) ProtoMessage()

func (*FogOfWarMap) ProtoReflect

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

func (*FogOfWarMap) Reset

func (x *FogOfWarMap) Reset()

func (*FogOfWarMap) String

func (x *FogOfWarMap) String() string

type GameState

type GameState struct {
	Map             *Map       `protobuf:"bytes,1,opt,name=map,proto3" json:"map,omitempty"`
	ShopItems       []*Item    `protobuf:"bytes,2,rep,name=shop_items,json=shopItems,proto3" json:"shop_items,omitempty"`
	Character       *Character `protobuf:"bytes,3,opt,name=character,proto3,oneof" json:"character,omitempty"`
	CurrentPosition *Position  `protobuf:"bytes,4,opt,name=current_position,json=currentPosition,proto3,oneof" json:"current_position,omitempty"`
	CurrentLevel    *int32     `protobuf:"varint,5,opt,name=current_level,json=currentLevel,proto3,oneof" json:"current_level,omitempty"`
	Tick            int32      `protobuf:"varint,6,opt,name=tick,proto3" json:"tick,omitempty"`
	Events          []*Event   `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
	Score           float32    `protobuf:"fixed32,8,opt,name=score,proto3" json:"score,omitempty"`
	MaxLevel        int32      `protobuf:"varint,9,opt,name=max_level,json=maxLevel,proto3" json:"max_level,omitempty"`
	// contains filtered or unexported fields
}

func (*GameState) Descriptor deprecated

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

Deprecated: Use GameState.ProtoReflect.Descriptor instead.

func (*GameState) GetCharacter

func (x *GameState) GetCharacter() *Character

func (*GameState) GetCurrentLevel

func (x *GameState) GetCurrentLevel() int32

func (*GameState) GetCurrentPosition

func (x *GameState) GetCurrentPosition() *Position

func (*GameState) GetEvents

func (x *GameState) GetEvents() []*Event

func (*GameState) GetMap

func (x *GameState) GetMap() *Map

func (*GameState) GetMaxLevel

func (x *GameState) GetMaxLevel() int32

func (*GameState) GetScore

func (x *GameState) GetScore() float32

func (*GameState) GetShopItems

func (x *GameState) GetShopItems() []*Item

func (*GameState) GetTick

func (x *GameState) GetTick() int32

func (*GameState) ProtoMessage

func (*GameState) ProtoMessage()

func (*GameState) ProtoReflect

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

func (*GameState) Reset

func (x *GameState) Reset()

func (*GameState) String

func (x *GameState) String() string

type GameStateParams

type GameStateParams struct {
	Blocking *bool `protobuf:"varint,1,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	Items    *bool `protobuf:"varint,2,opt,name=items,proto3,oneof" json:"items,omitempty"`
	FogOfWar *bool `protobuf:"varint,3,opt,name=fog_of_war,json=fogOfWar,proto3,oneof" json:"fog_of_war,omitempty"`
	// contains filtered or unexported fields
}

func (*GameStateParams) Descriptor deprecated

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

Deprecated: Use GameStateParams.ProtoReflect.Descriptor instead.

func (*GameStateParams) GetBlocking

func (x *GameStateParams) GetBlocking() bool

func (*GameStateParams) GetFogOfWar

func (x *GameStateParams) GetFogOfWar() bool

func (*GameStateParams) GetItems

func (x *GameStateParams) GetItems() bool

func (*GameStateParams) ProtoMessage

func (*GameStateParams) ProtoMessage()

func (*GameStateParams) ProtoReflect

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

func (*GameStateParams) Reset

func (x *GameStateParams) Reset()

func (*GameStateParams) String

func (x *GameStateParams) String() string

type GameStateParamsLevel

type GameStateParamsLevel struct {
	Blocking *bool `protobuf:"varint,1,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	Items    *bool `protobuf:"varint,2,opt,name=items,proto3,oneof" json:"items,omitempty"`
	FogOfWar *bool `protobuf:"varint,3,opt,name=fog_of_war,json=fogOfWar,proto3,oneof" json:"fog_of_war,omitempty"`
	Level    int32 `protobuf:"varint,4,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*GameStateParamsLevel) Descriptor deprecated

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

Deprecated: Use GameStateParamsLevel.ProtoReflect.Descriptor instead.

func (*GameStateParamsLevel) GetBlocking

func (x *GameStateParamsLevel) GetBlocking() bool

func (*GameStateParamsLevel) GetFogOfWar

func (x *GameStateParamsLevel) GetFogOfWar() bool

func (*GameStateParamsLevel) GetItems

func (x *GameStateParamsLevel) GetItems() bool

func (*GameStateParamsLevel) GetLevel

func (x *GameStateParamsLevel) GetLevel() int32

func (*GameStateParamsLevel) ProtoMessage

func (*GameStateParamsLevel) ProtoMessage()

func (*GameStateParamsLevel) ProtoReflect

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

func (*GameStateParamsLevel) Reset

func (x *GameStateParamsLevel) Reset()

func (*GameStateParamsLevel) String

func (x *GameStateParamsLevel) String() string

type Identifier

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

func (*Identifier) Descriptor deprecated

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

Deprecated: Use Identifier.ProtoReflect.Descriptor instead.

func (*Identifier) GetId

func (x *Identifier) GetId() string

func (*Identifier) ProtoMessage

func (*Identifier) ProtoMessage()

func (*Identifier) ProtoReflect

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

func (*Identifier) Reset

func (x *Identifier) Reset()

func (*Identifier) String

func (x *Identifier) String() string

type IdentifierWithParams

type IdentifierWithParams struct {
	Identifier *Identifier `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	Blocking   *bool       `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentifierWithParams) Descriptor deprecated

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

Deprecated: Use IdentifierWithParams.ProtoReflect.Descriptor instead.

func (*IdentifierWithParams) GetBlocking

func (x *IdentifierWithParams) GetBlocking() bool

func (*IdentifierWithParams) GetIdentifier

func (x *IdentifierWithParams) GetIdentifier() *Identifier

func (*IdentifierWithParams) ProtoMessage

func (*IdentifierWithParams) ProtoMessage()

func (*IdentifierWithParams) ProtoReflect

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

func (*IdentifierWithParams) Reset

func (x *IdentifierWithParams) Reset()

func (*IdentifierWithParams) String

func (x *IdentifierWithParams) String() string

type Identifiers

type Identifiers struct {
	Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*Identifiers) Descriptor deprecated

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

Deprecated: Use Identifiers.ProtoReflect.Descriptor instead.

func (*Identifiers) GetIds

func (x *Identifiers) GetIds() []string

func (*Identifiers) ProtoMessage

func (*Identifiers) ProtoMessage()

func (*Identifiers) ProtoReflect

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

func (*Identifiers) Reset

func (x *Identifiers) Reset()

func (*Identifiers) String

func (x *Identifiers) String() string

type IdentifiersWithParams

type IdentifiersWithParams struct {
	Identifiers *Identifiers `protobuf:"bytes,1,opt,name=identifiers,proto3" json:"identifiers,omitempty"`
	Blocking    *bool        `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentifiersWithParams) Descriptor deprecated

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

Deprecated: Use IdentifiersWithParams.ProtoReflect.Descriptor instead.

func (*IdentifiersWithParams) GetBlocking

func (x *IdentifiersWithParams) GetBlocking() bool

func (*IdentifiersWithParams) GetIdentifiers

func (x *IdentifiersWithParams) GetIdentifiers() *Identifiers

func (*IdentifiersWithParams) ProtoMessage

func (*IdentifiersWithParams) ProtoMessage()

func (*IdentifiersWithParams) ProtoReflect

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

func (*IdentifiersWithParams) Reset

func (x *IdentifiersWithParams) Reset()

func (*IdentifiersWithParams) String

func (x *IdentifiersWithParams) String() string

type Item

type Item struct {
	Id           string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name         string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Slot         Item_Type   `protobuf:"varint,3,opt,name=slot,proto3,enum=dungeonsandtrolls.Item_Type" json:"slot,omitempty"`
	Price        int32       `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"`
	Requirements *Attributes `protobuf:"bytes,5,opt,name=requirements,proto3" json:"requirements,omitempty"`
	Attributes   *Attributes `protobuf:"bytes,6,opt,name=attributes,proto3" json:"attributes,omitempty"`
	Skills       []*Skill    `protobuf:"bytes,7,rep,name=skills,proto3" json:"skills,omitempty"`
	Icon         string      `protobuf:"bytes,8,opt,name=icon,proto3" json:"icon,omitempty"`
	Unidentified *bool       `protobuf:"varint,9,opt,name=unidentified,proto3,oneof" json:"unidentified,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

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

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) GetAttributes

func (x *Item) GetAttributes() *Attributes

func (*Item) GetIcon

func (x *Item) GetIcon() string

func (*Item) GetId

func (x *Item) GetId() string

func (*Item) GetName

func (x *Item) GetName() string

func (*Item) GetPrice

func (x *Item) GetPrice() int32

func (*Item) GetRequirements

func (x *Item) GetRequirements() *Attributes

func (*Item) GetSkills

func (x *Item) GetSkills() []*Skill

func (*Item) GetSlot

func (x *Item) GetSlot() Item_Type

func (*Item) GetUnidentified

func (x *Item) GetUnidentified() bool

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

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

func (*Item) Reset

func (x *Item) Reset()

func (*Item) String

func (x *Item) String() string

type Item_Type

type Item_Type int32
const (
	Item_head     Item_Type = 0
	Item_mainHand Item_Type = 1
	Item_offHand  Item_Type = 2
	Item_body     Item_Type = 3
	Item_legs     Item_Type = 4
	Item_neck     Item_Type = 5
)

func (Item_Type) Descriptor

func (Item_Type) Descriptor() protoreflect.EnumDescriptor

func (Item_Type) Enum

func (x Item_Type) Enum() *Item_Type

func (Item_Type) EnumDescriptor deprecated

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

Deprecated: Use Item_Type.Descriptor instead.

func (Item_Type) Number

func (x Item_Type) Number() protoreflect.EnumNumber

func (Item_Type) String

func (x Item_Type) String() string

func (Item_Type) Type

type Key

type Key struct {
	Doors []*Position `protobuf:"bytes,1,rep,name=doors,proto3" json:"doors,omitempty"`
	// contains filtered or unexported fields
}

func (*Key) Descriptor deprecated

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

Deprecated: Use Key.ProtoReflect.Descriptor instead.

func (*Key) GetDoors

func (x *Key) GetDoors() []*Position

func (*Key) ProtoMessage

func (*Key) ProtoMessage()

func (*Key) ProtoReflect

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

func (*Key) Reset

func (x *Key) Reset()

func (*Key) String

func (x *Key) String() string

type Level

type Level struct {
	Level                int32                `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	Width                int32                `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"`
	Height               int32                `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Horror               float32              `protobuf:"fixed32,4,opt,name=horror,proto3" json:"horror,omitempty"`
	DeprecationInSeconds int32                `protobuf:"varint,5,opt,name=deprecation_in_seconds,json=deprecationInSeconds,proto3" json:"deprecation_in_seconds,omitempty"`
	Objects              []*MapObjects        `protobuf:"bytes,6,rep,name=objects,proto3" json:"objects,omitempty"`
	FogOfWar             []*FogOfWarMap       `protobuf:"bytes,7,rep,name=fog_of_war,json=fogOfWar,proto3" json:"fog_of_war,omitempty"`
	PlayerMap            []*PlayerSpecificMap `protobuf:"bytes,8,rep,name=player_map,json=playerMap,proto3" json:"player_map,omitempty"`
	// contains filtered or unexported fields
}

func (*Level) Descriptor deprecated

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

Deprecated: Use Level.ProtoReflect.Descriptor instead.

func (*Level) GetDeprecationInSeconds

func (x *Level) GetDeprecationInSeconds() int32

func (*Level) GetFogOfWar

func (x *Level) GetFogOfWar() []*FogOfWarMap

func (*Level) GetHeight

func (x *Level) GetHeight() int32

func (*Level) GetHorror

func (x *Level) GetHorror() float32

func (*Level) GetLevel

func (x *Level) GetLevel() int32

func (*Level) GetObjects

func (x *Level) GetObjects() []*MapObjects

func (*Level) GetPlayerMap

func (x *Level) GetPlayerMap() []*PlayerSpecificMap

func (*Level) GetWidth

func (x *Level) GetWidth() int32

func (*Level) ProtoMessage

func (*Level) ProtoMessage()

func (*Level) ProtoReflect

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

func (*Level) Reset

func (x *Level) Reset()

func (*Level) String

func (x *Level) String() string

type Map

type Map struct {
	Levels []*Level `protobuf:"bytes,1,rep,name=levels,proto3" json:"levels,omitempty"`
	// contains filtered or unexported fields
}

func (*Map) Descriptor deprecated

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

Deprecated: Use Map.ProtoReflect.Descriptor instead.

func (*Map) GetLevels

func (x *Map) GetLevels() []*Level

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 MapObjects

type MapObjects struct {
	Position    *Position     `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	Monsters    []*Monster    `protobuf:"bytes,2,rep,name=monsters,proto3" json:"monsters,omitempty"`
	Players     []*Character  `protobuf:"bytes,3,rep,name=players,proto3" json:"players,omitempty"`
	IsStairs    bool          `protobuf:"varint,4,opt,name=is_stairs,json=isStairs,proto3" json:"is_stairs,omitempty"`
	Portal      *Waypoint     `protobuf:"bytes,5,opt,name=portal,proto3,oneof" json:"portal,omitempty"`
	Decorations []*Decoration `protobuf:"bytes,6,rep,name=decorations,proto3" json:"decorations,omitempty"`
	Effects     []*Effect     `protobuf:"bytes,7,rep,name=effects,proto3" json:"effects,omitempty"`
	Items       []*Item       `protobuf:"bytes,8,rep,name=items,proto3" json:"items,omitempty"`
	IsFree      bool          `protobuf:"varint,9,opt,name=is_free,json=isFree,proto3" json:"is_free,omitempty"`
	IsWall      bool          `protobuf:"varint,10,opt,name=is_wall,json=isWall,proto3" json:"is_wall,omitempty"`
	IsDoor      bool          `protobuf:"varint,11,opt,name=is_door,json=isDoor,proto3" json:"is_door,omitempty"`
	IsSpawn     *bool         `protobuf:"varint,12,opt,name=is_spawn,json=isSpawn,proto3,oneof" json:"is_spawn,omitempty"`
	// contains filtered or unexported fields
}

func (*MapObjects) Descriptor deprecated

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

Deprecated: Use MapObjects.ProtoReflect.Descriptor instead.

func (*MapObjects) GetDecorations

func (x *MapObjects) GetDecorations() []*Decoration

func (*MapObjects) GetEffects

func (x *MapObjects) GetEffects() []*Effect

func (*MapObjects) GetIsDoor

func (x *MapObjects) GetIsDoor() bool

func (*MapObjects) GetIsFree

func (x *MapObjects) GetIsFree() bool

func (*MapObjects) GetIsSpawn

func (x *MapObjects) GetIsSpawn() bool

func (*MapObjects) GetIsStairs

func (x *MapObjects) GetIsStairs() bool

func (*MapObjects) GetIsWall

func (x *MapObjects) GetIsWall() bool

func (*MapObjects) GetItems

func (x *MapObjects) GetItems() []*Item

func (*MapObjects) GetMonsters

func (x *MapObjects) GetMonsters() []*Monster

func (*MapObjects) GetPlayers

func (x *MapObjects) GetPlayers() []*Character

func (*MapObjects) GetPortal

func (x *MapObjects) GetPortal() *Waypoint

func (*MapObjects) GetPosition

func (x *MapObjects) GetPosition() *Position

func (*MapObjects) ProtoMessage

func (*MapObjects) ProtoMessage()

func (*MapObjects) ProtoReflect

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

func (*MapObjects) Reset

func (x *MapObjects) Reset()

func (*MapObjects) String

func (x *MapObjects) String() string

type Message

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

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetText

func (x *Message) GetText() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageWithParams

type MessageWithParams struct {
	Message  *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Blocking *bool    `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageWithParams) Descriptor deprecated

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

Deprecated: Use MessageWithParams.ProtoReflect.Descriptor instead.

func (*MessageWithParams) GetBlocking

func (x *MessageWithParams) GetBlocking() bool

func (*MessageWithParams) GetMessage

func (x *MessageWithParams) GetMessage() *Message

func (*MessageWithParams) ProtoMessage

func (*MessageWithParams) ProtoMessage()

func (*MessageWithParams) ProtoReflect

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

func (*MessageWithParams) Reset

func (x *MessageWithParams) Reset()

func (*MessageWithParams) String

func (x *MessageWithParams) String() string

type Monster

type Monster struct {
	Id              string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name            string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Icon            string        `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	Items           []*SimpleItem `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"`
	Effects         []*Effect     `protobuf:"bytes,5,rep,name=effects,proto3" json:"effects,omitempty"`
	LifePercentage  float32       `protobuf:"fixed32,6,opt,name=life_percentage,json=lifePercentage,proto3" json:"life_percentage,omitempty"`
	Faction         string        `protobuf:"bytes,7,opt,name=faction,proto3" json:"faction,omitempty"`
	Attributes      *Attributes   `protobuf:"bytes,8,opt,name=attributes,proto3,oneof" json:"attributes,omitempty"`
	EquippedItems   []*Item       `protobuf:"bytes,9,rep,name=equipped_items,json=equippedItems,proto3" json:"equipped_items,omitempty"`
	Score           *float32      `protobuf:"fixed32,10,opt,name=score,proto3,oneof" json:"score,omitempty"`
	Algorithm       *string       `protobuf:"bytes,11,opt,name=algorithm,proto3,oneof" json:"algorithm,omitempty"`
	OnDeath         []*Droppable  `protobuf:"bytes,12,rep,name=on_death,json=onDeath,proto3" json:"on_death,omitempty"`
	MaxAttributes   *Attributes   `protobuf:"bytes,13,opt,name=max_attributes,json=maxAttributes,proto3,oneof" json:"max_attributes,omitempty"`
	LastDamageTaken *int32        `protobuf:"varint,14,opt,name=last_damage_taken,json=lastDamageTaken,proto3,oneof" json:"last_damage_taken,omitempty"`
	Stun            *Stun         `protobuf:"bytes,15,opt,name=stun,proto3,oneof" json:"stun,omitempty"`
	// contains filtered or unexported fields
}

func (*Monster) Descriptor deprecated

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

Deprecated: Use Monster.ProtoReflect.Descriptor instead.

func (*Monster) GetAlgorithm

func (x *Monster) GetAlgorithm() string

func (*Monster) GetAttributes

func (x *Monster) GetAttributes() *Attributes

func (*Monster) GetEffects

func (x *Monster) GetEffects() []*Effect

func (*Monster) GetEquippedItems

func (x *Monster) GetEquippedItems() []*Item

func (*Monster) GetFaction

func (x *Monster) GetFaction() string

func (*Monster) GetIcon

func (x *Monster) GetIcon() string

func (*Monster) GetId

func (x *Monster) GetId() string

func (*Monster) GetItems

func (x *Monster) GetItems() []*SimpleItem

func (*Monster) GetLastDamageTaken

func (x *Monster) GetLastDamageTaken() int32

func (*Monster) GetLifePercentage

func (x *Monster) GetLifePercentage() float32

func (*Monster) GetMaxAttributes

func (x *Monster) GetMaxAttributes() *Attributes

func (*Monster) GetName

func (x *Monster) GetName() string

func (*Monster) GetOnDeath

func (x *Monster) GetOnDeath() []*Droppable

func (*Monster) GetScore

func (x *Monster) GetScore() float32

func (*Monster) GetStun

func (x *Monster) GetStun() *Stun

func (*Monster) ProtoMessage

func (*Monster) ProtoMessage()

func (*Monster) ProtoReflect

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

func (*Monster) Reset

func (x *Monster) Reset()

func (*Monster) String

func (x *Monster) String() string

type PlayerSpecificMap

type PlayerSpecificMap struct {
	Position    *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	Distance    int32     `protobuf:"varint,2,opt,name=distance,proto3" json:"distance,omitempty"`
	LineOfSight bool      `protobuf:"varint,3,opt,name=line_of_sight,json=lineOfSight,proto3" json:"line_of_sight,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayerSpecificMap) Descriptor deprecated

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

Deprecated: Use PlayerSpecificMap.ProtoReflect.Descriptor instead.

func (*PlayerSpecificMap) GetDistance

func (x *PlayerSpecificMap) GetDistance() int32

func (*PlayerSpecificMap) GetLineOfSight

func (x *PlayerSpecificMap) GetLineOfSight() bool

func (*PlayerSpecificMap) GetPosition

func (x *PlayerSpecificMap) GetPosition() *Position

func (*PlayerSpecificMap) ProtoMessage

func (*PlayerSpecificMap) ProtoMessage()

func (*PlayerSpecificMap) ProtoReflect

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

func (*PlayerSpecificMap) Reset

func (x *PlayerSpecificMap) Reset()

func (*PlayerSpecificMap) String

func (x *PlayerSpecificMap) String() string

type PlayersInfo

type PlayersInfo struct {
	Players []*Character `protobuf:"bytes,1,rep,name=players,proto3" json:"players,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayersInfo) Descriptor deprecated

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

Deprecated: Use PlayersInfo.ProtoReflect.Descriptor instead.

func (*PlayersInfo) GetPlayers

func (x *PlayersInfo) GetPlayers() []*Character

func (*PlayersInfo) ProtoMessage

func (*PlayersInfo) ProtoMessage()

func (*PlayersInfo) ProtoReflect

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

func (*PlayersInfo) Reset

func (x *PlayersInfo) Reset()

func (*PlayersInfo) String

func (x *PlayersInfo) String() string

type PlayersParams

type PlayersParams struct {
	Blocking *bool `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*PlayersParams) Descriptor deprecated

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

Deprecated: Use PlayersParams.ProtoReflect.Descriptor instead.

func (*PlayersParams) GetBlocking

func (x *PlayersParams) GetBlocking() bool

func (*PlayersParams) ProtoMessage

func (*PlayersParams) ProtoMessage()

func (*PlayersParams) ProtoReflect

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

func (*PlayersParams) Reset

func (x *PlayersParams) Reset()

func (*PlayersParams) String

func (x *PlayersParams) String() string

type Position

type Position struct {
	PositionX int32 `protobuf:"varint,1,opt,name=positionX,proto3" json:"positionX,omitempty"`
	PositionY int32 `protobuf:"varint,2,opt,name=positionY,proto3" json:"positionY,omitempty"`
	// contains filtered or unexported fields
}

func (*Position) Descriptor deprecated

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

Deprecated: Use Position.ProtoReflect.Descriptor instead.

func (*Position) GetPositionX

func (x *Position) GetPositionX() int32

func (*Position) GetPositionY

func (x *Position) GetPositionY() int32

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 PositionWithParams

type PositionWithParams struct {
	Position *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
	Blocking *bool     `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*PositionWithParams) Descriptor deprecated

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

Deprecated: Use PositionWithParams.ProtoReflect.Descriptor instead.

func (*PositionWithParams) GetBlocking

func (x *PositionWithParams) GetBlocking() bool

func (*PositionWithParams) GetPosition

func (x *PositionWithParams) GetPosition() *Position

func (*PositionWithParams) ProtoMessage

func (*PositionWithParams) ProtoMessage()

func (*PositionWithParams) ProtoReflect

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

func (*PositionWithParams) Reset

func (x *PositionWithParams) Reset()

func (*PositionWithParams) String

func (x *PositionWithParams) String() string

type Registration

type Registration struct {
	ApiKey *string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3,oneof" json:"api_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Registration) Descriptor deprecated

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

Deprecated: Use Registration.ProtoReflect.Descriptor instead.

func (*Registration) GetApiKey

func (x *Registration) GetApiKey() string

func (*Registration) ProtoMessage

func (*Registration) ProtoMessage()

func (*Registration) ProtoReflect

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

func (*Registration) Reset

func (x *Registration) Reset()

func (*Registration) String

func (x *Registration) String() string

type RespawnWithParams

type RespawnWithParams struct {
	Respawn  *emptypb.Empty `protobuf:"bytes,1,opt,name=respawn,proto3" json:"respawn,omitempty"`
	Blocking *bool          `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*RespawnWithParams) Descriptor deprecated

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

Deprecated: Use RespawnWithParams.ProtoReflect.Descriptor instead.

func (*RespawnWithParams) GetBlocking

func (x *RespawnWithParams) GetBlocking() bool

func (*RespawnWithParams) GetRespawn

func (x *RespawnWithParams) GetRespawn() *emptypb.Empty

func (*RespawnWithParams) ProtoMessage

func (*RespawnWithParams) ProtoMessage()

func (*RespawnWithParams) ProtoReflect

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

func (*RespawnWithParams) Reset

func (x *RespawnWithParams) Reset()

func (*RespawnWithParams) String

func (x *RespawnWithParams) String() string

type Shortcut

type Shortcut struct {
	LeadsTo *Coordinates `protobuf:"bytes,1,opt,name=leads_to,json=leadsTo,proto3,oneof" json:"leads_to,omitempty"`
	// contains filtered or unexported fields
}

func (*Shortcut) Descriptor deprecated

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

Deprecated: Use Shortcut.ProtoReflect.Descriptor instead.

func (*Shortcut) GetLeadsTo

func (x *Shortcut) GetLeadsTo() *Coordinates

func (*Shortcut) ProtoMessage

func (*Shortcut) ProtoMessage()

func (*Shortcut) ProtoReflect

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

func (*Shortcut) Reset

func (x *Shortcut) Reset()

func (*Shortcut) String

func (x *Shortcut) String() string

type SimpleItem

type SimpleItem struct {
	Name string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Slot Item_Type `protobuf:"varint,2,opt,name=slot,proto3,enum=dungeonsandtrolls.Item_Type" json:"slot,omitempty"`
	Icon string    `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	// contains filtered or unexported fields
}

func (*SimpleItem) Descriptor deprecated

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

Deprecated: Use SimpleItem.ProtoReflect.Descriptor instead.

func (*SimpleItem) GetIcon

func (x *SimpleItem) GetIcon() string

func (*SimpleItem) GetName

func (x *SimpleItem) GetName() string

func (*SimpleItem) GetSlot

func (x *SimpleItem) GetSlot() Item_Type

func (*SimpleItem) ProtoMessage

func (*SimpleItem) ProtoMessage()

func (*SimpleItem) ProtoReflect

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

func (*SimpleItem) Reset

func (x *SimpleItem) Reset()

func (*SimpleItem) String

func (x *SimpleItem) String() string

type Skill

type Skill struct {
	Id            string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string             `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Target        Skill_Target       `protobuf:"varint,3,opt,name=target,proto3,enum=dungeonsandtrolls.Skill_Target" json:"target,omitempty"`
	Cost          *Attributes        `protobuf:"bytes,4,opt,name=cost,proto3" json:"cost,omitempty"`
	Range         *Attributes        `protobuf:"bytes,5,opt,name=range,proto3" json:"range,omitempty"`
	Radius        *Attributes        `protobuf:"bytes,6,opt,name=radius,proto3" json:"radius,omitempty"`
	Duration      *Attributes        `protobuf:"bytes,7,opt,name=duration,proto3" json:"duration,omitempty"`
	DamageAmount  *Attributes        `protobuf:"bytes,8,opt,name=damage_amount,json=damageAmount,proto3" json:"damage_amount,omitempty"`
	DamageType    DamageType         `` /* 126-byte string literal not displayed */
	CasterEffects *SkillEffect       `protobuf:"bytes,10,opt,name=caster_effects,json=casterEffects,proto3" json:"caster_effects,omitempty"`
	TargetEffects *SkillEffect       `protobuf:"bytes,11,opt,name=target_effects,json=targetEffects,proto3" json:"target_effects,omitempty"`
	Flags         *SkillGenericFlags `protobuf:"bytes,12,opt,name=flags,proto3" json:"flags,omitempty"`
	// contains filtered or unexported fields
}

func (*Skill) Descriptor deprecated

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

Deprecated: Use Skill.ProtoReflect.Descriptor instead.

func (*Skill) GetCasterEffects

func (x *Skill) GetCasterEffects() *SkillEffect

func (*Skill) GetCost

func (x *Skill) GetCost() *Attributes

func (*Skill) GetDamageAmount

func (x *Skill) GetDamageAmount() *Attributes

func (*Skill) GetDamageType

func (x *Skill) GetDamageType() DamageType

func (*Skill) GetDuration

func (x *Skill) GetDuration() *Attributes

func (*Skill) GetFlags

func (x *Skill) GetFlags() *SkillGenericFlags

func (*Skill) GetId

func (x *Skill) GetId() string

func (*Skill) GetName

func (x *Skill) GetName() string

func (*Skill) GetRadius

func (x *Skill) GetRadius() *Attributes

func (*Skill) GetRange

func (x *Skill) GetRange() *Attributes

func (*Skill) GetTarget

func (x *Skill) GetTarget() Skill_Target

func (*Skill) GetTargetEffects

func (x *Skill) GetTargetEffects() *SkillEffect

func (*Skill) ProtoMessage

func (*Skill) ProtoMessage()

func (*Skill) ProtoReflect

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

func (*Skill) Reset

func (x *Skill) Reset()

func (*Skill) String

func (x *Skill) String() string

type SkillAttributes

type SkillAttributes struct {
	Strength       *Attributes `protobuf:"bytes,1,opt,name=strength,proto3,oneof" json:"strength,omitempty"`
	Dexterity      *Attributes `protobuf:"bytes,2,opt,name=dexterity,proto3,oneof" json:"dexterity,omitempty"`
	Intelligence   *Attributes `protobuf:"bytes,3,opt,name=intelligence,proto3,oneof" json:"intelligence,omitempty"`
	Willpower      *Attributes `protobuf:"bytes,4,opt,name=willpower,proto3,oneof" json:"willpower,omitempty"`
	Constitution   *Attributes `protobuf:"bytes,5,opt,name=constitution,proto3,oneof" json:"constitution,omitempty"`
	SlashResist    *Attributes `protobuf:"bytes,6,opt,name=slash_resist,json=slashResist,proto3,oneof" json:"slash_resist,omitempty"`
	PierceResist   *Attributes `protobuf:"bytes,7,opt,name=pierce_resist,json=pierceResist,proto3,oneof" json:"pierce_resist,omitempty"`
	FireResist     *Attributes `protobuf:"bytes,8,opt,name=fire_resist,json=fireResist,proto3,oneof" json:"fire_resist,omitempty"`
	PoisonResist   *Attributes `protobuf:"bytes,9,opt,name=poison_resist,json=poisonResist,proto3,oneof" json:"poison_resist,omitempty"`
	ElectricResist *Attributes `protobuf:"bytes,10,opt,name=electric_resist,json=electricResist,proto3,oneof" json:"electric_resist,omitempty"`
	Life           *Attributes `protobuf:"bytes,11,opt,name=life,proto3,oneof" json:"life,omitempty"`
	Stamina        *Attributes `protobuf:"bytes,12,opt,name=stamina,proto3,oneof" json:"stamina,omitempty"`
	Mana           *Attributes `protobuf:"bytes,13,opt,name=mana,proto3,oneof" json:"mana,omitempty"`
	Constant       *Attributes `protobuf:"bytes,14,opt,name=constant,proto3,oneof" json:"constant,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillAttributes) Descriptor deprecated

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

Deprecated: Use SkillAttributes.ProtoReflect.Descriptor instead.

func (*SkillAttributes) GetConstant

func (x *SkillAttributes) GetConstant() *Attributes

func (*SkillAttributes) GetConstitution

func (x *SkillAttributes) GetConstitution() *Attributes

func (*SkillAttributes) GetDexterity

func (x *SkillAttributes) GetDexterity() *Attributes

func (*SkillAttributes) GetElectricResist

func (x *SkillAttributes) GetElectricResist() *Attributes

func (*SkillAttributes) GetFireResist

func (x *SkillAttributes) GetFireResist() *Attributes

func (*SkillAttributes) GetIntelligence

func (x *SkillAttributes) GetIntelligence() *Attributes

func (*SkillAttributes) GetLife

func (x *SkillAttributes) GetLife() *Attributes

func (*SkillAttributes) GetMana

func (x *SkillAttributes) GetMana() *Attributes

func (*SkillAttributes) GetPierceResist

func (x *SkillAttributes) GetPierceResist() *Attributes

func (*SkillAttributes) GetPoisonResist

func (x *SkillAttributes) GetPoisonResist() *Attributes

func (*SkillAttributes) GetSlashResist

func (x *SkillAttributes) GetSlashResist() *Attributes

func (*SkillAttributes) GetStamina

func (x *SkillAttributes) GetStamina() *Attributes

func (*SkillAttributes) GetStrength

func (x *SkillAttributes) GetStrength() *Attributes

func (*SkillAttributes) GetWillpower

func (x *SkillAttributes) GetWillpower() *Attributes

func (*SkillAttributes) ProtoMessage

func (*SkillAttributes) ProtoMessage()

func (*SkillAttributes) ProtoReflect

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

func (*SkillAttributes) Reset

func (x *SkillAttributes) Reset()

func (*SkillAttributes) String

func (x *SkillAttributes) String() string

type SkillEffect

type SkillEffect struct {
	Attributes *SkillAttributes    `protobuf:"bytes,1,opt,name=attributes,proto3" json:"attributes,omitempty"`
	Flags      *SkillSpecificFlags `protobuf:"bytes,2,opt,name=flags,proto3" json:"flags,omitempty"`
	Summons    []*Droppable        `protobuf:"bytes,3,rep,name=summons,proto3" json:"summons,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillEffect) Descriptor deprecated

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

Deprecated: Use SkillEffect.ProtoReflect.Descriptor instead.

func (*SkillEffect) GetAttributes

func (x *SkillEffect) GetAttributes() *SkillAttributes

func (*SkillEffect) GetFlags

func (x *SkillEffect) GetFlags() *SkillSpecificFlags

func (*SkillEffect) GetSummons

func (x *SkillEffect) GetSummons() []*Droppable

func (*SkillEffect) ProtoMessage

func (*SkillEffect) ProtoMessage()

func (*SkillEffect) ProtoReflect

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

func (*SkillEffect) Reset

func (x *SkillEffect) Reset()

func (*SkillEffect) String

func (x *SkillEffect) String() string

type SkillGenericFlags

type SkillGenericFlags struct {
	RequiresOutOfCombat bool `protobuf:"varint,1,opt,name=requires_out_of_combat,json=requiresOutOfCombat,proto3" json:"requires_out_of_combat,omitempty"`
	RequiresLineOfSight bool `protobuf:"varint,2,opt,name=requires_line_of_sight,json=requiresLineOfSight,proto3" json:"requires_line_of_sight,omitempty"`
	Passive             bool `protobuf:"varint,3,opt,name=passive,proto3" json:"passive,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillGenericFlags) Descriptor deprecated

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

Deprecated: Use SkillGenericFlags.ProtoReflect.Descriptor instead.

func (*SkillGenericFlags) GetPassive

func (x *SkillGenericFlags) GetPassive() bool

func (*SkillGenericFlags) GetRequiresLineOfSight

func (x *SkillGenericFlags) GetRequiresLineOfSight() bool

func (*SkillGenericFlags) GetRequiresOutOfCombat

func (x *SkillGenericFlags) GetRequiresOutOfCombat() bool

func (*SkillGenericFlags) ProtoMessage

func (*SkillGenericFlags) ProtoMessage()

func (*SkillGenericFlags) ProtoReflect

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

func (*SkillGenericFlags) Reset

func (x *SkillGenericFlags) Reset()

func (*SkillGenericFlags) String

func (x *SkillGenericFlags) String() string

type SkillSpecificFlags

type SkillSpecificFlags struct {
	Movement     bool `protobuf:"varint,1,opt,name=movement,proto3" json:"movement,omitempty"`
	Knockback    bool `protobuf:"varint,2,opt,name=knockback,proto3" json:"knockback,omitempty"`
	Stun         bool `protobuf:"varint,3,opt,name=stun,proto3" json:"stun,omitempty"`
	GroundEffect bool `protobuf:"varint,4,opt,name=ground_effect,json=groundEffect,proto3" json:"ground_effect,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillSpecificFlags) Descriptor deprecated

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

Deprecated: Use SkillSpecificFlags.ProtoReflect.Descriptor instead.

func (*SkillSpecificFlags) GetGroundEffect

func (x *SkillSpecificFlags) GetGroundEffect() bool

func (*SkillSpecificFlags) GetKnockback

func (x *SkillSpecificFlags) GetKnockback() bool

func (*SkillSpecificFlags) GetMovement

func (x *SkillSpecificFlags) GetMovement() bool

func (*SkillSpecificFlags) GetStun

func (x *SkillSpecificFlags) GetStun() bool

func (*SkillSpecificFlags) ProtoMessage

func (*SkillSpecificFlags) ProtoMessage()

func (*SkillSpecificFlags) ProtoReflect

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

func (*SkillSpecificFlags) Reset

func (x *SkillSpecificFlags) Reset()

func (*SkillSpecificFlags) String

func (x *SkillSpecificFlags) String() string

type SkillUse

type SkillUse struct {
	SkillId  string    `protobuf:"bytes,1,opt,name=skill_id,json=skillId,proto3" json:"skill_id,omitempty"`
	TargetId *string   `protobuf:"bytes,2,opt,name=target_id,json=targetId,proto3,oneof" json:"target_id,omitempty"`
	Position *Position `protobuf:"bytes,3,opt,name=position,proto3,oneof" json:"position,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillUse) Descriptor deprecated

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

Deprecated: Use SkillUse.ProtoReflect.Descriptor instead.

func (*SkillUse) GetPosition

func (x *SkillUse) GetPosition() *Position

func (*SkillUse) GetSkillId

func (x *SkillUse) GetSkillId() string

func (*SkillUse) GetTargetId

func (x *SkillUse) GetTargetId() string

func (*SkillUse) ProtoMessage

func (*SkillUse) ProtoMessage()

func (*SkillUse) ProtoReflect

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

func (*SkillUse) Reset

func (x *SkillUse) Reset()

func (*SkillUse) String

func (x *SkillUse) String() string

type SkillUseWithParams

type SkillUseWithParams struct {
	SkillUse *SkillUse `protobuf:"bytes,1,opt,name=skill_use,json=skillUse,proto3" json:"skill_use,omitempty"`
	Blocking *bool     `protobuf:"varint,2,opt,name=blocking,proto3,oneof" json:"blocking,omitempty"`
	// contains filtered or unexported fields
}

func (*SkillUseWithParams) Descriptor deprecated

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

Deprecated: Use SkillUseWithParams.ProtoReflect.Descriptor instead.

func (*SkillUseWithParams) GetBlocking

func (x *SkillUseWithParams) GetBlocking() bool

func (*SkillUseWithParams) GetSkillUse

func (x *SkillUseWithParams) GetSkillUse() *SkillUse

func (*SkillUseWithParams) ProtoMessage

func (*SkillUseWithParams) ProtoMessage()

func (*SkillUseWithParams) ProtoReflect

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

func (*SkillUseWithParams) Reset

func (x *SkillUseWithParams) Reset()

func (*SkillUseWithParams) String

func (x *SkillUseWithParams) String() string

type Skill_Target

type Skill_Target int32
const (
	Skill_none      Skill_Target = 0
	Skill_position  Skill_Target = 1
	Skill_character Skill_Target = 2
)

func (Skill_Target) Descriptor

func (Skill_Target) Enum

func (x Skill_Target) Enum() *Skill_Target

func (Skill_Target) EnumDescriptor deprecated

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

Deprecated: Use Skill_Target.Descriptor instead.

func (Skill_Target) Number

func (Skill_Target) String

func (x Skill_Target) String() string

func (Skill_Target) Type

type Stats

type Stats struct {
	Life    float32 `protobuf:"fixed32,1,opt,name=life,proto3" json:"life,omitempty"`
	Mana    float32 `protobuf:"fixed32,2,opt,name=mana,proto3" json:"mana,omitempty"`
	Stamina float32 `protobuf:"fixed32,3,opt,name=stamina,proto3" json:"stamina,omitempty"`
	// contains filtered or unexported fields
}

func (*Stats) Descriptor deprecated

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

Deprecated: Use Stats.ProtoReflect.Descriptor instead.

func (*Stats) GetLife

func (x *Stats) GetLife() float32

func (*Stats) GetMana

func (x *Stats) GetMana() float32

func (*Stats) GetStamina

func (x *Stats) GetStamina() float32

func (*Stats) ProtoMessage

func (*Stats) ProtoMessage()

func (*Stats) ProtoReflect

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

func (*Stats) Reset

func (x *Stats) Reset()

func (*Stats) String

func (x *Stats) String() string

type Stun

type Stun struct {
	IsStunned bool `protobuf:"varint,1,opt,name=is_stunned,json=isStunned,proto3" json:"is_stunned,omitempty"`
	IsImmune  bool `protobuf:"varint,2,opt,name=is_immune,json=isImmune,proto3" json:"is_immune,omitempty"`
	// contains filtered or unexported fields
}

func (*Stun) Descriptor deprecated

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

Deprecated: Use Stun.ProtoReflect.Descriptor instead.

func (*Stun) GetIsImmune

func (x *Stun) GetIsImmune() bool

func (*Stun) GetIsStunned

func (x *Stun) GetIsStunned() bool

func (*Stun) ProtoMessage

func (*Stun) ProtoMessage()

func (*Stun) ProtoReflect

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

func (*Stun) Reset

func (x *Stun) Reset()

func (*Stun) String

func (x *Stun) String() string

type UnimplementedDungeonsAndTrollsServer

type UnimplementedDungeonsAndTrollsServer struct {
}

UnimplementedDungeonsAndTrollsServer must be embedded to have forward compatible implementations.

func (UnimplementedDungeonsAndTrollsServer) AssignSkillPoints

func (UnimplementedDungeonsAndTrollsServer) Buy

func (UnimplementedDungeonsAndTrollsServer) Commands

func (UnimplementedDungeonsAndTrollsServer) Game

func (UnimplementedDungeonsAndTrollsServer) GameLevel

func (UnimplementedDungeonsAndTrollsServer) Levels

func (UnimplementedDungeonsAndTrollsServer) MonstersCommands

func (UnimplementedDungeonsAndTrollsServer) Move

func (UnimplementedDungeonsAndTrollsServer) PickUp

func (UnimplementedDungeonsAndTrollsServer) Players

func (UnimplementedDungeonsAndTrollsServer) Register

func (UnimplementedDungeonsAndTrollsServer) Respawn

func (UnimplementedDungeonsAndTrollsServer) Skill

func (UnimplementedDungeonsAndTrollsServer) Yell

type UnsafeDungeonsAndTrollsServer

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

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

type User

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

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type Waypoint

type Waypoint struct {
	DestinationFloor int32 `protobuf:"varint,1,opt,name=destination_floor,json=destinationFloor,proto3" json:"destination_floor,omitempty"`
	// contains filtered or unexported fields
}

func (*Waypoint) Descriptor deprecated

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

Deprecated: Use Waypoint.ProtoReflect.Descriptor instead.

func (*Waypoint) GetDestinationFloor

func (x *Waypoint) GetDestinationFloor() int32

func (*Waypoint) ProtoMessage

func (*Waypoint) ProtoMessage()

func (*Waypoint) ProtoReflect

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

func (*Waypoint) Reset

func (x *Waypoint) Reset()

func (*Waypoint) String

func (x *Waypoint) String() string

Jump to

Keyboard shortcuts

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