Documentation ¶
Overview ¶
Package dfproto is a generated protocol buffer package.
It is generated from these files:
Basic.proto BasicApi.proto CoreProtocol.proto
It has these top-level messages:
EnumItemName BasicMaterialId BasicMaterialInfo BasicMaterialInfoMask JobSkillAttr ProfessionAttr UnitLaborAttr NameInfo NameTriple UnitCurseInfo SkillInfo UnitMiscTrait BasicUnitInfo BasicUnitInfoMask BasicSquadInfo UnitLaborState
Index ¶
- Constants
- Variables
- type BasicMaterialId
- type BasicMaterialInfo
- func (m *BasicMaterialInfo) GetCreatureId() int32
- func (m *BasicMaterialInfo) GetFlags() []int32
- func (m *BasicMaterialInfo) GetHistfigId() int32
- func (m *BasicMaterialInfo) GetIndex() int32
- func (m *BasicMaterialInfo) GetInorganicFlags() []int32
- func (m *BasicMaterialInfo) GetNamePrefix() string
- func (m *BasicMaterialInfo) GetPlantId() int32
- func (m *BasicMaterialInfo) GetReactionClass() []string
- func (m *BasicMaterialInfo) GetReactionProduct() []*BasicMaterialInfo_Product
- func (m *BasicMaterialInfo) GetStateAdj() []string
- func (m *BasicMaterialInfo) GetStateColor() []uint32
- func (m *BasicMaterialInfo) GetStateName() []string
- func (m *BasicMaterialInfo) GetSubtype() int32
- func (m *BasicMaterialInfo) GetToken() string
- func (m *BasicMaterialInfo) GetType() int32
- func (*BasicMaterialInfo) ProtoMessage()
- func (m *BasicMaterialInfo) Reset()
- func (m *BasicMaterialInfo) String() string
- type BasicMaterialInfoMask
- func (m *BasicMaterialInfoMask) GetFlags() bool
- func (m *BasicMaterialInfoMask) GetReaction() bool
- func (m *BasicMaterialInfoMask) GetStates() []BasicMaterialInfoMask_StateType
- func (m *BasicMaterialInfoMask) GetTemperature() int32
- func (*BasicMaterialInfoMask) ProtoMessage()
- func (m *BasicMaterialInfoMask) Reset()
- func (m *BasicMaterialInfoMask) String() string
- type BasicMaterialInfoMask_StateType
- type BasicMaterialInfo_Product
- func (m *BasicMaterialInfo_Product) GetId() string
- func (m *BasicMaterialInfo_Product) GetIndex() int32
- func (m *BasicMaterialInfo_Product) GetType() int32
- func (*BasicMaterialInfo_Product) ProtoMessage()
- func (m *BasicMaterialInfo_Product) Reset()
- func (m *BasicMaterialInfo_Product) String() string
- type BasicSquadInfo
- type BasicUnitInfo
- func (m *BasicUnitInfo) GetBurrows() []int32
- func (m *BasicUnitInfo) GetCaste() int32
- func (m *BasicUnitInfo) GetCivId() int32
- func (m *BasicUnitInfo) GetCurse() *UnitCurseInfo
- func (m *BasicUnitInfo) GetCustomProfession() string
- func (m *BasicUnitInfo) GetDeathFlags() uint32
- func (m *BasicUnitInfo) GetDeathId() int32
- func (m *BasicUnitInfo) GetFlags1() uint32
- func (m *BasicUnitInfo) GetFlags2() uint32
- func (m *BasicUnitInfo) GetFlags3() uint32
- func (m *BasicUnitInfo) GetGender() int32
- func (m *BasicUnitInfo) GetHistfigId() int32
- func (m *BasicUnitInfo) GetLabors() []int32
- func (m *BasicUnitInfo) GetMiscTraits() []*UnitMiscTrait
- func (m *BasicUnitInfo) GetName() *NameInfo
- func (m *BasicUnitInfo) GetPosX() int32
- func (m *BasicUnitInfo) GetPosY() int32
- func (m *BasicUnitInfo) GetPosZ() int32
- func (m *BasicUnitInfo) GetProfession() int32
- func (m *BasicUnitInfo) GetRace() int32
- func (m *BasicUnitInfo) GetSkills() []*SkillInfo
- func (m *BasicUnitInfo) GetSquadId() int32
- func (m *BasicUnitInfo) GetSquadPosition() int32
- func (m *BasicUnitInfo) GetUnitId() int32
- func (*BasicUnitInfo) ProtoMessage()
- func (m *BasicUnitInfo) Reset()
- func (m *BasicUnitInfo) String() string
- type BasicUnitInfoMask
- func (m *BasicUnitInfoMask) GetLabors() bool
- func (m *BasicUnitInfoMask) GetMiscTraits() bool
- func (m *BasicUnitInfoMask) GetProfession() bool
- func (m *BasicUnitInfoMask) GetSkills() bool
- func (*BasicUnitInfoMask) ProtoMessage()
- func (m *BasicUnitInfoMask) Reset()
- func (m *BasicUnitInfoMask) String() string
- type CoreBindReply
- type CoreBindRequest
- type CoreErrorNotification
- type CoreErrorNotification_ErrorCode
- type CoreRunCommandRequest
- type CoreRunLuaRequest
- type CoreTextFragment
- type CoreTextFragment_Color
- type CoreTextNotification
- type EmptyMessage
- type EnumItemName
- type GetWorldInfoOut
- func (m *GetWorldInfoOut) GetCivId() int32
- func (m *GetWorldInfoOut) GetCompanionHistfigIds() []int32
- func (m *GetWorldInfoOut) GetGroupId() int32
- func (m *GetWorldInfoOut) GetMode() GetWorldInfoOut_Mode
- func (m *GetWorldInfoOut) GetPlayerHistfigId() int32
- func (m *GetWorldInfoOut) GetPlayerUnitId() int32
- func (m *GetWorldInfoOut) GetRaceId() int32
- func (m *GetWorldInfoOut) GetSaveDir() string
- func (m *GetWorldInfoOut) GetSiteId() int32
- func (m *GetWorldInfoOut) GetWorldName() *NameInfo
- func (*GetWorldInfoOut) ProtoMessage()
- func (m *GetWorldInfoOut) Reset()
- func (m *GetWorldInfoOut) String() string
- type GetWorldInfoOut_Mode
- type IntListMessage
- type IntMessage
- type JobSkillAttr
- func (m *JobSkillAttr) GetCaption() string
- func (m *JobSkillAttr) GetCaptionNoun() string
- func (m *JobSkillAttr) GetId() int32
- func (m *JobSkillAttr) GetKey() string
- func (m *JobSkillAttr) GetLabor() int32
- func (m *JobSkillAttr) GetProfession() int32
- func (m *JobSkillAttr) GetType() string
- func (*JobSkillAttr) ProtoMessage()
- func (m *JobSkillAttr) Reset()
- func (m *JobSkillAttr) String() string
- type ListEnumsOut
- func (m *ListEnumsOut) GetCieAddTagMask1() []*EnumItemName
- func (m *ListEnumsOut) GetCieAddTagMask2() []*EnumItemName
- func (m *ListEnumsOut) GetDeathInfoFlags() []*EnumItemName
- func (m *ListEnumsOut) GetInorganicFlags() []*EnumItemName
- func (m *ListEnumsOut) GetJobSkill() []*EnumItemName
- func (m *ListEnumsOut) GetMaterialFlags() []*EnumItemName
- func (m *ListEnumsOut) GetProfession() []*EnumItemName
- func (m *ListEnumsOut) GetUnitFlags1() []*EnumItemName
- func (m *ListEnumsOut) GetUnitFlags2() []*EnumItemName
- func (m *ListEnumsOut) GetUnitFlags3() []*EnumItemName
- func (m *ListEnumsOut) GetUnitLabor() []*EnumItemName
- func (*ListEnumsOut) ProtoMessage()
- func (m *ListEnumsOut) Reset()
- func (m *ListEnumsOut) String() string
- type ListJobSkillsOut
- type ListMaterialsIn
- func (m *ListMaterialsIn) GetBuiltin() bool
- func (m *ListMaterialsIn) GetCreatures() bool
- func (m *ListMaterialsIn) GetIdList() []*BasicMaterialId
- func (m *ListMaterialsIn) GetInorganic() bool
- func (m *ListMaterialsIn) GetMask() *BasicMaterialInfoMask
- func (m *ListMaterialsIn) GetPlants() bool
- func (*ListMaterialsIn) ProtoMessage()
- func (m *ListMaterialsIn) Reset()
- func (m *ListMaterialsIn) String() string
- type ListMaterialsOut
- type ListSquadsIn
- type ListSquadsOut
- type ListUnitsIn
- func (m *ListUnitsIn) GetAlive() bool
- func (m *ListUnitsIn) GetCivId() int32
- func (m *ListUnitsIn) GetDead() bool
- func (m *ListUnitsIn) GetIdList() []int32
- func (m *ListUnitsIn) GetMask() *BasicUnitInfoMask
- func (m *ListUnitsIn) GetRace() int32
- func (m *ListUnitsIn) GetSane() bool
- func (m *ListUnitsIn) GetScanAll() bool
- func (*ListUnitsIn) ProtoMessage()
- func (m *ListUnitsIn) Reset()
- func (m *ListUnitsIn) String() string
- type ListUnitsOut
- type NameInfo
- type NameTriple
- type ProfessionAttr
- func (m *ProfessionAttr) GetCanAssignLabor() bool
- func (m *ProfessionAttr) GetCaption() string
- func (m *ProfessionAttr) GetId() int32
- func (m *ProfessionAttr) GetKey() string
- func (m *ProfessionAttr) GetMilitary() bool
- func (m *ProfessionAttr) GetParent() int32
- func (*ProfessionAttr) ProtoMessage()
- func (m *ProfessionAttr) Reset()
- func (m *ProfessionAttr) String() string
- type SetUnitLaborsIn
- type SkillInfo
- type StringListMessage
- type StringMessage
- type UnitCurseInfo
- func (m *UnitCurseInfo) GetAddTags1() uint32
- func (m *UnitCurseInfo) GetAddTags2() uint32
- func (m *UnitCurseInfo) GetName() *NameTriple
- func (m *UnitCurseInfo) GetRemTags1() uint32
- func (m *UnitCurseInfo) GetRemTags2() uint32
- func (*UnitCurseInfo) ProtoMessage()
- func (m *UnitCurseInfo) Reset()
- func (m *UnitCurseInfo) String() string
- type UnitLaborAttr
- type UnitLaborState
- type UnitMiscTrait
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 CoreErrorNotification_ErrorCode_name = map[int32]string{
-3: "CR_LINK_FAILURE",
-2: "CR_WOULD_BREAK",
-1: "CR_NOT_IMPLEMENTED",
0: "CR_OK",
1: "CR_FAILURE",
2: "CR_WRONG_USAGE",
3: "CR_NOT_FOUND",
}
View Source
var CoreErrorNotification_ErrorCode_value = map[string]int32{
"CR_LINK_FAILURE": -3,
"CR_WOULD_BREAK": -2,
"CR_NOT_IMPLEMENTED": -1,
"CR_OK": 0,
"CR_FAILURE": 1,
"CR_WRONG_USAGE": 2,
"CR_NOT_FOUND": 3,
}
View Source
var CoreTextFragment_Color_name = map[int32]string{
0: "COLOR_BLACK",
1: "COLOR_BLUE",
2: "COLOR_GREEN",
3: "COLOR_CYAN",
4: "COLOR_RED",
5: "COLOR_MAGENTA",
6: "COLOR_BROWN",
7: "COLOR_GREY",
8: "COLOR_DARKGREY",
9: "COLOR_LIGHTBLUE",
10: "COLOR_LIGHTGREEN",
11: "COLOR_LIGHTCYAN",
12: "COLOR_LIGHTRED",
13: "COLOR_LIGHTMAGENTA",
14: "COLOR_YELLOW",
15: "COLOR_WHITE",
}
View Source
var CoreTextFragment_Color_value = map[string]int32{
"COLOR_BLACK": 0,
"COLOR_BLUE": 1,
"COLOR_GREEN": 2,
"COLOR_CYAN": 3,
"COLOR_RED": 4,
"COLOR_MAGENTA": 5,
"COLOR_BROWN": 6,
"COLOR_GREY": 7,
"COLOR_DARKGREY": 8,
"COLOR_LIGHTBLUE": 9,
"COLOR_LIGHTGREEN": 10,
"COLOR_LIGHTCYAN": 11,
"COLOR_LIGHTRED": 12,
"COLOR_LIGHTMAGENTA": 13,
"COLOR_YELLOW": 14,
"COLOR_WHITE": 15,
}
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 ¶
This section is empty.
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_unrecognized []byte `json:"-"` }
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
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,def=-1" json:"creature_id,omitempty"` PlantId *int32 `protobuf:"varint,7,opt,name=plant_id,def=-1" json:"plant_id,omitempty"` HistfigId *int32 `protobuf:"varint,8,opt,name=histfig_id,def=-1" json:"histfig_id,omitempty"` NamePrefix *string `protobuf:"bytes,9,opt,name=name_prefix,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:"state_color,omitempty"` StateName []string `protobuf:"bytes,11,rep,name=state_name" json:"state_name,omitempty"` StateAdj []string `protobuf:"bytes,12,rep,name=state_adj" json:"state_adj,omitempty"` ReactionClass []string `protobuf:"bytes,13,rep,name=reaction_class" json:"reaction_class,omitempty"` ReactionProduct []*BasicMaterialInfo_Product `protobuf:"bytes,14,rep,name=reaction_product" json:"reaction_product,omitempty"` // IF mask.flags: InorganicFlags []int32 `protobuf:"varint,15,rep,name=inorganic_flags" json:"inorganic_flags,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
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_unrecognized []byte `json:"-"` }
func (*BasicMaterialInfoMask) GetFlags ¶
func (m *BasicMaterialInfoMask) GetFlags() bool
func (*BasicMaterialInfoMask) GetReaction ¶
func (m *BasicMaterialInfoMask) GetReaction() bool
func (*BasicMaterialInfoMask) GetStates ¶
func (m *BasicMaterialInfoMask) GetStates() []BasicMaterialInfoMask_StateType
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
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 (x BasicMaterialInfoMask_StateType) Enum() *BasicMaterialInfoMask_StateType
func (BasicMaterialInfoMask_StateType) String ¶
func (x BasicMaterialInfoMask_StateType) String() 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_unrecognized []byte `json:"-"` }
IF mask.reaction:
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
type BasicSquadInfo ¶
type BasicSquadInfo struct { SquadId *int32 `protobuf:"varint,1,req,name=squad_id" 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_unrecognized []byte `json:"-"` }
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
type BasicUnitInfo ¶
type BasicUnitInfo struct { UnitId *int32 `protobuf:"varint,1,req,name=unit_id" json:"unit_id,omitempty"` PosX *int32 `protobuf:"varint,13,req,name=pos_x" json:"pos_x,omitempty"` PosY *int32 `protobuf:"varint,14,req,name=pos_y" json:"pos_y,omitempty"` PosZ *int32 `protobuf:"varint,15,req,name=pos_z" 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,def=-1" json:"civ_id,omitempty"` HistfigId *int32 `protobuf:"varint,10,opt,name=histfig_id,def=-1" json:"histfig_id,omitempty"` DeathId *int32 `protobuf:"varint,17,opt,name=death_id,def=-1" json:"death_id,omitempty"` DeathFlags *uint32 `protobuf:"varint,18,opt,name=death_flags" json:"death_flags,omitempty"` // IF mask.profession: SquadId *int32 `protobuf:"varint,19,opt,name=squad_id,def=-1" json:"squad_id,omitempty"` SquadPosition *int32 `protobuf:"varint,20,opt,name=squad_position,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:"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:"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_unrecognized []byte `json:"-"` }
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
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,def=0" json:"misc_traits,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
type CoreBindReply ¶
type CoreBindReply struct { AssignedId *int32 `protobuf:"varint,1,req,name=assigned_id" json:"assigned_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CoreBindReply) GetAssignedId ¶
func (m *CoreBindReply) GetAssignedId() int32
func (*CoreBindReply) ProtoMessage ¶
func (*CoreBindReply) ProtoMessage()
func (*CoreBindReply) Reset ¶
func (m *CoreBindReply) Reset()
func (*CoreBindReply) String ¶
func (m *CoreBindReply) String() string
type CoreBindRequest ¶
type CoreBindRequest struct { Method *string `protobuf:"bytes,1,req,name=method" json:"method,omitempty"` InputMsg *string `protobuf:"bytes,2,req,name=input_msg" json:"input_msg,omitempty"` OutputMsg *string `protobuf:"bytes,3,req,name=output_msg" json:"output_msg,omitempty"` Plugin *string `protobuf:"bytes,4,opt,name=plugin" json:"plugin,omitempty"` XXX_unrecognized []byte `json:"-"` }
RPC BindMethod : CoreBindRequest -> CoreBindReply
func (*CoreBindRequest) GetInputMsg ¶
func (m *CoreBindRequest) GetInputMsg() string
func (*CoreBindRequest) GetMethod ¶
func (m *CoreBindRequest) GetMethod() string
func (*CoreBindRequest) GetOutputMsg ¶
func (m *CoreBindRequest) GetOutputMsg() string
func (*CoreBindRequest) GetPlugin ¶
func (m *CoreBindRequest) GetPlugin() string
func (*CoreBindRequest) ProtoMessage ¶
func (*CoreBindRequest) ProtoMessage()
func (*CoreBindRequest) Reset ¶
func (m *CoreBindRequest) Reset()
func (*CoreBindRequest) String ¶
func (m *CoreBindRequest) String() string
type CoreErrorNotification ¶
type CoreErrorNotification struct { Code *CoreErrorNotification_ErrorCode `protobuf:"varint,1,req,name=code,enum=dfproto.CoreErrorNotification_ErrorCode" json:"code,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CoreErrorNotification) GetCode ¶
func (m *CoreErrorNotification) GetCode() CoreErrorNotification_ErrorCode
func (*CoreErrorNotification) ProtoMessage ¶
func (*CoreErrorNotification) ProtoMessage()
func (*CoreErrorNotification) Reset ¶
func (m *CoreErrorNotification) Reset()
func (*CoreErrorNotification) String ¶
func (m *CoreErrorNotification) String() string
type CoreErrorNotification_ErrorCode ¶
type CoreErrorNotification_ErrorCode int32
const ( CoreErrorNotification_CR_LINK_FAILURE CoreErrorNotification_ErrorCode = -3 CoreErrorNotification_CR_WOULD_BREAK CoreErrorNotification_ErrorCode = -2 CoreErrorNotification_CR_NOT_IMPLEMENTED CoreErrorNotification_ErrorCode = -1 CoreErrorNotification_CR_OK CoreErrorNotification_ErrorCode = 0 CoreErrorNotification_CR_FAILURE CoreErrorNotification_ErrorCode = 1 CoreErrorNotification_CR_WRONG_USAGE CoreErrorNotification_ErrorCode = 2 CoreErrorNotification_CR_NOT_FOUND CoreErrorNotification_ErrorCode = 3 )
func (CoreErrorNotification_ErrorCode) Enum ¶
func (x CoreErrorNotification_ErrorCode) Enum() *CoreErrorNotification_ErrorCode
func (CoreErrorNotification_ErrorCode) String ¶
func (x CoreErrorNotification_ErrorCode) String() string
func (*CoreErrorNotification_ErrorCode) UnmarshalJSON ¶
func (x *CoreErrorNotification_ErrorCode) UnmarshalJSON(data []byte) error
type CoreRunCommandRequest ¶
type CoreRunCommandRequest struct { Command *string `protobuf:"bytes,1,req,name=command" json:"command,omitempty"` Arguments []string `protobuf:"bytes,2,rep,name=arguments" json:"arguments,omitempty"` XXX_unrecognized []byte `json:"-"` }
RPC RunCommand : CoreRunCommandRequest -> EmptyMessage
func (*CoreRunCommandRequest) GetArguments ¶
func (m *CoreRunCommandRequest) GetArguments() []string
func (*CoreRunCommandRequest) GetCommand ¶
func (m *CoreRunCommandRequest) GetCommand() string
func (*CoreRunCommandRequest) ProtoMessage ¶
func (*CoreRunCommandRequest) ProtoMessage()
func (*CoreRunCommandRequest) Reset ¶
func (m *CoreRunCommandRequest) Reset()
func (*CoreRunCommandRequest) String ¶
func (m *CoreRunCommandRequest) String() string
type CoreRunLuaRequest ¶
type CoreRunLuaRequest struct { Module *string `protobuf:"bytes,1,req,name=module" json:"module,omitempty"` Function *string `protobuf:"bytes,2,req,name=function" json:"function,omitempty"` Arguments []string `protobuf:"bytes,3,rep,name=arguments" json:"arguments,omitempty"` XXX_unrecognized []byte `json:"-"` }
RPC RunLua : CoreRunLuaRequest -> StringListMessage
func (*CoreRunLuaRequest) GetArguments ¶
func (m *CoreRunLuaRequest) GetArguments() []string
func (*CoreRunLuaRequest) GetFunction ¶
func (m *CoreRunLuaRequest) GetFunction() string
func (*CoreRunLuaRequest) GetModule ¶
func (m *CoreRunLuaRequest) GetModule() string
func (*CoreRunLuaRequest) ProtoMessage ¶
func (*CoreRunLuaRequest) ProtoMessage()
func (*CoreRunLuaRequest) Reset ¶
func (m *CoreRunLuaRequest) Reset()
func (*CoreRunLuaRequest) String ¶
func (m *CoreRunLuaRequest) String() string
type CoreTextFragment ¶
type CoreTextFragment struct { Text *string `protobuf:"bytes,1,req,name=text" json:"text,omitempty"` Color *CoreTextFragment_Color `protobuf:"varint,2,opt,name=color,enum=dfproto.CoreTextFragment_Color" json:"color,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CoreTextFragment) GetColor ¶
func (m *CoreTextFragment) GetColor() CoreTextFragment_Color
func (*CoreTextFragment) GetText ¶
func (m *CoreTextFragment) GetText() string
func (*CoreTextFragment) ProtoMessage ¶
func (*CoreTextFragment) ProtoMessage()
func (*CoreTextFragment) Reset ¶
func (m *CoreTextFragment) Reset()
func (*CoreTextFragment) String ¶
func (m *CoreTextFragment) String() string
type CoreTextFragment_Color ¶
type CoreTextFragment_Color int32
const ( CoreTextFragment_COLOR_BLACK CoreTextFragment_Color = 0 CoreTextFragment_COLOR_BLUE CoreTextFragment_Color = 1 CoreTextFragment_COLOR_GREEN CoreTextFragment_Color = 2 CoreTextFragment_COLOR_CYAN CoreTextFragment_Color = 3 CoreTextFragment_COLOR_RED CoreTextFragment_Color = 4 CoreTextFragment_COLOR_MAGENTA CoreTextFragment_Color = 5 CoreTextFragment_COLOR_BROWN CoreTextFragment_Color = 6 CoreTextFragment_COLOR_GREY CoreTextFragment_Color = 7 CoreTextFragment_COLOR_DARKGREY CoreTextFragment_Color = 8 CoreTextFragment_COLOR_LIGHTBLUE CoreTextFragment_Color = 9 CoreTextFragment_COLOR_LIGHTGREEN CoreTextFragment_Color = 10 CoreTextFragment_COLOR_LIGHTCYAN CoreTextFragment_Color = 11 CoreTextFragment_COLOR_LIGHTRED CoreTextFragment_Color = 12 CoreTextFragment_COLOR_LIGHTMAGENTA CoreTextFragment_Color = 13 CoreTextFragment_COLOR_YELLOW CoreTextFragment_Color = 14 CoreTextFragment_COLOR_WHITE CoreTextFragment_Color = 15 )
func (CoreTextFragment_Color) Enum ¶
func (x CoreTextFragment_Color) Enum() *CoreTextFragment_Color
func (CoreTextFragment_Color) String ¶
func (x CoreTextFragment_Color) String() string
func (*CoreTextFragment_Color) UnmarshalJSON ¶
func (x *CoreTextFragment_Color) UnmarshalJSON(data []byte) error
type CoreTextNotification ¶
type CoreTextNotification struct { Fragments []*CoreTextFragment `protobuf:"bytes,1,rep,name=fragments" json:"fragments,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CoreTextNotification) GetFragments ¶
func (m *CoreTextNotification) GetFragments() []*CoreTextFragment
func (*CoreTextNotification) ProtoMessage ¶
func (*CoreTextNotification) ProtoMessage()
func (*CoreTextNotification) Reset ¶
func (m *CoreTextNotification) Reset()
func (*CoreTextNotification) String ¶
func (m *CoreTextNotification) String() string
type EmptyMessage ¶
type EmptyMessage struct {
XXX_unrecognized []byte `json:"-"`
}
func (*EmptyMessage) ProtoMessage ¶
func (*EmptyMessage) ProtoMessage()
func (*EmptyMessage) Reset ¶
func (m *EmptyMessage) Reset()
func (*EmptyMessage) String ¶
func (m *EmptyMessage) String() string
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,def=1" json:"bit_size,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
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:"save_dir,omitempty"` WorldName *NameInfo `protobuf:"bytes,3,opt,name=world_name" json:"world_name,omitempty"` // Dwarf mode CivId *int32 `protobuf:"varint,4,opt,name=civ_id" json:"civ_id,omitempty"` SiteId *int32 `protobuf:"varint,5,opt,name=site_id" json:"site_id,omitempty"` GroupId *int32 `protobuf:"varint,6,opt,name=group_id" json:"group_id,omitempty"` RaceId *int32 `protobuf:"varint,7,opt,name=race_id" json:"race_id,omitempty"` // Adventure mode PlayerUnitId *int32 `protobuf:"varint,8,opt,name=player_unit_id" json:"player_unit_id,omitempty"` PlayerHistfigId *int32 `protobuf:"varint,9,opt,name=player_histfig_id" json:"player_histfig_id,omitempty"` CompanionHistfigIds []int32 `protobuf:"varint,10,rep,name=companion_histfig_ids" json:"companion_histfig_ids,omitempty"` XXX_unrecognized []byte `json:"-"` }
RPC GetWorldInfo : EmptyMessage -> GetWorldInfoOut
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 (m *GetWorldInfoOut) GetMode() GetWorldInfoOut_Mode
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
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 (x GetWorldInfoOut_Mode) Enum() *GetWorldInfoOut_Mode
func (GetWorldInfoOut_Mode) String ¶
func (x GetWorldInfoOut_Mode) String() string
func (*GetWorldInfoOut_Mode) UnmarshalJSON ¶
func (x *GetWorldInfoOut_Mode) UnmarshalJSON(data []byte) error
type IntListMessage ¶
type IntListMessage struct { Value []int32 `protobuf:"varint,1,rep,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*IntListMessage) GetValue ¶
func (m *IntListMessage) GetValue() []int32
func (*IntListMessage) ProtoMessage ¶
func (*IntListMessage) ProtoMessage()
func (*IntListMessage) Reset ¶
func (m *IntListMessage) Reset()
func (*IntListMessage) String ¶
func (m *IntListMessage) String() string
type IntMessage ¶
type IntMessage struct { Value *int32 `protobuf:"varint,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*IntMessage) GetValue ¶
func (m *IntMessage) GetValue() int32
func (*IntMessage) ProtoMessage ¶
func (*IntMessage) ProtoMessage()
func (*IntMessage) Reset ¶
func (m *IntMessage) Reset()
func (*IntMessage) String ¶
func (m *IntMessage) String() string
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:"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_unrecognized []byte `json:"-"` }
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
type ListEnumsOut ¶
type ListEnumsOut struct { MaterialFlags []*EnumItemName `protobuf:"bytes,1,rep,name=material_flags" json:"material_flags,omitempty"` InorganicFlags []*EnumItemName `protobuf:"bytes,2,rep,name=inorganic_flags" json:"inorganic_flags,omitempty"` UnitFlags1 []*EnumItemName `protobuf:"bytes,3,rep,name=unit_flags1" json:"unit_flags1,omitempty"` UnitFlags2 []*EnumItemName `protobuf:"bytes,4,rep,name=unit_flags2" json:"unit_flags2,omitempty"` UnitFlags3 []*EnumItemName `protobuf:"bytes,5,rep,name=unit_flags3" json:"unit_flags3,omitempty"` UnitLabor []*EnumItemName `protobuf:"bytes,6,rep,name=unit_labor" json:"unit_labor,omitempty"` JobSkill []*EnumItemName `protobuf:"bytes,7,rep,name=job_skill" json:"job_skill,omitempty"` CieAddTagMask1 []*EnumItemName `protobuf:"bytes,8,rep,name=cie_add_tag_mask1" json:"cie_add_tag_mask1,omitempty"` CieAddTagMask2 []*EnumItemName `protobuf:"bytes,9,rep,name=cie_add_tag_mask2" json:"cie_add_tag_mask2,omitempty"` DeathInfoFlags []*EnumItemName `protobuf:"bytes,10,rep,name=death_info_flags" json:"death_info_flags,omitempty"` Profession []*EnumItemName `protobuf:"bytes,11,rep,name=profession" json:"profession,omitempty"` XXX_unrecognized []byte `json:"-"` }
RPC ListEnums : EmptyMessage -> ListEnumsOut
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
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_unrecognized []byte `json:"-"` }
RPC ListJobSkills : EmptyMessage -> ListJobSkillsOut
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
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:"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_unrecognized []byte `json:"-"` }
RPC ListMaterials : ListMaterialsIn -> ListMaterialsOut
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
type ListMaterialsOut ¶
type ListMaterialsOut struct { Value []*BasicMaterialInfo `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
type ListSquadsIn ¶
type ListSquadsIn struct {
XXX_unrecognized []byte `json:"-"`
}
RPC ListSquads : ListSquadsIn -> ListSquadsOut
func (*ListSquadsIn) ProtoMessage ¶
func (*ListSquadsIn) ProtoMessage()
func (*ListSquadsIn) Reset ¶
func (m *ListSquadsIn) Reset()
func (*ListSquadsIn) String ¶
func (m *ListSquadsIn) String() string
type ListSquadsOut ¶
type ListSquadsOut struct { Value []*BasicSquadInfo `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
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:"id_list,omitempty"` // All units matching: ScanAll *bool `protobuf:"varint,5,opt,name=scan_all" 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:"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_unrecognized []byte `json:"-"` }
RPC ListUnits : ListUnitsIn -> ListUnitsOut
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
type ListUnitsOut ¶
type ListUnitsOut struct { Value []*BasicUnitInfo `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
type NameInfo ¶
type NameInfo struct { FirstName *string `protobuf:"bytes,1,opt,name=first_name" json:"first_name,omitempty"` Nickname *string `protobuf:"bytes,2,opt,name=nickname" json:"nickname,omitempty"` LanguageId *int32 `protobuf:"varint,3,opt,name=language_id,def=-1" json:"language_id,omitempty"` LastName *string `protobuf:"bytes,4,opt,name=last_name" json:"last_name,omitempty"` EnglishName *string `protobuf:"bytes,5,opt,name=english_name" json:"english_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*NameInfo) GetEnglishName ¶
func (*NameInfo) GetFirstName ¶
func (*NameInfo) GetLanguageId ¶
func (*NameInfo) GetLastName ¶
func (*NameInfo) GetNickname ¶
func (*NameInfo) ProtoMessage ¶
func (*NameInfo) ProtoMessage()
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_unrecognized []byte `json:"-"` }
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
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:"can_assign_labor,omitempty"` Parent *int32 `protobuf:"varint,6,opt,name=parent" json:"parent,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
type SetUnitLaborsIn ¶
type SetUnitLaborsIn struct { Change []*UnitLaborState `protobuf:"bytes,1,rep,name=change" json:"change,omitempty"` XXX_unrecognized []byte `json:"-"` }
RPC SetUnitLabors : SetUnitLaborsIn -> EmptyMessage
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
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_unrecognized []byte `json:"-"` }
func (*SkillInfo) GetExperience ¶
func (*SkillInfo) ProtoMessage ¶
func (*SkillInfo) ProtoMessage()
type StringListMessage ¶
type StringListMessage struct { Value []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*StringListMessage) GetValue ¶
func (m *StringListMessage) GetValue() []string
func (*StringListMessage) ProtoMessage ¶
func (*StringListMessage) ProtoMessage()
func (*StringListMessage) Reset ¶
func (m *StringListMessage) Reset()
func (*StringListMessage) String ¶
func (m *StringListMessage) String() string
type StringMessage ¶
type StringMessage struct { Value *string `protobuf:"bytes,1,req,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*StringMessage) GetValue ¶
func (m *StringMessage) GetValue() string
func (*StringMessage) ProtoMessage ¶
func (*StringMessage) ProtoMessage()
func (*StringMessage) Reset ¶
func (m *StringMessage) Reset()
func (*StringMessage) String ¶
func (m *StringMessage) String() string
type UnitCurseInfo ¶
type UnitCurseInfo struct { AddTags1 *uint32 `protobuf:"fixed32,1,req,name=add_tags1" json:"add_tags1,omitempty"` RemTags1 *uint32 `protobuf:"fixed32,2,req,name=rem_tags1" json:"rem_tags1,omitempty"` AddTags2 *uint32 `protobuf:"fixed32,3,req,name=add_tags2" json:"add_tags2,omitempty"` RemTags2 *uint32 `protobuf:"fixed32,4,req,name=rem_tags2" json:"rem_tags2,omitempty"` Name *NameTriple `protobuf:"bytes,5,opt,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
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
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_unrecognized []byte `json:"-"` }
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
type UnitLaborState ¶
type UnitLaborState struct { UnitId *int32 `protobuf:"varint,1,req,name=unit_id" 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_unrecognized []byte `json:"-"` }
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
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_unrecognized []byte `json:"-"` }
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
Click to show internal directories.
Click to hide internal directories.