idlefantasystoryv1

package
v0.0.0-...-07f47c8 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_idlefantasystory_v1_idlefantasystory_proto protoreflect.FileDescriptor
View Source
var File_idlefantasystory_v1_world_proto protoreflect.FileDescriptor
View Source
var File_idlefantasystory_v1_year_type_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GetWorldsRequest

type GetWorldsRequest struct {
	// contains filtered or unexported fields
}

Request message for GetWorlds.

func (*GetWorldsRequest) Descriptor deprecated

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

Deprecated: Use GetWorldsRequest.ProtoReflect.Descriptor instead.

func (*GetWorldsRequest) ProtoMessage

func (*GetWorldsRequest) ProtoMessage()

func (*GetWorldsRequest) ProtoReflect

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

func (*GetWorldsRequest) Reset

func (x *GetWorldsRequest) Reset()

func (*GetWorldsRequest) String

func (x *GetWorldsRequest) String() string

type GetWorldsResponse

type GetWorldsResponse struct {

	// The list of available worlds.
	Worlds []*World `protobuf:"bytes,1,rep,name=worlds,proto3" json:"worlds,omitempty"`
	// contains filtered or unexported fields
}

Response message for GetWorlds.

func (*GetWorldsResponse) Descriptor deprecated

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

Deprecated: Use GetWorldsResponse.ProtoReflect.Descriptor instead.

func (*GetWorldsResponse) GetWorlds

func (x *GetWorldsResponse) GetWorlds() []*World

func (*GetWorldsResponse) ProtoMessage

func (*GetWorldsResponse) ProtoMessage()

func (*GetWorldsResponse) ProtoReflect

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

func (*GetWorldsResponse) Reset

func (x *GetWorldsResponse) Reset()

func (*GetWorldsResponse) String

func (x *GetWorldsResponse) String() string

type World

type World struct {

	// Unique identifier of the world.
	WorldId string `protobuf:"bytes,1,opt,name=world_id,json=worldId,proto3" json:"world_id,omitempty"`
	// Name of the world.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

World entity. Use to be something like a planet or a continent.

func (*World) Descriptor deprecated

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

Deprecated: Use World.ProtoReflect.Descriptor instead.

func (*World) GetName

func (x *World) GetName() string

func (*World) GetWorldId

func (x *World) GetWorldId() string

func (*World) ProtoMessage

func (*World) ProtoMessage()

func (*World) ProtoReflect

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

func (*World) Reset

func (x *World) Reset()

func (*World) String

func (x *World) String() string

type YearV1

type YearV1 struct {

	// Year number.
	Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	// Suffix of the year. It can be acronyms like BC or something more elaborate like "year of the phoenix" or nothing at all.
	Suffix string `protobuf:"bytes,2,opt,name=suffix,proto3" json:"suffix,omitempty"`
	// contains filtered or unexported fields
}

Year message with a number and an optional suffix.

func (*YearV1) Descriptor deprecated

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

Deprecated: Use YearV1.ProtoReflect.Descriptor instead.

func (*YearV1) GetNumber

func (x *YearV1) GetNumber() int32

func (*YearV1) GetSuffix

func (x *YearV1) GetSuffix() string

func (*YearV1) ProtoMessage

func (*YearV1) ProtoMessage()

func (*YearV1) ProtoReflect

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

func (*YearV1) Reset

func (x *YearV1) Reset()

func (*YearV1) String

func (x *YearV1) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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