dfproto

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2018 License: Zlib Imports: 5 Imported by: 0

Documentation

Overview

Package dfproto contains automatically generated implementations of DFHack protobuf messages.

To update, run `go generate`.

Index

Constants

View Source
const Default_BasicMaterialInfoMask_Flags bool = false
View Source
const Default_BasicMaterialInfoMask_Reaction bool = false
View Source
const Default_BasicMaterialInfoMask_Temperature int32 = 10015
View Source
const Default_BasicMaterialInfo_CreatureId int32 = -1
View Source
const Default_BasicMaterialInfo_HistfigId int32 = -1
View Source
const Default_BasicMaterialInfo_PlantId int32 = -1
View Source
const Default_BasicMaterialInfo_Subtype int32 = -1
View Source
const Default_BasicUnitInfoMask_Labors bool = false
View Source
const Default_BasicUnitInfoMask_MiscTraits bool = false
View Source
const Default_BasicUnitInfoMask_Profession bool = false
View Source
const Default_BasicUnitInfoMask_Skills bool = false
View Source
const Default_BasicUnitInfo_CivId int32 = -1
View Source
const Default_BasicUnitInfo_DeathId int32 = -1
View Source
const Default_BasicUnitInfo_Gender int32 = -1
View Source
const Default_BasicUnitInfo_HistfigId int32 = -1
View Source
const Default_BasicUnitInfo_Profession int32 = -1
View Source
const Default_BasicUnitInfo_SquadId int32 = -1
View Source
const Default_BasicUnitInfo_SquadPosition int32 = -1
View Source
const Default_EnumItemName_BitSize int32 = 1
View Source
const Default_NameInfo_LanguageId int32 = -1

Variables

View Source
var BasicMaterialInfoMask_StateType_name = map[int32]string{
	0: "Solid",
	1: "Liquid",
	2: "Gas",
	3: "Powder",
	4: "Paste",
	5: "Pressed",
}
View Source
var BasicMaterialInfoMask_StateType_value = map[string]int32{
	"Solid":   0,
	"Liquid":  1,
	"Gas":     2,
	"Powder":  3,
	"Paste":   4,
	"Pressed": 5,
}
View Source
var GetWorldInfoOut_Mode_name = map[int32]string{
	1: "MODE_DWARF",
	2: "MODE_ADVENTURE",
	3: "MODE_LEGENDS",
}
View Source
var GetWorldInfoOut_Mode_value = map[string]int32{
	"MODE_DWARF":     1,
	"MODE_ADVENTURE": 2,
	"MODE_LEGENDS":   3,
}

Functions

func CallGetDFVersion

func CallGetDFVersion(client *dfhackrpc.Client) (string, dfhackrpc.CommandResult, error)

CallGetDFVersion is a convenience wrapper around the GetDFVersion RPC method.

func CallGetVersion

func CallGetVersion(client *dfhackrpc.Client) (string, dfhackrpc.CommandResult, error)

CallGetVersion is a convenience wrapper around the GetVersion RPC method.

func CallSetUnitLabors

func CallSetUnitLabors(client *dfhackrpc.Client, request *SetUnitLaborsIn) (dfhackrpc.CommandResult, error)

CallSetUnitLabors is a convenience wrapper around the SetUnitLabors RPC method.

Types

type BasicMaterialId

type BasicMaterialId struct {
	Type                 *int32   `protobuf:"varint,1,req,name=type" json:"type,omitempty"`
	Index                *int32   `protobuf:"zigzag32,2,req,name=index" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BasicMaterialId) Descriptor

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

func (*BasicMaterialId) GetIndex

func (m *BasicMaterialId) GetIndex() int32

func (*BasicMaterialId) GetType

func (m *BasicMaterialId) GetType() int32

func (*BasicMaterialId) ProtoMessage

func (*BasicMaterialId) ProtoMessage()

func (*BasicMaterialId) Reset

func (m *BasicMaterialId) Reset()

func (*BasicMaterialId) String

func (m *BasicMaterialId) String() string

func (*BasicMaterialId) XXX_DiscardUnknown

func (m *BasicMaterialId) XXX_DiscardUnknown()

func (*BasicMaterialId) XXX_Marshal

func (m *BasicMaterialId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicMaterialId) XXX_Merge

func (dst *BasicMaterialId) XXX_Merge(src proto.Message)

func (*BasicMaterialId) XXX_Size

func (m *BasicMaterialId) XXX_Size() int

func (*BasicMaterialId) XXX_Unmarshal

func (m *BasicMaterialId) XXX_Unmarshal(b []byte) error

type BasicMaterialInfo

type BasicMaterialInfo struct {
	Type  *int32 `protobuf:"varint,1,req,name=type" json:"type,omitempty"`
	Index *int32 `protobuf:"zigzag32,2,req,name=index" json:"index,omitempty"`
	// The raw token
	Token *string `protobuf:"bytes,3,req,name=token" json:"token,omitempty"`
	// IF mask.flags:
	// List of material_flags indices
	Flags []int32 `protobuf:"varint,4,rep,name=flags" json:"flags,omitempty"`
	// Material type/index expanded:
	Subtype    *int32  `protobuf:"varint,5,opt,name=subtype,def=-1" json:"subtype,omitempty"`
	CreatureId *int32  `protobuf:"varint,6,opt,name=creature_id,json=creatureId,def=-1" json:"creature_id,omitempty"`
	PlantId    *int32  `protobuf:"varint,7,opt,name=plant_id,json=plantId,def=-1" json:"plant_id,omitempty"`
	HistfigId  *int32  `protobuf:"varint,8,opt,name=histfig_id,json=histfigId,def=-1" json:"histfig_id,omitempty"`
	NamePrefix *string `protobuf:"bytes,9,opt,name=name_prefix,json=namePrefix,def=" json:"name_prefix,omitempty"`
	// IF mask.states: in listed order;
	// ELSE: one state matching mask.temperature
	StateColor      []uint32                     `protobuf:"fixed32,10,rep,name=state_color,json=stateColor" json:"state_color,omitempty"`
	StateName       []string                     `protobuf:"bytes,11,rep,name=state_name,json=stateName" json:"state_name,omitempty"`
	StateAdj        []string                     `protobuf:"bytes,12,rep,name=state_adj,json=stateAdj" json:"state_adj,omitempty"`
	ReactionClass   []string                     `protobuf:"bytes,13,rep,name=reaction_class,json=reactionClass" json:"reaction_class,omitempty"`
	ReactionProduct []*BasicMaterialInfo_Product `protobuf:"bytes,14,rep,name=reaction_product,json=reactionProduct" json:"reaction_product,omitempty"`
	// IF mask.flags:
	InorganicFlags       []int32  `protobuf:"varint,15,rep,name=inorganic_flags,json=inorganicFlags" json:"inorganic_flags,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BasicMaterialInfo) Descriptor

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

func (*BasicMaterialInfo) GetCreatureId

func (m *BasicMaterialInfo) GetCreatureId() int32

func (*BasicMaterialInfo) GetFlags

func (m *BasicMaterialInfo) GetFlags() []int32

func (*BasicMaterialInfo) GetHistfigId

func (m *BasicMaterialInfo) GetHistfigId() int32

func (*BasicMaterialInfo) GetIndex

func (m *BasicMaterialInfo) GetIndex() int32

func (*BasicMaterialInfo) GetInorganicFlags

func (m *BasicMaterialInfo) GetInorganicFlags() []int32

func (*BasicMaterialInfo) GetNamePrefix

func (m *BasicMaterialInfo) GetNamePrefix() string

func (*BasicMaterialInfo) GetPlantId

func (m *BasicMaterialInfo) GetPlantId() int32

func (*BasicMaterialInfo) GetReactionClass

func (m *BasicMaterialInfo) GetReactionClass() []string

func (*BasicMaterialInfo) GetReactionProduct

func (m *BasicMaterialInfo) GetReactionProduct() []*BasicMaterialInfo_Product

func (*BasicMaterialInfo) GetStateAdj

func (m *BasicMaterialInfo) GetStateAdj() []string

func (*BasicMaterialInfo) GetStateColor

func (m *BasicMaterialInfo) GetStateColor() []uint32

func (*BasicMaterialInfo) GetStateName

func (m *BasicMaterialInfo) GetStateName() []string

func (*BasicMaterialInfo) GetSubtype

func (m *BasicMaterialInfo) GetSubtype() int32

func (*BasicMaterialInfo) GetToken

func (m *BasicMaterialInfo) GetToken() string

func (*BasicMaterialInfo) GetType

func (m *BasicMaterialInfo) GetType() int32

func (*BasicMaterialInfo) ProtoMessage

func (*BasicMaterialInfo) ProtoMessage()

func (*BasicMaterialInfo) Reset

func (m *BasicMaterialInfo) Reset()

func (*BasicMaterialInfo) String

func (m *BasicMaterialInfo) String() string

func (*BasicMaterialInfo) XXX_DiscardUnknown

func (m *BasicMaterialInfo) XXX_DiscardUnknown()

func (*BasicMaterialInfo) XXX_Marshal

func (m *BasicMaterialInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicMaterialInfo) XXX_Merge

func (dst *BasicMaterialInfo) XXX_Merge(src proto.Message)

func (*BasicMaterialInfo) XXX_Size

func (m *BasicMaterialInfo) XXX_Size() int

func (*BasicMaterialInfo) XXX_Unmarshal

func (m *BasicMaterialInfo) XXX_Unmarshal(b []byte) error

type BasicMaterialInfoMask

type BasicMaterialInfoMask struct {
	States               []BasicMaterialInfoMask_StateType `protobuf:"varint,1,rep,name=states,enum=dfproto.BasicMaterialInfoMask_StateType" json:"states,omitempty"`
	Temperature          *int32                            `protobuf:"varint,4,opt,name=temperature,def=10015" json:"temperature,omitempty"`
	Flags                *bool                             `protobuf:"varint,2,opt,name=flags,def=0" json:"flags,omitempty"`
	Reaction             *bool                             `protobuf:"varint,3,opt,name=reaction,def=0" json:"reaction,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                          `json:"-"`
	XXX_unrecognized     []byte                            `json:"-"`
	XXX_sizecache        int32                             `json:"-"`
}

func (*BasicMaterialInfoMask) Descriptor

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

func (*BasicMaterialInfoMask) GetFlags

func (m *BasicMaterialInfoMask) GetFlags() bool

func (*BasicMaterialInfoMask) GetReaction

func (m *BasicMaterialInfoMask) GetReaction() bool

func (*BasicMaterialInfoMask) GetStates

func (*BasicMaterialInfoMask) GetTemperature

func (m *BasicMaterialInfoMask) GetTemperature() int32

func (*BasicMaterialInfoMask) ProtoMessage

func (*BasicMaterialInfoMask) ProtoMessage()

func (*BasicMaterialInfoMask) Reset

func (m *BasicMaterialInfoMask) Reset()

func (*BasicMaterialInfoMask) String

func (m *BasicMaterialInfoMask) String() string

func (*BasicMaterialInfoMask) XXX_DiscardUnknown

func (m *BasicMaterialInfoMask) XXX_DiscardUnknown()

func (*BasicMaterialInfoMask) XXX_Marshal

func (m *BasicMaterialInfoMask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicMaterialInfoMask) XXX_Merge

func (dst *BasicMaterialInfoMask) XXX_Merge(src proto.Message)

func (*BasicMaterialInfoMask) XXX_Size

func (m *BasicMaterialInfoMask) XXX_Size() int

func (*BasicMaterialInfoMask) XXX_Unmarshal

func (m *BasicMaterialInfoMask) XXX_Unmarshal(b []byte) error

type BasicMaterialInfoMask_StateType

type BasicMaterialInfoMask_StateType int32
const (
	BasicMaterialInfoMask_Solid   BasicMaterialInfoMask_StateType = 0
	BasicMaterialInfoMask_Liquid  BasicMaterialInfoMask_StateType = 1
	BasicMaterialInfoMask_Gas     BasicMaterialInfoMask_StateType = 2
	BasicMaterialInfoMask_Powder  BasicMaterialInfoMask_StateType = 3
	BasicMaterialInfoMask_Paste   BasicMaterialInfoMask_StateType = 4
	BasicMaterialInfoMask_Pressed BasicMaterialInfoMask_StateType = 5
)

func (BasicMaterialInfoMask_StateType) Enum

func (BasicMaterialInfoMask_StateType) EnumDescriptor

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

func (BasicMaterialInfoMask_StateType) String

func (*BasicMaterialInfoMask_StateType) UnmarshalJSON

func (x *BasicMaterialInfoMask_StateType) UnmarshalJSON(data []byte) error

type BasicMaterialInfo_Product

type BasicMaterialInfo_Product struct {
	Id                   *string  `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	Type                 *int32   `protobuf:"varint,2,req,name=type" json:"type,omitempty"`
	Index                *int32   `protobuf:"zigzag32,3,req,name=index" json:"index,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

IF mask.reaction:

func (*BasicMaterialInfo_Product) Descriptor

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

func (*BasicMaterialInfo_Product) GetId

func (m *BasicMaterialInfo_Product) GetId() string

func (*BasicMaterialInfo_Product) GetIndex

func (m *BasicMaterialInfo_Product) GetIndex() int32

func (*BasicMaterialInfo_Product) GetType

func (m *BasicMaterialInfo_Product) GetType() int32

func (*BasicMaterialInfo_Product) ProtoMessage

func (*BasicMaterialInfo_Product) ProtoMessage()

func (*BasicMaterialInfo_Product) Reset

func (m *BasicMaterialInfo_Product) Reset()

func (*BasicMaterialInfo_Product) String

func (m *BasicMaterialInfo_Product) String() string

func (*BasicMaterialInfo_Product) XXX_DiscardUnknown

func (m *BasicMaterialInfo_Product) XXX_DiscardUnknown()

func (*BasicMaterialInfo_Product) XXX_Marshal

func (m *BasicMaterialInfo_Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicMaterialInfo_Product) XXX_Merge

func (dst *BasicMaterialInfo_Product) XXX_Merge(src proto.Message)

func (*BasicMaterialInfo_Product) XXX_Size

func (m *BasicMaterialInfo_Product) XXX_Size() int

func (*BasicMaterialInfo_Product) XXX_Unmarshal

func (m *BasicMaterialInfo_Product) XXX_Unmarshal(b []byte) error

type BasicSquadInfo

type BasicSquadInfo struct {
	SquadId *int32    `protobuf:"varint,1,req,name=squad_id,json=squadId" json:"squad_id,omitempty"`
	Name    *NameInfo `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// A special field completely overriding the name:
	Alias *string `protobuf:"bytes,3,opt,name=alias" json:"alias,omitempty"`
	// Member histfig ids:
	Members              []int32  `protobuf:"zigzag32,4,rep,name=members" json:"members,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BasicSquadInfo) Descriptor

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

func (*BasicSquadInfo) GetAlias

func (m *BasicSquadInfo) GetAlias() string

func (*BasicSquadInfo) GetMembers

func (m *BasicSquadInfo) GetMembers() []int32

func (*BasicSquadInfo) GetName

func (m *BasicSquadInfo) GetName() *NameInfo

func (*BasicSquadInfo) GetSquadId

func (m *BasicSquadInfo) GetSquadId() int32

func (*BasicSquadInfo) ProtoMessage

func (*BasicSquadInfo) ProtoMessage()

func (*BasicSquadInfo) Reset

func (m *BasicSquadInfo) Reset()

func (*BasicSquadInfo) String

func (m *BasicSquadInfo) String() string

func (*BasicSquadInfo) XXX_DiscardUnknown

func (m *BasicSquadInfo) XXX_DiscardUnknown()

func (*BasicSquadInfo) XXX_Marshal

func (m *BasicSquadInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicSquadInfo) XXX_Merge

func (dst *BasicSquadInfo) XXX_Merge(src proto.Message)

func (*BasicSquadInfo) XXX_Size

func (m *BasicSquadInfo) XXX_Size() int

func (*BasicSquadInfo) XXX_Unmarshal

func (m *BasicSquadInfo) XXX_Unmarshal(b []byte) error

type BasicUnitInfo

type BasicUnitInfo struct {
	UnitId     *int32    `protobuf:"varint,1,req,name=unit_id,json=unitId" json:"unit_id,omitempty"`
	PosX       *int32    `protobuf:"varint,13,req,name=pos_x,json=posX" json:"pos_x,omitempty"`
	PosY       *int32    `protobuf:"varint,14,req,name=pos_y,json=posY" json:"pos_y,omitempty"`
	PosZ       *int32    `protobuf:"varint,15,req,name=pos_z,json=posZ" json:"pos_z,omitempty"`
	Name       *NameInfo `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	Flags1     *uint32   `protobuf:"fixed32,3,req,name=flags1" json:"flags1,omitempty"`
	Flags2     *uint32   `protobuf:"fixed32,4,req,name=flags2" json:"flags2,omitempty"`
	Flags3     *uint32   `protobuf:"fixed32,5,req,name=flags3" json:"flags3,omitempty"`
	Race       *int32    `protobuf:"varint,6,req,name=race" json:"race,omitempty"`
	Caste      *int32    `protobuf:"varint,7,req,name=caste" json:"caste,omitempty"`
	Gender     *int32    `protobuf:"varint,8,opt,name=gender,def=-1" json:"gender,omitempty"`
	CivId      *int32    `protobuf:"varint,9,opt,name=civ_id,json=civId,def=-1" json:"civ_id,omitempty"`
	HistfigId  *int32    `protobuf:"varint,10,opt,name=histfig_id,json=histfigId,def=-1" json:"histfig_id,omitempty"`
	DeathId    *int32    `protobuf:"varint,17,opt,name=death_id,json=deathId,def=-1" json:"death_id,omitempty"`
	DeathFlags *uint32   `protobuf:"varint,18,opt,name=death_flags,json=deathFlags" json:"death_flags,omitempty"`
	// IF mask.profession:
	SquadId          *int32  `protobuf:"varint,19,opt,name=squad_id,json=squadId,def=-1" json:"squad_id,omitempty"`
	SquadPosition    *int32  `protobuf:"varint,20,opt,name=squad_position,json=squadPosition,def=-1" json:"squad_position,omitempty"`
	Profession       *int32  `protobuf:"varint,22,opt,name=profession,def=-1" json:"profession,omitempty"`
	CustomProfession *string `protobuf:"bytes,23,opt,name=custom_profession,json=customProfession" json:"custom_profession,omitempty"`
	// IF mask.labors:
	Labors []int32 `protobuf:"varint,11,rep,name=labors" json:"labors,omitempty"`
	// IF mask.skills:
	Skills []*SkillInfo `protobuf:"bytes,12,rep,name=skills" json:"skills,omitempty"`
	// IF mask.misc_traits:
	MiscTraits           []*UnitMiscTrait `protobuf:"bytes,24,rep,name=misc_traits,json=miscTraits" json:"misc_traits,omitempty"`
	Curse                *UnitCurseInfo   `protobuf:"bytes,16,opt,name=curse" json:"curse,omitempty"`
	Burrows              []int32          `protobuf:"varint,21,rep,name=burrows" json:"burrows,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*BasicUnitInfo) Descriptor

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

func (*BasicUnitInfo) GetBurrows

func (m *BasicUnitInfo) GetBurrows() []int32

func (*BasicUnitInfo) GetCaste

func (m *BasicUnitInfo) GetCaste() int32

func (*BasicUnitInfo) GetCivId

func (m *BasicUnitInfo) GetCivId() int32

func (*BasicUnitInfo) GetCurse

func (m *BasicUnitInfo) GetCurse() *UnitCurseInfo

func (*BasicUnitInfo) GetCustomProfession

func (m *BasicUnitInfo) GetCustomProfession() string

func (*BasicUnitInfo) GetDeathFlags

func (m *BasicUnitInfo) GetDeathFlags() uint32

func (*BasicUnitInfo) GetDeathId

func (m *BasicUnitInfo) GetDeathId() int32

func (*BasicUnitInfo) GetFlags1

func (m *BasicUnitInfo) GetFlags1() uint32

func (*BasicUnitInfo) GetFlags2

func (m *BasicUnitInfo) GetFlags2() uint32

func (*BasicUnitInfo) GetFlags3

func (m *BasicUnitInfo) GetFlags3() uint32

func (*BasicUnitInfo) GetGender

func (m *BasicUnitInfo) GetGender() int32

func (*BasicUnitInfo) GetHistfigId

func (m *BasicUnitInfo) GetHistfigId() int32

func (*BasicUnitInfo) GetLabors

func (m *BasicUnitInfo) GetLabors() []int32

func (*BasicUnitInfo) GetMiscTraits

func (m *BasicUnitInfo) GetMiscTraits() []*UnitMiscTrait

func (*BasicUnitInfo) GetName

func (m *BasicUnitInfo) GetName() *NameInfo

func (*BasicUnitInfo) GetPosX

func (m *BasicUnitInfo) GetPosX() int32

func (*BasicUnitInfo) GetPosY

func (m *BasicUnitInfo) GetPosY() int32

func (*BasicUnitInfo) GetPosZ

func (m *BasicUnitInfo) GetPosZ() int32

func (*BasicUnitInfo) GetProfession

func (m *BasicUnitInfo) GetProfession() int32

func (*BasicUnitInfo) GetRace

func (m *BasicUnitInfo) GetRace() int32

func (*BasicUnitInfo) GetSkills

func (m *BasicUnitInfo) GetSkills() []*SkillInfo

func (*BasicUnitInfo) GetSquadId

func (m *BasicUnitInfo) GetSquadId() int32

func (*BasicUnitInfo) GetSquadPosition

func (m *BasicUnitInfo) GetSquadPosition() int32

func (*BasicUnitInfo) GetUnitId

func (m *BasicUnitInfo) GetUnitId() int32

func (*BasicUnitInfo) ProtoMessage

func (*BasicUnitInfo) ProtoMessage()

func (*BasicUnitInfo) Reset

func (m *BasicUnitInfo) Reset()

func (*BasicUnitInfo) String

func (m *BasicUnitInfo) String() string

func (*BasicUnitInfo) XXX_DiscardUnknown

func (m *BasicUnitInfo) XXX_DiscardUnknown()

func (*BasicUnitInfo) XXX_Marshal

func (m *BasicUnitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicUnitInfo) XXX_Merge

func (dst *BasicUnitInfo) XXX_Merge(src proto.Message)

func (*BasicUnitInfo) XXX_Size

func (m *BasicUnitInfo) XXX_Size() int

func (*BasicUnitInfo) XXX_Unmarshal

func (m *BasicUnitInfo) XXX_Unmarshal(b []byte) error

type BasicUnitInfoMask

type BasicUnitInfoMask struct {
	Labors               *bool    `protobuf:"varint,1,opt,name=labors,def=0" json:"labors,omitempty"`
	Skills               *bool    `protobuf:"varint,2,opt,name=skills,def=0" json:"skills,omitempty"`
	Profession           *bool    `protobuf:"varint,3,opt,name=profession,def=0" json:"profession,omitempty"`
	MiscTraits           *bool    `protobuf:"varint,4,opt,name=misc_traits,json=miscTraits,def=0" json:"misc_traits,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BasicUnitInfoMask) Descriptor

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

func (*BasicUnitInfoMask) GetLabors

func (m *BasicUnitInfoMask) GetLabors() bool

func (*BasicUnitInfoMask) GetMiscTraits

func (m *BasicUnitInfoMask) GetMiscTraits() bool

func (*BasicUnitInfoMask) GetProfession

func (m *BasicUnitInfoMask) GetProfession() bool

func (*BasicUnitInfoMask) GetSkills

func (m *BasicUnitInfoMask) GetSkills() bool

func (*BasicUnitInfoMask) ProtoMessage

func (*BasicUnitInfoMask) ProtoMessage()

func (*BasicUnitInfoMask) Reset

func (m *BasicUnitInfoMask) Reset()

func (*BasicUnitInfoMask) String

func (m *BasicUnitInfoMask) String() string

func (*BasicUnitInfoMask) XXX_DiscardUnknown

func (m *BasicUnitInfoMask) XXX_DiscardUnknown()

func (*BasicUnitInfoMask) XXX_Marshal

func (m *BasicUnitInfoMask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BasicUnitInfoMask) XXX_Merge

func (dst *BasicUnitInfoMask) XXX_Merge(src proto.Message)

func (*BasicUnitInfoMask) XXX_Size

func (m *BasicUnitInfoMask) XXX_Size() int

func (*BasicUnitInfoMask) XXX_Unmarshal

func (m *BasicUnitInfoMask) XXX_Unmarshal(b []byte) error

type EnumItemName

type EnumItemName struct {
	Value *int32  `protobuf:"varint,1,req,name=value" json:"value,omitempty"`
	Name  *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	// For bitfield members
	BitSize              *int32   `protobuf:"varint,3,opt,name=bit_size,json=bitSize,def=1" json:"bit_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EnumItemName) Descriptor

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

func (*EnumItemName) GetBitSize

func (m *EnumItemName) GetBitSize() int32

func (*EnumItemName) GetName

func (m *EnumItemName) GetName() string

func (*EnumItemName) GetValue

func (m *EnumItemName) GetValue() int32

func (*EnumItemName) ProtoMessage

func (*EnumItemName) ProtoMessage()

func (*EnumItemName) Reset

func (m *EnumItemName) Reset()

func (*EnumItemName) String

func (m *EnumItemName) String() string

func (*EnumItemName) XXX_DiscardUnknown

func (m *EnumItemName) XXX_DiscardUnknown()

func (*EnumItemName) XXX_Marshal

func (m *EnumItemName) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EnumItemName) XXX_Merge

func (dst *EnumItemName) XXX_Merge(src proto.Message)

func (*EnumItemName) XXX_Size

func (m *EnumItemName) XXX_Size() int

func (*EnumItemName) XXX_Unmarshal

func (m *EnumItemName) XXX_Unmarshal(b []byte) error

type GetWorldInfoOut

type GetWorldInfoOut struct {
	Mode      *GetWorldInfoOut_Mode `protobuf:"varint,1,req,name=mode,enum=dfproto.GetWorldInfoOut_Mode" json:"mode,omitempty"`
	SaveDir   *string               `protobuf:"bytes,2,req,name=save_dir,json=saveDir" json:"save_dir,omitempty"`
	WorldName *NameInfo             `protobuf:"bytes,3,opt,name=world_name,json=worldName" json:"world_name,omitempty"`
	// Dwarf mode
	CivId   *int32 `protobuf:"varint,4,opt,name=civ_id,json=civId" json:"civ_id,omitempty"`
	SiteId  *int32 `protobuf:"varint,5,opt,name=site_id,json=siteId" json:"site_id,omitempty"`
	GroupId *int32 `protobuf:"varint,6,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
	RaceId  *int32 `protobuf:"varint,7,opt,name=race_id,json=raceId" json:"race_id,omitempty"`
	// Adventure mode
	PlayerUnitId         *int32   `protobuf:"varint,8,opt,name=player_unit_id,json=playerUnitId" json:"player_unit_id,omitempty"`
	PlayerHistfigId      *int32   `protobuf:"varint,9,opt,name=player_histfig_id,json=playerHistfigId" json:"player_histfig_id,omitempty"`
	CompanionHistfigIds  []int32  `protobuf:"varint,10,rep,name=companion_histfig_ids,json=companionHistfigIds" json:"companion_histfig_ids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPC GetWorldInfo : EmptyMessage -> GetWorldInfoOut

func CallGetWorldInfo

func CallGetWorldInfo(client *dfhackrpc.Client) (*GetWorldInfoOut, dfhackrpc.CommandResult, error)

CallGetWorldInfo is a convenience wrapper around the GetWorldInfo RPC method.

func (*GetWorldInfoOut) Descriptor

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

func (*GetWorldInfoOut) GetCivId

func (m *GetWorldInfoOut) GetCivId() int32

func (*GetWorldInfoOut) GetCompanionHistfigIds

func (m *GetWorldInfoOut) GetCompanionHistfigIds() []int32

func (*GetWorldInfoOut) GetGroupId

func (m *GetWorldInfoOut) GetGroupId() int32

func (*GetWorldInfoOut) GetMode

func (*GetWorldInfoOut) GetPlayerHistfigId

func (m *GetWorldInfoOut) GetPlayerHistfigId() int32

func (*GetWorldInfoOut) GetPlayerUnitId

func (m *GetWorldInfoOut) GetPlayerUnitId() int32

func (*GetWorldInfoOut) GetRaceId

func (m *GetWorldInfoOut) GetRaceId() int32

func (*GetWorldInfoOut) GetSaveDir

func (m *GetWorldInfoOut) GetSaveDir() string

func (*GetWorldInfoOut) GetSiteId

func (m *GetWorldInfoOut) GetSiteId() int32

func (*GetWorldInfoOut) GetWorldName

func (m *GetWorldInfoOut) GetWorldName() *NameInfo

func (*GetWorldInfoOut) ProtoMessage

func (*GetWorldInfoOut) ProtoMessage()

func (*GetWorldInfoOut) Reset

func (m *GetWorldInfoOut) Reset()

func (*GetWorldInfoOut) String

func (m *GetWorldInfoOut) String() string

func (*GetWorldInfoOut) XXX_DiscardUnknown

func (m *GetWorldInfoOut) XXX_DiscardUnknown()

func (*GetWorldInfoOut) XXX_Marshal

func (m *GetWorldInfoOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetWorldInfoOut) XXX_Merge

func (dst *GetWorldInfoOut) XXX_Merge(src proto.Message)

func (*GetWorldInfoOut) XXX_Size

func (m *GetWorldInfoOut) XXX_Size() int

func (*GetWorldInfoOut) XXX_Unmarshal

func (m *GetWorldInfoOut) XXX_Unmarshal(b []byte) error

type GetWorldInfoOut_Mode

type GetWorldInfoOut_Mode int32
const (
	GetWorldInfoOut_MODE_DWARF     GetWorldInfoOut_Mode = 1
	GetWorldInfoOut_MODE_ADVENTURE GetWorldInfoOut_Mode = 2
	GetWorldInfoOut_MODE_LEGENDS   GetWorldInfoOut_Mode = 3
)

func (GetWorldInfoOut_Mode) Enum

func (GetWorldInfoOut_Mode) EnumDescriptor

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

func (GetWorldInfoOut_Mode) String

func (x GetWorldInfoOut_Mode) String() string

func (*GetWorldInfoOut_Mode) UnmarshalJSON

func (x *GetWorldInfoOut_Mode) UnmarshalJSON(data []byte) error

type JobSkillAttr

type JobSkillAttr struct {
	Id                   *int32   `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	Key                  *string  `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	Caption              *string  `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"`
	CaptionNoun          *string  `protobuf:"bytes,4,opt,name=caption_noun,json=captionNoun" json:"caption_noun,omitempty"`
	Profession           *int32   `protobuf:"varint,5,opt,name=profession" json:"profession,omitempty"`
	Labor                *int32   `protobuf:"varint,6,opt,name=labor" json:"labor,omitempty"`
	Type                 *string  `protobuf:"bytes,7,opt,name=type" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JobSkillAttr) Descriptor

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

func (*JobSkillAttr) GetCaption

func (m *JobSkillAttr) GetCaption() string

func (*JobSkillAttr) GetCaptionNoun

func (m *JobSkillAttr) GetCaptionNoun() string

func (*JobSkillAttr) GetId

func (m *JobSkillAttr) GetId() int32

func (*JobSkillAttr) GetKey

func (m *JobSkillAttr) GetKey() string

func (*JobSkillAttr) GetLabor

func (m *JobSkillAttr) GetLabor() int32

func (*JobSkillAttr) GetProfession

func (m *JobSkillAttr) GetProfession() int32

func (*JobSkillAttr) GetType

func (m *JobSkillAttr) GetType() string

func (*JobSkillAttr) ProtoMessage

func (*JobSkillAttr) ProtoMessage()

func (*JobSkillAttr) Reset

func (m *JobSkillAttr) Reset()

func (*JobSkillAttr) String

func (m *JobSkillAttr) String() string

func (*JobSkillAttr) XXX_DiscardUnknown

func (m *JobSkillAttr) XXX_DiscardUnknown()

func (*JobSkillAttr) XXX_Marshal

func (m *JobSkillAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JobSkillAttr) XXX_Merge

func (dst *JobSkillAttr) XXX_Merge(src proto.Message)

func (*JobSkillAttr) XXX_Size

func (m *JobSkillAttr) XXX_Size() int

func (*JobSkillAttr) XXX_Unmarshal

func (m *JobSkillAttr) XXX_Unmarshal(b []byte) error

type ListEnumsOut

type ListEnumsOut struct {
	MaterialFlags        []*EnumItemName `protobuf:"bytes,1,rep,name=material_flags,json=materialFlags" json:"material_flags,omitempty"`
	InorganicFlags       []*EnumItemName `protobuf:"bytes,2,rep,name=inorganic_flags,json=inorganicFlags" json:"inorganic_flags,omitempty"`
	UnitFlags1           []*EnumItemName `protobuf:"bytes,3,rep,name=unit_flags1,json=unitFlags1" json:"unit_flags1,omitempty"`
	UnitFlags2           []*EnumItemName `protobuf:"bytes,4,rep,name=unit_flags2,json=unitFlags2" json:"unit_flags2,omitempty"`
	UnitFlags3           []*EnumItemName `protobuf:"bytes,5,rep,name=unit_flags3,json=unitFlags3" json:"unit_flags3,omitempty"`
	UnitLabor            []*EnumItemName `protobuf:"bytes,6,rep,name=unit_labor,json=unitLabor" json:"unit_labor,omitempty"`
	JobSkill             []*EnumItemName `protobuf:"bytes,7,rep,name=job_skill,json=jobSkill" json:"job_skill,omitempty"`
	CieAddTagMask1       []*EnumItemName `protobuf:"bytes,8,rep,name=cie_add_tag_mask1,json=cieAddTagMask1" json:"cie_add_tag_mask1,omitempty"`
	CieAddTagMask2       []*EnumItemName `protobuf:"bytes,9,rep,name=cie_add_tag_mask2,json=cieAddTagMask2" json:"cie_add_tag_mask2,omitempty"`
	DeathInfoFlags       []*EnumItemName `protobuf:"bytes,10,rep,name=death_info_flags,json=deathInfoFlags" json:"death_info_flags,omitempty"`
	Profession           []*EnumItemName `protobuf:"bytes,11,rep,name=profession" json:"profession,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

RPC ListEnums : EmptyMessage -> ListEnumsOut

func CallListEnums

func CallListEnums(client *dfhackrpc.Client) (*ListEnumsOut, dfhackrpc.CommandResult, error)

CallListEnums is a convenience wrapper around the ListEnums RPC method.

func (*ListEnumsOut) Descriptor

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

func (*ListEnumsOut) GetCieAddTagMask1

func (m *ListEnumsOut) GetCieAddTagMask1() []*EnumItemName

func (*ListEnumsOut) GetCieAddTagMask2

func (m *ListEnumsOut) GetCieAddTagMask2() []*EnumItemName

func (*ListEnumsOut) GetDeathInfoFlags

func (m *ListEnumsOut) GetDeathInfoFlags() []*EnumItemName

func (*ListEnumsOut) GetInorganicFlags

func (m *ListEnumsOut) GetInorganicFlags() []*EnumItemName

func (*ListEnumsOut) GetJobSkill

func (m *ListEnumsOut) GetJobSkill() []*EnumItemName

func (*ListEnumsOut) GetMaterialFlags

func (m *ListEnumsOut) GetMaterialFlags() []*EnumItemName

func (*ListEnumsOut) GetProfession

func (m *ListEnumsOut) GetProfession() []*EnumItemName

func (*ListEnumsOut) GetUnitFlags1

func (m *ListEnumsOut) GetUnitFlags1() []*EnumItemName

func (*ListEnumsOut) GetUnitFlags2

func (m *ListEnumsOut) GetUnitFlags2() []*EnumItemName

func (*ListEnumsOut) GetUnitFlags3

func (m *ListEnumsOut) GetUnitFlags3() []*EnumItemName

func (*ListEnumsOut) GetUnitLabor

func (m *ListEnumsOut) GetUnitLabor() []*EnumItemName

func (*ListEnumsOut) ProtoMessage

func (*ListEnumsOut) ProtoMessage()

func (*ListEnumsOut) Reset

func (m *ListEnumsOut) Reset()

func (*ListEnumsOut) String

func (m *ListEnumsOut) String() string

func (*ListEnumsOut) XXX_DiscardUnknown

func (m *ListEnumsOut) XXX_DiscardUnknown()

func (*ListEnumsOut) XXX_Marshal

func (m *ListEnumsOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListEnumsOut) XXX_Merge

func (dst *ListEnumsOut) XXX_Merge(src proto.Message)

func (*ListEnumsOut) XXX_Size

func (m *ListEnumsOut) XXX_Size() int

func (*ListEnumsOut) XXX_Unmarshal

func (m *ListEnumsOut) XXX_Unmarshal(b []byte) error

type ListJobSkillsOut

type ListJobSkillsOut struct {
	Skill                []*JobSkillAttr   `protobuf:"bytes,1,rep,name=skill" json:"skill,omitempty"`
	Profession           []*ProfessionAttr `protobuf:"bytes,2,rep,name=profession" json:"profession,omitempty"`
	Labor                []*UnitLaborAttr  `protobuf:"bytes,3,rep,name=labor" json:"labor,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

RPC ListJobSkills : EmptyMessage -> ListJobSkillsOut

func CallListJobSkills

func CallListJobSkills(client *dfhackrpc.Client) (*ListJobSkillsOut, dfhackrpc.CommandResult, error)

CallListJobSkills is a convenience wrapper around the ListJobSkills RPC method.

func (*ListJobSkillsOut) Descriptor

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

func (*ListJobSkillsOut) GetLabor

func (m *ListJobSkillsOut) GetLabor() []*UnitLaborAttr

func (*ListJobSkillsOut) GetProfession

func (m *ListJobSkillsOut) GetProfession() []*ProfessionAttr

func (*ListJobSkillsOut) GetSkill

func (m *ListJobSkillsOut) GetSkill() []*JobSkillAttr

func (*ListJobSkillsOut) ProtoMessage

func (*ListJobSkillsOut) ProtoMessage()

func (*ListJobSkillsOut) Reset

func (m *ListJobSkillsOut) Reset()

func (*ListJobSkillsOut) String

func (m *ListJobSkillsOut) String() string

func (*ListJobSkillsOut) XXX_DiscardUnknown

func (m *ListJobSkillsOut) XXX_DiscardUnknown()

func (*ListJobSkillsOut) XXX_Marshal

func (m *ListJobSkillsOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListJobSkillsOut) XXX_Merge

func (dst *ListJobSkillsOut) XXX_Merge(src proto.Message)

func (*ListJobSkillsOut) XXX_Size

func (m *ListJobSkillsOut) XXX_Size() int

func (*ListJobSkillsOut) XXX_Unmarshal

func (m *ListJobSkillsOut) XXX_Unmarshal(b []byte) error

type ListMaterialsIn

type ListMaterialsIn struct {
	Mask *BasicMaterialInfoMask `protobuf:"bytes,1,opt,name=mask" json:"mask,omitempty"`
	// Specific materials:
	IdList []*BasicMaterialId `protobuf:"bytes,2,rep,name=id_list,json=idList" json:"id_list,omitempty"`
	// Complete list by type:
	Builtin              *bool    `protobuf:"varint,3,opt,name=builtin" json:"builtin,omitempty"`
	Inorganic            *bool    `protobuf:"varint,4,opt,name=inorganic" json:"inorganic,omitempty"`
	Creatures            *bool    `protobuf:"varint,5,opt,name=creatures" json:"creatures,omitempty"`
	Plants               *bool    `protobuf:"varint,6,opt,name=plants" json:"plants,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPC ListMaterials : ListMaterialsIn -> ListMaterialsOut

func (*ListMaterialsIn) Descriptor

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

func (*ListMaterialsIn) GetBuiltin

func (m *ListMaterialsIn) GetBuiltin() bool

func (*ListMaterialsIn) GetCreatures

func (m *ListMaterialsIn) GetCreatures() bool

func (*ListMaterialsIn) GetIdList

func (m *ListMaterialsIn) GetIdList() []*BasicMaterialId

func (*ListMaterialsIn) GetInorganic

func (m *ListMaterialsIn) GetInorganic() bool

func (*ListMaterialsIn) GetMask

func (m *ListMaterialsIn) GetMask() *BasicMaterialInfoMask

func (*ListMaterialsIn) GetPlants

func (m *ListMaterialsIn) GetPlants() bool

func (*ListMaterialsIn) ProtoMessage

func (*ListMaterialsIn) ProtoMessage()

func (*ListMaterialsIn) Reset

func (m *ListMaterialsIn) Reset()

func (*ListMaterialsIn) String

func (m *ListMaterialsIn) String() string

func (*ListMaterialsIn) XXX_DiscardUnknown

func (m *ListMaterialsIn) XXX_DiscardUnknown()

func (*ListMaterialsIn) XXX_Marshal

func (m *ListMaterialsIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMaterialsIn) XXX_Merge

func (dst *ListMaterialsIn) XXX_Merge(src proto.Message)

func (*ListMaterialsIn) XXX_Size

func (m *ListMaterialsIn) XXX_Size() int

func (*ListMaterialsIn) XXX_Unmarshal

func (m *ListMaterialsIn) XXX_Unmarshal(b []byte) error

type ListMaterialsOut

type ListMaterialsOut struct {
	Value                []*BasicMaterialInfo `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func CallListMaterials

func CallListMaterials(client *dfhackrpc.Client, request *ListMaterialsIn) (*ListMaterialsOut, dfhackrpc.CommandResult, error)

CallListMaterials is a convenience wrapper around the ListMaterials RPC method.

func (*ListMaterialsOut) Descriptor

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

func (*ListMaterialsOut) GetValue

func (m *ListMaterialsOut) GetValue() []*BasicMaterialInfo

func (*ListMaterialsOut) ProtoMessage

func (*ListMaterialsOut) ProtoMessage()

func (*ListMaterialsOut) Reset

func (m *ListMaterialsOut) Reset()

func (*ListMaterialsOut) String

func (m *ListMaterialsOut) String() string

func (*ListMaterialsOut) XXX_DiscardUnknown

func (m *ListMaterialsOut) XXX_DiscardUnknown()

func (*ListMaterialsOut) XXX_Marshal

func (m *ListMaterialsOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMaterialsOut) XXX_Merge

func (dst *ListMaterialsOut) XXX_Merge(src proto.Message)

func (*ListMaterialsOut) XXX_Size

func (m *ListMaterialsOut) XXX_Size() int

func (*ListMaterialsOut) XXX_Unmarshal

func (m *ListMaterialsOut) XXX_Unmarshal(b []byte) error

type ListSquadsIn

type ListSquadsIn struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPC ListSquads : ListSquadsIn -> ListSquadsOut

func (*ListSquadsIn) Descriptor

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

func (*ListSquadsIn) ProtoMessage

func (*ListSquadsIn) ProtoMessage()

func (*ListSquadsIn) Reset

func (m *ListSquadsIn) Reset()

func (*ListSquadsIn) String

func (m *ListSquadsIn) String() string

func (*ListSquadsIn) XXX_DiscardUnknown

func (m *ListSquadsIn) XXX_DiscardUnknown()

func (*ListSquadsIn) XXX_Marshal

func (m *ListSquadsIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSquadsIn) XXX_Merge

func (dst *ListSquadsIn) XXX_Merge(src proto.Message)

func (*ListSquadsIn) XXX_Size

func (m *ListSquadsIn) XXX_Size() int

func (*ListSquadsIn) XXX_Unmarshal

func (m *ListSquadsIn) XXX_Unmarshal(b []byte) error

type ListSquadsOut

type ListSquadsOut struct {
	Value                []*BasicSquadInfo `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func CallListSquads

func CallListSquads(client *dfhackrpc.Client, request *ListSquadsIn) (*ListSquadsOut, dfhackrpc.CommandResult, error)

CallListSquads is a convenience wrapper around the ListSquads RPC method.

func (*ListSquadsOut) Descriptor

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

func (*ListSquadsOut) GetValue

func (m *ListSquadsOut) GetValue() []*BasicSquadInfo

func (*ListSquadsOut) ProtoMessage

func (*ListSquadsOut) ProtoMessage()

func (*ListSquadsOut) Reset

func (m *ListSquadsOut) Reset()

func (*ListSquadsOut) String

func (m *ListSquadsOut) String() string

func (*ListSquadsOut) XXX_DiscardUnknown

func (m *ListSquadsOut) XXX_DiscardUnknown()

func (*ListSquadsOut) XXX_Marshal

func (m *ListSquadsOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListSquadsOut) XXX_Merge

func (dst *ListSquadsOut) XXX_Merge(src proto.Message)

func (*ListSquadsOut) XXX_Size

func (m *ListSquadsOut) XXX_Size() int

func (*ListSquadsOut) XXX_Unmarshal

func (m *ListSquadsOut) XXX_Unmarshal(b []byte) error

type ListUnitsIn

type ListUnitsIn struct {
	Mask *BasicUnitInfoMask `protobuf:"bytes,1,opt,name=mask" json:"mask,omitempty"`
	// Specific units:
	IdList []int32 `protobuf:"varint,2,rep,name=id_list,json=idList" json:"id_list,omitempty"`
	// All units matching:
	ScanAll              *bool    `protobuf:"varint,5,opt,name=scan_all,json=scanAll" json:"scan_all,omitempty"`
	Race                 *int32   `protobuf:"varint,3,opt,name=race" json:"race,omitempty"`
	CivId                *int32   `protobuf:"varint,4,opt,name=civ_id,json=civId" json:"civ_id,omitempty"`
	Dead                 *bool    `protobuf:"varint,6,opt,name=dead" json:"dead,omitempty"`
	Alive                *bool    `protobuf:"varint,7,opt,name=alive" json:"alive,omitempty"`
	Sane                 *bool    `protobuf:"varint,8,opt,name=sane" json:"sane,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPC ListUnits : ListUnitsIn -> ListUnitsOut

func (*ListUnitsIn) Descriptor

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

func (*ListUnitsIn) GetAlive

func (m *ListUnitsIn) GetAlive() bool

func (*ListUnitsIn) GetCivId

func (m *ListUnitsIn) GetCivId() int32

func (*ListUnitsIn) GetDead

func (m *ListUnitsIn) GetDead() bool

func (*ListUnitsIn) GetIdList

func (m *ListUnitsIn) GetIdList() []int32

func (*ListUnitsIn) GetMask

func (m *ListUnitsIn) GetMask() *BasicUnitInfoMask

func (*ListUnitsIn) GetRace

func (m *ListUnitsIn) GetRace() int32

func (*ListUnitsIn) GetSane

func (m *ListUnitsIn) GetSane() bool

func (*ListUnitsIn) GetScanAll

func (m *ListUnitsIn) GetScanAll() bool

func (*ListUnitsIn) ProtoMessage

func (*ListUnitsIn) ProtoMessage()

func (*ListUnitsIn) Reset

func (m *ListUnitsIn) Reset()

func (*ListUnitsIn) String

func (m *ListUnitsIn) String() string

func (*ListUnitsIn) XXX_DiscardUnknown

func (m *ListUnitsIn) XXX_DiscardUnknown()

func (*ListUnitsIn) XXX_Marshal

func (m *ListUnitsIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUnitsIn) XXX_Merge

func (dst *ListUnitsIn) XXX_Merge(src proto.Message)

func (*ListUnitsIn) XXX_Size

func (m *ListUnitsIn) XXX_Size() int

func (*ListUnitsIn) XXX_Unmarshal

func (m *ListUnitsIn) XXX_Unmarshal(b []byte) error

type ListUnitsOut

type ListUnitsOut struct {
	Value                []*BasicUnitInfo `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func CallListUnits

func CallListUnits(client *dfhackrpc.Client, request *ListUnitsIn) (*ListUnitsOut, dfhackrpc.CommandResult, error)

CallListUnits is a convenience wrapper around the ListUnits RPC method.

func (*ListUnitsOut) Descriptor

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

func (*ListUnitsOut) GetValue

func (m *ListUnitsOut) GetValue() []*BasicUnitInfo

func (*ListUnitsOut) ProtoMessage

func (*ListUnitsOut) ProtoMessage()

func (*ListUnitsOut) Reset

func (m *ListUnitsOut) Reset()

func (*ListUnitsOut) String

func (m *ListUnitsOut) String() string

func (*ListUnitsOut) XXX_DiscardUnknown

func (m *ListUnitsOut) XXX_DiscardUnknown()

func (*ListUnitsOut) XXX_Marshal

func (m *ListUnitsOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListUnitsOut) XXX_Merge

func (dst *ListUnitsOut) XXX_Merge(src proto.Message)

func (*ListUnitsOut) XXX_Size

func (m *ListUnitsOut) XXX_Size() int

func (*ListUnitsOut) XXX_Unmarshal

func (m *ListUnitsOut) XXX_Unmarshal(b []byte) error

type NameInfo

type NameInfo struct {
	FirstName            *string  `protobuf:"bytes,1,opt,name=first_name,json=firstName" json:"first_name,omitempty"`
	Nickname             *string  `protobuf:"bytes,2,opt,name=nickname" json:"nickname,omitempty"`
	LanguageId           *int32   `protobuf:"varint,3,opt,name=language_id,json=languageId,def=-1" json:"language_id,omitempty"`
	LastName             *string  `protobuf:"bytes,4,opt,name=last_name,json=lastName" json:"last_name,omitempty"`
	EnglishName          *string  `protobuf:"bytes,5,opt,name=english_name,json=englishName" json:"english_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NameInfo) Descriptor

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

func (*NameInfo) GetEnglishName

func (m *NameInfo) GetEnglishName() string

func (*NameInfo) GetFirstName

func (m *NameInfo) GetFirstName() string

func (*NameInfo) GetLanguageId

func (m *NameInfo) GetLanguageId() int32

func (*NameInfo) GetLastName

func (m *NameInfo) GetLastName() string

func (*NameInfo) GetNickname

func (m *NameInfo) GetNickname() string

func (*NameInfo) ProtoMessage

func (*NameInfo) ProtoMessage()

func (*NameInfo) Reset

func (m *NameInfo) Reset()

func (*NameInfo) String

func (m *NameInfo) String() string

func (*NameInfo) XXX_DiscardUnknown

func (m *NameInfo) XXX_DiscardUnknown()

func (*NameInfo) XXX_Marshal

func (m *NameInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NameInfo) XXX_Merge

func (dst *NameInfo) XXX_Merge(src proto.Message)

func (*NameInfo) XXX_Size

func (m *NameInfo) XXX_Size() int

func (*NameInfo) XXX_Unmarshal

func (m *NameInfo) XXX_Unmarshal(b []byte) error

type NameTriple

type NameTriple struct {
	Normal               *string  `protobuf:"bytes,1,req,name=normal" json:"normal,omitempty"`
	Plural               *string  `protobuf:"bytes,2,opt,name=plural" json:"plural,omitempty"`
	Adjective            *string  `protobuf:"bytes,3,opt,name=adjective" json:"adjective,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*NameTriple) Descriptor

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

func (*NameTriple) GetAdjective

func (m *NameTriple) GetAdjective() string

func (*NameTriple) GetNormal

func (m *NameTriple) GetNormal() string

func (*NameTriple) GetPlural

func (m *NameTriple) GetPlural() string

func (*NameTriple) ProtoMessage

func (*NameTriple) ProtoMessage()

func (*NameTriple) Reset

func (m *NameTriple) Reset()

func (*NameTriple) String

func (m *NameTriple) String() string

func (*NameTriple) XXX_DiscardUnknown

func (m *NameTriple) XXX_DiscardUnknown()

func (*NameTriple) XXX_Marshal

func (m *NameTriple) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NameTriple) XXX_Merge

func (dst *NameTriple) XXX_Merge(src proto.Message)

func (*NameTriple) XXX_Size

func (m *NameTriple) XXX_Size() int

func (*NameTriple) XXX_Unmarshal

func (m *NameTriple) XXX_Unmarshal(b []byte) error

type ProfessionAttr

type ProfessionAttr struct {
	Id                   *int32   `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	Key                  *string  `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	Caption              *string  `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"`
	Military             *bool    `protobuf:"varint,4,opt,name=military" json:"military,omitempty"`
	CanAssignLabor       *bool    `protobuf:"varint,5,opt,name=can_assign_labor,json=canAssignLabor" json:"can_assign_labor,omitempty"`
	Parent               *int32   `protobuf:"varint,6,opt,name=parent" json:"parent,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProfessionAttr) Descriptor

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

func (*ProfessionAttr) GetCanAssignLabor

func (m *ProfessionAttr) GetCanAssignLabor() bool

func (*ProfessionAttr) GetCaption

func (m *ProfessionAttr) GetCaption() string

func (*ProfessionAttr) GetId

func (m *ProfessionAttr) GetId() int32

func (*ProfessionAttr) GetKey

func (m *ProfessionAttr) GetKey() string

func (*ProfessionAttr) GetMilitary

func (m *ProfessionAttr) GetMilitary() bool

func (*ProfessionAttr) GetParent

func (m *ProfessionAttr) GetParent() int32

func (*ProfessionAttr) ProtoMessage

func (*ProfessionAttr) ProtoMessage()

func (*ProfessionAttr) Reset

func (m *ProfessionAttr) Reset()

func (*ProfessionAttr) String

func (m *ProfessionAttr) String() string

func (*ProfessionAttr) XXX_DiscardUnknown

func (m *ProfessionAttr) XXX_DiscardUnknown()

func (*ProfessionAttr) XXX_Marshal

func (m *ProfessionAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProfessionAttr) XXX_Merge

func (dst *ProfessionAttr) XXX_Merge(src proto.Message)

func (*ProfessionAttr) XXX_Size

func (m *ProfessionAttr) XXX_Size() int

func (*ProfessionAttr) XXX_Unmarshal

func (m *ProfessionAttr) XXX_Unmarshal(b []byte) error

type SetUnitLaborsIn

type SetUnitLaborsIn struct {
	Change               []*UnitLaborState `protobuf:"bytes,1,rep,name=change" json:"change,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

RPC SetUnitLabors : SetUnitLaborsIn -> EmptyMessage

func (*SetUnitLaborsIn) Descriptor

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

func (*SetUnitLaborsIn) GetChange

func (m *SetUnitLaborsIn) GetChange() []*UnitLaborState

func (*SetUnitLaborsIn) ProtoMessage

func (*SetUnitLaborsIn) ProtoMessage()

func (*SetUnitLaborsIn) Reset

func (m *SetUnitLaborsIn) Reset()

func (*SetUnitLaborsIn) String

func (m *SetUnitLaborsIn) String() string

func (*SetUnitLaborsIn) XXX_DiscardUnknown

func (m *SetUnitLaborsIn) XXX_DiscardUnknown()

func (*SetUnitLaborsIn) XXX_Marshal

func (m *SetUnitLaborsIn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetUnitLaborsIn) XXX_Merge

func (dst *SetUnitLaborsIn) XXX_Merge(src proto.Message)

func (*SetUnitLaborsIn) XXX_Size

func (m *SetUnitLaborsIn) XXX_Size() int

func (*SetUnitLaborsIn) XXX_Unmarshal

func (m *SetUnitLaborsIn) XXX_Unmarshal(b []byte) error

type SkillInfo

type SkillInfo struct {
	Id                   *int32   `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	Level                *int32   `protobuf:"varint,2,req,name=level" json:"level,omitempty"`
	Experience           *int32   `protobuf:"varint,3,req,name=experience" json:"experience,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SkillInfo) Descriptor

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

func (*SkillInfo) GetExperience

func (m *SkillInfo) GetExperience() int32

func (*SkillInfo) GetId

func (m *SkillInfo) GetId() int32

func (*SkillInfo) GetLevel

func (m *SkillInfo) GetLevel() int32

func (*SkillInfo) ProtoMessage

func (*SkillInfo) ProtoMessage()

func (*SkillInfo) Reset

func (m *SkillInfo) Reset()

func (*SkillInfo) String

func (m *SkillInfo) String() string

func (*SkillInfo) XXX_DiscardUnknown

func (m *SkillInfo) XXX_DiscardUnknown()

func (*SkillInfo) XXX_Marshal

func (m *SkillInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SkillInfo) XXX_Merge

func (dst *SkillInfo) XXX_Merge(src proto.Message)

func (*SkillInfo) XXX_Size

func (m *SkillInfo) XXX_Size() int

func (*SkillInfo) XXX_Unmarshal

func (m *SkillInfo) XXX_Unmarshal(b []byte) error

type UnitCurseInfo

type UnitCurseInfo struct {
	AddTags1             *uint32     `protobuf:"fixed32,1,req,name=add_tags1,json=addTags1" json:"add_tags1,omitempty"`
	RemTags1             *uint32     `protobuf:"fixed32,2,req,name=rem_tags1,json=remTags1" json:"rem_tags1,omitempty"`
	AddTags2             *uint32     `protobuf:"fixed32,3,req,name=add_tags2,json=addTags2" json:"add_tags2,omitempty"`
	RemTags2             *uint32     `protobuf:"fixed32,4,req,name=rem_tags2,json=remTags2" json:"rem_tags2,omitempty"`
	Name                 *NameTriple `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*UnitCurseInfo) Descriptor

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

func (*UnitCurseInfo) GetAddTags1

func (m *UnitCurseInfo) GetAddTags1() uint32

func (*UnitCurseInfo) GetAddTags2

func (m *UnitCurseInfo) GetAddTags2() uint32

func (*UnitCurseInfo) GetName

func (m *UnitCurseInfo) GetName() *NameTriple

func (*UnitCurseInfo) GetRemTags1

func (m *UnitCurseInfo) GetRemTags1() uint32

func (*UnitCurseInfo) GetRemTags2

func (m *UnitCurseInfo) GetRemTags2() uint32

func (*UnitCurseInfo) ProtoMessage

func (*UnitCurseInfo) ProtoMessage()

func (*UnitCurseInfo) Reset

func (m *UnitCurseInfo) Reset()

func (*UnitCurseInfo) String

func (m *UnitCurseInfo) String() string

func (*UnitCurseInfo) XXX_DiscardUnknown

func (m *UnitCurseInfo) XXX_DiscardUnknown()

func (*UnitCurseInfo) XXX_Marshal

func (m *UnitCurseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnitCurseInfo) XXX_Merge

func (dst *UnitCurseInfo) XXX_Merge(src proto.Message)

func (*UnitCurseInfo) XXX_Size

func (m *UnitCurseInfo) XXX_Size() int

func (*UnitCurseInfo) XXX_Unmarshal

func (m *UnitCurseInfo) XXX_Unmarshal(b []byte) error

type UnitLaborAttr

type UnitLaborAttr struct {
	Id                   *int32   `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	Key                  *string  `protobuf:"bytes,2,req,name=key" json:"key,omitempty"`
	Caption              *string  `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnitLaborAttr) Descriptor

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

func (*UnitLaborAttr) GetCaption

func (m *UnitLaborAttr) GetCaption() string

func (*UnitLaborAttr) GetId

func (m *UnitLaborAttr) GetId() int32

func (*UnitLaborAttr) GetKey

func (m *UnitLaborAttr) GetKey() string

func (*UnitLaborAttr) ProtoMessage

func (*UnitLaborAttr) ProtoMessage()

func (*UnitLaborAttr) Reset

func (m *UnitLaborAttr) Reset()

func (*UnitLaborAttr) String

func (m *UnitLaborAttr) String() string

func (*UnitLaborAttr) XXX_DiscardUnknown

func (m *UnitLaborAttr) XXX_DiscardUnknown()

func (*UnitLaborAttr) XXX_Marshal

func (m *UnitLaborAttr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnitLaborAttr) XXX_Merge

func (dst *UnitLaborAttr) XXX_Merge(src proto.Message)

func (*UnitLaborAttr) XXX_Size

func (m *UnitLaborAttr) XXX_Size() int

func (*UnitLaborAttr) XXX_Unmarshal

func (m *UnitLaborAttr) XXX_Unmarshal(b []byte) error

type UnitLaborState

type UnitLaborState struct {
	UnitId               *int32   `protobuf:"varint,1,req,name=unit_id,json=unitId" json:"unit_id,omitempty"`
	Labor                *int32   `protobuf:"varint,2,req,name=labor" json:"labor,omitempty"`
	Value                *bool    `protobuf:"varint,3,req,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnitLaborState) Descriptor

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

func (*UnitLaborState) GetLabor

func (m *UnitLaborState) GetLabor() int32

func (*UnitLaborState) GetUnitId

func (m *UnitLaborState) GetUnitId() int32

func (*UnitLaborState) GetValue

func (m *UnitLaborState) GetValue() bool

func (*UnitLaborState) ProtoMessage

func (*UnitLaborState) ProtoMessage()

func (*UnitLaborState) Reset

func (m *UnitLaborState) Reset()

func (*UnitLaborState) String

func (m *UnitLaborState) String() string

func (*UnitLaborState) XXX_DiscardUnknown

func (m *UnitLaborState) XXX_DiscardUnknown()

func (*UnitLaborState) XXX_Marshal

func (m *UnitLaborState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnitLaborState) XXX_Merge

func (dst *UnitLaborState) XXX_Merge(src proto.Message)

func (*UnitLaborState) XXX_Size

func (m *UnitLaborState) XXX_Size() int

func (*UnitLaborState) XXX_Unmarshal

func (m *UnitLaborState) XXX_Unmarshal(b []byte) error

type UnitMiscTrait

type UnitMiscTrait struct {
	Id                   *int32   `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
	Value                *int32   `protobuf:"varint,2,req,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnitMiscTrait) Descriptor

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

func (*UnitMiscTrait) GetId

func (m *UnitMiscTrait) GetId() int32

func (*UnitMiscTrait) GetValue

func (m *UnitMiscTrait) GetValue() int32

func (*UnitMiscTrait) ProtoMessage

func (*UnitMiscTrait) ProtoMessage()

func (*UnitMiscTrait) Reset

func (m *UnitMiscTrait) Reset()

func (*UnitMiscTrait) String

func (m *UnitMiscTrait) String() string

func (*UnitMiscTrait) XXX_DiscardUnknown

func (m *UnitMiscTrait) XXX_DiscardUnknown()

func (*UnitMiscTrait) XXX_Marshal

func (m *UnitMiscTrait) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UnitMiscTrait) XXX_Merge

func (dst *UnitMiscTrait) XXX_Merge(src proto.Message)

func (*UnitMiscTrait) XXX_Size

func (m *UnitMiscTrait) XXX_Size() int

func (*UnitMiscTrait) XXX_Unmarshal

func (m *UnitMiscTrait) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis
Package dfproto_core contains automatically generated implementations of low-level DFHack protobuf messages.
Package dfproto_core contains automatically generated implementations of low-level DFHack protobuf messages.
plugins
isoworldremote
Package isoworldremote contains protocol buffer definitions for the isoworldremote DFHack plugin.
Package isoworldremote contains protocol buffer definitions for the isoworldremote DFHack plugin.
remotefortressreader
Package remotefortressreader contains protocol buffer definitions for the RemoteFortressReader DFHack plugin.
Package remotefortressreader contains protocol buffer definitions for the RemoteFortressReader DFHack plugin.
rename
Package rename contains protocol buffer definitions for the rename DFHack plugin.
Package rename contains protocol buffer definitions for the rename DFHack plugin.

Jump to

Keyboard shortcuts

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