Documentation ¶
Overview ¶
Package RemoteFortressReader is a generated protocol buffer package.
It is generated from these files:
RemoteFortressReader.proto
It has these top-level messages:
Tiletype TiletypeList MapBlock MatPair ColorDefinition MaterialDefinition MaterialList UnitDefinition UnitList BlockRequest BlockList PlantDef PlantList ViewInfo MapInfo
Index ¶
- Variables
- type BlockList
- type BlockRequest
- func (m *BlockRequest) GetBlocksNeeded() int32
- func (m *BlockRequest) GetMaxX() int32
- func (m *BlockRequest) GetMaxY() int32
- func (m *BlockRequest) GetMaxZ() int32
- func (m *BlockRequest) GetMinX() int32
- func (m *BlockRequest) GetMinY() int32
- func (m *BlockRequest) GetMinZ() int32
- func (*BlockRequest) ProtoMessage()
- func (m *BlockRequest) Reset()
- func (m *BlockRequest) String() string
- type ColorDefinition
- type MapBlock
- func (m *MapBlock) GetBaseMaterials() []*MatPair
- func (m *MapBlock) GetLayerMaterials() []*MatPair
- func (m *MapBlock) GetMagma() []int32
- func (m *MapBlock) GetMapX() int32
- func (m *MapBlock) GetMapY() int32
- func (m *MapBlock) GetMapZ() int32
- func (m *MapBlock) GetMaterials() []*MatPair
- func (m *MapBlock) GetTiles() []int32
- func (m *MapBlock) GetVeinMaterials() []*MatPair
- func (m *MapBlock) GetWater() []int32
- func (*MapBlock) ProtoMessage()
- func (m *MapBlock) Reset()
- func (m *MapBlock) String() string
- type MapInfo
- func (m *MapInfo) GetBlockPosX() int32
- func (m *MapInfo) GetBlockPosY() int32
- func (m *MapInfo) GetBlockPosZ() int32
- func (m *MapInfo) GetBlockSizeX() int32
- func (m *MapInfo) GetBlockSizeY() int32
- func (m *MapInfo) GetBlockSizeZ() int32
- func (m *MapInfo) GetSaveName() string
- func (m *MapInfo) GetWorldName() string
- func (m *MapInfo) GetWorldNameEnglish() string
- func (*MapInfo) ProtoMessage()
- func (m *MapInfo) Reset()
- func (m *MapInfo) String() string
- type MatPair
- type MaterialDefinition
- func (m *MaterialDefinition) GetId() string
- func (m *MaterialDefinition) GetMatPair() *MatPair
- func (m *MaterialDefinition) GetName() string
- func (m *MaterialDefinition) GetStateColor() *ColorDefinition
- func (*MaterialDefinition) ProtoMessage()
- func (m *MaterialDefinition) Reset()
- func (m *MaterialDefinition) String() string
- type MaterialList
- type PlantDef
- type PlantList
- type Tiletype
- func (m *Tiletype) GetCaption() string
- func (m *Tiletype) GetDirection() string
- func (m *Tiletype) GetId() int32
- func (m *Tiletype) GetMaterial() TiletypeMaterial
- func (m *Tiletype) GetName() string
- func (m *Tiletype) GetShape() TiletypeShape
- func (m *Tiletype) GetSpecial() TiletypeSpecial
- func (m *Tiletype) GetVariant() TiletypeVariant
- func (*Tiletype) ProtoMessage()
- func (m *Tiletype) Reset()
- func (m *Tiletype) String() string
- type TiletypeList
- type TiletypeMaterial
- type TiletypeShape
- type TiletypeSpecial
- type TiletypeVariant
- type UnitDefinition
- func (m *UnitDefinition) GetId() int32
- func (m *UnitDefinition) GetIsValid() bool
- func (m *UnitDefinition) GetPosX() int32
- func (m *UnitDefinition) GetPosY() int32
- func (m *UnitDefinition) GetPosZ() int32
- func (*UnitDefinition) ProtoMessage()
- func (m *UnitDefinition) Reset()
- func (m *UnitDefinition) String() string
- type UnitList
- type ViewInfo
- func (m *ViewInfo) GetCursorPosX() int32
- func (m *ViewInfo) GetCursorPosY() int32
- func (m *ViewInfo) GetCursorPosZ() int32
- func (m *ViewInfo) GetViewPosX() int32
- func (m *ViewInfo) GetViewPosY() int32
- func (m *ViewInfo) GetViewPosZ() int32
- func (m *ViewInfo) GetViewSizeX() int32
- func (m *ViewInfo) GetViewSizeY() int32
- func (*ViewInfo) ProtoMessage()
- func (m *ViewInfo) Reset()
- func (m *ViewInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var TiletypeMaterial_name = map[int32]string{
-1: "NO_MATERIAL",
0: "AIR",
1: "SOIL",
2: "STONE",
3: "FEATURE",
4: "LAVA_STONE",
5: "MINERAL",
6: "FROZEN_LIQUID",
7: "CONSTRUCTION",
8: "GRASS_LIGHT",
9: "GRASS_DARK",
10: "GRASS_DRY",
11: "GRASS_DEAD",
12: "PLANT",
13: "HFS",
14: "CAMPFIRE",
15: "FIRE",
16: "ASHES",
17: "MAGMA",
18: "DRIFTWOOD",
19: "POOL",
20: "BROOK",
21: "RIVER",
22: "ROOT",
23: "TREE_MATERIAL",
24: "MUSHROOM",
25: "UNDERWORLD_GATE",
}
View Source
var TiletypeMaterial_value = map[string]int32{
"NO_MATERIAL": -1,
"AIR": 0,
"SOIL": 1,
"STONE": 2,
"FEATURE": 3,
"LAVA_STONE": 4,
"MINERAL": 5,
"FROZEN_LIQUID": 6,
"CONSTRUCTION": 7,
"GRASS_LIGHT": 8,
"GRASS_DARK": 9,
"GRASS_DRY": 10,
"GRASS_DEAD": 11,
"PLANT": 12,
"HFS": 13,
"CAMPFIRE": 14,
"FIRE": 15,
"ASHES": 16,
"MAGMA": 17,
"DRIFTWOOD": 18,
"POOL": 19,
"BROOK": 20,
"RIVER": 21,
"ROOT": 22,
"TREE_MATERIAL": 23,
"MUSHROOM": 24,
"UNDERWORLD_GATE": 25,
}
View Source
var TiletypeShape_name = map[int32]string{
-1: "NO_SHAPE",
0: "EMPTY",
1: "FLOOR",
2: "BOULDER",
3: "PEBBLES",
4: "WALL",
5: "FORTIFICATION",
6: "STAIR_UP",
7: "STAIR_DOWN",
8: "STAIR_UPDOWN",
9: "RAMP",
10: "RAMP_TOP",
11: "BROOK_BED",
12: "BROOK_TOP",
13: "TREE_SHAPE",
14: "SAPLING",
15: "SHRUB",
16: "ENDLESS_PIT",
17: "BRANCH",
18: "TRUNK_BRANCH",
19: "TWIG",
}
View Source
var TiletypeShape_value = map[string]int32{
"NO_SHAPE": -1,
"EMPTY": 0,
"FLOOR": 1,
"BOULDER": 2,
"PEBBLES": 3,
"WALL": 4,
"FORTIFICATION": 5,
"STAIR_UP": 6,
"STAIR_DOWN": 7,
"STAIR_UPDOWN": 8,
"RAMP": 9,
"RAMP_TOP": 10,
"BROOK_BED": 11,
"BROOK_TOP": 12,
"TREE_SHAPE": 13,
"SAPLING": 14,
"SHRUB": 15,
"ENDLESS_PIT": 16,
"BRANCH": 17,
"TRUNK_BRANCH": 18,
"TWIG": 19,
}
View Source
var TiletypeSpecial_name = map[int32]string{
-1: "NO_SPECIAL",
0: "NORMAL",
1: "RIVER_SOURCE",
2: "WATERFALL",
3: "SMOOTH",
4: "FURROWED",
5: "WET",
6: "DEAD",
7: "WORN_1",
8: "WORN_2",
9: "WORN_3",
10: "TRACK",
11: "SMOOTH_DEAD",
}
View Source
var TiletypeSpecial_value = map[string]int32{
"NO_SPECIAL": -1,
"NORMAL": 0,
"RIVER_SOURCE": 1,
"WATERFALL": 2,
"SMOOTH": 3,
"FURROWED": 4,
"WET": 5,
"DEAD": 6,
"WORN_1": 7,
"WORN_2": 8,
"WORN_3": 9,
"TRACK": 10,
"SMOOTH_DEAD": 11,
}
View Source
var TiletypeVariant_name = map[int32]string{
-1: "NO_VARIANT",
0: "VAR_1",
1: "VAR_2",
2: "VAR_3",
3: "VAR_4",
}
View Source
var TiletypeVariant_value = map[string]int32{
"NO_VARIANT": -1,
"VAR_1": 0,
"VAR_2": 1,
"VAR_3": 2,
"VAR_4": 3,
}
Functions ¶
This section is empty.
Types ¶
type BlockList ¶
type BlockList struct { MapBlocks []*MapBlock `protobuf:"bytes,1,rep,name=map_blocks" json:"map_blocks,omitempty"` MapX *int32 `protobuf:"varint,2,opt,name=map_x" json:"map_x,omitempty"` MapY *int32 `protobuf:"varint,3,opt,name=map_y" json:"map_y,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BlockList) GetMapBlocks ¶
func (*BlockList) ProtoMessage ¶
func (*BlockList) ProtoMessage()
type BlockRequest ¶
type BlockRequest struct { BlocksNeeded *int32 `protobuf:"varint,1,opt,name=blocks_needed" json:"blocks_needed,omitempty"` MinX *int32 `protobuf:"varint,2,opt,name=min_x" json:"min_x,omitempty"` MaxX *int32 `protobuf:"varint,3,opt,name=max_x" json:"max_x,omitempty"` MinY *int32 `protobuf:"varint,4,opt,name=min_y" json:"min_y,omitempty"` MaxY *int32 `protobuf:"varint,5,opt,name=max_y" json:"max_y,omitempty"` MinZ *int32 `protobuf:"varint,6,opt,name=min_z" json:"min_z,omitempty"` MaxZ *int32 `protobuf:"varint,7,opt,name=max_z" json:"max_z,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BlockRequest) GetBlocksNeeded ¶
func (m *BlockRequest) GetBlocksNeeded() int32
func (*BlockRequest) GetMaxX ¶
func (m *BlockRequest) GetMaxX() int32
func (*BlockRequest) GetMaxY ¶
func (m *BlockRequest) GetMaxY() int32
func (*BlockRequest) GetMaxZ ¶
func (m *BlockRequest) GetMaxZ() int32
func (*BlockRequest) GetMinX ¶
func (m *BlockRequest) GetMinX() int32
func (*BlockRequest) GetMinY ¶
func (m *BlockRequest) GetMinY() int32
func (*BlockRequest) GetMinZ ¶
func (m *BlockRequest) GetMinZ() int32
func (*BlockRequest) ProtoMessage ¶
func (*BlockRequest) ProtoMessage()
func (*BlockRequest) Reset ¶
func (m *BlockRequest) Reset()
func (*BlockRequest) String ¶
func (m *BlockRequest) String() string
type ColorDefinition ¶
type ColorDefinition struct { Red *int32 `protobuf:"varint,1,req,name=red" json:"red,omitempty"` Green *int32 `protobuf:"varint,2,req,name=green" json:"green,omitempty"` Blue *int32 `protobuf:"varint,3,req,name=blue" json:"blue,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ColorDefinition) GetBlue ¶
func (m *ColorDefinition) GetBlue() int32
func (*ColorDefinition) GetGreen ¶
func (m *ColorDefinition) GetGreen() int32
func (*ColorDefinition) GetRed ¶
func (m *ColorDefinition) GetRed() int32
func (*ColorDefinition) ProtoMessage ¶
func (*ColorDefinition) ProtoMessage()
func (*ColorDefinition) Reset ¶
func (m *ColorDefinition) Reset()
func (*ColorDefinition) String ¶
func (m *ColorDefinition) String() string
type MapBlock ¶
type MapBlock struct { MapX *int32 `protobuf:"varint,1,req,name=map_x" json:"map_x,omitempty"` MapY *int32 `protobuf:"varint,2,req,name=map_y" json:"map_y,omitempty"` MapZ *int32 `protobuf:"varint,3,req,name=map_z" json:"map_z,omitempty"` Tiles []int32 `protobuf:"varint,4,rep,name=tiles" json:"tiles,omitempty"` Materials []*MatPair `protobuf:"bytes,5,rep,name=materials" json:"materials,omitempty"` LayerMaterials []*MatPair `protobuf:"bytes,6,rep,name=layer_materials" json:"layer_materials,omitempty"` VeinMaterials []*MatPair `protobuf:"bytes,7,rep,name=vein_materials" json:"vein_materials,omitempty"` BaseMaterials []*MatPair `protobuf:"bytes,8,rep,name=base_materials" json:"base_materials,omitempty"` Magma []int32 `protobuf:"varint,9,rep,name=magma" json:"magma,omitempty"` Water []int32 `protobuf:"varint,10,rep,name=water" json:"water,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MapBlock) GetBaseMaterials ¶
func (*MapBlock) GetLayerMaterials ¶
func (*MapBlock) GetMaterials ¶
func (*MapBlock) GetVeinMaterials ¶
func (*MapBlock) ProtoMessage ¶
func (*MapBlock) ProtoMessage()
type MapInfo ¶
type MapInfo struct { BlockSizeX *int32 `protobuf:"varint,1,opt,name=block_size_x" json:"block_size_x,omitempty"` BlockSizeY *int32 `protobuf:"varint,2,opt,name=block_size_y" json:"block_size_y,omitempty"` BlockSizeZ *int32 `protobuf:"varint,3,opt,name=block_size_z" json:"block_size_z,omitempty"` BlockPosX *int32 `protobuf:"varint,4,opt,name=block_pos_x" json:"block_pos_x,omitempty"` BlockPosY *int32 `protobuf:"varint,5,opt,name=block_pos_y" json:"block_pos_y,omitempty"` BlockPosZ *int32 `protobuf:"varint,6,opt,name=block_pos_z" json:"block_pos_z,omitempty"` WorldName *string `protobuf:"bytes,7,opt,name=world_name" json:"world_name,omitempty"` WorldNameEnglish *string `protobuf:"bytes,8,opt,name=world_name_english" json:"world_name_english,omitempty"` SaveName *string `protobuf:"bytes,9,opt,name=save_name" json:"save_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MapInfo) GetBlockPosX ¶
func (*MapInfo) GetBlockPosY ¶
func (*MapInfo) GetBlockPosZ ¶
func (*MapInfo) GetBlockSizeX ¶
func (*MapInfo) GetBlockSizeY ¶
func (*MapInfo) GetBlockSizeZ ¶
func (*MapInfo) GetSaveName ¶
func (*MapInfo) GetWorldName ¶
func (*MapInfo) GetWorldNameEnglish ¶
func (*MapInfo) ProtoMessage ¶
func (*MapInfo) ProtoMessage()
type MatPair ¶
type MatPair struct { MatType *int32 `protobuf:"varint,1,req,name=mat_type" json:"mat_type,omitempty"` MatIndex *int32 `protobuf:"varint,2,req,name=mat_index" json:"mat_index,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MatPair) GetMatIndex ¶
func (*MatPair) GetMatType ¶
func (*MatPair) ProtoMessage ¶
func (*MatPair) ProtoMessage()
type MaterialDefinition ¶
type MaterialDefinition struct { MatPair *MatPair `protobuf:"bytes,1,req,name=mat_pair" json:"mat_pair,omitempty"` Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` StateColor *ColorDefinition `protobuf:"bytes,4,opt,name=state_color" json:"state_color,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MaterialDefinition) GetId ¶
func (m *MaterialDefinition) GetId() string
func (*MaterialDefinition) GetMatPair ¶
func (m *MaterialDefinition) GetMatPair() *MatPair
func (*MaterialDefinition) GetName ¶
func (m *MaterialDefinition) GetName() string
func (*MaterialDefinition) GetStateColor ¶
func (m *MaterialDefinition) GetStateColor() *ColorDefinition
func (*MaterialDefinition) ProtoMessage ¶
func (*MaterialDefinition) ProtoMessage()
func (*MaterialDefinition) Reset ¶
func (m *MaterialDefinition) Reset()
func (*MaterialDefinition) String ¶
func (m *MaterialDefinition) String() string
type MaterialList ¶
type MaterialList struct { MaterialList []*MaterialDefinition `protobuf:"bytes,1,rep,name=material_list" json:"material_list,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MaterialList) GetMaterialList ¶
func (m *MaterialList) GetMaterialList() []*MaterialDefinition
func (*MaterialList) ProtoMessage ¶
func (*MaterialList) ProtoMessage()
func (*MaterialList) Reset ¶
func (m *MaterialList) Reset()
func (*MaterialList) String ¶
func (m *MaterialList) String() string
type PlantDef ¶
type PlantDef struct { PosX *int32 `protobuf:"varint,1,req,name=pos_x" json:"pos_x,omitempty"` PosY *int32 `protobuf:"varint,2,req,name=pos_y" json:"pos_y,omitempty"` PosZ *int32 `protobuf:"varint,3,req,name=pos_z" json:"pos_z,omitempty"` Index *int32 `protobuf:"varint,4,req,name=index" json:"index,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PlantDef) ProtoMessage ¶
func (*PlantDef) ProtoMessage()
type PlantList ¶
type PlantList struct { PlantList []*PlantDef `protobuf:"bytes,1,rep,name=plant_list" json:"plant_list,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PlantList) GetPlantList ¶
func (*PlantList) ProtoMessage ¶
func (*PlantList) ProtoMessage()
type Tiletype ¶
type Tiletype struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Caption *string `protobuf:"bytes,3,opt,name=caption" json:"caption,omitempty"` Shape *TiletypeShape `protobuf:"varint,4,opt,name=shape,enum=RemoteFortressReader.TiletypeShape" json:"shape,omitempty"` Special *TiletypeSpecial `protobuf:"varint,5,opt,name=special,enum=RemoteFortressReader.TiletypeSpecial" json:"special,omitempty"` Material *TiletypeMaterial `protobuf:"varint,6,opt,name=material,enum=RemoteFortressReader.TiletypeMaterial" json:"material,omitempty"` Variant *TiletypeVariant `protobuf:"varint,7,opt,name=variant,enum=RemoteFortressReader.TiletypeVariant" json:"variant,omitempty"` Direction *string `protobuf:"bytes,8,opt,name=direction" json:"direction,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Tiletype) GetCaption ¶
func (*Tiletype) GetDirection ¶
func (*Tiletype) GetMaterial ¶
func (m *Tiletype) GetMaterial() TiletypeMaterial
func (*Tiletype) GetShape ¶
func (m *Tiletype) GetShape() TiletypeShape
func (*Tiletype) GetSpecial ¶
func (m *Tiletype) GetSpecial() TiletypeSpecial
func (*Tiletype) GetVariant ¶
func (m *Tiletype) GetVariant() TiletypeVariant
func (*Tiletype) ProtoMessage ¶
func (*Tiletype) ProtoMessage()
type TiletypeList ¶
type TiletypeList struct { TiletypeList []*Tiletype `protobuf:"bytes,1,rep,name=tiletype_list" json:"tiletype_list,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*TiletypeList) GetTiletypeList ¶
func (m *TiletypeList) GetTiletypeList() []*Tiletype
func (*TiletypeList) ProtoMessage ¶
func (*TiletypeList) ProtoMessage()
func (*TiletypeList) Reset ¶
func (m *TiletypeList) Reset()
func (*TiletypeList) String ¶
func (m *TiletypeList) String() string
type TiletypeMaterial ¶
type TiletypeMaterial int32
const ( TiletypeMaterial_NO_MATERIAL TiletypeMaterial = -1 TiletypeMaterial_AIR TiletypeMaterial = 0 TiletypeMaterial_SOIL TiletypeMaterial = 1 TiletypeMaterial_STONE TiletypeMaterial = 2 TiletypeMaterial_FEATURE TiletypeMaterial = 3 TiletypeMaterial_LAVA_STONE TiletypeMaterial = 4 TiletypeMaterial_MINERAL TiletypeMaterial = 5 TiletypeMaterial_FROZEN_LIQUID TiletypeMaterial = 6 TiletypeMaterial_CONSTRUCTION TiletypeMaterial = 7 TiletypeMaterial_GRASS_LIGHT TiletypeMaterial = 8 TiletypeMaterial_GRASS_DARK TiletypeMaterial = 9 TiletypeMaterial_GRASS_DRY TiletypeMaterial = 10 TiletypeMaterial_GRASS_DEAD TiletypeMaterial = 11 TiletypeMaterial_PLANT TiletypeMaterial = 12 TiletypeMaterial_HFS TiletypeMaterial = 13 TiletypeMaterial_CAMPFIRE TiletypeMaterial = 14 TiletypeMaterial_FIRE TiletypeMaterial = 15 TiletypeMaterial_ASHES TiletypeMaterial = 16 TiletypeMaterial_MAGMA TiletypeMaterial = 17 TiletypeMaterial_DRIFTWOOD TiletypeMaterial = 18 TiletypeMaterial_POOL TiletypeMaterial = 19 TiletypeMaterial_BROOK TiletypeMaterial = 20 TiletypeMaterial_RIVER TiletypeMaterial = 21 TiletypeMaterial_ROOT TiletypeMaterial = 22 TiletypeMaterial_TREE_MATERIAL TiletypeMaterial = 23 TiletypeMaterial_MUSHROOM TiletypeMaterial = 24 TiletypeMaterial_UNDERWORLD_GATE TiletypeMaterial = 25 )
func (TiletypeMaterial) Enum ¶
func (x TiletypeMaterial) Enum() *TiletypeMaterial
func (TiletypeMaterial) String ¶
func (x TiletypeMaterial) String() string
func (*TiletypeMaterial) UnmarshalJSON ¶
func (x *TiletypeMaterial) UnmarshalJSON(data []byte) error
type TiletypeShape ¶
type TiletypeShape int32
We use shapes, etc, because the actual tiletypes may differ between DF versions.
const ( TiletypeShape_NO_SHAPE TiletypeShape = -1 TiletypeShape_EMPTY TiletypeShape = 0 TiletypeShape_FLOOR TiletypeShape = 1 TiletypeShape_BOULDER TiletypeShape = 2 TiletypeShape_PEBBLES TiletypeShape = 3 TiletypeShape_WALL TiletypeShape = 4 TiletypeShape_FORTIFICATION TiletypeShape = 5 TiletypeShape_STAIR_UP TiletypeShape = 6 TiletypeShape_STAIR_DOWN TiletypeShape = 7 TiletypeShape_STAIR_UPDOWN TiletypeShape = 8 TiletypeShape_RAMP TiletypeShape = 9 TiletypeShape_RAMP_TOP TiletypeShape = 10 TiletypeShape_BROOK_BED TiletypeShape = 11 TiletypeShape_BROOK_TOP TiletypeShape = 12 TiletypeShape_TREE_SHAPE TiletypeShape = 13 TiletypeShape_SAPLING TiletypeShape = 14 TiletypeShape_SHRUB TiletypeShape = 15 TiletypeShape_ENDLESS_PIT TiletypeShape = 16 TiletypeShape_BRANCH TiletypeShape = 17 TiletypeShape_TRUNK_BRANCH TiletypeShape = 18 TiletypeShape_TWIG TiletypeShape = 19 )
func (TiletypeShape) Enum ¶
func (x TiletypeShape) Enum() *TiletypeShape
func (TiletypeShape) String ¶
func (x TiletypeShape) String() string
func (*TiletypeShape) UnmarshalJSON ¶
func (x *TiletypeShape) UnmarshalJSON(data []byte) error
type TiletypeSpecial ¶
type TiletypeSpecial int32
const ( TiletypeSpecial_NO_SPECIAL TiletypeSpecial = -1 TiletypeSpecial_NORMAL TiletypeSpecial = 0 TiletypeSpecial_RIVER_SOURCE TiletypeSpecial = 1 TiletypeSpecial_WATERFALL TiletypeSpecial = 2 TiletypeSpecial_SMOOTH TiletypeSpecial = 3 TiletypeSpecial_FURROWED TiletypeSpecial = 4 TiletypeSpecial_WET TiletypeSpecial = 5 TiletypeSpecial_DEAD TiletypeSpecial = 6 TiletypeSpecial_WORN_1 TiletypeSpecial = 7 TiletypeSpecial_WORN_2 TiletypeSpecial = 8 TiletypeSpecial_WORN_3 TiletypeSpecial = 9 TiletypeSpecial_TRACK TiletypeSpecial = 10 TiletypeSpecial_SMOOTH_DEAD TiletypeSpecial = 11 )
func (TiletypeSpecial) Enum ¶
func (x TiletypeSpecial) Enum() *TiletypeSpecial
func (TiletypeSpecial) String ¶
func (x TiletypeSpecial) String() string
func (*TiletypeSpecial) UnmarshalJSON ¶
func (x *TiletypeSpecial) UnmarshalJSON(data []byte) error
type TiletypeVariant ¶
type TiletypeVariant int32
const ( TiletypeVariant_NO_VARIANT TiletypeVariant = -1 TiletypeVariant_VAR_1 TiletypeVariant = 0 TiletypeVariant_VAR_2 TiletypeVariant = 1 TiletypeVariant_VAR_3 TiletypeVariant = 2 TiletypeVariant_VAR_4 TiletypeVariant = 3 )
func (TiletypeVariant) Enum ¶
func (x TiletypeVariant) Enum() *TiletypeVariant
func (TiletypeVariant) String ¶
func (x TiletypeVariant) String() string
func (*TiletypeVariant) UnmarshalJSON ¶
func (x *TiletypeVariant) UnmarshalJSON(data []byte) error
type UnitDefinition ¶
type UnitDefinition struct { Id *int32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` IsValid *bool `protobuf:"varint,2,opt,name=isValid" json:"isValid,omitempty"` PosX *int32 `protobuf:"varint,3,opt,name=pos_x" json:"pos_x,omitempty"` PosY *int32 `protobuf:"varint,4,opt,name=pos_y" json:"pos_y,omitempty"` PosZ *int32 `protobuf:"varint,5,opt,name=pos_z" json:"pos_z,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UnitDefinition) GetId ¶
func (m *UnitDefinition) GetId() int32
func (*UnitDefinition) GetIsValid ¶
func (m *UnitDefinition) GetIsValid() bool
func (*UnitDefinition) GetPosX ¶
func (m *UnitDefinition) GetPosX() int32
func (*UnitDefinition) GetPosY ¶
func (m *UnitDefinition) GetPosY() int32
func (*UnitDefinition) GetPosZ ¶
func (m *UnitDefinition) GetPosZ() int32
func (*UnitDefinition) ProtoMessage ¶
func (*UnitDefinition) ProtoMessage()
func (*UnitDefinition) Reset ¶
func (m *UnitDefinition) Reset()
func (*UnitDefinition) String ¶
func (m *UnitDefinition) String() string
type UnitList ¶
type UnitList struct { CreatureList []*UnitDefinition `protobuf:"bytes,1,rep,name=creature_list" json:"creature_list,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UnitList) GetCreatureList ¶
func (m *UnitList) GetCreatureList() []*UnitDefinition
func (*UnitList) ProtoMessage ¶
func (*UnitList) ProtoMessage()
type ViewInfo ¶
type ViewInfo struct { ViewPosX *int32 `protobuf:"varint,1,opt,name=view_pos_x" json:"view_pos_x,omitempty"` ViewPosY *int32 `protobuf:"varint,2,opt,name=view_pos_y" json:"view_pos_y,omitempty"` ViewPosZ *int32 `protobuf:"varint,3,opt,name=view_pos_z" json:"view_pos_z,omitempty"` ViewSizeX *int32 `protobuf:"varint,4,opt,name=view_size_x" json:"view_size_x,omitempty"` ViewSizeY *int32 `protobuf:"varint,5,opt,name=view_size_y" json:"view_size_y,omitempty"` CursorPosX *int32 `protobuf:"varint,6,opt,name=cursor_pos_x" json:"cursor_pos_x,omitempty"` CursorPosY *int32 `protobuf:"varint,7,opt,name=cursor_pos_y" json:"cursor_pos_y,omitempty"` CursorPosZ *int32 `protobuf:"varint,8,opt,name=cursor_pos_z" json:"cursor_pos_z,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ViewInfo) GetCursorPosX ¶
func (*ViewInfo) GetCursorPosY ¶
func (*ViewInfo) GetCursorPosZ ¶
func (*ViewInfo) GetViewPosX ¶
func (*ViewInfo) GetViewPosY ¶
func (*ViewInfo) GetViewPosZ ¶
func (*ViewInfo) GetViewSizeX ¶
func (*ViewInfo) GetViewSizeY ¶
func (*ViewInfo) ProtoMessage ¶
func (*ViewInfo) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.