api

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCommon = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCommon   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthData = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowData   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthDebug = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDebug   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthRaw = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRaw   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthSc2Api = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSc2Api   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthScore = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowScore   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthSpatial = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSpatial   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthUi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUi   = fmt.Errorf("proto: integer overflow")
)
View Source
var AIBuild_name = map[int32]string{
	0: "AIBuild_nil",
	1: "RandomBuild",
	2: "Rush",
	3: "Timing",
	4: "Power",
	5: "Macro",
	6: "Air",
}
View Source
var AIBuild_value = map[string]int32{
	"AIBuild_nil": 0,
	"RandomBuild": 1,
	"Rush":        2,
	"Timing":      3,
	"Power":       4,
	"Macro":       5,
	"Air":         6,
}
View Source
var AbilityData_Target_name = map[int32]string{
	0: "Target_nil",
	1: "None",
	2: "Point",
	3: "Unit",
	4: "PointOrUnit",
	5: "PointOrNone",
}
View Source
var AbilityData_Target_value = map[string]int32{
	"Target_nil":  0,
	"None":        1,
	"Point":       2,
	"Unit":        3,
	"PointOrUnit": 4,
	"PointOrNone": 5,
}
View Source
var ActionChat_Channel_name = map[int32]string{
	0: "Channel_nil",
	1: "Broadcast",
	2: "Team",
}
View Source
var ActionChat_Channel_value = map[string]int32{
	"Channel_nil": 0,
	"Broadcast":   1,
	"Team":        2,
}
View Source
var ActionControlGroup_ControlGroupAction_name = map[int32]string{
	0: "ControlGroupAction_nil",
	1: "Recall",
	2: "Set",
	3: "Append",
	4: "SetAndSteal",
	5: "AppendAndSteal",
}
View Source
var ActionControlGroup_ControlGroupAction_value = map[string]int32{
	"ControlGroupAction_nil": 0,
	"Recall":                 1,
	"Set":                    2,
	"Append":                 3,
	"SetAndSteal":            4,
	"AppendAndSteal":         5,
}
View Source
var ActionMultiPanel_Type_name = map[int32]string{
	0: "Type_nil",
	1: "SingleSelect",
	2: "DeselectUnit",
	3: "SelectAllOfType",
	4: "DeselectAllOfType",
}
View Source
var ActionMultiPanel_Type_value = map[string]int32{
	"Type_nil":          0,
	"SingleSelect":      1,
	"DeselectUnit":      2,
	"SelectAllOfType":   3,
	"DeselectAllOfType": 4,
}
View Source
var ActionResult_name = map[int32]string{}/* 215 elements not displayed */
View Source
var ActionResult_value = map[string]int32{}/* 215 elements not displayed */
View Source
var ActionSelectIdleWorker_Type_name = map[int32]string{
	0: "Type_nil",
	1: "Set",
	2: "Add",
	3: "All",
	4: "AddAll",
}
View Source
var ActionSelectIdleWorker_Type_value = map[string]int32{
	"Type_nil": 0,
	"Set":      1,
	"Add":      2,
	"All":      3,
	"AddAll":   4,
}
View Source
var ActionSpatialUnitSelectionPoint_Type_name = map[int32]string{
	0: "Type_nil",
	1: "Select",
	2: "Toggle",
	3: "AllType",
	4: "AddAllType",
}
View Source
var ActionSpatialUnitSelectionPoint_Type_value = map[string]int32{
	"Type_nil":   0,
	"Select":     1,
	"Toggle":     2,
	"AllType":    3,
	"AddAllType": 4,
}
View Source
var Alert_name = map[int32]string{
	0:  "Alert_nil",
	3:  "AlertError",
	4:  "AddOnComplete",
	5:  "BuildingComplete",
	6:  "BuildingUnderAttack",
	7:  "LarvaHatched",
	8:  "MergeComplete",
	9:  "MineralsExhausted",
	10: "MorphComplete",
	11: "MothershipComplete",
	12: "MULEExpired",
	1:  "NuclearLaunchDetected",
	13: "NukeComplete",
	2:  "NydusWormDetected",
	14: "ResearchComplete",
	15: "TrainError",
	16: "TrainUnitComplete",
	17: "TrainWorkerComplete",
	18: "TransformationComplete",
	19: "UnitUnderAttack",
	20: "UpgradeComplete",
	21: "VespeneExhausted",
	22: "WarpInComplete",
}
View Source
var Alert_value = map[string]int32{
	"Alert_nil":              0,
	"AlertError":             3,
	"AddOnComplete":          4,
	"BuildingComplete":       5,
	"BuildingUnderAttack":    6,
	"LarvaHatched":           7,
	"MergeComplete":          8,
	"MineralsExhausted":      9,
	"MorphComplete":          10,
	"MothershipComplete":     11,
	"MULEExpired":            12,
	"NuclearLaunchDetected":  1,
	"NukeComplete":           13,
	"NydusWormDetected":      2,
	"ResearchComplete":       14,
	"TrainError":             15,
	"TrainUnitComplete":      16,
	"TrainWorkerComplete":    17,
	"TransformationComplete": 18,
	"UnitUnderAttack":        19,
	"UpgradeComplete":        20,
	"VespeneExhausted":       21,
	"WarpInComplete":         22,
}
View Source
var Alliance_name = map[int32]string{
	0: "Alliance_nil",
	1: "Self",
	2: "Ally",
	3: "Neutral",
	4: "Enemy",
}
View Source
var Alliance_value = map[string]int32{
	"Alliance_nil": 0,
	"Self":         1,
	"Ally":         2,
	"Neutral":      3,
	"Enemy":        4,
}
View Source
var Attribute_name = map[int32]string{
	0:  "Attribute_nil",
	1:  "Light",
	2:  "Armored",
	3:  "Biological",
	4:  "Mechanical",
	5:  "Robotic",
	6:  "Psionic",
	7:  "Massive",
	8:  "Structure",
	9:  "Hover",
	10: "Heroic",
	11: "Summoned",
}
View Source
var Attribute_value = map[string]int32{
	"Attribute_nil": 0,
	"Light":         1,
	"Armored":       2,
	"Biological":    3,
	"Mechanical":    4,
	"Robotic":       5,
	"Psionic":       6,
	"Massive":       7,
	"Structure":     8,
	"Hover":         9,
	"Heroic":        10,
	"Summoned":      11,
}
View Source
var CloakState_name = map[int32]string{
	0: "CloakedUnknown",
	1: "Cloaked",
	2: "CloakedDetected",
	3: "NotCloaked",
	4: "CloakedAllied",
}
View Source
var CloakState_value = map[string]int32{
	"CloakedUnknown":  0,
	"Cloaked":         1,
	"CloakedDetected": 2,
	"NotCloaked":      3,
	"CloakedAllied":   4,
}
View Source
var DebugEndGame_EndResult_name = map[int32]string{
	0: "EndResult_nil",
	1: "Surrender",
	2: "DeclareVictory",
}
View Source
var DebugEndGame_EndResult_value = map[string]int32{
	"EndResult_nil":  0,
	"Surrender":      1,
	"DeclareVictory": 2,
}
View Source
var DebugGameState_name = map[int32]string{
	0:  "DebugGameState_nil",
	1:  "show_map",
	2:  "control_enemy",
	3:  "food",
	4:  "free",
	5:  "all_resources",
	6:  "god",
	7:  "minerals",
	8:  "gas",
	9:  "cooldown",
	10: "tech_tree",
	11: "upgrade",
	12: "fast_build",
}
View Source
var DebugGameState_value = map[string]int32{
	"DebugGameState_nil": 0,
	"show_map":           1,
	"control_enemy":      2,
	"food":               3,
	"free":               4,
	"all_resources":      5,
	"god":                6,
	"minerals":           7,
	"gas":                8,
	"cooldown":           9,
	"tech_tree":          10,
	"upgrade":            11,
	"fast_build":         12,
}
View Source
var DebugSetUnitValue_UnitValue_name = map[int32]string{
	0: "UnitValue_nil",
	1: "Energy",
	2: "Life",
	3: "Shields",
}
View Source
var DebugSetUnitValue_UnitValue_value = map[string]int32{
	"UnitValue_nil": 0,
	"Energy":        1,
	"Life":          2,
	"Shields":       3,
}
View Source
var DebugTestProcess_Test_name = map[int32]string{
	0: "Test_nil",
	1: "hang",
	2: "crash",
	3: "exit",
}
View Source
var DebugTestProcess_Test_value = map[string]int32{
	"Test_nil": 0,
	"hang":     1,
	"crash":    2,
	"exit":     3,
}
View Source
var Difficulty_name = map[int32]string{
	0:  "Difficulty_nil",
	1:  "VeryEasy",
	2:  "Easy",
	3:  "Medium",
	4:  "MediumHard",
	5:  "Hard",
	6:  "Harder",
	7:  "VeryHard",
	8:  "CheatVision",
	9:  "CheatMoney",
	10: "CheatInsane",
}
View Source
var Difficulty_value = map[string]int32{
	"Difficulty_nil": 0,
	"VeryEasy":       1,
	"Easy":           2,
	"Medium":         3,
	"MediumHard":     4,
	"Hard":           5,
	"Harder":         6,
	"VeryHard":       7,
	"CheatVision":    8,
	"CheatMoney":     9,
	"CheatInsane":    10,
}
View Source
var DisplayType_name = map[int32]string{
	0: "DisplayType_nil",
	1: "Visible",
	2: "Snapshot",
	3: "Hidden",
	4: "Placeholder",
}
View Source
var DisplayType_value = map[string]int32{
	"DisplayType_nil": 0,
	"Visible":         1,
	"Snapshot":        2,
	"Hidden":          3,
	"Placeholder":     4,
}
View Source
var PlayerType_name = map[int32]string{
	0: "PlayerType_nil",
	1: "Participant",
	2: "Computer",
	3: "Observer",
}
View Source
var PlayerType_value = map[string]int32{
	"PlayerType_nil": 0,
	"Participant":    1,
	"Computer":       2,
	"Observer":       3,
}
View Source
var Race_name = map[int32]string{
	0: "NoRace",
	1: "Terran",
	2: "Zerg",
	3: "Protoss",
	4: "Random",
}
View Source
var Race_value = map[string]int32{
	"NoRace":  0,
	"Terran":  1,
	"Zerg":    2,
	"Protoss": 3,
	"Random":  4,
}
View Source
var ResponseCreateGame_Error_name = map[int32]string{
	0: "Error_nil",
	1: "MissingMap",
	2: "InvalidMapPath",
	3: "InvalidMapData",
	4: "InvalidMapName",
	5: "InvalidMapHandle",
	6: "MissingPlayerSetup",
	7: "InvalidPlayerSetup",
	8: "MultiplayerUnsupported",
}
View Source
var ResponseCreateGame_Error_value = map[string]int32{
	"Error_nil":              0,
	"MissingMap":             1,
	"InvalidMapPath":         2,
	"InvalidMapData":         3,
	"InvalidMapName":         4,
	"InvalidMapHandle":       5,
	"MissingPlayerSetup":     6,
	"InvalidPlayerSetup":     7,
	"MultiplayerUnsupported": 8,
}
View Source
var ResponseJoinGame_Error_name = map[int32]string{
	0:  "Error_nil",
	1:  "MissingParticipation",
	2:  "InvalidObservedPlayerId",
	3:  "MissingOptions",
	4:  "MissingPorts",
	5:  "GameFull",
	6:  "LaunchError",
	7:  "FeatureUnsupported",
	8:  "NoSpaceForUser",
	9:  "MapDoesNotExist",
	10: "CannotOpenMap",
	11: "ChecksumError",
	12: "NetworkError",
	13: "OtherError",
}
View Source
var ResponseJoinGame_Error_value = map[string]int32{
	"Error_nil":               0,
	"MissingParticipation":    1,
	"InvalidObservedPlayerId": 2,
	"MissingOptions":          3,
	"MissingPorts":            4,
	"GameFull":                5,
	"LaunchError":             6,
	"FeatureUnsupported":      7,
	"NoSpaceForUser":          8,
	"MapDoesNotExist":         9,
	"CannotOpenMap":           10,
	"ChecksumError":           11,
	"NetworkError":            12,
	"OtherError":              13,
}
View Source
var ResponseMapCommand_Error_name = map[int32]string{
	0: "Error_nil",
	1: "NoTriggerError",
}
View Source
var ResponseMapCommand_Error_value = map[string]int32{
	"Error_nil":      0,
	"NoTriggerError": 1,
}
View Source
var ResponseReplayInfo_Error_name = map[int32]string{
	0: "Error_nil",
	1: "MissingReplay",
	2: "InvalidReplayPath",
	3: "InvalidReplayData",
	4: "ParsingError",
	5: "DownloadError",
}
View Source
var ResponseReplayInfo_Error_value = map[string]int32{
	"Error_nil":         0,
	"MissingReplay":     1,
	"InvalidReplayPath": 2,
	"InvalidReplayData": 3,
	"ParsingError":      4,
	"DownloadError":     5,
}
View Source
var ResponseRestartGame_Error_name = map[int32]string{
	0: "Error_nil",
	1: "LaunchError",
}
View Source
var ResponseRestartGame_Error_value = map[string]int32{
	"Error_nil":   0,
	"LaunchError": 1,
}
View Source
var ResponseSaveMap_Error_name = map[int32]string{
	0: "Error_nil",
	1: "InvalidMapData",
}
View Source
var ResponseSaveMap_Error_value = map[string]int32{
	"Error_nil":      0,
	"InvalidMapData": 1,
}
View Source
var ResponseStartReplay_Error_name = map[int32]string{
	0: "Error_nil",
	1: "MissingReplay",
	2: "InvalidReplayPath",
	3: "InvalidReplayData",
	4: "InvalidMapData",
	5: "InvalidObservedPlayerId",
	6: "MissingOptions",
	7: "LaunchError",
}
View Source
var ResponseStartReplay_Error_value = map[string]int32{
	"Error_nil":               0,
	"MissingReplay":           1,
	"InvalidReplayPath":       2,
	"InvalidReplayData":       3,
	"InvalidMapData":          4,
	"InvalidObservedPlayerId": 5,
	"MissingOptions":          6,
	"LaunchError":             7,
}
View Source
var Result_name = map[int32]string{
	0: "Result_nil",
	1: "Victory",
	2: "Defeat",
	3: "Tie",
	4: "Undecided",
}
View Source
var Result_value = map[string]int32{
	"Result_nil": 0,
	"Victory":    1,
	"Defeat":     2,
	"Tie":        3,
	"Undecided":  4,
}
View Source
var Score_ScoreType_name = map[int32]string{
	0: "ScoreType_nil",
	1: "Curriculum",
	2: "Melee",
}
View Source
var Score_ScoreType_value = map[string]int32{
	"ScoreType_nil": 0,
	"Curriculum":    1,
	"Melee":         2,
}
View Source
var Status_name = map[int32]string{
	0:  "Status_nil",
	1:  "launched",
	2:  "init_game",
	3:  "in_game",
	4:  "in_replay",
	5:  "ended",
	6:  "quit",
	99: "unknown",
}
View Source
var Status_value = map[string]int32{
	"Status_nil": 0,
	"launched":   1,
	"init_game":  2,
	"in_game":    3,
	"in_replay":  4,
	"ended":      5,
	"quit":       6,
	"unknown":    99,
}
View Source
var Weapon_TargetType_name = map[int32]string{
	0: "TargetType_nil",
	1: "Ground",
	2: "Air",
	3: "Any",
}
View Source
var Weapon_TargetType_value = map[string]int32{
	"TargetType_nil": 0,
	"Ground":         1,
	"Air":            2,
	"Any":            3,
}

Functions

This section is empty.

Types

type AIBuild

type AIBuild int32
const (
	AIBuild_nil         AIBuild = 0
	AIBuild_RandomBuild AIBuild = 1
	AIBuild_Rush        AIBuild = 2
	AIBuild_Timing      AIBuild = 3
	AIBuild_Power       AIBuild = 4
	AIBuild_Macro       AIBuild = 5
	AIBuild_Air         AIBuild = 6
)

func (AIBuild) EnumDescriptor

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

func (AIBuild) String

func (x AIBuild) String() string

type AbilityData

type AbilityData struct {
	AbilityId          AbilityID          `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	LinkName           string             `protobuf:"bytes,2,opt,name=link_name,json=linkName,proto3" json:"link_name,omitempty"`
	LinkIndex          uint32             `protobuf:"varint,3,opt,name=link_index,json=linkIndex,proto3" json:"link_index,omitempty"`
	ButtonName         string             `protobuf:"bytes,4,opt,name=button_name,json=buttonName,proto3" json:"button_name,omitempty"`
	FriendlyName       string             `protobuf:"bytes,5,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	Hotkey             string             `protobuf:"bytes,6,opt,name=hotkey,proto3" json:"hotkey,omitempty"`
	RemapsToAbilityId  AbilityID          `` /* 136-byte string literal not displayed */
	Available          bool               `protobuf:"varint,8,opt,name=available,proto3" json:"available,omitempty"`
	Target             AbilityData_Target `protobuf:"varint,9,opt,name=target,proto3,enum=SC2APIProtocol.AbilityData_Target" json:"target,omitempty"`
	AllowMinimap       bool               `protobuf:"varint,10,opt,name=allow_minimap,json=allowMinimap,proto3" json:"allow_minimap,omitempty"`
	AllowAutocast      bool               `protobuf:"varint,11,opt,name=allow_autocast,json=allowAutocast,proto3" json:"allow_autocast,omitempty"`
	IsBuilding         bool               `protobuf:"varint,12,opt,name=is_building,json=isBuilding,proto3" json:"is_building,omitempty"`
	FootprintRadius    float32            `protobuf:"fixed32,13,opt,name=footprint_radius,json=footprintRadius,proto3" json:"footprint_radius,omitempty"`
	IsInstantPlacement bool               `protobuf:"varint,14,opt,name=is_instant_placement,json=isInstantPlacement,proto3" json:"is_instant_placement,omitempty"`
	CastRange          float32            `protobuf:"fixed32,15,opt,name=cast_range,json=castRange,proto3" json:"cast_range,omitempty"`
}

May not relevant: queueable (everything is queueable). May not be important: AbilSetId - marine stim, marauder stim. Stuff omitted: transient. Stuff that may be important: cost, range, Alignment, targetfilters.

func (*AbilityData) Descriptor

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

func (*AbilityData) GetAbilityId

func (m *AbilityData) GetAbilityId() AbilityID

func (*AbilityData) GetAllowAutocast

func (m *AbilityData) GetAllowAutocast() bool

func (*AbilityData) GetAllowMinimap

func (m *AbilityData) GetAllowMinimap() bool

func (*AbilityData) GetAvailable

func (m *AbilityData) GetAvailable() bool

func (*AbilityData) GetButtonName

func (m *AbilityData) GetButtonName() string

func (*AbilityData) GetCastRange

func (m *AbilityData) GetCastRange() float32

func (*AbilityData) GetFootprintRadius

func (m *AbilityData) GetFootprintRadius() float32

func (*AbilityData) GetFriendlyName

func (m *AbilityData) GetFriendlyName() string

func (*AbilityData) GetHotkey

func (m *AbilityData) GetHotkey() string

func (*AbilityData) GetIsBuilding

func (m *AbilityData) GetIsBuilding() bool

func (*AbilityData) GetIsInstantPlacement

func (m *AbilityData) GetIsInstantPlacement() bool

func (*AbilityData) GetLinkIndex

func (m *AbilityData) GetLinkIndex() uint32

func (*AbilityData) GetLinkName

func (m *AbilityData) GetLinkName() string

func (*AbilityData) GetRemapsToAbilityId

func (m *AbilityData) GetRemapsToAbilityId() AbilityID

func (*AbilityData) GetTarget

func (m *AbilityData) GetTarget() AbilityData_Target

func (*AbilityData) Marshal

func (m *AbilityData) Marshal() (dAtA []byte, err error)

func (*AbilityData) MarshalTo

func (m *AbilityData) MarshalTo(dAtA []byte) (int, error)

func (*AbilityData) ProtoMessage

func (*AbilityData) ProtoMessage()

func (*AbilityData) Reset

func (m *AbilityData) Reset()

func (*AbilityData) Size

func (m *AbilityData) Size() (n int)

func (*AbilityData) String

func (m *AbilityData) String() string

func (*AbilityData) Unmarshal

func (m *AbilityData) Unmarshal(dAtA []byte) error

func (*AbilityData) XXX_DiscardUnknown

func (m *AbilityData) XXX_DiscardUnknown()

func (*AbilityData) XXX_Marshal

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

func (*AbilityData) XXX_Merge

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

func (*AbilityData) XXX_Size

func (m *AbilityData) XXX_Size() int

func (*AbilityData) XXX_Unmarshal

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

type AbilityData_Target

type AbilityData_Target int32
const (
	AbilityData_nil         AbilityData_Target = 0
	AbilityData_None        AbilityData_Target = 1
	AbilityData_Point       AbilityData_Target = 2
	AbilityData_Unit        AbilityData_Target = 3
	AbilityData_PointOrUnit AbilityData_Target = 4
	AbilityData_PointOrNone AbilityData_Target = 5
)

func (AbilityData_Target) EnumDescriptor

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

func (AbilityData_Target) String

func (x AbilityData_Target) String() string

type AbilityID

type AbilityID uint32

AbilityID ...

type Action

type Action struct {
	ActionRaw          *ActionRaw     `protobuf:"bytes,1,opt,name=action_raw,json=actionRaw" json:"action_raw,omitempty"`
	ActionFeatureLayer *ActionSpatial `protobuf:"bytes,2,opt,name=action_feature_layer,json=actionFeatureLayer" json:"action_feature_layer,omitempty"`
	ActionRender       *ActionSpatial `protobuf:"bytes,3,opt,name=action_render,json=actionRender" json:"action_render,omitempty"`
	ActionUi           *ActionUI      `protobuf:"bytes,4,opt,name=action_ui,json=actionUi" json:"action_ui,omitempty"`
	ActionChat         *ActionChat    `protobuf:"bytes,6,opt,name=action_chat,json=actionChat" json:"action_chat,omitempty"`
	GameLoop           uint32         `protobuf:"varint,7,opt,name=game_loop,json=gameLoop,proto3" json:"game_loop,omitempty"`
}

func (*Action) Descriptor

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

func (*Action) GetActionChat

func (m *Action) GetActionChat() *ActionChat

func (*Action) GetActionFeatureLayer

func (m *Action) GetActionFeatureLayer() *ActionSpatial

func (*Action) GetActionRaw

func (m *Action) GetActionRaw() *ActionRaw

func (*Action) GetActionRender

func (m *Action) GetActionRender() *ActionSpatial

func (*Action) GetActionUi

func (m *Action) GetActionUi() *ActionUI

func (*Action) GetGameLoop

func (m *Action) GetGameLoop() uint32

func (*Action) Marshal

func (m *Action) Marshal() (dAtA []byte, err error)

func (*Action) MarshalTo

func (m *Action) MarshalTo(dAtA []byte) (int, error)

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) Reset

func (m *Action) Reset()

func (*Action) Size

func (m *Action) Size() (n int)

func (*Action) String

func (m *Action) String() string

func (*Action) Unmarshal

func (m *Action) Unmarshal(dAtA []byte) error

func (*Action) XXX_DiscardUnknown

func (m *Action) XXX_DiscardUnknown()

func (*Action) XXX_Marshal

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

func (*Action) XXX_Merge

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

func (*Action) XXX_Size

func (m *Action) XXX_Size() int

func (*Action) XXX_Unmarshal

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

type ActionCargoPanelUnload

type ActionCargoPanelUnload struct {
	UnitIndex int32 `protobuf:"varint,1,opt,name=unit_index,json=unitIndex,proto3" json:"unit_index,omitempty"`
}

func (*ActionCargoPanelUnload) Descriptor

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

func (*ActionCargoPanelUnload) GetUnitIndex

func (m *ActionCargoPanelUnload) GetUnitIndex() int32

func (*ActionCargoPanelUnload) Marshal

func (m *ActionCargoPanelUnload) Marshal() (dAtA []byte, err error)

func (*ActionCargoPanelUnload) MarshalTo

func (m *ActionCargoPanelUnload) MarshalTo(dAtA []byte) (int, error)

func (*ActionCargoPanelUnload) ProtoMessage

func (*ActionCargoPanelUnload) ProtoMessage()

func (*ActionCargoPanelUnload) Reset

func (m *ActionCargoPanelUnload) Reset()

func (*ActionCargoPanelUnload) Size

func (m *ActionCargoPanelUnload) Size() (n int)

func (*ActionCargoPanelUnload) String

func (m *ActionCargoPanelUnload) String() string

func (*ActionCargoPanelUnload) Unmarshal

func (m *ActionCargoPanelUnload) Unmarshal(dAtA []byte) error

func (*ActionCargoPanelUnload) XXX_DiscardUnknown

func (m *ActionCargoPanelUnload) XXX_DiscardUnknown()

func (*ActionCargoPanelUnload) XXX_Marshal

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

func (*ActionCargoPanelUnload) XXX_Merge

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

func (*ActionCargoPanelUnload) XXX_Size

func (m *ActionCargoPanelUnload) XXX_Size() int

func (*ActionCargoPanelUnload) XXX_Unmarshal

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

type ActionChat

type ActionChat struct {
	Channel ActionChat_Channel `protobuf:"varint,1,opt,name=channel,proto3,enum=SC2APIProtocol.ActionChat_Channel" json:"channel,omitempty"`
	Message string             `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*ActionChat) Descriptor

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

func (*ActionChat) GetChannel

func (m *ActionChat) GetChannel() ActionChat_Channel

func (*ActionChat) GetMessage

func (m *ActionChat) GetMessage() string

func (*ActionChat) Marshal

func (m *ActionChat) Marshal() (dAtA []byte, err error)

func (*ActionChat) MarshalTo

func (m *ActionChat) MarshalTo(dAtA []byte) (int, error)

func (*ActionChat) ProtoMessage

func (*ActionChat) ProtoMessage()

func (*ActionChat) Reset

func (m *ActionChat) Reset()

func (*ActionChat) Size

func (m *ActionChat) Size() (n int)

func (*ActionChat) String

func (m *ActionChat) String() string

func (*ActionChat) Unmarshal

func (m *ActionChat) Unmarshal(dAtA []byte) error

func (*ActionChat) XXX_DiscardUnknown

func (m *ActionChat) XXX_DiscardUnknown()

func (*ActionChat) XXX_Marshal

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

func (*ActionChat) XXX_Merge

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

func (*ActionChat) XXX_Size

func (m *ActionChat) XXX_Size() int

func (*ActionChat) XXX_Unmarshal

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

type ActionChat_Channel

type ActionChat_Channel int32
const (
	ActionChat_nil       ActionChat_Channel = 0
	ActionChat_Broadcast ActionChat_Channel = 1
	ActionChat_Team      ActionChat_Channel = 2
)

func (ActionChat_Channel) EnumDescriptor

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

func (ActionChat_Channel) String

func (x ActionChat_Channel) String() string

type ActionControlGroup

type ActionControlGroup struct {
	Action            ActionControlGroup_ControlGroupAction `protobuf:"varint,1,opt,name=action,proto3,enum=SC2APIProtocol.ActionControlGroup_ControlGroupAction" json:"action,omitempty"`
	ControlGroupIndex uint32                                `protobuf:"varint,2,opt,name=control_group_index,json=controlGroupIndex,proto3" json:"control_group_index,omitempty"`
}

func (*ActionControlGroup) Descriptor

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

func (*ActionControlGroup) GetAction

func (*ActionControlGroup) GetControlGroupIndex

func (m *ActionControlGroup) GetControlGroupIndex() uint32

func (*ActionControlGroup) Marshal

func (m *ActionControlGroup) Marshal() (dAtA []byte, err error)

func (*ActionControlGroup) MarshalTo

func (m *ActionControlGroup) MarshalTo(dAtA []byte) (int, error)

func (*ActionControlGroup) ProtoMessage

func (*ActionControlGroup) ProtoMessage()

func (*ActionControlGroup) Reset

func (m *ActionControlGroup) Reset()

func (*ActionControlGroup) Size

func (m *ActionControlGroup) Size() (n int)

func (*ActionControlGroup) String

func (m *ActionControlGroup) String() string

func (*ActionControlGroup) Unmarshal

func (m *ActionControlGroup) Unmarshal(dAtA []byte) error

func (*ActionControlGroup) XXX_DiscardUnknown

func (m *ActionControlGroup) XXX_DiscardUnknown()

func (*ActionControlGroup) XXX_Marshal

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

func (*ActionControlGroup) XXX_Merge

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

func (*ActionControlGroup) XXX_Size

func (m *ActionControlGroup) XXX_Size() int

func (*ActionControlGroup) XXX_Unmarshal

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

type ActionControlGroup_ControlGroupAction

type ActionControlGroup_ControlGroupAction int32
const (
	ActionControlGroup_nil            ActionControlGroup_ControlGroupAction = 0
	ActionControlGroup_Recall         ActionControlGroup_ControlGroupAction = 1
	ActionControlGroup_Set            ActionControlGroup_ControlGroupAction = 2
	ActionControlGroup_Append         ActionControlGroup_ControlGroupAction = 3
	ActionControlGroup_SetAndSteal    ActionControlGroup_ControlGroupAction = 4
	ActionControlGroup_AppendAndSteal ActionControlGroup_ControlGroupAction = 5
)

func (ActionControlGroup_ControlGroupAction) EnumDescriptor

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

func (ActionControlGroup_ControlGroupAction) String

type ActionError

type ActionError struct {
	UnitTag   UnitTag      `protobuf:"varint,1,opt,name=unit_tag,json=unitTag,proto3,casttype=UnitTag" json:"unit_tag,omitempty"`
	AbilityId AbilityID    `protobuf:"varint,2,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	Result    ActionResult `protobuf:"varint,3,opt,name=result,proto3,enum=SC2APIProtocol.ActionResult" json:"result,omitempty"`
}

func (*ActionError) Descriptor

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

func (*ActionError) GetAbilityId

func (m *ActionError) GetAbilityId() AbilityID

func (*ActionError) GetResult

func (m *ActionError) GetResult() ActionResult

func (*ActionError) GetUnitTag

func (m *ActionError) GetUnitTag() UnitTag

func (*ActionError) Marshal

func (m *ActionError) Marshal() (dAtA []byte, err error)

func (*ActionError) MarshalTo

func (m *ActionError) MarshalTo(dAtA []byte) (int, error)

func (*ActionError) ProtoMessage

func (*ActionError) ProtoMessage()

func (*ActionError) Reset

func (m *ActionError) Reset()

func (*ActionError) Size

func (m *ActionError) Size() (n int)

func (*ActionError) String

func (m *ActionError) String() string

func (*ActionError) Unmarshal

func (m *ActionError) Unmarshal(dAtA []byte) error

func (*ActionError) XXX_DiscardUnknown

func (m *ActionError) XXX_DiscardUnknown()

func (*ActionError) XXX_Marshal

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

func (*ActionError) XXX_Merge

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

func (*ActionError) XXX_Size

func (m *ActionError) XXX_Size() int

func (*ActionError) XXX_Unmarshal

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

type ActionMultiPanel

type ActionMultiPanel struct {
	Type      ActionMultiPanel_Type `protobuf:"varint,1,opt,name=type,proto3,enum=SC2APIProtocol.ActionMultiPanel_Type" json:"type,omitempty"`
	UnitIndex int32                 `protobuf:"varint,2,opt,name=unit_index,json=unitIndex,proto3" json:"unit_index,omitempty"`
}

func (*ActionMultiPanel) Descriptor

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

func (*ActionMultiPanel) GetType

func (*ActionMultiPanel) GetUnitIndex

func (m *ActionMultiPanel) GetUnitIndex() int32

func (*ActionMultiPanel) Marshal

func (m *ActionMultiPanel) Marshal() (dAtA []byte, err error)

func (*ActionMultiPanel) MarshalTo

func (m *ActionMultiPanel) MarshalTo(dAtA []byte) (int, error)

func (*ActionMultiPanel) ProtoMessage

func (*ActionMultiPanel) ProtoMessage()

func (*ActionMultiPanel) Reset

func (m *ActionMultiPanel) Reset()

func (*ActionMultiPanel) Size

func (m *ActionMultiPanel) Size() (n int)

func (*ActionMultiPanel) String

func (m *ActionMultiPanel) String() string

func (*ActionMultiPanel) Unmarshal

func (m *ActionMultiPanel) Unmarshal(dAtA []byte) error

func (*ActionMultiPanel) XXX_DiscardUnknown

func (m *ActionMultiPanel) XXX_DiscardUnknown()

func (*ActionMultiPanel) XXX_Marshal

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

func (*ActionMultiPanel) XXX_Merge

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

func (*ActionMultiPanel) XXX_Size

func (m *ActionMultiPanel) XXX_Size() int

func (*ActionMultiPanel) XXX_Unmarshal

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

type ActionMultiPanel_Type

type ActionMultiPanel_Type int32
const (
	ActionMultiPanel_nil               ActionMultiPanel_Type = 0
	ActionMultiPanel_SingleSelect      ActionMultiPanel_Type = 1
	ActionMultiPanel_DeselectUnit      ActionMultiPanel_Type = 2
	ActionMultiPanel_SelectAllOfType   ActionMultiPanel_Type = 3
	ActionMultiPanel_DeselectAllOfType ActionMultiPanel_Type = 4
)

func (ActionMultiPanel_Type) EnumDescriptor

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

func (ActionMultiPanel_Type) String

func (x ActionMultiPanel_Type) String() string

type ActionObserverCameraFollowPlayer

type ActionObserverCameraFollowPlayer struct {
	PlayerId PlayerID `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3,casttype=PlayerID" json:"player_id,omitempty"`
}

func (*ActionObserverCameraFollowPlayer) Descriptor

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

func (*ActionObserverCameraFollowPlayer) GetPlayerId

func (m *ActionObserverCameraFollowPlayer) GetPlayerId() PlayerID

func (*ActionObserverCameraFollowPlayer) Marshal

func (m *ActionObserverCameraFollowPlayer) Marshal() (dAtA []byte, err error)

func (*ActionObserverCameraFollowPlayer) MarshalTo

func (m *ActionObserverCameraFollowPlayer) MarshalTo(dAtA []byte) (int, error)

func (*ActionObserverCameraFollowPlayer) ProtoMessage

func (*ActionObserverCameraFollowPlayer) ProtoMessage()

func (*ActionObserverCameraFollowPlayer) Reset

func (*ActionObserverCameraFollowPlayer) Size

func (m *ActionObserverCameraFollowPlayer) Size() (n int)

func (*ActionObserverCameraFollowPlayer) String

func (*ActionObserverCameraFollowPlayer) Unmarshal

func (m *ActionObserverCameraFollowPlayer) Unmarshal(dAtA []byte) error

func (*ActionObserverCameraFollowPlayer) XXX_DiscardUnknown

func (m *ActionObserverCameraFollowPlayer) XXX_DiscardUnknown()

func (*ActionObserverCameraFollowPlayer) XXX_Marshal

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

func (*ActionObserverCameraFollowPlayer) XXX_Merge

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

func (*ActionObserverCameraFollowPlayer) XXX_Size

func (m *ActionObserverCameraFollowPlayer) XXX_Size() int

func (*ActionObserverCameraFollowPlayer) XXX_Unmarshal

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

type ActionObserverCameraFollowUnits

type ActionObserverCameraFollowUnits struct {
	UnitTags []UnitTag `protobuf:"varint,1,rep,packed,name=unit_tags,json=unitTags,casttype=UnitTag" json:"unit_tags,omitempty"`
}

func (*ActionObserverCameraFollowUnits) Descriptor

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

func (*ActionObserverCameraFollowUnits) GetUnitTags

func (m *ActionObserverCameraFollowUnits) GetUnitTags() []UnitTag

func (*ActionObserverCameraFollowUnits) Marshal

func (m *ActionObserverCameraFollowUnits) Marshal() (dAtA []byte, err error)

func (*ActionObserverCameraFollowUnits) MarshalTo

func (m *ActionObserverCameraFollowUnits) MarshalTo(dAtA []byte) (int, error)

func (*ActionObserverCameraFollowUnits) ProtoMessage

func (*ActionObserverCameraFollowUnits) ProtoMessage()

func (*ActionObserverCameraFollowUnits) Reset

func (*ActionObserverCameraFollowUnits) Size

func (m *ActionObserverCameraFollowUnits) Size() (n int)

func (*ActionObserverCameraFollowUnits) String

func (*ActionObserverCameraFollowUnits) Unmarshal

func (m *ActionObserverCameraFollowUnits) Unmarshal(dAtA []byte) error

func (*ActionObserverCameraFollowUnits) XXX_DiscardUnknown

func (m *ActionObserverCameraFollowUnits) XXX_DiscardUnknown()

func (*ActionObserverCameraFollowUnits) XXX_Marshal

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

func (*ActionObserverCameraFollowUnits) XXX_Merge

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

func (*ActionObserverCameraFollowUnits) XXX_Size

func (m *ActionObserverCameraFollowUnits) XXX_Size() int

func (*ActionObserverCameraFollowUnits) XXX_Unmarshal

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

type ActionObserverCameraMove

type ActionObserverCameraMove struct {
	WorldPos *Point2D `protobuf:"bytes,1,opt,name=world_pos,json=worldPos" json:"world_pos,omitempty"`
	Distance float32  `protobuf:"fixed32,2,opt,name=distance,proto3" json:"distance,omitempty"`
}

func (*ActionObserverCameraMove) Descriptor

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

func (*ActionObserverCameraMove) GetDistance

func (m *ActionObserverCameraMove) GetDistance() float32

func (*ActionObserverCameraMove) GetWorldPos

func (m *ActionObserverCameraMove) GetWorldPos() *Point2D

func (*ActionObserverCameraMove) Marshal

func (m *ActionObserverCameraMove) Marshal() (dAtA []byte, err error)

func (*ActionObserverCameraMove) MarshalTo

func (m *ActionObserverCameraMove) MarshalTo(dAtA []byte) (int, error)

func (*ActionObserverCameraMove) ProtoMessage

func (*ActionObserverCameraMove) ProtoMessage()

func (*ActionObserverCameraMove) Reset

func (m *ActionObserverCameraMove) Reset()

func (*ActionObserverCameraMove) Size

func (m *ActionObserverCameraMove) Size() (n int)

func (*ActionObserverCameraMove) String

func (m *ActionObserverCameraMove) String() string

func (*ActionObserverCameraMove) Unmarshal

func (m *ActionObserverCameraMove) Unmarshal(dAtA []byte) error

func (*ActionObserverCameraMove) XXX_DiscardUnknown

func (m *ActionObserverCameraMove) XXX_DiscardUnknown()

func (*ActionObserverCameraMove) XXX_Marshal

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

func (*ActionObserverCameraMove) XXX_Merge

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

func (*ActionObserverCameraMove) XXX_Size

func (m *ActionObserverCameraMove) XXX_Size() int

func (*ActionObserverCameraMove) XXX_Unmarshal

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

type ActionObserverPlayerPerspective

type ActionObserverPlayerPerspective struct {
	PlayerId PlayerID `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3,casttype=PlayerID" json:"player_id,omitempty"`
}

func (*ActionObserverPlayerPerspective) Descriptor

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

func (*ActionObserverPlayerPerspective) GetPlayerId

func (m *ActionObserverPlayerPerspective) GetPlayerId() PlayerID

func (*ActionObserverPlayerPerspective) Marshal

func (m *ActionObserverPlayerPerspective) Marshal() (dAtA []byte, err error)

func (*ActionObserverPlayerPerspective) MarshalTo

func (m *ActionObserverPlayerPerspective) MarshalTo(dAtA []byte) (int, error)

func (*ActionObserverPlayerPerspective) ProtoMessage

func (*ActionObserverPlayerPerspective) ProtoMessage()

func (*ActionObserverPlayerPerspective) Reset

func (*ActionObserverPlayerPerspective) Size

func (m *ActionObserverPlayerPerspective) Size() (n int)

func (*ActionObserverPlayerPerspective) String

func (*ActionObserverPlayerPerspective) Unmarshal

func (m *ActionObserverPlayerPerspective) Unmarshal(dAtA []byte) error

func (*ActionObserverPlayerPerspective) XXX_DiscardUnknown

func (m *ActionObserverPlayerPerspective) XXX_DiscardUnknown()

func (*ActionObserverPlayerPerspective) XXX_Marshal

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

func (*ActionObserverPlayerPerspective) XXX_Merge

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

func (*ActionObserverPlayerPerspective) XXX_Size

func (m *ActionObserverPlayerPerspective) XXX_Size() int

func (*ActionObserverPlayerPerspective) XXX_Unmarshal

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

type ActionProductionPanelRemoveFromQueue

type ActionProductionPanelRemoveFromQueue struct {
	UnitIndex int32 `protobuf:"varint,1,opt,name=unit_index,json=unitIndex,proto3" json:"unit_index,omitempty"`
}

func (*ActionProductionPanelRemoveFromQueue) Descriptor

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

func (*ActionProductionPanelRemoveFromQueue) GetUnitIndex

func (m *ActionProductionPanelRemoveFromQueue) GetUnitIndex() int32

func (*ActionProductionPanelRemoveFromQueue) Marshal

func (m *ActionProductionPanelRemoveFromQueue) Marshal() (dAtA []byte, err error)

func (*ActionProductionPanelRemoveFromQueue) MarshalTo

func (m *ActionProductionPanelRemoveFromQueue) MarshalTo(dAtA []byte) (int, error)

func (*ActionProductionPanelRemoveFromQueue) ProtoMessage

func (*ActionProductionPanelRemoveFromQueue) ProtoMessage()

func (*ActionProductionPanelRemoveFromQueue) Reset

func (*ActionProductionPanelRemoveFromQueue) Size

func (*ActionProductionPanelRemoveFromQueue) String

func (*ActionProductionPanelRemoveFromQueue) Unmarshal

func (m *ActionProductionPanelRemoveFromQueue) Unmarshal(dAtA []byte) error

func (*ActionProductionPanelRemoveFromQueue) XXX_DiscardUnknown

func (m *ActionProductionPanelRemoveFromQueue) XXX_DiscardUnknown()

func (*ActionProductionPanelRemoveFromQueue) XXX_Marshal

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

func (*ActionProductionPanelRemoveFromQueue) XXX_Merge

func (*ActionProductionPanelRemoveFromQueue) XXX_Size

func (*ActionProductionPanelRemoveFromQueue) XXX_Unmarshal

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

type ActionRaw

type ActionRaw struct {
	// Types that are valid to be assigned to Action:
	//	*ActionRaw_UnitCommand
	//	*ActionRaw_CameraMove
	//	*ActionRaw_ToggleAutocast
	Action isActionRaw_Action `protobuf_oneof:"action"`
}

func (*ActionRaw) Descriptor

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

func (*ActionRaw) GetAction

func (m *ActionRaw) GetAction() isActionRaw_Action

func (*ActionRaw) GetCameraMove

func (m *ActionRaw) GetCameraMove() *ActionRawCameraMove

func (*ActionRaw) GetToggleAutocast

func (m *ActionRaw) GetToggleAutocast() *ActionRawToggleAutocast

func (*ActionRaw) GetUnitCommand

func (m *ActionRaw) GetUnitCommand() *ActionRawUnitCommand

func (*ActionRaw) Marshal

func (m *ActionRaw) Marshal() (dAtA []byte, err error)

func (*ActionRaw) MarshalTo

func (m *ActionRaw) MarshalTo(dAtA []byte) (int, error)

func (*ActionRaw) ProtoMessage

func (*ActionRaw) ProtoMessage()

func (*ActionRaw) Reset

func (m *ActionRaw) Reset()

func (*ActionRaw) Size

func (m *ActionRaw) Size() (n int)

func (*ActionRaw) String

func (m *ActionRaw) String() string

func (*ActionRaw) Unmarshal

func (m *ActionRaw) Unmarshal(dAtA []byte) error

func (*ActionRaw) XXX_DiscardUnknown

func (m *ActionRaw) XXX_DiscardUnknown()

func (*ActionRaw) XXX_Marshal

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

func (*ActionRaw) XXX_Merge

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

func (*ActionRaw) XXX_OneofFuncs

func (*ActionRaw) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ActionRaw) XXX_Size

func (m *ActionRaw) XXX_Size() int

func (*ActionRaw) XXX_Unmarshal

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

type ActionRawCameraMove

type ActionRawCameraMove struct {
	CenterWorldSpace *Point `protobuf:"bytes,1,opt,name=center_world_space,json=centerWorldSpace" json:"center_world_space,omitempty"`
}

func (*ActionRawCameraMove) Descriptor

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

func (*ActionRawCameraMove) GetCenterWorldSpace

func (m *ActionRawCameraMove) GetCenterWorldSpace() *Point

func (*ActionRawCameraMove) Marshal

func (m *ActionRawCameraMove) Marshal() (dAtA []byte, err error)

func (*ActionRawCameraMove) MarshalTo

func (m *ActionRawCameraMove) MarshalTo(dAtA []byte) (int, error)

func (*ActionRawCameraMove) ProtoMessage

func (*ActionRawCameraMove) ProtoMessage()

func (*ActionRawCameraMove) Reset

func (m *ActionRawCameraMove) Reset()

func (*ActionRawCameraMove) Size

func (m *ActionRawCameraMove) Size() (n int)

func (*ActionRawCameraMove) String

func (m *ActionRawCameraMove) String() string

func (*ActionRawCameraMove) Unmarshal

func (m *ActionRawCameraMove) Unmarshal(dAtA []byte) error

func (*ActionRawCameraMove) XXX_DiscardUnknown

func (m *ActionRawCameraMove) XXX_DiscardUnknown()

func (*ActionRawCameraMove) XXX_Marshal

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

func (*ActionRawCameraMove) XXX_Merge

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

func (*ActionRawCameraMove) XXX_Size

func (m *ActionRawCameraMove) XXX_Size() int

func (*ActionRawCameraMove) XXX_Unmarshal

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

type ActionRawToggleAutocast

type ActionRawToggleAutocast struct {
	AbilityId AbilityID `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	UnitTags  []UnitTag `protobuf:"varint,2,rep,packed,name=unit_tags,json=unitTags,casttype=UnitTag" json:"unit_tags,omitempty"`
}

func (*ActionRawToggleAutocast) Descriptor

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

func (*ActionRawToggleAutocast) GetAbilityId

func (m *ActionRawToggleAutocast) GetAbilityId() AbilityID

func (*ActionRawToggleAutocast) GetUnitTags

func (m *ActionRawToggleAutocast) GetUnitTags() []UnitTag

func (*ActionRawToggleAutocast) Marshal

func (m *ActionRawToggleAutocast) Marshal() (dAtA []byte, err error)

func (*ActionRawToggleAutocast) MarshalTo

func (m *ActionRawToggleAutocast) MarshalTo(dAtA []byte) (int, error)

func (*ActionRawToggleAutocast) ProtoMessage

func (*ActionRawToggleAutocast) ProtoMessage()

func (*ActionRawToggleAutocast) Reset

func (m *ActionRawToggleAutocast) Reset()

func (*ActionRawToggleAutocast) Size

func (m *ActionRawToggleAutocast) Size() (n int)

func (*ActionRawToggleAutocast) String

func (m *ActionRawToggleAutocast) String() string

func (*ActionRawToggleAutocast) Unmarshal

func (m *ActionRawToggleAutocast) Unmarshal(dAtA []byte) error

func (*ActionRawToggleAutocast) XXX_DiscardUnknown

func (m *ActionRawToggleAutocast) XXX_DiscardUnknown()

func (*ActionRawToggleAutocast) XXX_Marshal

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

func (*ActionRawToggleAutocast) XXX_Merge

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

func (*ActionRawToggleAutocast) XXX_Size

func (m *ActionRawToggleAutocast) XXX_Size() int

func (*ActionRawToggleAutocast) XXX_Unmarshal

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

type ActionRawUnitCommand

type ActionRawUnitCommand struct {
	AbilityId AbilityID `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	// Types that are valid to be assigned to Target:
	//	*ActionRawUnitCommand_TargetWorldSpacePos
	//	*ActionRawUnitCommand_TargetUnitTag
	Target       isActionRawUnitCommand_Target `protobuf_oneof:"target"`
	UnitTags     []UnitTag                     `protobuf:"varint,4,rep,packed,name=unit_tags,json=unitTags,casttype=UnitTag" json:"unit_tags,omitempty"`
	QueueCommand bool                          `protobuf:"varint,5,opt,name=queue_command,json=queueCommand,proto3" json:"queue_command,omitempty"`
}

func (*ActionRawUnitCommand) Descriptor

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

func (*ActionRawUnitCommand) GetAbilityId

func (m *ActionRawUnitCommand) GetAbilityId() AbilityID

func (*ActionRawUnitCommand) GetQueueCommand

func (m *ActionRawUnitCommand) GetQueueCommand() bool

func (*ActionRawUnitCommand) GetTarget

func (m *ActionRawUnitCommand) GetTarget() isActionRawUnitCommand_Target

func (*ActionRawUnitCommand) GetTargetUnitTag

func (m *ActionRawUnitCommand) GetTargetUnitTag() UnitTag

func (*ActionRawUnitCommand) GetTargetWorldSpacePos

func (m *ActionRawUnitCommand) GetTargetWorldSpacePos() *Point2D

func (*ActionRawUnitCommand) GetUnitTags

func (m *ActionRawUnitCommand) GetUnitTags() []UnitTag

func (*ActionRawUnitCommand) Marshal

func (m *ActionRawUnitCommand) Marshal() (dAtA []byte, err error)

func (*ActionRawUnitCommand) MarshalTo

func (m *ActionRawUnitCommand) MarshalTo(dAtA []byte) (int, error)

func (*ActionRawUnitCommand) ProtoMessage

func (*ActionRawUnitCommand) ProtoMessage()

func (*ActionRawUnitCommand) Reset

func (m *ActionRawUnitCommand) Reset()

func (*ActionRawUnitCommand) Size

func (m *ActionRawUnitCommand) Size() (n int)

func (*ActionRawUnitCommand) String

func (m *ActionRawUnitCommand) String() string

func (*ActionRawUnitCommand) Unmarshal

func (m *ActionRawUnitCommand) Unmarshal(dAtA []byte) error

func (*ActionRawUnitCommand) XXX_DiscardUnknown

func (m *ActionRawUnitCommand) XXX_DiscardUnknown()

func (*ActionRawUnitCommand) XXX_Marshal

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

func (*ActionRawUnitCommand) XXX_Merge

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

func (*ActionRawUnitCommand) XXX_OneofFuncs

func (*ActionRawUnitCommand) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ActionRawUnitCommand) XXX_Size

func (m *ActionRawUnitCommand) XXX_Size() int

func (*ActionRawUnitCommand) XXX_Unmarshal

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

type ActionRawUnitCommand_TargetUnitTag

type ActionRawUnitCommand_TargetUnitTag struct {
	TargetUnitTag UnitTag `protobuf:"varint,3,opt,name=target_unit_tag,json=targetUnitTag,proto3,oneof,casttype=UnitTag"`
}

func (*ActionRawUnitCommand_TargetUnitTag) MarshalTo

func (m *ActionRawUnitCommand_TargetUnitTag) MarshalTo(dAtA []byte) (int, error)

func (*ActionRawUnitCommand_TargetUnitTag) Size

type ActionRawUnitCommand_TargetWorldSpacePos

type ActionRawUnitCommand_TargetWorldSpacePos struct {
	TargetWorldSpacePos *Point2D `protobuf:"bytes,2,opt,name=target_world_space_pos,json=targetWorldSpacePos,oneof"`
}

func (*ActionRawUnitCommand_TargetWorldSpacePos) MarshalTo

func (m *ActionRawUnitCommand_TargetWorldSpacePos) MarshalTo(dAtA []byte) (int, error)

func (*ActionRawUnitCommand_TargetWorldSpacePos) Size

type ActionRaw_CameraMove

type ActionRaw_CameraMove struct {
	CameraMove *ActionRawCameraMove `protobuf:"bytes,2,opt,name=camera_move,json=cameraMove,oneof"`
}

func (*ActionRaw_CameraMove) MarshalTo

func (m *ActionRaw_CameraMove) MarshalTo(dAtA []byte) (int, error)

func (*ActionRaw_CameraMove) Size

func (m *ActionRaw_CameraMove) Size() (n int)

type ActionRaw_ToggleAutocast

type ActionRaw_ToggleAutocast struct {
	ToggleAutocast *ActionRawToggleAutocast `protobuf:"bytes,3,opt,name=toggle_autocast,json=toggleAutocast,oneof"`
}

func (*ActionRaw_ToggleAutocast) MarshalTo

func (m *ActionRaw_ToggleAutocast) MarshalTo(dAtA []byte) (int, error)

func (*ActionRaw_ToggleAutocast) Size

func (m *ActionRaw_ToggleAutocast) Size() (n int)

type ActionRaw_UnitCommand

type ActionRaw_UnitCommand struct {
	UnitCommand *ActionRawUnitCommand `protobuf:"bytes,1,opt,name=unit_command,json=unitCommand,oneof"`
}

func (*ActionRaw_UnitCommand) MarshalTo

func (m *ActionRaw_UnitCommand) MarshalTo(dAtA []byte) (int, error)

func (*ActionRaw_UnitCommand) Size

func (m *ActionRaw_UnitCommand) Size() (n int)

type ActionResult

type ActionResult int32
const (
	ActionResult_nil                                 ActionResult = 0
	ActionResult_Success                             ActionResult = 1
	ActionResult_NotSupported                        ActionResult = 2
	ActionResult_Error                               ActionResult = 3
	ActionResult_CantQueueThatOrder                  ActionResult = 4
	ActionResult_Retry                               ActionResult = 5
	ActionResult_Cooldown                            ActionResult = 6
	ActionResult_QueueIsFull                         ActionResult = 7
	ActionResult_RallyQueueIsFull                    ActionResult = 8
	ActionResult_NotEnoughMinerals                   ActionResult = 9
	ActionResult_NotEnoughVespene                    ActionResult = 10
	ActionResult_NotEnoughTerrazine                  ActionResult = 11
	ActionResult_NotEnoughCustom                     ActionResult = 12
	ActionResult_NotEnoughFood                       ActionResult = 13
	ActionResult_FoodUsageImpossible                 ActionResult = 14
	ActionResult_NotEnoughLife                       ActionResult = 15
	ActionResult_NotEnoughShields                    ActionResult = 16
	ActionResult_NotEnoughEnergy                     ActionResult = 17
	ActionResult_LifeSuppressed                      ActionResult = 18
	ActionResult_ShieldsSuppressed                   ActionResult = 19
	ActionResult_EnergySuppressed                    ActionResult = 20
	ActionResult_NotEnoughCharges                    ActionResult = 21
	ActionResult_CantAddMoreCharges                  ActionResult = 22
	ActionResult_TooMuchMinerals                     ActionResult = 23
	ActionResult_TooMuchVespene                      ActionResult = 24
	ActionResult_TooMuchTerrazine                    ActionResult = 25
	ActionResult_TooMuchCustom                       ActionResult = 26
	ActionResult_TooMuchFood                         ActionResult = 27
	ActionResult_TooMuchLife                         ActionResult = 28
	ActionResult_TooMuchShields                      ActionResult = 29
	ActionResult_TooMuchEnergy                       ActionResult = 30
	ActionResult_MustTargetUnitWithLife              ActionResult = 31
	ActionResult_MustTargetUnitWithShields           ActionResult = 32
	ActionResult_MustTargetUnitWithEnergy            ActionResult = 33
	ActionResult_CantTrade                           ActionResult = 34
	ActionResult_CantSpend                           ActionResult = 35
	ActionResult_CantTargetThatUnit                  ActionResult = 36
	ActionResult_CouldntAllocateUnit                 ActionResult = 37
	ActionResult_UnitCantMove                        ActionResult = 38
	ActionResult_TransportIsHoldingPosition          ActionResult = 39
	ActionResult_BuildTechRequirementsNotMet         ActionResult = 40
	ActionResult_CantFindPlacementLocation           ActionResult = 41
	ActionResult_CantBuildOnThat                     ActionResult = 42
	ActionResult_CantBuildTooCloseToDropOff          ActionResult = 43
	ActionResult_CantBuildLocationInvalid            ActionResult = 44
	ActionResult_CantSeeBuildLocation                ActionResult = 45
	ActionResult_CantBuildTooCloseToCreepSource      ActionResult = 46
	ActionResult_CantBuildTooCloseToResources        ActionResult = 47
	ActionResult_CantBuildTooFarFromWater            ActionResult = 48
	ActionResult_CantBuildTooFarFromCreepSource      ActionResult = 49
	ActionResult_CantBuildTooFarFromBuildPowerSource ActionResult = 50
	ActionResult_CantBuildOnDenseTerrain             ActionResult = 51
	ActionResult_CantTrainTooFarFromTrainPowerSource ActionResult = 52
	ActionResult_CantLandLocationInvalid             ActionResult = 53
	ActionResult_CantSeeLandLocation                 ActionResult = 54
	ActionResult_CantLandTooCloseToCreepSource       ActionResult = 55
	ActionResult_CantLandTooCloseToResources         ActionResult = 56
	ActionResult_CantLandTooFarFromWater             ActionResult = 57
	ActionResult_CantLandTooFarFromCreepSource       ActionResult = 58
	ActionResult_CantLandTooFarFromBuildPowerSource  ActionResult = 59
	ActionResult_CantLandTooFarFromTrainPowerSource  ActionResult = 60
	ActionResult_CantLandOnDenseTerrain              ActionResult = 61
	ActionResult_AddOnTooFarFromBuilding             ActionResult = 62
	ActionResult_MustBuildRefineryFirst              ActionResult = 63
	ActionResult_BuildingIsUnderConstruction         ActionResult = 64
	ActionResult_CantFindDropOff                     ActionResult = 65
	ActionResult_CantLoadOtherPlayersUnits           ActionResult = 66
	ActionResult_NotEnoughRoomToLoadUnit             ActionResult = 67
	ActionResult_CantUnloadUnitsThere                ActionResult = 68
	ActionResult_CantWarpInUnitsThere                ActionResult = 69
	ActionResult_CantLoadImmobileUnits               ActionResult = 70
	ActionResult_CantRechargeImmobileUnits           ActionResult = 71
	ActionResult_CantRechargeUnderConstructionUnits  ActionResult = 72
	ActionResult_CantLoadThatUnit                    ActionResult = 73
	ActionResult_NoCargoToUnload                     ActionResult = 74
	ActionResult_LoadAllNoTargetsFound               ActionResult = 75
	ActionResult_NotWhileOccupied                    ActionResult = 76
	ActionResult_CantAttackWithoutAmmo               ActionResult = 77
	ActionResult_CantHoldAnyMoreAmmo                 ActionResult = 78
	ActionResult_TechRequirementsNotMet              ActionResult = 79
	ActionResult_MustLockdownUnitFirst               ActionResult = 80
	ActionResult_MustTargetUnit                      ActionResult = 81
	ActionResult_MustTargetInventory                 ActionResult = 82
	ActionResult_MustTargetVisibleUnit               ActionResult = 83
	ActionResult_MustTargetVisibleLocation           ActionResult = 84
	ActionResult_MustTargetWalkableLocation          ActionResult = 85
	ActionResult_MustTargetPawnableUnit              ActionResult = 86
	ActionResult_YouCantControlThatUnit              ActionResult = 87
	ActionResult_YouCantIssueCommandsToThatUnit      ActionResult = 88
	ActionResult_MustTargetResources                 ActionResult = 89
	ActionResult_RequiresHealTarget                  ActionResult = 90
	ActionResult_RequiresRepairTarget                ActionResult = 91
	ActionResult_NoItemsToDrop                       ActionResult = 92
	ActionResult_CantHoldAnyMoreItems                ActionResult = 93
	ActionResult_CantHoldThat                        ActionResult = 94
	ActionResult_TargetHasNoInventory                ActionResult = 95
	ActionResult_CantDropThisItem                    ActionResult = 96
	ActionResult_CantMoveThisItem                    ActionResult = 97
	ActionResult_CantPawnThisUnit                    ActionResult = 98
	ActionResult_MustTargetCaster                    ActionResult = 99
	ActionResult_CantTargetCaster                    ActionResult = 100
	ActionResult_MustTargetOuter                     ActionResult = 101
	ActionResult_CantTargetOuter                     ActionResult = 102
	ActionResult_MustTargetYourOwnUnits              ActionResult = 103
	ActionResult_CantTargetYourOwnUnits              ActionResult = 104
	ActionResult_MustTargetFriendlyUnits             ActionResult = 105
	ActionResult_CantTargetFriendlyUnits             ActionResult = 106
	ActionResult_MustTargetNeutralUnits              ActionResult = 107
	ActionResult_CantTargetNeutralUnits              ActionResult = 108
	ActionResult_MustTargetEnemyUnits                ActionResult = 109
	ActionResult_CantTargetEnemyUnits                ActionResult = 110
	ActionResult_MustTargetAirUnits                  ActionResult = 111
	ActionResult_CantTargetAirUnits                  ActionResult = 112
	ActionResult_MustTargetGroundUnits               ActionResult = 113
	ActionResult_CantTargetGroundUnits               ActionResult = 114
	ActionResult_MustTargetStructures                ActionResult = 115
	ActionResult_CantTargetStructures                ActionResult = 116
	ActionResult_MustTargetLightUnits                ActionResult = 117
	ActionResult_CantTargetLightUnits                ActionResult = 118
	ActionResult_MustTargetArmoredUnits              ActionResult = 119
	ActionResult_CantTargetArmoredUnits              ActionResult = 120
	ActionResult_MustTargetBiologicalUnits           ActionResult = 121
	ActionResult_CantTargetBiologicalUnits           ActionResult = 122
	ActionResult_MustTargetHeroicUnits               ActionResult = 123
	ActionResult_CantTargetHeroicUnits               ActionResult = 124
	ActionResult_MustTargetRoboticUnits              ActionResult = 125
	ActionResult_CantTargetRoboticUnits              ActionResult = 126
	ActionResult_MustTargetMechanicalUnits           ActionResult = 127
	ActionResult_CantTargetMechanicalUnits           ActionResult = 128
	ActionResult_MustTargetPsionicUnits              ActionResult = 129
	ActionResult_CantTargetPsionicUnits              ActionResult = 130
	ActionResult_MustTargetMassiveUnits              ActionResult = 131
	ActionResult_CantTargetMassiveUnits              ActionResult = 132
	ActionResult_MustTargetMissile                   ActionResult = 133
	ActionResult_CantTargetMissile                   ActionResult = 134
	ActionResult_MustTargetWorkerUnits               ActionResult = 135
	ActionResult_CantTargetWorkerUnits               ActionResult = 136
	ActionResult_MustTargetEnergyCapableUnits        ActionResult = 137
	ActionResult_CantTargetEnergyCapableUnits        ActionResult = 138
	ActionResult_MustTargetShieldCapableUnits        ActionResult = 139
	ActionResult_CantTargetShieldCapableUnits        ActionResult = 140
	ActionResult_MustTargetFlyers                    ActionResult = 141
	ActionResult_CantTargetFlyers                    ActionResult = 142
	ActionResult_MustTargetBuriedUnits               ActionResult = 143
	ActionResult_CantTargetBuriedUnits               ActionResult = 144
	ActionResult_MustTargetCloakedUnits              ActionResult = 145
	ActionResult_CantTargetCloakedUnits              ActionResult = 146
	ActionResult_MustTargetUnitsInAStasisField       ActionResult = 147
	ActionResult_CantTargetUnitsInAStasisField       ActionResult = 148
	ActionResult_MustTargetUnderConstructionUnits    ActionResult = 149
	ActionResult_CantTargetUnderConstructionUnits    ActionResult = 150
	ActionResult_MustTargetDeadUnits                 ActionResult = 151
	ActionResult_CantTargetDeadUnits                 ActionResult = 152
	ActionResult_MustTargetRevivableUnits            ActionResult = 153
	ActionResult_CantTargetRevivableUnits            ActionResult = 154
	ActionResult_MustTargetHiddenUnits               ActionResult = 155
	ActionResult_CantTargetHiddenUnits               ActionResult = 156
	ActionResult_CantRechargeOtherPlayersUnits       ActionResult = 157
	ActionResult_MustTargetHallucinations            ActionResult = 158
	ActionResult_CantTargetHallucinations            ActionResult = 159
	ActionResult_MustTargetInvulnerableUnits         ActionResult = 160
	ActionResult_CantTargetInvulnerableUnits         ActionResult = 161
	ActionResult_MustTargetDetectedUnits             ActionResult = 162
	ActionResult_CantTargetDetectedUnits             ActionResult = 163
	ActionResult_CantTargetUnitWithEnergy            ActionResult = 164
	ActionResult_CantTargetUnitWithShields           ActionResult = 165
	ActionResult_MustTargetUncommandableUnits        ActionResult = 166
	ActionResult_CantTargetUncommandableUnits        ActionResult = 167
	ActionResult_MustTargetPreventDefeatUnits        ActionResult = 168
	ActionResult_CantTargetPreventDefeatUnits        ActionResult = 169
	ActionResult_MustTargetPreventRevealUnits        ActionResult = 170
	ActionResult_CantTargetPreventRevealUnits        ActionResult = 171
	ActionResult_MustTargetPassiveUnits              ActionResult = 172
	ActionResult_CantTargetPassiveUnits              ActionResult = 173
	ActionResult_MustTargetStunnedUnits              ActionResult = 174
	ActionResult_CantTargetStunnedUnits              ActionResult = 175
	ActionResult_MustTargetSummonedUnits             ActionResult = 176
	ActionResult_CantTargetSummonedUnits             ActionResult = 177
	ActionResult_MustTargetUser1                     ActionResult = 178
	ActionResult_CantTargetUser1                     ActionResult = 179
	ActionResult_MustTargetUnstoppableUnits          ActionResult = 180
	ActionResult_CantTargetUnstoppableUnits          ActionResult = 181
	ActionResult_MustTargetResistantUnits            ActionResult = 182
	ActionResult_CantTargetResistantUnits            ActionResult = 183
	ActionResult_MustTargetDazedUnits                ActionResult = 184
	ActionResult_CantTargetDazedUnits                ActionResult = 185
	ActionResult_CantLockdown                        ActionResult = 186
	ActionResult_CantMindControl                     ActionResult = 187
	ActionResult_MustTargetDestructibles             ActionResult = 188
	ActionResult_CantTargetDestructibles             ActionResult = 189
	ActionResult_MustTargetItems                     ActionResult = 190
	ActionResult_CantTargetItems                     ActionResult = 191
	ActionResult_NoCalldownAvailable                 ActionResult = 192
	ActionResult_WaypointListFull                    ActionResult = 193
	ActionResult_MustTargetRace                      ActionResult = 194
	ActionResult_CantTargetRace                      ActionResult = 195
	ActionResult_MustTargetSimilarUnits              ActionResult = 196
	ActionResult_CantTargetSimilarUnits              ActionResult = 197
	ActionResult_CantFindEnoughTargets               ActionResult = 198
	ActionResult_AlreadySpawningLarva                ActionResult = 199
	ActionResult_CantTargetExhaustedResources        ActionResult = 200
	ActionResult_CantUseMinimap                      ActionResult = 201
	ActionResult_CantUseInfoPanel                    ActionResult = 202
	ActionResult_OrderQueueIsFull                    ActionResult = 203
	ActionResult_CantHarvestThatResource             ActionResult = 204
	ActionResult_HarvestersNotRequired               ActionResult = 205
	ActionResult_AlreadyTargeted                     ActionResult = 206
	ActionResult_CantAttackWeaponsDisabled           ActionResult = 207
	ActionResult_CouldntReachTarget                  ActionResult = 208
	ActionResult_TargetIsOutOfRange                  ActionResult = 209
	ActionResult_TargetIsTooClose                    ActionResult = 210
	ActionResult_TargetIsOutOfArc                    ActionResult = 211
	ActionResult_CantFindTeleportLocation            ActionResult = 212
	ActionResult_InvalidItemClass                    ActionResult = 213
	ActionResult_CantFindCancelOrder                 ActionResult = 214
)

func (ActionResult) EnumDescriptor

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

func (ActionResult) String

func (x ActionResult) String() string

type ActionSelectArmy

type ActionSelectArmy struct {
	SelectionAdd bool `protobuf:"varint,1,opt,name=selection_add,json=selectionAdd,proto3" json:"selection_add,omitempty"`
}

func (*ActionSelectArmy) Descriptor

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

func (*ActionSelectArmy) GetSelectionAdd

func (m *ActionSelectArmy) GetSelectionAdd() bool

func (*ActionSelectArmy) Marshal

func (m *ActionSelectArmy) Marshal() (dAtA []byte, err error)

func (*ActionSelectArmy) MarshalTo

func (m *ActionSelectArmy) MarshalTo(dAtA []byte) (int, error)

func (*ActionSelectArmy) ProtoMessage

func (*ActionSelectArmy) ProtoMessage()

func (*ActionSelectArmy) Reset

func (m *ActionSelectArmy) Reset()

func (*ActionSelectArmy) Size

func (m *ActionSelectArmy) Size() (n int)

func (*ActionSelectArmy) String

func (m *ActionSelectArmy) String() string

func (*ActionSelectArmy) Unmarshal

func (m *ActionSelectArmy) Unmarshal(dAtA []byte) error

func (*ActionSelectArmy) XXX_DiscardUnknown

func (m *ActionSelectArmy) XXX_DiscardUnknown()

func (*ActionSelectArmy) XXX_Marshal

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

func (*ActionSelectArmy) XXX_Merge

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

func (*ActionSelectArmy) XXX_Size

func (m *ActionSelectArmy) XXX_Size() int

func (*ActionSelectArmy) XXX_Unmarshal

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

type ActionSelectIdleWorker

type ActionSelectIdleWorker struct {
	Type ActionSelectIdleWorker_Type `protobuf:"varint,1,opt,name=type,proto3,enum=SC2APIProtocol.ActionSelectIdleWorker_Type" json:"type,omitempty"`
}

func (*ActionSelectIdleWorker) Descriptor

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

func (*ActionSelectIdleWorker) GetType

func (*ActionSelectIdleWorker) Marshal

func (m *ActionSelectIdleWorker) Marshal() (dAtA []byte, err error)

func (*ActionSelectIdleWorker) MarshalTo

func (m *ActionSelectIdleWorker) MarshalTo(dAtA []byte) (int, error)

func (*ActionSelectIdleWorker) ProtoMessage

func (*ActionSelectIdleWorker) ProtoMessage()

func (*ActionSelectIdleWorker) Reset

func (m *ActionSelectIdleWorker) Reset()

func (*ActionSelectIdleWorker) Size

func (m *ActionSelectIdleWorker) Size() (n int)

func (*ActionSelectIdleWorker) String

func (m *ActionSelectIdleWorker) String() string

func (*ActionSelectIdleWorker) Unmarshal

func (m *ActionSelectIdleWorker) Unmarshal(dAtA []byte) error

func (*ActionSelectIdleWorker) XXX_DiscardUnknown

func (m *ActionSelectIdleWorker) XXX_DiscardUnknown()

func (*ActionSelectIdleWorker) XXX_Marshal

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

func (*ActionSelectIdleWorker) XXX_Merge

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

func (*ActionSelectIdleWorker) XXX_Size

func (m *ActionSelectIdleWorker) XXX_Size() int

func (*ActionSelectIdleWorker) XXX_Unmarshal

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

type ActionSelectIdleWorker_Type

type ActionSelectIdleWorker_Type int32
const (
	ActionSelectIdleWorker_nil    ActionSelectIdleWorker_Type = 0
	ActionSelectIdleWorker_Set    ActionSelectIdleWorker_Type = 1
	ActionSelectIdleWorker_Add    ActionSelectIdleWorker_Type = 2
	ActionSelectIdleWorker_All    ActionSelectIdleWorker_Type = 3
	ActionSelectIdleWorker_AddAll ActionSelectIdleWorker_Type = 4
)

func (ActionSelectIdleWorker_Type) EnumDescriptor

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

func (ActionSelectIdleWorker_Type) String

type ActionSelectLarva

type ActionSelectLarva struct {
}

func (*ActionSelectLarva) Descriptor

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

func (*ActionSelectLarva) Marshal

func (m *ActionSelectLarva) Marshal() (dAtA []byte, err error)

func (*ActionSelectLarva) MarshalTo

func (m *ActionSelectLarva) MarshalTo(dAtA []byte) (int, error)

func (*ActionSelectLarva) ProtoMessage

func (*ActionSelectLarva) ProtoMessage()

func (*ActionSelectLarva) Reset

func (m *ActionSelectLarva) Reset()

func (*ActionSelectLarva) Size

func (m *ActionSelectLarva) Size() (n int)

func (*ActionSelectLarva) String

func (m *ActionSelectLarva) String() string

func (*ActionSelectLarva) Unmarshal

func (m *ActionSelectLarva) Unmarshal(dAtA []byte) error

func (*ActionSelectLarva) XXX_DiscardUnknown

func (m *ActionSelectLarva) XXX_DiscardUnknown()

func (*ActionSelectLarva) XXX_Marshal

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

func (*ActionSelectLarva) XXX_Merge

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

func (*ActionSelectLarva) XXX_Size

func (m *ActionSelectLarva) XXX_Size() int

func (*ActionSelectLarva) XXX_Unmarshal

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

type ActionSelectWarpGates

type ActionSelectWarpGates struct {
	SelectionAdd bool `protobuf:"varint,1,opt,name=selection_add,json=selectionAdd,proto3" json:"selection_add,omitempty"`
}

func (*ActionSelectWarpGates) Descriptor

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

func (*ActionSelectWarpGates) GetSelectionAdd

func (m *ActionSelectWarpGates) GetSelectionAdd() bool

func (*ActionSelectWarpGates) Marshal

func (m *ActionSelectWarpGates) Marshal() (dAtA []byte, err error)

func (*ActionSelectWarpGates) MarshalTo

func (m *ActionSelectWarpGates) MarshalTo(dAtA []byte) (int, error)

func (*ActionSelectWarpGates) ProtoMessage

func (*ActionSelectWarpGates) ProtoMessage()

func (*ActionSelectWarpGates) Reset

func (m *ActionSelectWarpGates) Reset()

func (*ActionSelectWarpGates) Size

func (m *ActionSelectWarpGates) Size() (n int)

func (*ActionSelectWarpGates) String

func (m *ActionSelectWarpGates) String() string

func (*ActionSelectWarpGates) Unmarshal

func (m *ActionSelectWarpGates) Unmarshal(dAtA []byte) error

func (*ActionSelectWarpGates) XXX_DiscardUnknown

func (m *ActionSelectWarpGates) XXX_DiscardUnknown()

func (*ActionSelectWarpGates) XXX_Marshal

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

func (*ActionSelectWarpGates) XXX_Merge

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

func (*ActionSelectWarpGates) XXX_Size

func (m *ActionSelectWarpGates) XXX_Size() int

func (*ActionSelectWarpGates) XXX_Unmarshal

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

type ActionSpatial

type ActionSpatial struct {
	// Types that are valid to be assigned to Action:
	//	*ActionSpatial_UnitCommand
	//	*ActionSpatial_CameraMove
	//	*ActionSpatial_UnitSelectionPoint
	//	*ActionSpatial_UnitSelectionRect
	Action isActionSpatial_Action `protobuf_oneof:"action"`
}

func (*ActionSpatial) Descriptor

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

func (*ActionSpatial) GetAction

func (m *ActionSpatial) GetAction() isActionSpatial_Action

func (*ActionSpatial) GetCameraMove

func (m *ActionSpatial) GetCameraMove() *ActionSpatialCameraMove

func (*ActionSpatial) GetUnitCommand

func (m *ActionSpatial) GetUnitCommand() *ActionSpatialUnitCommand

func (*ActionSpatial) GetUnitSelectionPoint

func (m *ActionSpatial) GetUnitSelectionPoint() *ActionSpatialUnitSelectionPoint

func (*ActionSpatial) GetUnitSelectionRect

func (m *ActionSpatial) GetUnitSelectionRect() *ActionSpatialUnitSelectionRect

func (*ActionSpatial) Marshal

func (m *ActionSpatial) Marshal() (dAtA []byte, err error)

func (*ActionSpatial) MarshalTo

func (m *ActionSpatial) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatial) ProtoMessage

func (*ActionSpatial) ProtoMessage()

func (*ActionSpatial) Reset

func (m *ActionSpatial) Reset()

func (*ActionSpatial) Size

func (m *ActionSpatial) Size() (n int)

func (*ActionSpatial) String

func (m *ActionSpatial) String() string

func (*ActionSpatial) Unmarshal

func (m *ActionSpatial) Unmarshal(dAtA []byte) error

func (*ActionSpatial) XXX_DiscardUnknown

func (m *ActionSpatial) XXX_DiscardUnknown()

func (*ActionSpatial) XXX_Marshal

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

func (*ActionSpatial) XXX_Merge

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

func (*ActionSpatial) XXX_OneofFuncs

func (*ActionSpatial) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ActionSpatial) XXX_Size

func (m *ActionSpatial) XXX_Size() int

func (*ActionSpatial) XXX_Unmarshal

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

type ActionSpatialCameraMove

type ActionSpatialCameraMove struct {
	CenterMinimap *PointI `protobuf:"bytes,1,opt,name=center_minimap,json=centerMinimap" json:"center_minimap,omitempty"`
}

func (*ActionSpatialCameraMove) Descriptor

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

func (*ActionSpatialCameraMove) GetCenterMinimap

func (m *ActionSpatialCameraMove) GetCenterMinimap() *PointI

func (*ActionSpatialCameraMove) Marshal

func (m *ActionSpatialCameraMove) Marshal() (dAtA []byte, err error)

func (*ActionSpatialCameraMove) MarshalTo

func (m *ActionSpatialCameraMove) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatialCameraMove) ProtoMessage

func (*ActionSpatialCameraMove) ProtoMessage()

func (*ActionSpatialCameraMove) Reset

func (m *ActionSpatialCameraMove) Reset()

func (*ActionSpatialCameraMove) Size

func (m *ActionSpatialCameraMove) Size() (n int)

func (*ActionSpatialCameraMove) String

func (m *ActionSpatialCameraMove) String() string

func (*ActionSpatialCameraMove) Unmarshal

func (m *ActionSpatialCameraMove) Unmarshal(dAtA []byte) error

func (*ActionSpatialCameraMove) XXX_DiscardUnknown

func (m *ActionSpatialCameraMove) XXX_DiscardUnknown()

func (*ActionSpatialCameraMove) XXX_Marshal

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

func (*ActionSpatialCameraMove) XXX_Merge

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

func (*ActionSpatialCameraMove) XXX_Size

func (m *ActionSpatialCameraMove) XXX_Size() int

func (*ActionSpatialCameraMove) XXX_Unmarshal

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

type ActionSpatialUnitCommand

type ActionSpatialUnitCommand struct {
	AbilityId int32 `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3" json:"ability_id,omitempty"`
	// Types that are valid to be assigned to Target:
	//	*ActionSpatialUnitCommand_TargetScreenCoord
	//	*ActionSpatialUnitCommand_TargetMinimapCoord
	Target       isActionSpatialUnitCommand_Target `protobuf_oneof:"target"`
	QueueCommand bool                              `protobuf:"varint,4,opt,name=queue_command,json=queueCommand,proto3" json:"queue_command,omitempty"`
}

func (*ActionSpatialUnitCommand) Descriptor

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

func (*ActionSpatialUnitCommand) GetAbilityId

func (m *ActionSpatialUnitCommand) GetAbilityId() int32

func (*ActionSpatialUnitCommand) GetQueueCommand

func (m *ActionSpatialUnitCommand) GetQueueCommand() bool

func (*ActionSpatialUnitCommand) GetTarget

func (m *ActionSpatialUnitCommand) GetTarget() isActionSpatialUnitCommand_Target

func (*ActionSpatialUnitCommand) GetTargetMinimapCoord

func (m *ActionSpatialUnitCommand) GetTargetMinimapCoord() *PointI

func (*ActionSpatialUnitCommand) GetTargetScreenCoord

func (m *ActionSpatialUnitCommand) GetTargetScreenCoord() *PointI

func (*ActionSpatialUnitCommand) Marshal

func (m *ActionSpatialUnitCommand) Marshal() (dAtA []byte, err error)

func (*ActionSpatialUnitCommand) MarshalTo

func (m *ActionSpatialUnitCommand) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatialUnitCommand) ProtoMessage

func (*ActionSpatialUnitCommand) ProtoMessage()

func (*ActionSpatialUnitCommand) Reset

func (m *ActionSpatialUnitCommand) Reset()

func (*ActionSpatialUnitCommand) Size

func (m *ActionSpatialUnitCommand) Size() (n int)

func (*ActionSpatialUnitCommand) String

func (m *ActionSpatialUnitCommand) String() string

func (*ActionSpatialUnitCommand) Unmarshal

func (m *ActionSpatialUnitCommand) Unmarshal(dAtA []byte) error

func (*ActionSpatialUnitCommand) XXX_DiscardUnknown

func (m *ActionSpatialUnitCommand) XXX_DiscardUnknown()

func (*ActionSpatialUnitCommand) XXX_Marshal

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

func (*ActionSpatialUnitCommand) XXX_Merge

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

func (*ActionSpatialUnitCommand) XXX_OneofFuncs

func (*ActionSpatialUnitCommand) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ActionSpatialUnitCommand) XXX_Size

func (m *ActionSpatialUnitCommand) XXX_Size() int

func (*ActionSpatialUnitCommand) XXX_Unmarshal

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

type ActionSpatialUnitCommand_TargetMinimapCoord

type ActionSpatialUnitCommand_TargetMinimapCoord struct {
	TargetMinimapCoord *PointI `protobuf:"bytes,3,opt,name=target_minimap_coord,json=targetMinimapCoord,oneof"`
}

func (*ActionSpatialUnitCommand_TargetMinimapCoord) MarshalTo

func (*ActionSpatialUnitCommand_TargetMinimapCoord) Size

type ActionSpatialUnitCommand_TargetScreenCoord

type ActionSpatialUnitCommand_TargetScreenCoord struct {
	TargetScreenCoord *PointI `protobuf:"bytes,2,opt,name=target_screen_coord,json=targetScreenCoord,oneof"`
}

func (*ActionSpatialUnitCommand_TargetScreenCoord) MarshalTo

func (m *ActionSpatialUnitCommand_TargetScreenCoord) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatialUnitCommand_TargetScreenCoord) Size

type ActionSpatialUnitSelectionPoint

type ActionSpatialUnitSelectionPoint struct {
	SelectionScreenCoord *PointI                              `protobuf:"bytes,1,opt,name=selection_screen_coord,json=selectionScreenCoord" json:"selection_screen_coord,omitempty"`
	Type                 ActionSpatialUnitSelectionPoint_Type `protobuf:"varint,2,opt,name=type,proto3,enum=SC2APIProtocol.ActionSpatialUnitSelectionPoint_Type" json:"type,omitempty"`
}

func (*ActionSpatialUnitSelectionPoint) Descriptor

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

func (*ActionSpatialUnitSelectionPoint) GetSelectionScreenCoord

func (m *ActionSpatialUnitSelectionPoint) GetSelectionScreenCoord() *PointI

func (*ActionSpatialUnitSelectionPoint) GetType

func (*ActionSpatialUnitSelectionPoint) Marshal

func (m *ActionSpatialUnitSelectionPoint) Marshal() (dAtA []byte, err error)

func (*ActionSpatialUnitSelectionPoint) MarshalTo

func (m *ActionSpatialUnitSelectionPoint) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatialUnitSelectionPoint) ProtoMessage

func (*ActionSpatialUnitSelectionPoint) ProtoMessage()

func (*ActionSpatialUnitSelectionPoint) Reset

func (*ActionSpatialUnitSelectionPoint) Size

func (m *ActionSpatialUnitSelectionPoint) Size() (n int)

func (*ActionSpatialUnitSelectionPoint) String

func (*ActionSpatialUnitSelectionPoint) Unmarshal

func (m *ActionSpatialUnitSelectionPoint) Unmarshal(dAtA []byte) error

func (*ActionSpatialUnitSelectionPoint) XXX_DiscardUnknown

func (m *ActionSpatialUnitSelectionPoint) XXX_DiscardUnknown()

func (*ActionSpatialUnitSelectionPoint) XXX_Marshal

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

func (*ActionSpatialUnitSelectionPoint) XXX_Merge

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

func (*ActionSpatialUnitSelectionPoint) XXX_Size

func (m *ActionSpatialUnitSelectionPoint) XXX_Size() int

func (*ActionSpatialUnitSelectionPoint) XXX_Unmarshal

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

type ActionSpatialUnitSelectionPoint_Type

type ActionSpatialUnitSelectionPoint_Type int32
const (
	ActionSpatialUnitSelectionPoint_nil        ActionSpatialUnitSelectionPoint_Type = 0
	ActionSpatialUnitSelectionPoint_Select     ActionSpatialUnitSelectionPoint_Type = 1
	ActionSpatialUnitSelectionPoint_Toggle     ActionSpatialUnitSelectionPoint_Type = 2
	ActionSpatialUnitSelectionPoint_AllType    ActionSpatialUnitSelectionPoint_Type = 3
	ActionSpatialUnitSelectionPoint_AddAllType ActionSpatialUnitSelectionPoint_Type = 4
)

func (ActionSpatialUnitSelectionPoint_Type) EnumDescriptor

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

func (ActionSpatialUnitSelectionPoint_Type) String

type ActionSpatialUnitSelectionRect

type ActionSpatialUnitSelectionRect struct {
	SelectionScreenCoord []*RectangleI `protobuf:"bytes,1,rep,name=selection_screen_coord,json=selectionScreenCoord" json:"selection_screen_coord,omitempty"`
	SelectionAdd         bool          `protobuf:"varint,2,opt,name=selection_add,json=selectionAdd,proto3" json:"selection_add,omitempty"`
}

func (*ActionSpatialUnitSelectionRect) Descriptor

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

func (*ActionSpatialUnitSelectionRect) GetSelectionAdd

func (m *ActionSpatialUnitSelectionRect) GetSelectionAdd() bool

func (*ActionSpatialUnitSelectionRect) GetSelectionScreenCoord

func (m *ActionSpatialUnitSelectionRect) GetSelectionScreenCoord() []*RectangleI

func (*ActionSpatialUnitSelectionRect) Marshal

func (m *ActionSpatialUnitSelectionRect) Marshal() (dAtA []byte, err error)

func (*ActionSpatialUnitSelectionRect) MarshalTo

func (m *ActionSpatialUnitSelectionRect) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatialUnitSelectionRect) ProtoMessage

func (*ActionSpatialUnitSelectionRect) ProtoMessage()

func (*ActionSpatialUnitSelectionRect) Reset

func (m *ActionSpatialUnitSelectionRect) Reset()

func (*ActionSpatialUnitSelectionRect) Size

func (m *ActionSpatialUnitSelectionRect) Size() (n int)

func (*ActionSpatialUnitSelectionRect) String

func (*ActionSpatialUnitSelectionRect) Unmarshal

func (m *ActionSpatialUnitSelectionRect) Unmarshal(dAtA []byte) error

func (*ActionSpatialUnitSelectionRect) XXX_DiscardUnknown

func (m *ActionSpatialUnitSelectionRect) XXX_DiscardUnknown()

func (*ActionSpatialUnitSelectionRect) XXX_Marshal

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

func (*ActionSpatialUnitSelectionRect) XXX_Merge

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

func (*ActionSpatialUnitSelectionRect) XXX_Size

func (m *ActionSpatialUnitSelectionRect) XXX_Size() int

func (*ActionSpatialUnitSelectionRect) XXX_Unmarshal

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

type ActionSpatial_CameraMove

type ActionSpatial_CameraMove struct {
	CameraMove *ActionSpatialCameraMove `protobuf:"bytes,2,opt,name=camera_move,json=cameraMove,oneof"`
}

func (*ActionSpatial_CameraMove) MarshalTo

func (m *ActionSpatial_CameraMove) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatial_CameraMove) Size

func (m *ActionSpatial_CameraMove) Size() (n int)

type ActionSpatial_UnitCommand

type ActionSpatial_UnitCommand struct {
	UnitCommand *ActionSpatialUnitCommand `protobuf:"bytes,1,opt,name=unit_command,json=unitCommand,oneof"`
}

func (*ActionSpatial_UnitCommand) MarshalTo

func (m *ActionSpatial_UnitCommand) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatial_UnitCommand) Size

func (m *ActionSpatial_UnitCommand) Size() (n int)

type ActionSpatial_UnitSelectionPoint

type ActionSpatial_UnitSelectionPoint struct {
	UnitSelectionPoint *ActionSpatialUnitSelectionPoint `protobuf:"bytes,3,opt,name=unit_selection_point,json=unitSelectionPoint,oneof"`
}

func (*ActionSpatial_UnitSelectionPoint) MarshalTo

func (m *ActionSpatial_UnitSelectionPoint) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatial_UnitSelectionPoint) Size

func (m *ActionSpatial_UnitSelectionPoint) Size() (n int)

type ActionSpatial_UnitSelectionRect

type ActionSpatial_UnitSelectionRect struct {
	UnitSelectionRect *ActionSpatialUnitSelectionRect `protobuf:"bytes,4,opt,name=unit_selection_rect,json=unitSelectionRect,oneof"`
}

func (*ActionSpatial_UnitSelectionRect) MarshalTo

func (m *ActionSpatial_UnitSelectionRect) MarshalTo(dAtA []byte) (int, error)

func (*ActionSpatial_UnitSelectionRect) Size

func (m *ActionSpatial_UnitSelectionRect) Size() (n int)

type ActionToggleAutocast

type ActionToggleAutocast struct {
	AbilityId AbilityID `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
}

func (*ActionToggleAutocast) Descriptor

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

func (*ActionToggleAutocast) GetAbilityId

func (m *ActionToggleAutocast) GetAbilityId() AbilityID

func (*ActionToggleAutocast) Marshal

func (m *ActionToggleAutocast) Marshal() (dAtA []byte, err error)

func (*ActionToggleAutocast) MarshalTo

func (m *ActionToggleAutocast) MarshalTo(dAtA []byte) (int, error)

func (*ActionToggleAutocast) ProtoMessage

func (*ActionToggleAutocast) ProtoMessage()

func (*ActionToggleAutocast) Reset

func (m *ActionToggleAutocast) Reset()

func (*ActionToggleAutocast) Size

func (m *ActionToggleAutocast) Size() (n int)

func (*ActionToggleAutocast) String

func (m *ActionToggleAutocast) String() string

func (*ActionToggleAutocast) Unmarshal

func (m *ActionToggleAutocast) Unmarshal(dAtA []byte) error

func (*ActionToggleAutocast) XXX_DiscardUnknown

func (m *ActionToggleAutocast) XXX_DiscardUnknown()

func (*ActionToggleAutocast) XXX_Marshal

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

func (*ActionToggleAutocast) XXX_Merge

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

func (*ActionToggleAutocast) XXX_Size

func (m *ActionToggleAutocast) XXX_Size() int

func (*ActionToggleAutocast) XXX_Unmarshal

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

type ActionUI

type ActionUI struct {
	// Types that are valid to be assigned to Action:
	//	*ActionUI_ControlGroup
	//	*ActionUI_SelectArmy
	//	*ActionUI_SelectWarpGates
	//	*ActionUI_SelectLarva
	//	*ActionUI_SelectIdleWorker
	//	*ActionUI_MultiPanel
	//	*ActionUI_CargoPanel
	//	*ActionUI_ProductionPanel
	//	*ActionUI_ToggleAutocast
	Action isActionUI_Action `protobuf_oneof:"action"`
}

func (*ActionUI) Descriptor

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

func (*ActionUI) GetAction

func (m *ActionUI) GetAction() isActionUI_Action

func (*ActionUI) GetCargoPanel

func (m *ActionUI) GetCargoPanel() *ActionCargoPanelUnload

func (*ActionUI) GetControlGroup

func (m *ActionUI) GetControlGroup() *ActionControlGroup

func (*ActionUI) GetMultiPanel

func (m *ActionUI) GetMultiPanel() *ActionMultiPanel

func (*ActionUI) GetProductionPanel

func (m *ActionUI) GetProductionPanel() *ActionProductionPanelRemoveFromQueue

func (*ActionUI) GetSelectArmy

func (m *ActionUI) GetSelectArmy() *ActionSelectArmy

func (*ActionUI) GetSelectIdleWorker

func (m *ActionUI) GetSelectIdleWorker() *ActionSelectIdleWorker

func (*ActionUI) GetSelectLarva

func (m *ActionUI) GetSelectLarva() *ActionSelectLarva

func (*ActionUI) GetSelectWarpGates

func (m *ActionUI) GetSelectWarpGates() *ActionSelectWarpGates

func (*ActionUI) GetToggleAutocast

func (m *ActionUI) GetToggleAutocast() *ActionToggleAutocast

func (*ActionUI) Marshal

func (m *ActionUI) Marshal() (dAtA []byte, err error)

func (*ActionUI) MarshalTo

func (m *ActionUI) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI) ProtoMessage

func (*ActionUI) ProtoMessage()

func (*ActionUI) Reset

func (m *ActionUI) Reset()

func (*ActionUI) Size

func (m *ActionUI) Size() (n int)

func (*ActionUI) String

func (m *ActionUI) String() string

func (*ActionUI) Unmarshal

func (m *ActionUI) Unmarshal(dAtA []byte) error

func (*ActionUI) XXX_DiscardUnknown

func (m *ActionUI) XXX_DiscardUnknown()

func (*ActionUI) XXX_Marshal

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

func (*ActionUI) XXX_Merge

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

func (*ActionUI) XXX_OneofFuncs

func (*ActionUI) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ActionUI) XXX_Size

func (m *ActionUI) XXX_Size() int

func (*ActionUI) XXX_Unmarshal

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

type ActionUI_CargoPanel

type ActionUI_CargoPanel struct {
	CargoPanel *ActionCargoPanelUnload `protobuf:"bytes,7,opt,name=cargo_panel,json=cargoPanel,oneof"`
}

func (*ActionUI_CargoPanel) MarshalTo

func (m *ActionUI_CargoPanel) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_CargoPanel) Size

func (m *ActionUI_CargoPanel) Size() (n int)

type ActionUI_ControlGroup

type ActionUI_ControlGroup struct {
	ControlGroup *ActionControlGroup `protobuf:"bytes,1,opt,name=control_group,json=controlGroup,oneof"`
}

func (*ActionUI_ControlGroup) MarshalTo

func (m *ActionUI_ControlGroup) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_ControlGroup) Size

func (m *ActionUI_ControlGroup) Size() (n int)

type ActionUI_MultiPanel

type ActionUI_MultiPanel struct {
	MultiPanel *ActionMultiPanel `protobuf:"bytes,6,opt,name=multi_panel,json=multiPanel,oneof"`
}

func (*ActionUI_MultiPanel) MarshalTo

func (m *ActionUI_MultiPanel) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_MultiPanel) Size

func (m *ActionUI_MultiPanel) Size() (n int)

type ActionUI_ProductionPanel

type ActionUI_ProductionPanel struct {
	ProductionPanel *ActionProductionPanelRemoveFromQueue `protobuf:"bytes,8,opt,name=production_panel,json=productionPanel,oneof"`
}

func (*ActionUI_ProductionPanel) MarshalTo

func (m *ActionUI_ProductionPanel) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_ProductionPanel) Size

func (m *ActionUI_ProductionPanel) Size() (n int)

type ActionUI_SelectArmy

type ActionUI_SelectArmy struct {
	SelectArmy *ActionSelectArmy `protobuf:"bytes,2,opt,name=select_army,json=selectArmy,oneof"`
}

func (*ActionUI_SelectArmy) MarshalTo

func (m *ActionUI_SelectArmy) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_SelectArmy) Size

func (m *ActionUI_SelectArmy) Size() (n int)

type ActionUI_SelectIdleWorker

type ActionUI_SelectIdleWorker struct {
	SelectIdleWorker *ActionSelectIdleWorker `protobuf:"bytes,5,opt,name=select_idle_worker,json=selectIdleWorker,oneof"`
}

func (*ActionUI_SelectIdleWorker) MarshalTo

func (m *ActionUI_SelectIdleWorker) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_SelectIdleWorker) Size

func (m *ActionUI_SelectIdleWorker) Size() (n int)

type ActionUI_SelectLarva

type ActionUI_SelectLarva struct {
	SelectLarva *ActionSelectLarva `protobuf:"bytes,4,opt,name=select_larva,json=selectLarva,oneof"`
}

func (*ActionUI_SelectLarva) MarshalTo

func (m *ActionUI_SelectLarva) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_SelectLarva) Size

func (m *ActionUI_SelectLarva) Size() (n int)

type ActionUI_SelectWarpGates

type ActionUI_SelectWarpGates struct {
	SelectWarpGates *ActionSelectWarpGates `protobuf:"bytes,3,opt,name=select_warp_gates,json=selectWarpGates,oneof"`
}

func (*ActionUI_SelectWarpGates) MarshalTo

func (m *ActionUI_SelectWarpGates) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_SelectWarpGates) Size

func (m *ActionUI_SelectWarpGates) Size() (n int)

type ActionUI_ToggleAutocast

type ActionUI_ToggleAutocast struct {
	ToggleAutocast *ActionToggleAutocast `protobuf:"bytes,9,opt,name=toggle_autocast,json=toggleAutocast,oneof"`
}

func (*ActionUI_ToggleAutocast) MarshalTo

func (m *ActionUI_ToggleAutocast) MarshalTo(dAtA []byte) (int, error)

func (*ActionUI_ToggleAutocast) Size

func (m *ActionUI_ToggleAutocast) Size() (n int)

type Alert

type Alert int32
const (
	Alert_nil                    Alert = 0
	Alert_AlertError             Alert = 3
	Alert_AddOnComplete          Alert = 4
	Alert_BuildingComplete       Alert = 5
	Alert_BuildingUnderAttack    Alert = 6
	Alert_LarvaHatched           Alert = 7
	Alert_MergeComplete          Alert = 8
	Alert_MineralsExhausted      Alert = 9
	Alert_MorphComplete          Alert = 10
	Alert_MothershipComplete     Alert = 11
	Alert_MULEExpired            Alert = 12
	Alert_NuclearLaunchDetected  Alert = 1
	Alert_NukeComplete           Alert = 13
	Alert_NydusWormDetected      Alert = 2
	Alert_ResearchComplete       Alert = 14
	Alert_TrainError             Alert = 15
	Alert_TrainUnitComplete      Alert = 16
	Alert_TrainWorkerComplete    Alert = 17
	Alert_TransformationComplete Alert = 18
	Alert_UnitUnderAttack        Alert = 19
	Alert_UpgradeComplete        Alert = 20
	Alert_VespeneExhausted       Alert = 21
	Alert_WarpInComplete         Alert = 22
)

func (Alert) EnumDescriptor

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

func (Alert) String

func (x Alert) String() string

type Alliance

type Alliance int32
const (
	Alliance_nil     Alliance = 0
	Alliance_Self    Alliance = 1
	Alliance_Ally    Alliance = 2
	Alliance_Neutral Alliance = 3
	Alliance_Enemy   Alliance = 4
)

func (Alliance) EnumDescriptor

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

func (Alliance) String

func (x Alliance) String() string

type Attribute

type Attribute int32
const (
	Attribute_nil        Attribute = 0
	Attribute_Light      Attribute = 1
	Attribute_Armored    Attribute = 2
	Attribute_Biological Attribute = 3
	Attribute_Mechanical Attribute = 4
	Attribute_Robotic    Attribute = 5
	Attribute_Psionic    Attribute = 6
	Attribute_Massive    Attribute = 7
	Attribute_Structure  Attribute = 8
	Attribute_Hover      Attribute = 9
	Attribute_Heroic     Attribute = 10
	Attribute_Summoned   Attribute = 11
)

func (Attribute) EnumDescriptor

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

func (Attribute) String

func (x Attribute) String() string

type AvailableAbility

type AvailableAbility struct {
	AbilityId     AbilityID `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	RequiresPoint bool      `protobuf:"varint,2,opt,name=requires_point,json=requiresPoint,proto3" json:"requires_point,omitempty"`
}

func (*AvailableAbility) Descriptor

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

func (*AvailableAbility) GetAbilityId

func (m *AvailableAbility) GetAbilityId() AbilityID

func (*AvailableAbility) GetRequiresPoint

func (m *AvailableAbility) GetRequiresPoint() bool

func (*AvailableAbility) Marshal

func (m *AvailableAbility) Marshal() (dAtA []byte, err error)

func (*AvailableAbility) MarshalTo

func (m *AvailableAbility) MarshalTo(dAtA []byte) (int, error)

func (*AvailableAbility) ProtoMessage

func (*AvailableAbility) ProtoMessage()

func (*AvailableAbility) Reset

func (m *AvailableAbility) Reset()

func (*AvailableAbility) Size

func (m *AvailableAbility) Size() (n int)

func (*AvailableAbility) String

func (m *AvailableAbility) String() string

func (*AvailableAbility) Unmarshal

func (m *AvailableAbility) Unmarshal(dAtA []byte) error

func (*AvailableAbility) XXX_DiscardUnknown

func (m *AvailableAbility) XXX_DiscardUnknown()

func (*AvailableAbility) XXX_Marshal

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

func (*AvailableAbility) XXX_Merge

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

func (*AvailableAbility) XXX_Size

func (m *AvailableAbility) XXX_Size() int

func (*AvailableAbility) XXX_Unmarshal

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

type BuffData

type BuffData struct {
	BuffId BuffID `protobuf:"varint,1,opt,name=buff_id,json=buffId,proto3,casttype=BuffID" json:"buff_id,omitempty"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

func (*BuffData) Descriptor

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

func (*BuffData) GetBuffId

func (m *BuffData) GetBuffId() BuffID

func (*BuffData) GetName

func (m *BuffData) GetName() string

func (*BuffData) Marshal

func (m *BuffData) Marshal() (dAtA []byte, err error)

func (*BuffData) MarshalTo

func (m *BuffData) MarshalTo(dAtA []byte) (int, error)

func (*BuffData) ProtoMessage

func (*BuffData) ProtoMessage()

func (*BuffData) Reset

func (m *BuffData) Reset()

func (*BuffData) Size

func (m *BuffData) Size() (n int)

func (*BuffData) String

func (m *BuffData) String() string

func (*BuffData) Unmarshal

func (m *BuffData) Unmarshal(dAtA []byte) error

func (*BuffData) XXX_DiscardUnknown

func (m *BuffData) XXX_DiscardUnknown()

func (*BuffData) XXX_Marshal

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

func (*BuffData) XXX_Merge

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

func (*BuffData) XXX_Size

func (m *BuffData) XXX_Size() int

func (*BuffData) XXX_Unmarshal

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

type BuffID

type BuffID uint32

BuffID ...

type BuildItem

type BuildItem struct {
	AbilityId     AbilityID `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	BuildProgress float32   `protobuf:"fixed32,2,opt,name=build_progress,json=buildProgress,proto3" json:"build_progress,omitempty"`
}

func (*BuildItem) Descriptor

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

func (*BuildItem) GetAbilityId

func (m *BuildItem) GetAbilityId() AbilityID

func (*BuildItem) GetBuildProgress

func (m *BuildItem) GetBuildProgress() float32

func (*BuildItem) Marshal

func (m *BuildItem) Marshal() (dAtA []byte, err error)

func (*BuildItem) MarshalTo

func (m *BuildItem) MarshalTo(dAtA []byte) (int, error)

func (*BuildItem) ProtoMessage

func (*BuildItem) ProtoMessage()

func (*BuildItem) Reset

func (m *BuildItem) Reset()

func (*BuildItem) Size

func (m *BuildItem) Size() (n int)

func (*BuildItem) String

func (m *BuildItem) String() string

func (*BuildItem) Unmarshal

func (m *BuildItem) Unmarshal(dAtA []byte) error

func (*BuildItem) XXX_DiscardUnknown

func (m *BuildItem) XXX_DiscardUnknown()

func (*BuildItem) XXX_Marshal

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

func (*BuildItem) XXX_Merge

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

func (*BuildItem) XXX_Size

func (m *BuildItem) XXX_Size() int

func (*BuildItem) XXX_Unmarshal

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

type CargoPanel

type CargoPanel struct {
	Unit           *UnitInfo   `protobuf:"bytes,1,opt,name=unit" json:"unit,omitempty"`
	Passengers     []*UnitInfo `protobuf:"bytes,2,rep,name=passengers" json:"passengers,omitempty"`
	SlotsAvailable int32       `protobuf:"varint,3,opt,name=slots_available,json=slotsAvailable,proto3" json:"slots_available,omitempty"`
}

func (*CargoPanel) Descriptor

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

func (*CargoPanel) GetPassengers

func (m *CargoPanel) GetPassengers() []*UnitInfo

func (*CargoPanel) GetSlotsAvailable

func (m *CargoPanel) GetSlotsAvailable() int32

func (*CargoPanel) GetUnit

func (m *CargoPanel) GetUnit() *UnitInfo

func (*CargoPanel) Marshal

func (m *CargoPanel) Marshal() (dAtA []byte, err error)

func (*CargoPanel) MarshalTo

func (m *CargoPanel) MarshalTo(dAtA []byte) (int, error)

func (*CargoPanel) ProtoMessage

func (*CargoPanel) ProtoMessage()

func (*CargoPanel) Reset

func (m *CargoPanel) Reset()

func (*CargoPanel) Size

func (m *CargoPanel) Size() (n int)

func (*CargoPanel) String

func (m *CargoPanel) String() string

func (*CargoPanel) Unmarshal

func (m *CargoPanel) Unmarshal(dAtA []byte) error

func (*CargoPanel) XXX_DiscardUnknown

func (m *CargoPanel) XXX_DiscardUnknown()

func (*CargoPanel) XXX_Marshal

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

func (*CargoPanel) XXX_Merge

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

func (*CargoPanel) XXX_Size

func (m *CargoPanel) XXX_Size() int

func (*CargoPanel) XXX_Unmarshal

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

type CategoryScoreDetails

type CategoryScoreDetails struct {
	None       float32 `protobuf:"fixed32,1,opt,name=none,proto3" json:"none,omitempty"`
	Army       float32 `protobuf:"fixed32,2,opt,name=army,proto3" json:"army,omitempty"`
	Economy    float32 `protobuf:"fixed32,3,opt,name=economy,proto3" json:"economy,omitempty"`
	Technology float32 `protobuf:"fixed32,4,opt,name=technology,proto3" json:"technology,omitempty"`
	Upgrade    float32 `protobuf:"fixed32,5,opt,name=upgrade,proto3" json:"upgrade,omitempty"`
}

func (*CategoryScoreDetails) Descriptor

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

func (*CategoryScoreDetails) GetArmy

func (m *CategoryScoreDetails) GetArmy() float32

func (*CategoryScoreDetails) GetEconomy

func (m *CategoryScoreDetails) GetEconomy() float32

func (*CategoryScoreDetails) GetNone

func (m *CategoryScoreDetails) GetNone() float32

func (*CategoryScoreDetails) GetTechnology

func (m *CategoryScoreDetails) GetTechnology() float32

func (*CategoryScoreDetails) GetUpgrade

func (m *CategoryScoreDetails) GetUpgrade() float32

func (*CategoryScoreDetails) Marshal

func (m *CategoryScoreDetails) Marshal() (dAtA []byte, err error)

func (*CategoryScoreDetails) MarshalTo

func (m *CategoryScoreDetails) MarshalTo(dAtA []byte) (int, error)

func (*CategoryScoreDetails) ProtoMessage

func (*CategoryScoreDetails) ProtoMessage()

func (*CategoryScoreDetails) Reset

func (m *CategoryScoreDetails) Reset()

func (*CategoryScoreDetails) Size

func (m *CategoryScoreDetails) Size() (n int)

func (*CategoryScoreDetails) String

func (m *CategoryScoreDetails) String() string

func (*CategoryScoreDetails) Unmarshal

func (m *CategoryScoreDetails) Unmarshal(dAtA []byte) error

func (*CategoryScoreDetails) XXX_DiscardUnknown

func (m *CategoryScoreDetails) XXX_DiscardUnknown()

func (*CategoryScoreDetails) XXX_Marshal

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

func (*CategoryScoreDetails) XXX_Merge

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

func (*CategoryScoreDetails) XXX_Size

func (m *CategoryScoreDetails) XXX_Size() int

func (*CategoryScoreDetails) XXX_Unmarshal

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

type ChatReceived

type ChatReceived struct {
	PlayerId PlayerID `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3,casttype=PlayerID" json:"player_id,omitempty"`
	Message  string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}

func (*ChatReceived) Descriptor

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

func (*ChatReceived) GetMessage

func (m *ChatReceived) GetMessage() string

func (*ChatReceived) GetPlayerId

func (m *ChatReceived) GetPlayerId() PlayerID

func (*ChatReceived) Marshal

func (m *ChatReceived) Marshal() (dAtA []byte, err error)

func (*ChatReceived) MarshalTo

func (m *ChatReceived) MarshalTo(dAtA []byte) (int, error)

func (*ChatReceived) ProtoMessage

func (*ChatReceived) ProtoMessage()

func (*ChatReceived) Reset

func (m *ChatReceived) Reset()

func (*ChatReceived) Size

func (m *ChatReceived) Size() (n int)

func (*ChatReceived) String

func (m *ChatReceived) String() string

func (*ChatReceived) Unmarshal

func (m *ChatReceived) Unmarshal(dAtA []byte) error

func (*ChatReceived) XXX_DiscardUnknown

func (m *ChatReceived) XXX_DiscardUnknown()

func (*ChatReceived) XXX_Marshal

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

func (*ChatReceived) XXX_Merge

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

func (*ChatReceived) XXX_Size

func (m *ChatReceived) XXX_Size() int

func (*ChatReceived) XXX_Unmarshal

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

type CloakState

type CloakState int32
const (
	CloakState_CloakedUnknown  CloakState = 0
	CloakState_Cloaked         CloakState = 1
	CloakState_CloakedDetected CloakState = 2
	CloakState_NotCloaked      CloakState = 3
	CloakState_CloakedAllied   CloakState = 4
)

func (CloakState) EnumDescriptor

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

func (CloakState) String

func (x CloakState) String() string

type Color

type Color struct {
	R uint32 `protobuf:"varint,1,opt,name=r,proto3" json:"r,omitempty"`
	G uint32 `protobuf:"varint,2,opt,name=g,proto3" json:"g,omitempty"`
	B uint32 `protobuf:"varint,3,opt,name=b,proto3" json:"b,omitempty"`
}

func (*Color) Descriptor

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

func (*Color) GetB

func (m *Color) GetB() uint32

func (*Color) GetG

func (m *Color) GetG() uint32

func (*Color) GetR

func (m *Color) GetR() uint32

func (*Color) Marshal

func (m *Color) Marshal() (dAtA []byte, err error)

func (*Color) MarshalTo

func (m *Color) MarshalTo(dAtA []byte) (int, error)

func (*Color) ProtoMessage

func (*Color) ProtoMessage()

func (*Color) Reset

func (m *Color) Reset()

func (*Color) Size

func (m *Color) Size() (n int)

func (*Color) String

func (m *Color) String() string

func (*Color) Unmarshal

func (m *Color) Unmarshal(dAtA []byte) error

func (*Color) XXX_DiscardUnknown

func (m *Color) XXX_DiscardUnknown()

func (*Color) XXX_Marshal

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

func (*Color) XXX_Merge

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

func (*Color) XXX_Size

func (m *Color) XXX_Size() int

func (*Color) XXX_Unmarshal

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

type ControlGroup

type ControlGroup struct {
	ControlGroupIndex uint32     `protobuf:"varint,1,opt,name=control_group_index,json=controlGroupIndex,proto3" json:"control_group_index,omitempty"`
	LeaderUnitType    UnitTypeID `` /* 126-byte string literal not displayed */
	Count             uint32     `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
}

func (*ControlGroup) Descriptor

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

func (*ControlGroup) GetControlGroupIndex

func (m *ControlGroup) GetControlGroupIndex() uint32

func (*ControlGroup) GetCount

func (m *ControlGroup) GetCount() uint32

func (*ControlGroup) GetLeaderUnitType

func (m *ControlGroup) GetLeaderUnitType() UnitTypeID

func (*ControlGroup) Marshal

func (m *ControlGroup) Marshal() (dAtA []byte, err error)

func (*ControlGroup) MarshalTo

func (m *ControlGroup) MarshalTo(dAtA []byte) (int, error)

func (*ControlGroup) ProtoMessage

func (*ControlGroup) ProtoMessage()

func (*ControlGroup) Reset

func (m *ControlGroup) Reset()

func (*ControlGroup) Size

func (m *ControlGroup) Size() (n int)

func (*ControlGroup) String

func (m *ControlGroup) String() string

func (*ControlGroup) Unmarshal

func (m *ControlGroup) Unmarshal(dAtA []byte) error

func (*ControlGroup) XXX_DiscardUnknown

func (m *ControlGroup) XXX_DiscardUnknown()

func (*ControlGroup) XXX_Marshal

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

func (*ControlGroup) XXX_Merge

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

func (*ControlGroup) XXX_Size

func (m *ControlGroup) XXX_Size() int

func (*ControlGroup) XXX_Unmarshal

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

type DamageBonus

type DamageBonus struct {
	Attribute Attribute `protobuf:"varint,1,opt,name=attribute,proto3,enum=SC2APIProtocol.Attribute" json:"attribute,omitempty"`
	Bonus     float32   `protobuf:"fixed32,2,opt,name=bonus,proto3" json:"bonus,omitempty"`
}

func (*DamageBonus) Descriptor

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

func (*DamageBonus) GetAttribute

func (m *DamageBonus) GetAttribute() Attribute

func (*DamageBonus) GetBonus

func (m *DamageBonus) GetBonus() float32

func (*DamageBonus) Marshal

func (m *DamageBonus) Marshal() (dAtA []byte, err error)

func (*DamageBonus) MarshalTo

func (m *DamageBonus) MarshalTo(dAtA []byte) (int, error)

func (*DamageBonus) ProtoMessage

func (*DamageBonus) ProtoMessage()

func (*DamageBonus) Reset

func (m *DamageBonus) Reset()

func (*DamageBonus) Size

func (m *DamageBonus) Size() (n int)

func (*DamageBonus) String

func (m *DamageBonus) String() string

func (*DamageBonus) Unmarshal

func (m *DamageBonus) Unmarshal(dAtA []byte) error

func (*DamageBonus) XXX_DiscardUnknown

func (m *DamageBonus) XXX_DiscardUnknown()

func (*DamageBonus) XXX_Marshal

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

func (*DamageBonus) XXX_Merge

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

func (*DamageBonus) XXX_Size

func (m *DamageBonus) XXX_Size() int

func (*DamageBonus) XXX_Unmarshal

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

type DebugBox

type DebugBox struct {
	Color *Color `protobuf:"bytes,1,opt,name=color" json:"color,omitempty"`
	Min   *Point `protobuf:"bytes,2,opt,name=min" json:"min,omitempty"`
	Max   *Point `protobuf:"bytes,3,opt,name=max" json:"max,omitempty"`
}

Display debug boxes on screen.

func (*DebugBox) Descriptor

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

func (*DebugBox) GetColor

func (m *DebugBox) GetColor() *Color

func (*DebugBox) GetMax

func (m *DebugBox) GetMax() *Point

func (*DebugBox) GetMin

func (m *DebugBox) GetMin() *Point

func (*DebugBox) Marshal

func (m *DebugBox) Marshal() (dAtA []byte, err error)

func (*DebugBox) MarshalTo

func (m *DebugBox) MarshalTo(dAtA []byte) (int, error)

func (*DebugBox) ProtoMessage

func (*DebugBox) ProtoMessage()

func (*DebugBox) Reset

func (m *DebugBox) Reset()

func (*DebugBox) Size

func (m *DebugBox) Size() (n int)

func (*DebugBox) String

func (m *DebugBox) String() string

func (*DebugBox) Unmarshal

func (m *DebugBox) Unmarshal(dAtA []byte) error

func (*DebugBox) XXX_DiscardUnknown

func (m *DebugBox) XXX_DiscardUnknown()

func (*DebugBox) XXX_Marshal

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

func (*DebugBox) XXX_Merge

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

func (*DebugBox) XXX_Size

func (m *DebugBox) XXX_Size() int

func (*DebugBox) XXX_Unmarshal

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

type DebugCommand

type DebugCommand struct {
	// Types that are valid to be assigned to Command:
	//	*DebugCommand_Draw
	//	*DebugCommand_GameState
	//	*DebugCommand_CreateUnit
	//	*DebugCommand_KillUnit
	//	*DebugCommand_TestProcess
	//	*DebugCommand_Score
	//	*DebugCommand_EndGame
	//	*DebugCommand_UnitValue
	Command isDebugCommand_Command `protobuf_oneof:"command"`
}

Issue various useful commands to the game engine.

func (*DebugCommand) Descriptor

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

func (*DebugCommand) GetCommand

func (m *DebugCommand) GetCommand() isDebugCommand_Command

func (*DebugCommand) GetCreateUnit

func (m *DebugCommand) GetCreateUnit() *DebugCreateUnit

func (*DebugCommand) GetDraw

func (m *DebugCommand) GetDraw() *DebugDraw

func (*DebugCommand) GetEndGame

func (m *DebugCommand) GetEndGame() *DebugEndGame

func (*DebugCommand) GetGameState

func (m *DebugCommand) GetGameState() DebugGameState

func (*DebugCommand) GetKillUnit

func (m *DebugCommand) GetKillUnit() *DebugKillUnit

func (*DebugCommand) GetScore

func (m *DebugCommand) GetScore() *DebugSetScore

func (*DebugCommand) GetTestProcess

func (m *DebugCommand) GetTestProcess() *DebugTestProcess

func (*DebugCommand) GetUnitValue

func (m *DebugCommand) GetUnitValue() *DebugSetUnitValue

func (*DebugCommand) Marshal

func (m *DebugCommand) Marshal() (dAtA []byte, err error)

func (*DebugCommand) MarshalTo

func (m *DebugCommand) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand) ProtoMessage

func (*DebugCommand) ProtoMessage()

func (*DebugCommand) Reset

func (m *DebugCommand) Reset()

func (*DebugCommand) Size

func (m *DebugCommand) Size() (n int)

func (*DebugCommand) String

func (m *DebugCommand) String() string

func (*DebugCommand) Unmarshal

func (m *DebugCommand) Unmarshal(dAtA []byte) error

func (*DebugCommand) XXX_DiscardUnknown

func (m *DebugCommand) XXX_DiscardUnknown()

func (*DebugCommand) XXX_Marshal

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

func (*DebugCommand) XXX_Merge

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

func (*DebugCommand) XXX_OneofFuncs

func (*DebugCommand) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*DebugCommand) XXX_Size

func (m *DebugCommand) XXX_Size() int

func (*DebugCommand) XXX_Unmarshal

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

type DebugCommand_CreateUnit

type DebugCommand_CreateUnit struct {
	CreateUnit *DebugCreateUnit `protobuf:"bytes,3,opt,name=create_unit,json=createUnit,oneof"`
}

func (*DebugCommand_CreateUnit) MarshalTo

func (m *DebugCommand_CreateUnit) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand_CreateUnit) Size

func (m *DebugCommand_CreateUnit) Size() (n int)

type DebugCommand_Draw

type DebugCommand_Draw struct {
	Draw *DebugDraw `protobuf:"bytes,1,opt,name=draw,oneof"`
}

func (*DebugCommand_Draw) MarshalTo

func (m *DebugCommand_Draw) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand_Draw) Size

func (m *DebugCommand_Draw) Size() (n int)

type DebugCommand_EndGame

type DebugCommand_EndGame struct {
	EndGame *DebugEndGame `protobuf:"bytes,7,opt,name=end_game,json=endGame,oneof"`
}

func (*DebugCommand_EndGame) MarshalTo

func (m *DebugCommand_EndGame) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand_EndGame) Size

func (m *DebugCommand_EndGame) Size() (n int)

type DebugCommand_GameState

type DebugCommand_GameState struct {
	GameState DebugGameState `protobuf:"varint,2,opt,name=game_state,json=gameState,proto3,enum=SC2APIProtocol.DebugGameState,oneof"`
}

func (*DebugCommand_GameState) MarshalTo

func (m *DebugCommand_GameState) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand_GameState) Size

func (m *DebugCommand_GameState) Size() (n int)

type DebugCommand_KillUnit

type DebugCommand_KillUnit struct {
	KillUnit *DebugKillUnit `protobuf:"bytes,4,opt,name=kill_unit,json=killUnit,oneof"`
}

func (*DebugCommand_KillUnit) MarshalTo

func (m *DebugCommand_KillUnit) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand_KillUnit) Size

func (m *DebugCommand_KillUnit) Size() (n int)

type DebugCommand_Score

type DebugCommand_Score struct {
	Score *DebugSetScore `protobuf:"bytes,6,opt,name=score,oneof"`
}

func (*DebugCommand_Score) MarshalTo

func (m *DebugCommand_Score) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand_Score) Size

func (m *DebugCommand_Score) Size() (n int)

type DebugCommand_TestProcess

type DebugCommand_TestProcess struct {
	TestProcess *DebugTestProcess `protobuf:"bytes,5,opt,name=test_process,json=testProcess,oneof"`
}

func (*DebugCommand_TestProcess) MarshalTo

func (m *DebugCommand_TestProcess) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand_TestProcess) Size

func (m *DebugCommand_TestProcess) Size() (n int)

type DebugCommand_UnitValue

type DebugCommand_UnitValue struct {
	UnitValue *DebugSetUnitValue `protobuf:"bytes,8,opt,name=unit_value,json=unitValue,oneof"`
}

func (*DebugCommand_UnitValue) MarshalTo

func (m *DebugCommand_UnitValue) MarshalTo(dAtA []byte) (int, error)

func (*DebugCommand_UnitValue) Size

func (m *DebugCommand_UnitValue) Size() (n int)

type DebugCreateUnit

type DebugCreateUnit struct {
	UnitType UnitTypeID `protobuf:"varint,1,opt,name=unit_type,json=unitType,proto3,casttype=UnitTypeID" json:"unit_type,omitempty"`
	Owner    PlayerID   `protobuf:"varint,2,opt,name=owner,proto3,casttype=PlayerID" json:"owner,omitempty"`
	Pos      *Point2D   `protobuf:"bytes,3,opt,name=pos" json:"pos,omitempty"`
	Quantity uint32     `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"`
}

func (*DebugCreateUnit) Descriptor

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

func (*DebugCreateUnit) GetOwner

func (m *DebugCreateUnit) GetOwner() PlayerID

func (*DebugCreateUnit) GetPos

func (m *DebugCreateUnit) GetPos() *Point2D

func (*DebugCreateUnit) GetQuantity

func (m *DebugCreateUnit) GetQuantity() uint32

func (*DebugCreateUnit) GetUnitType

func (m *DebugCreateUnit) GetUnitType() UnitTypeID

func (*DebugCreateUnit) Marshal

func (m *DebugCreateUnit) Marshal() (dAtA []byte, err error)

func (*DebugCreateUnit) MarshalTo

func (m *DebugCreateUnit) MarshalTo(dAtA []byte) (int, error)

func (*DebugCreateUnit) ProtoMessage

func (*DebugCreateUnit) ProtoMessage()

func (*DebugCreateUnit) Reset

func (m *DebugCreateUnit) Reset()

func (*DebugCreateUnit) Size

func (m *DebugCreateUnit) Size() (n int)

func (*DebugCreateUnit) String

func (m *DebugCreateUnit) String() string

func (*DebugCreateUnit) Unmarshal

func (m *DebugCreateUnit) Unmarshal(dAtA []byte) error

func (*DebugCreateUnit) XXX_DiscardUnknown

func (m *DebugCreateUnit) XXX_DiscardUnknown()

func (*DebugCreateUnit) XXX_Marshal

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

func (*DebugCreateUnit) XXX_Merge

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

func (*DebugCreateUnit) XXX_Size

func (m *DebugCreateUnit) XXX_Size() int

func (*DebugCreateUnit) XXX_Unmarshal

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

type DebugDraw

type DebugDraw struct {
	Text    []*DebugText   `protobuf:"bytes,1,rep,name=text" json:"text,omitempty"`
	Lines   []*DebugLine   `protobuf:"bytes,2,rep,name=lines" json:"lines,omitempty"`
	Boxes   []*DebugBox    `protobuf:"bytes,3,rep,name=boxes" json:"boxes,omitempty"`
	Spheres []*DebugSphere `protobuf:"bytes,4,rep,name=spheres" json:"spheres,omitempty"`
}

func (*DebugDraw) Descriptor

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

func (*DebugDraw) GetBoxes

func (m *DebugDraw) GetBoxes() []*DebugBox

func (*DebugDraw) GetLines

func (m *DebugDraw) GetLines() []*DebugLine

func (*DebugDraw) GetSpheres

func (m *DebugDraw) GetSpheres() []*DebugSphere

func (*DebugDraw) GetText

func (m *DebugDraw) GetText() []*DebugText

func (*DebugDraw) Marshal

func (m *DebugDraw) Marshal() (dAtA []byte, err error)

func (*DebugDraw) MarshalTo

func (m *DebugDraw) MarshalTo(dAtA []byte) (int, error)

func (*DebugDraw) ProtoMessage

func (*DebugDraw) ProtoMessage()

func (*DebugDraw) Reset

func (m *DebugDraw) Reset()

func (*DebugDraw) Size

func (m *DebugDraw) Size() (n int)

func (*DebugDraw) String

func (m *DebugDraw) String() string

func (*DebugDraw) Unmarshal

func (m *DebugDraw) Unmarshal(dAtA []byte) error

func (*DebugDraw) XXX_DiscardUnknown

func (m *DebugDraw) XXX_DiscardUnknown()

func (*DebugDraw) XXX_Marshal

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

func (*DebugDraw) XXX_Merge

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

func (*DebugDraw) XXX_Size

func (m *DebugDraw) XXX_Size() int

func (*DebugDraw) XXX_Unmarshal

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

type DebugEndGame

type DebugEndGame struct {
	EndResult DebugEndGame_EndResult `` /* 132-byte string literal not displayed */
}

func (*DebugEndGame) Descriptor

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

func (*DebugEndGame) GetEndResult

func (m *DebugEndGame) GetEndResult() DebugEndGame_EndResult

func (*DebugEndGame) Marshal

func (m *DebugEndGame) Marshal() (dAtA []byte, err error)

func (*DebugEndGame) MarshalTo

func (m *DebugEndGame) MarshalTo(dAtA []byte) (int, error)

func (*DebugEndGame) ProtoMessage

func (*DebugEndGame) ProtoMessage()

func (*DebugEndGame) Reset

func (m *DebugEndGame) Reset()

func (*DebugEndGame) Size

func (m *DebugEndGame) Size() (n int)

func (*DebugEndGame) String

func (m *DebugEndGame) String() string

func (*DebugEndGame) Unmarshal

func (m *DebugEndGame) Unmarshal(dAtA []byte) error

func (*DebugEndGame) XXX_DiscardUnknown

func (m *DebugEndGame) XXX_DiscardUnknown()

func (*DebugEndGame) XXX_Marshal

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

func (*DebugEndGame) XXX_Merge

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

func (*DebugEndGame) XXX_Size

func (m *DebugEndGame) XXX_Size() int

func (*DebugEndGame) XXX_Unmarshal

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

type DebugEndGame_EndResult

type DebugEndGame_EndResult int32
const (
	DebugEndGame_nil            DebugEndGame_EndResult = 0
	DebugEndGame_Surrender      DebugEndGame_EndResult = 1
	DebugEndGame_DeclareVictory DebugEndGame_EndResult = 2
)

func (DebugEndGame_EndResult) EnumDescriptor

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

func (DebugEndGame_EndResult) String

func (x DebugEndGame_EndResult) String() string

type DebugGameState

type DebugGameState int32
const (
	DebugGameState_nil           DebugGameState = 0
	DebugGameState_show_map      DebugGameState = 1
	DebugGameState_control_enemy DebugGameState = 2
	DebugGameState_food          DebugGameState = 3
	DebugGameState_free          DebugGameState = 4
	DebugGameState_all_resources DebugGameState = 5
	DebugGameState_god           DebugGameState = 6
	DebugGameState_minerals      DebugGameState = 7
	DebugGameState_gas           DebugGameState = 8
	DebugGameState_cooldown      DebugGameState = 9
	DebugGameState_tech_tree     DebugGameState = 10
	DebugGameState_upgrade       DebugGameState = 11
	DebugGameState_fast_build    DebugGameState = 12
)

func (DebugGameState) EnumDescriptor

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

func (DebugGameState) String

func (x DebugGameState) String() string

type DebugKillUnit

type DebugKillUnit struct {
	Tag []UnitTag `protobuf:"varint,1,rep,packed,name=tag,casttype=UnitTag" json:"tag,omitempty"`
}

func (*DebugKillUnit) Descriptor

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

func (*DebugKillUnit) GetTag

func (m *DebugKillUnit) GetTag() []UnitTag

func (*DebugKillUnit) Marshal

func (m *DebugKillUnit) Marshal() (dAtA []byte, err error)

func (*DebugKillUnit) MarshalTo

func (m *DebugKillUnit) MarshalTo(dAtA []byte) (int, error)

func (*DebugKillUnit) ProtoMessage

func (*DebugKillUnit) ProtoMessage()

func (*DebugKillUnit) Reset

func (m *DebugKillUnit) Reset()

func (*DebugKillUnit) Size

func (m *DebugKillUnit) Size() (n int)

func (*DebugKillUnit) String

func (m *DebugKillUnit) String() string

func (*DebugKillUnit) Unmarshal

func (m *DebugKillUnit) Unmarshal(dAtA []byte) error

func (*DebugKillUnit) XXX_DiscardUnknown

func (m *DebugKillUnit) XXX_DiscardUnknown()

func (*DebugKillUnit) XXX_Marshal

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

func (*DebugKillUnit) XXX_Merge

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

func (*DebugKillUnit) XXX_Size

func (m *DebugKillUnit) XXX_Size() int

func (*DebugKillUnit) XXX_Unmarshal

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

type DebugLine

type DebugLine struct {
	Color *Color `protobuf:"bytes,1,opt,name=color" json:"color,omitempty"`
	Line  *Line  `protobuf:"bytes,2,opt,name=line" json:"line,omitempty"`
}

Display debug lines on screen.

func (*DebugLine) Descriptor

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

func (*DebugLine) GetColor

func (m *DebugLine) GetColor() *Color

func (*DebugLine) GetLine

func (m *DebugLine) GetLine() *Line

func (*DebugLine) Marshal

func (m *DebugLine) Marshal() (dAtA []byte, err error)

func (*DebugLine) MarshalTo

func (m *DebugLine) MarshalTo(dAtA []byte) (int, error)

func (*DebugLine) ProtoMessage

func (*DebugLine) ProtoMessage()

func (*DebugLine) Reset

func (m *DebugLine) Reset()

func (*DebugLine) Size

func (m *DebugLine) Size() (n int)

func (*DebugLine) String

func (m *DebugLine) String() string

func (*DebugLine) Unmarshal

func (m *DebugLine) Unmarshal(dAtA []byte) error

func (*DebugLine) XXX_DiscardUnknown

func (m *DebugLine) XXX_DiscardUnknown()

func (*DebugLine) XXX_Marshal

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

func (*DebugLine) XXX_Merge

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

func (*DebugLine) XXX_Size

func (m *DebugLine) XXX_Size() int

func (*DebugLine) XXX_Unmarshal

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

type DebugSetScore

type DebugSetScore struct {
	Score float32 `protobuf:"fixed32,1,opt,name=score,proto3" json:"score,omitempty"`
}

func (*DebugSetScore) Descriptor

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

func (*DebugSetScore) GetScore

func (m *DebugSetScore) GetScore() float32

func (*DebugSetScore) Marshal

func (m *DebugSetScore) Marshal() (dAtA []byte, err error)

func (*DebugSetScore) MarshalTo

func (m *DebugSetScore) MarshalTo(dAtA []byte) (int, error)

func (*DebugSetScore) ProtoMessage

func (*DebugSetScore) ProtoMessage()

func (*DebugSetScore) Reset

func (m *DebugSetScore) Reset()

func (*DebugSetScore) Size

func (m *DebugSetScore) Size() (n int)

func (*DebugSetScore) String

func (m *DebugSetScore) String() string

func (*DebugSetScore) Unmarshal

func (m *DebugSetScore) Unmarshal(dAtA []byte) error

func (*DebugSetScore) XXX_DiscardUnknown

func (m *DebugSetScore) XXX_DiscardUnknown()

func (*DebugSetScore) XXX_Marshal

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

func (*DebugSetScore) XXX_Merge

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

func (*DebugSetScore) XXX_Size

func (m *DebugSetScore) XXX_Size() int

func (*DebugSetScore) XXX_Unmarshal

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

type DebugSetUnitValue

type DebugSetUnitValue struct {
	UnitValue DebugSetUnitValue_UnitValue `` /* 137-byte string literal not displayed */
	Value     float32                     `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"`
	UnitTag   UnitTag                     `protobuf:"varint,3,opt,name=unit_tag,json=unitTag,proto3,casttype=UnitTag" json:"unit_tag,omitempty"`
}

func (*DebugSetUnitValue) Descriptor

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

func (*DebugSetUnitValue) GetUnitTag

func (m *DebugSetUnitValue) GetUnitTag() UnitTag

func (*DebugSetUnitValue) GetUnitValue

func (*DebugSetUnitValue) GetValue

func (m *DebugSetUnitValue) GetValue() float32

func (*DebugSetUnitValue) Marshal

func (m *DebugSetUnitValue) Marshal() (dAtA []byte, err error)

func (*DebugSetUnitValue) MarshalTo

func (m *DebugSetUnitValue) MarshalTo(dAtA []byte) (int, error)

func (*DebugSetUnitValue) ProtoMessage

func (*DebugSetUnitValue) ProtoMessage()

func (*DebugSetUnitValue) Reset

func (m *DebugSetUnitValue) Reset()

func (*DebugSetUnitValue) Size

func (m *DebugSetUnitValue) Size() (n int)

func (*DebugSetUnitValue) String

func (m *DebugSetUnitValue) String() string

func (*DebugSetUnitValue) Unmarshal

func (m *DebugSetUnitValue) Unmarshal(dAtA []byte) error

func (*DebugSetUnitValue) XXX_DiscardUnknown

func (m *DebugSetUnitValue) XXX_DiscardUnknown()

func (*DebugSetUnitValue) XXX_Marshal

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

func (*DebugSetUnitValue) XXX_Merge

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

func (*DebugSetUnitValue) XXX_Size

func (m *DebugSetUnitValue) XXX_Size() int

func (*DebugSetUnitValue) XXX_Unmarshal

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

type DebugSetUnitValue_UnitValue

type DebugSetUnitValue_UnitValue int32
const (
	DebugSetUnitValue_nil     DebugSetUnitValue_UnitValue = 0
	DebugSetUnitValue_Energy  DebugSetUnitValue_UnitValue = 1
	DebugSetUnitValue_Life    DebugSetUnitValue_UnitValue = 2
	DebugSetUnitValue_Shields DebugSetUnitValue_UnitValue = 3
)

func (DebugSetUnitValue_UnitValue) EnumDescriptor

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

func (DebugSetUnitValue_UnitValue) String

type DebugSphere

type DebugSphere struct {
	Color *Color  `protobuf:"bytes,1,opt,name=color" json:"color,omitempty"`
	P     *Point  `protobuf:"bytes,2,opt,name=p" json:"p,omitempty"`
	R     float32 `protobuf:"fixed32,3,opt,name=r,proto3" json:"r,omitempty"`
}

Display debug spheres on screen.

func (*DebugSphere) Descriptor

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

func (*DebugSphere) GetColor

func (m *DebugSphere) GetColor() *Color

func (*DebugSphere) GetP

func (m *DebugSphere) GetP() *Point

func (*DebugSphere) GetR

func (m *DebugSphere) GetR() float32

func (*DebugSphere) Marshal

func (m *DebugSphere) Marshal() (dAtA []byte, err error)

func (*DebugSphere) MarshalTo

func (m *DebugSphere) MarshalTo(dAtA []byte) (int, error)

func (*DebugSphere) ProtoMessage

func (*DebugSphere) ProtoMessage()

func (*DebugSphere) Reset

func (m *DebugSphere) Reset()

func (*DebugSphere) Size

func (m *DebugSphere) Size() (n int)

func (*DebugSphere) String

func (m *DebugSphere) String() string

func (*DebugSphere) Unmarshal

func (m *DebugSphere) Unmarshal(dAtA []byte) error

func (*DebugSphere) XXX_DiscardUnknown

func (m *DebugSphere) XXX_DiscardUnknown()

func (*DebugSphere) XXX_Marshal

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

func (*DebugSphere) XXX_Merge

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

func (*DebugSphere) XXX_Size

func (m *DebugSphere) XXX_Size() int

func (*DebugSphere) XXX_Unmarshal

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

type DebugTestProcess

type DebugTestProcess struct {
	Test    DebugTestProcess_Test `protobuf:"varint,1,opt,name=test,proto3,enum=SC2APIProtocol.DebugTestProcess_Test" json:"test,omitempty"`
	DelayMs int32                 `protobuf:"varint,2,opt,name=delay_ms,json=delayMs,proto3" json:"delay_ms,omitempty"`
}

func (*DebugTestProcess) Descriptor

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

func (*DebugTestProcess) GetDelayMs

func (m *DebugTestProcess) GetDelayMs() int32

func (*DebugTestProcess) GetTest

func (*DebugTestProcess) Marshal

func (m *DebugTestProcess) Marshal() (dAtA []byte, err error)

func (*DebugTestProcess) MarshalTo

func (m *DebugTestProcess) MarshalTo(dAtA []byte) (int, error)

func (*DebugTestProcess) ProtoMessage

func (*DebugTestProcess) ProtoMessage()

func (*DebugTestProcess) Reset

func (m *DebugTestProcess) Reset()

func (*DebugTestProcess) Size

func (m *DebugTestProcess) Size() (n int)

func (*DebugTestProcess) String

func (m *DebugTestProcess) String() string

func (*DebugTestProcess) Unmarshal

func (m *DebugTestProcess) Unmarshal(dAtA []byte) error

func (*DebugTestProcess) XXX_DiscardUnknown

func (m *DebugTestProcess) XXX_DiscardUnknown()

func (*DebugTestProcess) XXX_Marshal

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

func (*DebugTestProcess) XXX_Merge

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

func (*DebugTestProcess) XXX_Size

func (m *DebugTestProcess) XXX_Size() int

func (*DebugTestProcess) XXX_Unmarshal

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

type DebugTestProcess_Test

type DebugTestProcess_Test int32
const (
	DebugTestProcess_nil   DebugTestProcess_Test = 0
	DebugTestProcess_hang  DebugTestProcess_Test = 1
	DebugTestProcess_crash DebugTestProcess_Test = 2
	DebugTestProcess_exit  DebugTestProcess_Test = 3
)

func (DebugTestProcess_Test) EnumDescriptor

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

func (DebugTestProcess_Test) String

func (x DebugTestProcess_Test) String() string

type DebugText

type DebugText struct {
	Color      *Color `protobuf:"bytes,1,opt,name=color" json:"color,omitempty"`
	Text       string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	VirtualPos *Point `protobuf:"bytes,3,opt,name=virtual_pos,json=virtualPos" json:"virtual_pos,omitempty"`
	WorldPos   *Point `protobuf:"bytes,4,opt,name=world_pos,json=worldPos" json:"world_pos,omitempty"`
	Size_      uint32 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
}

Display debug text on screen.

func (*DebugText) Descriptor

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

func (*DebugText) GetColor

func (m *DebugText) GetColor() *Color

func (*DebugText) GetSize_

func (m *DebugText) GetSize_() uint32

func (*DebugText) GetText

func (m *DebugText) GetText() string

func (*DebugText) GetVirtualPos

func (m *DebugText) GetVirtualPos() *Point

func (*DebugText) GetWorldPos

func (m *DebugText) GetWorldPos() *Point

func (*DebugText) Marshal

func (m *DebugText) Marshal() (dAtA []byte, err error)

func (*DebugText) MarshalTo

func (m *DebugText) MarshalTo(dAtA []byte) (int, error)

func (*DebugText) ProtoMessage

func (*DebugText) ProtoMessage()

func (*DebugText) Reset

func (m *DebugText) Reset()

func (*DebugText) Size

func (m *DebugText) Size() (n int)

func (*DebugText) String

func (m *DebugText) String() string

func (*DebugText) Unmarshal

func (m *DebugText) Unmarshal(dAtA []byte) error

func (*DebugText) XXX_DiscardUnknown

func (m *DebugText) XXX_DiscardUnknown()

func (*DebugText) XXX_Marshal

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

func (*DebugText) XXX_Merge

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

func (*DebugText) XXX_Size

func (m *DebugText) XXX_Size() int

func (*DebugText) XXX_Unmarshal

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

type Difficulty

type Difficulty int32
const (
	Difficulty_nil         Difficulty = 0
	Difficulty_VeryEasy    Difficulty = 1
	Difficulty_Easy        Difficulty = 2
	Difficulty_Medium      Difficulty = 3
	Difficulty_MediumHard  Difficulty = 4
	Difficulty_Hard        Difficulty = 5
	Difficulty_Harder      Difficulty = 6
	Difficulty_VeryHard    Difficulty = 7
	Difficulty_CheatVision Difficulty = 8
	Difficulty_CheatMoney  Difficulty = 9
	Difficulty_CheatInsane Difficulty = 10
)

func (Difficulty) EnumDescriptor

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

func (Difficulty) String

func (x Difficulty) String() string

type DisplayType

type DisplayType int32
const (
	DisplayType_nil         DisplayType = 0
	DisplayType_Visible     DisplayType = 1
	DisplayType_Snapshot    DisplayType = 2
	DisplayType_Hidden      DisplayType = 3
	DisplayType_Placeholder DisplayType = 4
)

func (DisplayType) EnumDescriptor

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

func (DisplayType) String

func (x DisplayType) String() string

type Effect

type Effect struct {
	EffectId EffectID   `protobuf:"varint,1,opt,name=effect_id,json=effectId,proto3,casttype=EffectID" json:"effect_id,omitempty"`
	Pos      []*Point2D `protobuf:"bytes,2,rep,name=pos" json:"pos,omitempty"`
	Alliance Alliance   `protobuf:"varint,3,opt,name=alliance,proto3,enum=SC2APIProtocol.Alliance" json:"alliance,omitempty"`
	Owner    int32      `protobuf:"varint,4,opt,name=owner,proto3" json:"owner,omitempty"`
	Radius   float32    `protobuf:"fixed32,5,opt,name=radius,proto3" json:"radius,omitempty"`
}

func (*Effect) Descriptor

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

func (*Effect) GetAlliance

func (m *Effect) GetAlliance() Alliance

func (*Effect) GetEffectId

func (m *Effect) GetEffectId() EffectID

func (*Effect) GetOwner

func (m *Effect) GetOwner() int32

func (*Effect) GetPos

func (m *Effect) GetPos() []*Point2D

func (*Effect) GetRadius

func (m *Effect) GetRadius() float32

func (*Effect) Marshal

func (m *Effect) Marshal() (dAtA []byte, err error)

func (*Effect) MarshalTo

func (m *Effect) MarshalTo(dAtA []byte) (int, error)

func (*Effect) ProtoMessage

func (*Effect) ProtoMessage()

func (*Effect) Reset

func (m *Effect) Reset()

func (*Effect) Size

func (m *Effect) Size() (n int)

func (*Effect) String

func (m *Effect) String() string

func (*Effect) Unmarshal

func (m *Effect) Unmarshal(dAtA []byte) error

func (*Effect) XXX_DiscardUnknown

func (m *Effect) XXX_DiscardUnknown()

func (*Effect) XXX_Marshal

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

func (*Effect) XXX_Merge

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

func (*Effect) XXX_Size

func (m *Effect) XXX_Size() int

func (*Effect) XXX_Unmarshal

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

type EffectData

type EffectData struct {
	EffectId     EffectID `protobuf:"varint,1,opt,name=effect_id,json=effectId,proto3,casttype=EffectID" json:"effect_id,omitempty"`
	Name         string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	FriendlyName string   `protobuf:"bytes,3,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	Radius       float32  `protobuf:"fixed32,4,opt,name=radius,proto3" json:"radius,omitempty"`
}

func (*EffectData) Descriptor

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

func (*EffectData) GetEffectId

func (m *EffectData) GetEffectId() EffectID

func (*EffectData) GetFriendlyName

func (m *EffectData) GetFriendlyName() string

func (*EffectData) GetName

func (m *EffectData) GetName() string

func (*EffectData) GetRadius

func (m *EffectData) GetRadius() float32

func (*EffectData) Marshal

func (m *EffectData) Marshal() (dAtA []byte, err error)

func (*EffectData) MarshalTo

func (m *EffectData) MarshalTo(dAtA []byte) (int, error)

func (*EffectData) ProtoMessage

func (*EffectData) ProtoMessage()

func (*EffectData) Reset

func (m *EffectData) Reset()

func (*EffectData) Size

func (m *EffectData) Size() (n int)

func (*EffectData) String

func (m *EffectData) String() string

func (*EffectData) Unmarshal

func (m *EffectData) Unmarshal(dAtA []byte) error

func (*EffectData) XXX_DiscardUnknown

func (m *EffectData) XXX_DiscardUnknown()

func (*EffectData) XXX_Marshal

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

func (*EffectData) XXX_Merge

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

func (*EffectData) XXX_Size

func (m *EffectData) XXX_Size() int

func (*EffectData) XXX_Unmarshal

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

type EffectID

type EffectID uint32

EffectID ...

type Event

type Event struct {
	DeadUnits []UnitTag `protobuf:"varint,1,rep,packed,name=dead_units,json=deadUnits,casttype=UnitTag" json:"dead_units,omitempty"`
}

func (*Event) Descriptor

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

func (*Event) GetDeadUnits

func (m *Event) GetDeadUnits() []UnitTag

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

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

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type FeatureLayers

type FeatureLayers struct {
	HeightMap          *ImageData `protobuf:"bytes,1,opt,name=height_map,json=heightMap" json:"height_map,omitempty"`
	VisibilityMap      *ImageData `protobuf:"bytes,2,opt,name=visibility_map,json=visibilityMap" json:"visibility_map,omitempty"`
	Creep              *ImageData `protobuf:"bytes,3,opt,name=creep" json:"creep,omitempty"`
	Power              *ImageData `protobuf:"bytes,4,opt,name=power" json:"power,omitempty"`
	PlayerId           *ImageData `protobuf:"bytes,5,opt,name=player_id,json=playerId" json:"player_id,omitempty"`
	UnitType           *ImageData `protobuf:"bytes,6,opt,name=unit_type,json=unitType" json:"unit_type,omitempty"`
	Selected           *ImageData `protobuf:"bytes,7,opt,name=selected" json:"selected,omitempty"`
	UnitHitPoints      *ImageData `protobuf:"bytes,8,opt,name=unit_hit_points,json=unitHitPoints" json:"unit_hit_points,omitempty"`
	UnitHitPointsRatio *ImageData `protobuf:"bytes,17,opt,name=unit_hit_points_ratio,json=unitHitPointsRatio" json:"unit_hit_points_ratio,omitempty"`
	UnitEnergy         *ImageData `protobuf:"bytes,9,opt,name=unit_energy,json=unitEnergy" json:"unit_energy,omitempty"`
	UnitEnergyRatio    *ImageData `protobuf:"bytes,18,opt,name=unit_energy_ratio,json=unitEnergyRatio" json:"unit_energy_ratio,omitempty"`
	UnitShields        *ImageData `protobuf:"bytes,10,opt,name=unit_shields,json=unitShields" json:"unit_shields,omitempty"`
	UnitShieldsRatio   *ImageData `protobuf:"bytes,19,opt,name=unit_shields_ratio,json=unitShieldsRatio" json:"unit_shields_ratio,omitempty"`
	PlayerRelative     *ImageData `protobuf:"bytes,11,opt,name=player_relative,json=playerRelative" json:"player_relative,omitempty"`
	UnitDensityAa      *ImageData `protobuf:"bytes,14,opt,name=unit_density_aa,json=unitDensityAa" json:"unit_density_aa,omitempty"`
	UnitDensity        *ImageData `protobuf:"bytes,15,opt,name=unit_density,json=unitDensity" json:"unit_density,omitempty"`
	Effects            *ImageData `protobuf:"bytes,20,opt,name=effects" json:"effects,omitempty"`
	Hallucinations     *ImageData `protobuf:"bytes,21,opt,name=hallucinations" json:"hallucinations,omitempty"`
	Cloaked            *ImageData `protobuf:"bytes,22,opt,name=cloaked" json:"cloaked,omitempty"`
	Blip               *ImageData `protobuf:"bytes,23,opt,name=blip" json:"blip,omitempty"`
	Buffs              *ImageData `protobuf:"bytes,24,opt,name=buffs" json:"buffs,omitempty"`
	BuffDuration       *ImageData `protobuf:"bytes,26,opt,name=buff_duration,json=buffDuration" json:"buff_duration,omitempty"`
	Active             *ImageData `protobuf:"bytes,25,opt,name=active" json:"active,omitempty"`
	BuildProgress      *ImageData `protobuf:"bytes,27,opt,name=build_progress,json=buildProgress" json:"build_progress,omitempty"`
	Buildable          *ImageData `protobuf:"bytes,28,opt,name=buildable" json:"buildable,omitempty"`
	Pathable           *ImageData `protobuf:"bytes,29,opt,name=pathable" json:"pathable,omitempty"`
	Placeholder        *ImageData `protobuf:"bytes,30,opt,name=placeholder" json:"placeholder,omitempty"`
}

func (*FeatureLayers) Descriptor

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

func (*FeatureLayers) GetActive

func (m *FeatureLayers) GetActive() *ImageData

func (*FeatureLayers) GetBlip

func (m *FeatureLayers) GetBlip() *ImageData

func (*FeatureLayers) GetBuffDuration

func (m *FeatureLayers) GetBuffDuration() *ImageData

func (*FeatureLayers) GetBuffs

func (m *FeatureLayers) GetBuffs() *ImageData

func (*FeatureLayers) GetBuildProgress

func (m *FeatureLayers) GetBuildProgress() *ImageData

func (*FeatureLayers) GetBuildable

func (m *FeatureLayers) GetBuildable() *ImageData

func (*FeatureLayers) GetCloaked

func (m *FeatureLayers) GetCloaked() *ImageData

func (*FeatureLayers) GetCreep

func (m *FeatureLayers) GetCreep() *ImageData

func (*FeatureLayers) GetEffects

func (m *FeatureLayers) GetEffects() *ImageData

func (*FeatureLayers) GetHallucinations

func (m *FeatureLayers) GetHallucinations() *ImageData

func (*FeatureLayers) GetHeightMap

func (m *FeatureLayers) GetHeightMap() *ImageData

func (*FeatureLayers) GetPathable

func (m *FeatureLayers) GetPathable() *ImageData

func (*FeatureLayers) GetPlaceholder

func (m *FeatureLayers) GetPlaceholder() *ImageData

func (*FeatureLayers) GetPlayerId

func (m *FeatureLayers) GetPlayerId() *ImageData

func (*FeatureLayers) GetPlayerRelative

func (m *FeatureLayers) GetPlayerRelative() *ImageData

func (*FeatureLayers) GetPower

func (m *FeatureLayers) GetPower() *ImageData

func (*FeatureLayers) GetSelected

func (m *FeatureLayers) GetSelected() *ImageData

func (*FeatureLayers) GetUnitDensity

func (m *FeatureLayers) GetUnitDensity() *ImageData

func (*FeatureLayers) GetUnitDensityAa

func (m *FeatureLayers) GetUnitDensityAa() *ImageData

func (*FeatureLayers) GetUnitEnergy

func (m *FeatureLayers) GetUnitEnergy() *ImageData

func (*FeatureLayers) GetUnitEnergyRatio

func (m *FeatureLayers) GetUnitEnergyRatio() *ImageData

func (*FeatureLayers) GetUnitHitPoints

func (m *FeatureLayers) GetUnitHitPoints() *ImageData

func (*FeatureLayers) GetUnitHitPointsRatio

func (m *FeatureLayers) GetUnitHitPointsRatio() *ImageData

func (*FeatureLayers) GetUnitShields

func (m *FeatureLayers) GetUnitShields() *ImageData

func (*FeatureLayers) GetUnitShieldsRatio

func (m *FeatureLayers) GetUnitShieldsRatio() *ImageData

func (*FeatureLayers) GetUnitType

func (m *FeatureLayers) GetUnitType() *ImageData

func (*FeatureLayers) GetVisibilityMap

func (m *FeatureLayers) GetVisibilityMap() *ImageData

func (*FeatureLayers) Marshal

func (m *FeatureLayers) Marshal() (dAtA []byte, err error)

func (*FeatureLayers) MarshalTo

func (m *FeatureLayers) MarshalTo(dAtA []byte) (int, error)

func (*FeatureLayers) ProtoMessage

func (*FeatureLayers) ProtoMessage()

func (*FeatureLayers) Reset

func (m *FeatureLayers) Reset()

func (*FeatureLayers) Size

func (m *FeatureLayers) Size() (n int)

func (*FeatureLayers) String

func (m *FeatureLayers) String() string

func (*FeatureLayers) Unmarshal

func (m *FeatureLayers) Unmarshal(dAtA []byte) error

func (*FeatureLayers) XXX_DiscardUnknown

func (m *FeatureLayers) XXX_DiscardUnknown()

func (*FeatureLayers) XXX_Marshal

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

func (*FeatureLayers) XXX_Merge

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

func (*FeatureLayers) XXX_Size

func (m *FeatureLayers) XXX_Size() int

func (*FeatureLayers) XXX_Unmarshal

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

type FeatureLayersMinimap

type FeatureLayersMinimap struct {
	HeightMap      *ImageData `protobuf:"bytes,1,opt,name=height_map,json=heightMap" json:"height_map,omitempty"`
	VisibilityMap  *ImageData `protobuf:"bytes,2,opt,name=visibility_map,json=visibilityMap" json:"visibility_map,omitempty"`
	Creep          *ImageData `protobuf:"bytes,3,opt,name=creep" json:"creep,omitempty"`
	Camera         *ImageData `protobuf:"bytes,4,opt,name=camera" json:"camera,omitempty"`
	PlayerId       *ImageData `protobuf:"bytes,5,opt,name=player_id,json=playerId" json:"player_id,omitempty"`
	PlayerRelative *ImageData `protobuf:"bytes,6,opt,name=player_relative,json=playerRelative" json:"player_relative,omitempty"`
	Selected       *ImageData `protobuf:"bytes,7,opt,name=selected" json:"selected,omitempty"`
	Alerts         *ImageData `protobuf:"bytes,9,opt,name=alerts" json:"alerts,omitempty"`
	Buildable      *ImageData `protobuf:"bytes,10,opt,name=buildable" json:"buildable,omitempty"`
	Pathable       *ImageData `protobuf:"bytes,11,opt,name=pathable" json:"pathable,omitempty"`
	UnitType       *ImageData `protobuf:"bytes,8,opt,name=unit_type,json=unitType" json:"unit_type,omitempty"`
}

func (*FeatureLayersMinimap) Descriptor

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

func (*FeatureLayersMinimap) GetAlerts

func (m *FeatureLayersMinimap) GetAlerts() *ImageData

func (*FeatureLayersMinimap) GetBuildable

func (m *FeatureLayersMinimap) GetBuildable() *ImageData

func (*FeatureLayersMinimap) GetCamera

func (m *FeatureLayersMinimap) GetCamera() *ImageData

func (*FeatureLayersMinimap) GetCreep

func (m *FeatureLayersMinimap) GetCreep() *ImageData

func (*FeatureLayersMinimap) GetHeightMap

func (m *FeatureLayersMinimap) GetHeightMap() *ImageData

func (*FeatureLayersMinimap) GetPathable

func (m *FeatureLayersMinimap) GetPathable() *ImageData

func (*FeatureLayersMinimap) GetPlayerId

func (m *FeatureLayersMinimap) GetPlayerId() *ImageData

func (*FeatureLayersMinimap) GetPlayerRelative

func (m *FeatureLayersMinimap) GetPlayerRelative() *ImageData

func (*FeatureLayersMinimap) GetSelected

func (m *FeatureLayersMinimap) GetSelected() *ImageData

func (*FeatureLayersMinimap) GetUnitType

func (m *FeatureLayersMinimap) GetUnitType() *ImageData

func (*FeatureLayersMinimap) GetVisibilityMap

func (m *FeatureLayersMinimap) GetVisibilityMap() *ImageData

func (*FeatureLayersMinimap) Marshal

func (m *FeatureLayersMinimap) Marshal() (dAtA []byte, err error)

func (*FeatureLayersMinimap) MarshalTo

func (m *FeatureLayersMinimap) MarshalTo(dAtA []byte) (int, error)

func (*FeatureLayersMinimap) ProtoMessage

func (*FeatureLayersMinimap) ProtoMessage()

func (*FeatureLayersMinimap) Reset

func (m *FeatureLayersMinimap) Reset()

func (*FeatureLayersMinimap) Size

func (m *FeatureLayersMinimap) Size() (n int)

func (*FeatureLayersMinimap) String

func (m *FeatureLayersMinimap) String() string

func (*FeatureLayersMinimap) Unmarshal

func (m *FeatureLayersMinimap) Unmarshal(dAtA []byte) error

func (*FeatureLayersMinimap) XXX_DiscardUnknown

func (m *FeatureLayersMinimap) XXX_DiscardUnknown()

func (*FeatureLayersMinimap) XXX_Marshal

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

func (*FeatureLayersMinimap) XXX_Merge

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

func (*FeatureLayersMinimap) XXX_Size

func (m *FeatureLayersMinimap) XXX_Size() int

func (*FeatureLayersMinimap) XXX_Unmarshal

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

type ImageData

type ImageData struct {
	BitsPerPixel int32    `protobuf:"varint,1,opt,name=bits_per_pixel,json=bitsPerPixel,proto3" json:"bits_per_pixel,omitempty"`
	Size_        *Size2DI `protobuf:"bytes,2,opt,name=size" json:"size,omitempty"`
	Data         []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

func (ImageData) Bits

func (img ImageData) Bits() ImageDataBits

Bits returns a bit-indexed version of the ImageData. It panics if ImageData.BitsPerPixel != 1.

func (ImageData) Bytes

func (img ImageData) Bytes() ImageDataBytes

Bytes returns a byte-indexed version of the ImageData. It panics if ImageData.BitsPerPixel != 8.

func (ImageData) Copy

func (img ImageData) Copy() ImageData

Copy returns an ImageData with a separate Data slice copied from the original.

func (*ImageData) Descriptor

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

func (*ImageData) GetBitsPerPixel

func (m *ImageData) GetBitsPerPixel() int32

func (*ImageData) GetData

func (m *ImageData) GetData() []byte

func (*ImageData) GetSize_

func (m *ImageData) GetSize_() *Size2DI

func (ImageData) Ints

func (img ImageData) Ints() ImageDataInt32

Ints returns an int32-indexed version of the ImageData. It panics if ImageData.BitsPerPixel != 32.

func (*ImageData) Marshal

func (m *ImageData) Marshal() (dAtA []byte, err error)

func (*ImageData) MarshalTo

func (m *ImageData) MarshalTo(dAtA []byte) (int, error)

func (*ImageData) ProtoMessage

func (*ImageData) ProtoMessage()

func (*ImageData) Reset

func (m *ImageData) Reset()

func (*ImageData) Size

func (m *ImageData) Size() (n int)

func (*ImageData) String

func (m *ImageData) String() string

func (*ImageData) Unmarshal

func (m *ImageData) Unmarshal(dAtA []byte) error

func (*ImageData) XXX_DiscardUnknown

func (m *ImageData) XXX_DiscardUnknown()

func (*ImageData) XXX_Marshal

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

func (*ImageData) XXX_Merge

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

func (*ImageData) XXX_Size

func (m *ImageData) XXX_Size() int

func (*ImageData) XXX_Unmarshal

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

type ImageDataBits

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

ImageDataBits is a bit-indexed version of ImageData.

func NewImageDataBits

func NewImageDataBits(w, h int32) ImageDataBits

NewImageDataBits returns an empty bit-indexed ImageData of the given size.

func (ImageDataBits) Copy added in v0.2.0

func (img ImageDataBits) Copy() ImageDataBits

Copy returns an ImageDataBits with a separate data slice copied from the original.

func (ImageDataBits) Get

func (img ImageDataBits) Get(x, y int32) bool

Get returns the bit value at (x, y). True if the bit is set, false if not or if (x, y) is out of bounds.

func (ImageDataBits) Height

func (img ImageDataBits) Height() int32

Height is the vertical size of the data.

func (ImageDataBits) InBounds

func (img ImageDataBits) InBounds(x, y int32) bool

InBounds checks that the coordinates fall within the valid range for the image.

func (ImageDataBits) Set

func (img ImageDataBits) Set(x, y int32, value bool)

Set updates the bit at (x, y) to the given value. If (x, y) is out of bounds it does nothing.

func (ImageDataBits) ToBytes

func (img ImageDataBits) ToBytes() ImageDataBytes

ToBytes converts a bitmap into a bytemap with false -> 0 and true -> 255.

func (ImageDataBits) Width

func (img ImageDataBits) Width() int32

Width is the horizontal size of the data.

type ImageDataBytes

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

ImageDataBytes is a byte-indexed version of ImageData.

func NewImageDataBytes

func NewImageDataBytes(w, h int32) ImageDataBytes

NewImageDataBytes returns an empty byte-indexed ImageData of the given size.

func (ImageDataBytes) Copy added in v0.2.0

func (img ImageDataBytes) Copy() ImageDataBytes

Copy returns an ImageDataBytes with a separate data slice copied from the original.

func (ImageDataBytes) Get

func (img ImageDataBytes) Get(x, y int32) byte

Get returns the byte value at (x, y). If (x, y) is out of bounds it returns 0.

func (ImageDataBytes) Height

func (img ImageDataBytes) Height() int32

Height is the vertical size of the data.

func (ImageDataBytes) InBounds

func (img ImageDataBytes) InBounds(x, y int32) bool

InBounds checks that the coordinates fall within the valid range for the image.

func (ImageDataBytes) Set

func (img ImageDataBytes) Set(x, y int32, value byte)

Set updates the byte at (x, y) to the given value. If (x, y) is out of bounds it does nothing.

func (ImageDataBytes) Width

func (img ImageDataBytes) Width() int32

Width is the horizontal size of the data.

type ImageDataInt32

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

ImageDataInt32 is an int32-indexed version of ImageData. LittleEndian byte ordering is assumed.

func NewImageDataInts

func NewImageDataInts(w, h int32) ImageDataInt32

NewImageDataInts returns an empty int32-indexed ImageData of the given size.

func (ImageDataInt32) Copy added in v0.2.0

func (img ImageDataInt32) Copy() ImageDataInt32

Copy returns an ImageDataInt32 with a separate data slice copied from the original.

func (ImageDataInt32) Get

func (img ImageDataInt32) Get(x, y int32) int32

Get returns the int32 value at (x, y). If (x, y) is out of bounds it returns 0.

func (ImageDataInt32) Height

func (img ImageDataInt32) Height() int32

Height is the vertical size of the data.

func (ImageDataInt32) InBounds

func (img ImageDataInt32) InBounds(x, y int32) bool

InBounds checks that the coordinates fall within the valid range for the image.

func (ImageDataInt32) Set

func (img ImageDataInt32) Set(x, y int32, value int32)

Set updates the int32 at (x, y) to the given value. If (x, y) is out of bounds it does nothing.

func (ImageDataInt32) Width

func (img ImageDataInt32) Width() int32

Width is the horizontal size of the data.

type InterfaceOptions

type InterfaceOptions struct {
	Raw                   bool                `protobuf:"varint,1,opt,name=raw,proto3" json:"raw,omitempty"`
	Score                 bool                `protobuf:"varint,2,opt,name=score,proto3" json:"score,omitempty"`
	FeatureLayer          *SpatialCameraSetup `protobuf:"bytes,3,opt,name=feature_layer,json=featureLayer" json:"feature_layer,omitempty"`
	Render                *SpatialCameraSetup `protobuf:"bytes,4,opt,name=render" json:"render,omitempty"`
	ShowCloaked           bool                `protobuf:"varint,5,opt,name=show_cloaked,json=showCloaked,proto3" json:"show_cloaked,omitempty"`
	ShowBurrowedShadows   bool                `protobuf:"varint,9,opt,name=show_burrowed_shadows,json=showBurrowedShadows,proto3" json:"show_burrowed_shadows,omitempty"`
	ShowPlaceholders      bool                `protobuf:"varint,8,opt,name=show_placeholders,json=showPlaceholders,proto3" json:"show_placeholders,omitempty"`
	RawAffectsSelection   bool                `protobuf:"varint,6,opt,name=raw_affects_selection,json=rawAffectsSelection,proto3" json:"raw_affects_selection,omitempty"`
	RawCropToPlayableArea bool                `` /* 131-byte string literal not displayed */
}

func (*InterfaceOptions) Descriptor

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

func (*InterfaceOptions) GetFeatureLayer

func (m *InterfaceOptions) GetFeatureLayer() *SpatialCameraSetup

func (*InterfaceOptions) GetRaw

func (m *InterfaceOptions) GetRaw() bool

func (*InterfaceOptions) GetRawAffectsSelection

func (m *InterfaceOptions) GetRawAffectsSelection() bool

func (*InterfaceOptions) GetRawCropToPlayableArea

func (m *InterfaceOptions) GetRawCropToPlayableArea() bool

func (*InterfaceOptions) GetRender

func (m *InterfaceOptions) GetRender() *SpatialCameraSetup

func (*InterfaceOptions) GetScore

func (m *InterfaceOptions) GetScore() bool

func (*InterfaceOptions) GetShowBurrowedShadows

func (m *InterfaceOptions) GetShowBurrowedShadows() bool

func (*InterfaceOptions) GetShowCloaked

func (m *InterfaceOptions) GetShowCloaked() bool

func (*InterfaceOptions) GetShowPlaceholders

func (m *InterfaceOptions) GetShowPlaceholders() bool

func (*InterfaceOptions) Marshal

func (m *InterfaceOptions) Marshal() (dAtA []byte, err error)

func (*InterfaceOptions) MarshalTo

func (m *InterfaceOptions) MarshalTo(dAtA []byte) (int, error)

func (*InterfaceOptions) ProtoMessage

func (*InterfaceOptions) ProtoMessage()

func (*InterfaceOptions) Reset

func (m *InterfaceOptions) Reset()

func (*InterfaceOptions) Size

func (m *InterfaceOptions) Size() (n int)

func (*InterfaceOptions) String

func (m *InterfaceOptions) String() string

func (*InterfaceOptions) Unmarshal

func (m *InterfaceOptions) Unmarshal(dAtA []byte) error

func (*InterfaceOptions) XXX_DiscardUnknown

func (m *InterfaceOptions) XXX_DiscardUnknown()

func (*InterfaceOptions) XXX_Marshal

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

func (*InterfaceOptions) XXX_Merge

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

func (*InterfaceOptions) XXX_Size

func (m *InterfaceOptions) XXX_Size() int

func (*InterfaceOptions) XXX_Unmarshal

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

type Line

type Line struct {
	P0 *Point `protobuf:"bytes,1,opt,name=p0" json:"p0,omitempty"`
	P1 *Point `protobuf:"bytes,2,opt,name=p1" json:"p1,omitempty"`
}

func (*Line) Descriptor

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

func (*Line) GetP0

func (m *Line) GetP0() *Point

func (*Line) GetP1

func (m *Line) GetP1() *Point

func (*Line) Marshal

func (m *Line) Marshal() (dAtA []byte, err error)

func (*Line) MarshalTo

func (m *Line) MarshalTo(dAtA []byte) (int, error)

func (*Line) ProtoMessage

func (*Line) ProtoMessage()

func (*Line) Reset

func (m *Line) Reset()

func (*Line) Size

func (m *Line) Size() (n int)

func (*Line) String

func (m *Line) String() string

func (*Line) Unmarshal

func (m *Line) Unmarshal(dAtA []byte) error

func (*Line) XXX_DiscardUnknown

func (m *Line) XXX_DiscardUnknown()

func (*Line) XXX_Marshal

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

func (*Line) XXX_Merge

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

func (*Line) XXX_Size

func (m *Line) XXX_Size() int

func (*Line) XXX_Unmarshal

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

type LocalMap

type LocalMap struct {
	MapPath string `protobuf:"bytes,1,opt,name=map_path,json=mapPath,proto3" json:"map_path,omitempty"`
	MapData []byte `protobuf:"bytes,7,opt,name=map_data,json=mapData,proto3" json:"map_data,omitempty"`
}

func (*LocalMap) Descriptor

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

func (*LocalMap) GetMapData

func (m *LocalMap) GetMapData() []byte

func (*LocalMap) GetMapPath

func (m *LocalMap) GetMapPath() string

func (*LocalMap) Marshal

func (m *LocalMap) Marshal() (dAtA []byte, err error)

func (*LocalMap) MarshalTo

func (m *LocalMap) MarshalTo(dAtA []byte) (int, error)

func (*LocalMap) ProtoMessage

func (*LocalMap) ProtoMessage()

func (*LocalMap) Reset

func (m *LocalMap) Reset()

func (*LocalMap) Size

func (m *LocalMap) Size() (n int)

func (*LocalMap) String

func (m *LocalMap) String() string

func (*LocalMap) Unmarshal

func (m *LocalMap) Unmarshal(dAtA []byte) error

func (*LocalMap) XXX_DiscardUnknown

func (m *LocalMap) XXX_DiscardUnknown()

func (*LocalMap) XXX_Marshal

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

func (*LocalMap) XXX_Merge

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

func (*LocalMap) XXX_Size

func (m *LocalMap) XXX_Size() int

func (*LocalMap) XXX_Unmarshal

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

type MapState

type MapState struct {
	Visibility *ImageData `protobuf:"bytes,1,opt,name=visibility" json:"visibility,omitempty"`
	Creep      *ImageData `protobuf:"bytes,2,opt,name=creep" json:"creep,omitempty"`
}

func (*MapState) Descriptor

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

func (*MapState) GetCreep

func (m *MapState) GetCreep() *ImageData

func (*MapState) GetVisibility

func (m *MapState) GetVisibility() *ImageData

func (*MapState) Marshal

func (m *MapState) Marshal() (dAtA []byte, err error)

func (*MapState) MarshalTo

func (m *MapState) MarshalTo(dAtA []byte) (int, error)

func (*MapState) ProtoMessage

func (*MapState) ProtoMessage()

func (*MapState) Reset

func (m *MapState) Reset()

func (*MapState) Size

func (m *MapState) Size() (n int)

func (*MapState) String

func (m *MapState) String() string

func (*MapState) Unmarshal

func (m *MapState) Unmarshal(dAtA []byte) error

func (*MapState) XXX_DiscardUnknown

func (m *MapState) XXX_DiscardUnknown()

func (*MapState) XXX_Marshal

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

func (*MapState) XXX_Merge

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

func (*MapState) XXX_Size

func (m *MapState) XXX_Size() int

func (*MapState) XXX_Unmarshal

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

type MultiPanel

type MultiPanel struct {
	Units []*UnitInfo `protobuf:"bytes,1,rep,name=units" json:"units,omitempty"`
}

func (*MultiPanel) Descriptor

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

func (*MultiPanel) GetUnits

func (m *MultiPanel) GetUnits() []*UnitInfo

func (*MultiPanel) Marshal

func (m *MultiPanel) Marshal() (dAtA []byte, err error)

func (*MultiPanel) MarshalTo

func (m *MultiPanel) MarshalTo(dAtA []byte) (int, error)

func (*MultiPanel) ProtoMessage

func (*MultiPanel) ProtoMessage()

func (*MultiPanel) Reset

func (m *MultiPanel) Reset()

func (*MultiPanel) Size

func (m *MultiPanel) Size() (n int)

func (*MultiPanel) String

func (m *MultiPanel) String() string

func (*MultiPanel) Unmarshal

func (m *MultiPanel) Unmarshal(dAtA []byte) error

func (*MultiPanel) XXX_DiscardUnknown

func (m *MultiPanel) XXX_DiscardUnknown()

func (*MultiPanel) XXX_Marshal

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

func (*MultiPanel) XXX_Merge

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

func (*MultiPanel) XXX_Size

func (m *MultiPanel) XXX_Size() int

func (*MultiPanel) XXX_Unmarshal

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

type Observation

type Observation struct {
	GameLoop         uint32                   `protobuf:"varint,9,opt,name=game_loop,json=gameLoop,proto3" json:"game_loop,omitempty"`
	PlayerCommon     *PlayerCommon            `protobuf:"bytes,1,opt,name=player_common,json=playerCommon" json:"player_common,omitempty"`
	Alerts           []Alert                  `protobuf:"varint,10,rep,packed,name=alerts,enum=SC2APIProtocol.Alert" json:"alerts,omitempty"`
	Abilities        []*AvailableAbility      `protobuf:"bytes,3,rep,name=abilities" json:"abilities,omitempty"`
	Score            *Score                   `protobuf:"bytes,4,opt,name=score" json:"score,omitempty"`
	RawData          *ObservationRaw          `protobuf:"bytes,5,opt,name=raw_data,json=rawData" json:"raw_data,omitempty"`
	FeatureLayerData *ObservationFeatureLayer `protobuf:"bytes,6,opt,name=feature_layer_data,json=featureLayerData" json:"feature_layer_data,omitempty"`
	RenderData       *ObservationRender       `protobuf:"bytes,7,opt,name=render_data,json=renderData" json:"render_data,omitempty"`
	UiData           *ObservationUI           `protobuf:"bytes,8,opt,name=ui_data,json=uiData" json:"ui_data,omitempty"`
}

func (*Observation) Descriptor

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

func (*Observation) GetAbilities

func (m *Observation) GetAbilities() []*AvailableAbility

func (*Observation) GetAlerts

func (m *Observation) GetAlerts() []Alert

func (*Observation) GetFeatureLayerData

func (m *Observation) GetFeatureLayerData() *ObservationFeatureLayer

func (*Observation) GetGameLoop

func (m *Observation) GetGameLoop() uint32

func (*Observation) GetPlayerCommon

func (m *Observation) GetPlayerCommon() *PlayerCommon

func (*Observation) GetRawData

func (m *Observation) GetRawData() *ObservationRaw

func (*Observation) GetRenderData

func (m *Observation) GetRenderData() *ObservationRender

func (*Observation) GetScore

func (m *Observation) GetScore() *Score

func (*Observation) GetUiData

func (m *Observation) GetUiData() *ObservationUI

func (*Observation) Marshal

func (m *Observation) Marshal() (dAtA []byte, err error)

func (*Observation) MarshalTo

func (m *Observation) MarshalTo(dAtA []byte) (int, error)

func (*Observation) ProtoMessage

func (*Observation) ProtoMessage()

func (*Observation) Reset

func (m *Observation) Reset()

func (*Observation) Size

func (m *Observation) Size() (n int)

func (*Observation) String

func (m *Observation) String() string

func (*Observation) Unmarshal

func (m *Observation) Unmarshal(dAtA []byte) error

func (*Observation) XXX_DiscardUnknown

func (m *Observation) XXX_DiscardUnknown()

func (*Observation) XXX_Marshal

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

func (*Observation) XXX_Merge

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

func (*Observation) XXX_Size

func (m *Observation) XXX_Size() int

func (*Observation) XXX_Unmarshal

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

type ObservationFeatureLayer

type ObservationFeatureLayer struct {
	Renders        *FeatureLayers        `protobuf:"bytes,1,opt,name=renders" json:"renders,omitempty"`
	MinimapRenders *FeatureLayersMinimap `protobuf:"bytes,2,opt,name=minimap_renders,json=minimapRenders" json:"minimap_renders,omitempty"`
}

func (*ObservationFeatureLayer) Descriptor

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

func (*ObservationFeatureLayer) GetMinimapRenders

func (m *ObservationFeatureLayer) GetMinimapRenders() *FeatureLayersMinimap

func (*ObservationFeatureLayer) GetRenders

func (m *ObservationFeatureLayer) GetRenders() *FeatureLayers

func (*ObservationFeatureLayer) Marshal

func (m *ObservationFeatureLayer) Marshal() (dAtA []byte, err error)

func (*ObservationFeatureLayer) MarshalTo

func (m *ObservationFeatureLayer) MarshalTo(dAtA []byte) (int, error)

func (*ObservationFeatureLayer) ProtoMessage

func (*ObservationFeatureLayer) ProtoMessage()

func (*ObservationFeatureLayer) Reset

func (m *ObservationFeatureLayer) Reset()

func (*ObservationFeatureLayer) Size

func (m *ObservationFeatureLayer) Size() (n int)

func (*ObservationFeatureLayer) String

func (m *ObservationFeatureLayer) String() string

func (*ObservationFeatureLayer) Unmarshal

func (m *ObservationFeatureLayer) Unmarshal(dAtA []byte) error

func (*ObservationFeatureLayer) XXX_DiscardUnknown

func (m *ObservationFeatureLayer) XXX_DiscardUnknown()

func (*ObservationFeatureLayer) XXX_Marshal

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

func (*ObservationFeatureLayer) XXX_Merge

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

func (*ObservationFeatureLayer) XXX_Size

func (m *ObservationFeatureLayer) XXX_Size() int

func (*ObservationFeatureLayer) XXX_Unmarshal

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

type ObservationRaw

type ObservationRaw struct {
	Player   *PlayerRaw   `protobuf:"bytes,1,opt,name=player" json:"player,omitempty"`
	Units    []*Unit      `protobuf:"bytes,2,rep,name=units" json:"units,omitempty"`
	MapState *MapState    `protobuf:"bytes,3,opt,name=map_state,json=mapState" json:"map_state,omitempty"`
	Event    *Event       `protobuf:"bytes,4,opt,name=event" json:"event,omitempty"`
	Effects  []*Effect    `protobuf:"bytes,5,rep,name=effects" json:"effects,omitempty"`
	Radar    []*RadarRing `protobuf:"bytes,6,rep,name=radar" json:"radar,omitempty"`
}

func (*ObservationRaw) Descriptor

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

func (*ObservationRaw) GetEffects

func (m *ObservationRaw) GetEffects() []*Effect

func (*ObservationRaw) GetEvent

func (m *ObservationRaw) GetEvent() *Event

func (*ObservationRaw) GetMapState

func (m *ObservationRaw) GetMapState() *MapState

func (*ObservationRaw) GetPlayer

func (m *ObservationRaw) GetPlayer() *PlayerRaw

func (*ObservationRaw) GetRadar

func (m *ObservationRaw) GetRadar() []*RadarRing

func (*ObservationRaw) GetUnits

func (m *ObservationRaw) GetUnits() []*Unit

func (*ObservationRaw) Marshal

func (m *ObservationRaw) Marshal() (dAtA []byte, err error)

func (*ObservationRaw) MarshalTo

func (m *ObservationRaw) MarshalTo(dAtA []byte) (int, error)

func (*ObservationRaw) ProtoMessage

func (*ObservationRaw) ProtoMessage()

func (*ObservationRaw) Reset

func (m *ObservationRaw) Reset()

func (*ObservationRaw) Size

func (m *ObservationRaw) Size() (n int)

func (*ObservationRaw) String

func (m *ObservationRaw) String() string

func (*ObservationRaw) Unmarshal

func (m *ObservationRaw) Unmarshal(dAtA []byte) error

func (*ObservationRaw) XXX_DiscardUnknown

func (m *ObservationRaw) XXX_DiscardUnknown()

func (*ObservationRaw) XXX_Marshal

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

func (*ObservationRaw) XXX_Merge

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

func (*ObservationRaw) XXX_Size

func (m *ObservationRaw) XXX_Size() int

func (*ObservationRaw) XXX_Unmarshal

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

type ObservationRender

type ObservationRender struct {
	Map     *ImageData `protobuf:"bytes,1,opt,name=map" json:"map,omitempty"`
	Minimap *ImageData `protobuf:"bytes,2,opt,name=minimap" json:"minimap,omitempty"`
}

func (*ObservationRender) Descriptor

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

func (*ObservationRender) GetMap

func (m *ObservationRender) GetMap() *ImageData

func (*ObservationRender) GetMinimap

func (m *ObservationRender) GetMinimap() *ImageData

func (*ObservationRender) Marshal

func (m *ObservationRender) Marshal() (dAtA []byte, err error)

func (*ObservationRender) MarshalTo

func (m *ObservationRender) MarshalTo(dAtA []byte) (int, error)

func (*ObservationRender) ProtoMessage

func (*ObservationRender) ProtoMessage()

func (*ObservationRender) Reset

func (m *ObservationRender) Reset()

func (*ObservationRender) Size

func (m *ObservationRender) Size() (n int)

func (*ObservationRender) String

func (m *ObservationRender) String() string

func (*ObservationRender) Unmarshal

func (m *ObservationRender) Unmarshal(dAtA []byte) error

func (*ObservationRender) XXX_DiscardUnknown

func (m *ObservationRender) XXX_DiscardUnknown()

func (*ObservationRender) XXX_Marshal

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

func (*ObservationRender) XXX_Merge

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

func (*ObservationRender) XXX_Size

func (m *ObservationRender) XXX_Size() int

func (*ObservationRender) XXX_Unmarshal

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

type ObservationUI

type ObservationUI struct {
	Groups []*ControlGroup `protobuf:"bytes,1,rep,name=groups" json:"groups,omitempty"`
	// Types that are valid to be assigned to Panel:
	//	*ObservationUI_Single
	//	*ObservationUI_Multi
	//	*ObservationUI_Cargo
	//	*ObservationUI_Production
	Panel isObservationUI_Panel `protobuf_oneof:"panel"`
}

func (*ObservationUI) Descriptor

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

func (*ObservationUI) GetCargo

func (m *ObservationUI) GetCargo() *CargoPanel

func (*ObservationUI) GetGroups

func (m *ObservationUI) GetGroups() []*ControlGroup

func (*ObservationUI) GetMulti

func (m *ObservationUI) GetMulti() *MultiPanel

func (*ObservationUI) GetPanel

func (m *ObservationUI) GetPanel() isObservationUI_Panel

func (*ObservationUI) GetProduction

func (m *ObservationUI) GetProduction() *ProductionPanel

func (*ObservationUI) GetSingle

func (m *ObservationUI) GetSingle() *SinglePanel

func (*ObservationUI) Marshal

func (m *ObservationUI) Marshal() (dAtA []byte, err error)

func (*ObservationUI) MarshalTo

func (m *ObservationUI) MarshalTo(dAtA []byte) (int, error)

func (*ObservationUI) ProtoMessage

func (*ObservationUI) ProtoMessage()

func (*ObservationUI) Reset

func (m *ObservationUI) Reset()

func (*ObservationUI) Size

func (m *ObservationUI) Size() (n int)

func (*ObservationUI) String

func (m *ObservationUI) String() string

func (*ObservationUI) Unmarshal

func (m *ObservationUI) Unmarshal(dAtA []byte) error

func (*ObservationUI) XXX_DiscardUnknown

func (m *ObservationUI) XXX_DiscardUnknown()

func (*ObservationUI) XXX_Marshal

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

func (*ObservationUI) XXX_Merge

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

func (*ObservationUI) XXX_OneofFuncs

func (*ObservationUI) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ObservationUI) XXX_Size

func (m *ObservationUI) XXX_Size() int

func (*ObservationUI) XXX_Unmarshal

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

type ObservationUI_Cargo

type ObservationUI_Cargo struct {
	Cargo *CargoPanel `protobuf:"bytes,4,opt,name=cargo,oneof"`
}

func (*ObservationUI_Cargo) MarshalTo

func (m *ObservationUI_Cargo) MarshalTo(dAtA []byte) (int, error)

func (*ObservationUI_Cargo) Size

func (m *ObservationUI_Cargo) Size() (n int)

type ObservationUI_Multi

type ObservationUI_Multi struct {
	Multi *MultiPanel `protobuf:"bytes,3,opt,name=multi,oneof"`
}

func (*ObservationUI_Multi) MarshalTo

func (m *ObservationUI_Multi) MarshalTo(dAtA []byte) (int, error)

func (*ObservationUI_Multi) Size

func (m *ObservationUI_Multi) Size() (n int)

type ObservationUI_Production

type ObservationUI_Production struct {
	Production *ProductionPanel `protobuf:"bytes,5,opt,name=production,oneof"`
}

func (*ObservationUI_Production) MarshalTo

func (m *ObservationUI_Production) MarshalTo(dAtA []byte) (int, error)

func (*ObservationUI_Production) Size

func (m *ObservationUI_Production) Size() (n int)

type ObservationUI_Single

type ObservationUI_Single struct {
	Single *SinglePanel `protobuf:"bytes,2,opt,name=single,oneof"`
}

func (*ObservationUI_Single) MarshalTo

func (m *ObservationUI_Single) MarshalTo(dAtA []byte) (int, error)

func (*ObservationUI_Single) Size

func (m *ObservationUI_Single) Size() (n int)

type ObserverAction

type ObserverAction struct {
	// Types that are valid to be assigned to Action:
	//	*ObserverAction_PlayerPerspective
	//	*ObserverAction_CameraMove
	//	*ObserverAction_CameraFollowPlayer
	//	*ObserverAction_CameraFollowUnits
	Action isObserverAction_Action `protobuf_oneof:"action"`
}

func (*ObserverAction) Descriptor

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

func (*ObserverAction) GetAction

func (m *ObserverAction) GetAction() isObserverAction_Action

func (*ObserverAction) GetCameraFollowPlayer

func (m *ObserverAction) GetCameraFollowPlayer() *ActionObserverCameraFollowPlayer

func (*ObserverAction) GetCameraFollowUnits

func (m *ObserverAction) GetCameraFollowUnits() *ActionObserverCameraFollowUnits

func (*ObserverAction) GetCameraMove

func (m *ObserverAction) GetCameraMove() *ActionObserverCameraMove

func (*ObserverAction) GetPlayerPerspective

func (m *ObserverAction) GetPlayerPerspective() *ActionObserverPlayerPerspective

func (*ObserverAction) Marshal

func (m *ObserverAction) Marshal() (dAtA []byte, err error)

func (*ObserverAction) MarshalTo

func (m *ObserverAction) MarshalTo(dAtA []byte) (int, error)

func (*ObserverAction) ProtoMessage

func (*ObserverAction) ProtoMessage()

func (*ObserverAction) Reset

func (m *ObserverAction) Reset()

func (*ObserverAction) Size

func (m *ObserverAction) Size() (n int)

func (*ObserverAction) String

func (m *ObserverAction) String() string

func (*ObserverAction) Unmarshal

func (m *ObserverAction) Unmarshal(dAtA []byte) error

func (*ObserverAction) XXX_DiscardUnknown

func (m *ObserverAction) XXX_DiscardUnknown()

func (*ObserverAction) XXX_Marshal

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

func (*ObserverAction) XXX_Merge

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

func (*ObserverAction) XXX_OneofFuncs

func (*ObserverAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*ObserverAction) XXX_Size

func (m *ObserverAction) XXX_Size() int

func (*ObserverAction) XXX_Unmarshal

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

type ObserverAction_CameraFollowPlayer

type ObserverAction_CameraFollowPlayer struct {
	CameraFollowPlayer *ActionObserverCameraFollowPlayer `protobuf:"bytes,3,opt,name=camera_follow_player,json=cameraFollowPlayer,oneof"`
}

func (*ObserverAction_CameraFollowPlayer) MarshalTo

func (m *ObserverAction_CameraFollowPlayer) MarshalTo(dAtA []byte) (int, error)

func (*ObserverAction_CameraFollowPlayer) Size

func (m *ObserverAction_CameraFollowPlayer) Size() (n int)

type ObserverAction_CameraFollowUnits

type ObserverAction_CameraFollowUnits struct {
	CameraFollowUnits *ActionObserverCameraFollowUnits `protobuf:"bytes,4,opt,name=camera_follow_units,json=cameraFollowUnits,oneof"`
}

func (*ObserverAction_CameraFollowUnits) MarshalTo

func (m *ObserverAction_CameraFollowUnits) MarshalTo(dAtA []byte) (int, error)

func (*ObserverAction_CameraFollowUnits) Size

func (m *ObserverAction_CameraFollowUnits) Size() (n int)

type ObserverAction_CameraMove

type ObserverAction_CameraMove struct {
	CameraMove *ActionObserverCameraMove `protobuf:"bytes,2,opt,name=camera_move,json=cameraMove,oneof"`
}

func (*ObserverAction_CameraMove) MarshalTo

func (m *ObserverAction_CameraMove) MarshalTo(dAtA []byte) (int, error)

func (*ObserverAction_CameraMove) Size

func (m *ObserverAction_CameraMove) Size() (n int)

type ObserverAction_PlayerPerspective

type ObserverAction_PlayerPerspective struct {
	PlayerPerspective *ActionObserverPlayerPerspective `protobuf:"bytes,1,opt,name=player_perspective,json=playerPerspective,oneof"`
}

func (*ObserverAction_PlayerPerspective) MarshalTo

func (m *ObserverAction_PlayerPerspective) MarshalTo(dAtA []byte) (int, error)

func (*ObserverAction_PlayerPerspective) Size

func (m *ObserverAction_PlayerPerspective) Size() (n int)

type PassengerUnit

type PassengerUnit struct {
	Tag       UnitTag    `protobuf:"varint,1,opt,name=tag,proto3,casttype=UnitTag" json:"tag,omitempty"`
	Health    float32    `protobuf:"fixed32,2,opt,name=health,proto3" json:"health,omitempty"`
	HealthMax float32    `protobuf:"fixed32,3,opt,name=health_max,json=healthMax,proto3" json:"health_max,omitempty"`
	Shield    float32    `protobuf:"fixed32,4,opt,name=shield,proto3" json:"shield,omitempty"`
	ShieldMax float32    `protobuf:"fixed32,7,opt,name=shield_max,json=shieldMax,proto3" json:"shield_max,omitempty"`
	Energy    float32    `protobuf:"fixed32,5,opt,name=energy,proto3" json:"energy,omitempty"`
	EnergyMax float32    `protobuf:"fixed32,8,opt,name=energy_max,json=energyMax,proto3" json:"energy_max,omitempty"`
	UnitType  UnitTypeID `protobuf:"varint,6,opt,name=unit_type,json=unitType,proto3,casttype=UnitTypeID" json:"unit_type,omitempty"`
}

func (*PassengerUnit) Descriptor

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

func (*PassengerUnit) GetEnergy

func (m *PassengerUnit) GetEnergy() float32

func (*PassengerUnit) GetEnergyMax

func (m *PassengerUnit) GetEnergyMax() float32

func (*PassengerUnit) GetHealth

func (m *PassengerUnit) GetHealth() float32

func (*PassengerUnit) GetHealthMax

func (m *PassengerUnit) GetHealthMax() float32

func (*PassengerUnit) GetShield

func (m *PassengerUnit) GetShield() float32

func (*PassengerUnit) GetShieldMax

func (m *PassengerUnit) GetShieldMax() float32

func (*PassengerUnit) GetTag

func (m *PassengerUnit) GetTag() UnitTag

func (*PassengerUnit) GetUnitType

func (m *PassengerUnit) GetUnitType() UnitTypeID

func (*PassengerUnit) Marshal

func (m *PassengerUnit) Marshal() (dAtA []byte, err error)

func (*PassengerUnit) MarshalTo

func (m *PassengerUnit) MarshalTo(dAtA []byte) (int, error)

func (*PassengerUnit) ProtoMessage

func (*PassengerUnit) ProtoMessage()

func (*PassengerUnit) Reset

func (m *PassengerUnit) Reset()

func (*PassengerUnit) Size

func (m *PassengerUnit) Size() (n int)

func (*PassengerUnit) String

func (m *PassengerUnit) String() string

func (*PassengerUnit) Unmarshal

func (m *PassengerUnit) Unmarshal(dAtA []byte) error

func (*PassengerUnit) XXX_DiscardUnknown

func (m *PassengerUnit) XXX_DiscardUnknown()

func (*PassengerUnit) XXX_Marshal

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

func (*PassengerUnit) XXX_Merge

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

func (*PassengerUnit) XXX_Size

func (m *PassengerUnit) XXX_Size() int

func (*PassengerUnit) XXX_Unmarshal

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

type PlayerCommon

type PlayerCommon struct {
	PlayerId        PlayerID `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3,casttype=PlayerID" json:"player_id,omitempty"`
	Minerals        uint32   `protobuf:"varint,2,opt,name=minerals,proto3" json:"minerals,omitempty"`
	Vespene         uint32   `protobuf:"varint,3,opt,name=vespene,proto3" json:"vespene,omitempty"`
	FoodCap         uint32   `protobuf:"varint,4,opt,name=food_cap,json=foodCap,proto3" json:"food_cap,omitempty"`
	FoodUsed        uint32   `protobuf:"varint,5,opt,name=food_used,json=foodUsed,proto3" json:"food_used,omitempty"`
	FoodArmy        uint32   `protobuf:"varint,6,opt,name=food_army,json=foodArmy,proto3" json:"food_army,omitempty"`
	FoodWorkers     uint32   `protobuf:"varint,7,opt,name=food_workers,json=foodWorkers,proto3" json:"food_workers,omitempty"`
	IdleWorkerCount uint32   `protobuf:"varint,8,opt,name=idle_worker_count,json=idleWorkerCount,proto3" json:"idle_worker_count,omitempty"`
	ArmyCount       uint32   `protobuf:"varint,9,opt,name=army_count,json=armyCount,proto3" json:"army_count,omitempty"`
	WarpGateCount   uint32   `protobuf:"varint,10,opt,name=warp_gate_count,json=warpGateCount,proto3" json:"warp_gate_count,omitempty"`
	LarvaCount      uint32   `protobuf:"varint,11,opt,name=larva_count,json=larvaCount,proto3" json:"larva_count,omitempty"`
}

func (*PlayerCommon) Descriptor

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

func (*PlayerCommon) GetArmyCount

func (m *PlayerCommon) GetArmyCount() uint32

func (*PlayerCommon) GetFoodArmy

func (m *PlayerCommon) GetFoodArmy() uint32

func (*PlayerCommon) GetFoodCap

func (m *PlayerCommon) GetFoodCap() uint32

func (*PlayerCommon) GetFoodUsed

func (m *PlayerCommon) GetFoodUsed() uint32

func (*PlayerCommon) GetFoodWorkers

func (m *PlayerCommon) GetFoodWorkers() uint32

func (*PlayerCommon) GetIdleWorkerCount

func (m *PlayerCommon) GetIdleWorkerCount() uint32

func (*PlayerCommon) GetLarvaCount

func (m *PlayerCommon) GetLarvaCount() uint32

func (*PlayerCommon) GetMinerals

func (m *PlayerCommon) GetMinerals() uint32

func (*PlayerCommon) GetPlayerId

func (m *PlayerCommon) GetPlayerId() PlayerID

func (*PlayerCommon) GetVespene

func (m *PlayerCommon) GetVespene() uint32

func (*PlayerCommon) GetWarpGateCount

func (m *PlayerCommon) GetWarpGateCount() uint32

func (*PlayerCommon) Marshal

func (m *PlayerCommon) Marshal() (dAtA []byte, err error)

func (*PlayerCommon) MarshalTo

func (m *PlayerCommon) MarshalTo(dAtA []byte) (int, error)

func (*PlayerCommon) ProtoMessage

func (*PlayerCommon) ProtoMessage()

func (*PlayerCommon) Reset

func (m *PlayerCommon) Reset()

func (*PlayerCommon) Size

func (m *PlayerCommon) Size() (n int)

func (*PlayerCommon) String

func (m *PlayerCommon) String() string

func (*PlayerCommon) Unmarshal

func (m *PlayerCommon) Unmarshal(dAtA []byte) error

func (*PlayerCommon) XXX_DiscardUnknown

func (m *PlayerCommon) XXX_DiscardUnknown()

func (*PlayerCommon) XXX_Marshal

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

func (*PlayerCommon) XXX_Merge

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

func (*PlayerCommon) XXX_Size

func (m *PlayerCommon) XXX_Size() int

func (*PlayerCommon) XXX_Unmarshal

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

type PlayerID

type PlayerID uint32

PlayerID ...

type PlayerInfo

type PlayerInfo struct {
	PlayerId      PlayerID   `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3,casttype=PlayerID" json:"player_id,omitempty"`
	Type          PlayerType `protobuf:"varint,2,opt,name=type,proto3,enum=SC2APIProtocol.PlayerType" json:"type,omitempty"`
	RaceRequested Race       `` /* 126-byte string literal not displayed */
	RaceActual    Race       `protobuf:"varint,4,opt,name=race_actual,json=raceActual,proto3,enum=SC2APIProtocol.Race" json:"race_actual,omitempty"`
	Difficulty    Difficulty `protobuf:"varint,5,opt,name=difficulty,proto3,enum=SC2APIProtocol.Difficulty" json:"difficulty,omitempty"`
	AiBuild       AIBuild    `protobuf:"varint,7,opt,name=ai_build,json=aiBuild,proto3,enum=SC2APIProtocol.AIBuild" json:"ai_build,omitempty"`
	PlayerName    string     `protobuf:"bytes,6,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"`
}

func (*PlayerInfo) Descriptor

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

func (*PlayerInfo) GetAiBuild

func (m *PlayerInfo) GetAiBuild() AIBuild

func (*PlayerInfo) GetDifficulty

func (m *PlayerInfo) GetDifficulty() Difficulty

func (*PlayerInfo) GetPlayerId

func (m *PlayerInfo) GetPlayerId() PlayerID

func (*PlayerInfo) GetPlayerName

func (m *PlayerInfo) GetPlayerName() string

func (*PlayerInfo) GetRaceActual

func (m *PlayerInfo) GetRaceActual() Race

func (*PlayerInfo) GetRaceRequested

func (m *PlayerInfo) GetRaceRequested() Race

func (*PlayerInfo) GetType

func (m *PlayerInfo) GetType() PlayerType

func (*PlayerInfo) Marshal

func (m *PlayerInfo) Marshal() (dAtA []byte, err error)

func (*PlayerInfo) MarshalTo

func (m *PlayerInfo) MarshalTo(dAtA []byte) (int, error)

func (*PlayerInfo) ProtoMessage

func (*PlayerInfo) ProtoMessage()

func (*PlayerInfo) Reset

func (m *PlayerInfo) Reset()

func (*PlayerInfo) Size

func (m *PlayerInfo) Size() (n int)

func (*PlayerInfo) String

func (m *PlayerInfo) String() string

func (*PlayerInfo) Unmarshal

func (m *PlayerInfo) Unmarshal(dAtA []byte) error

func (*PlayerInfo) XXX_DiscardUnknown

func (m *PlayerInfo) XXX_DiscardUnknown()

func (*PlayerInfo) XXX_Marshal

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

func (*PlayerInfo) XXX_Merge

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

func (*PlayerInfo) XXX_Size

func (m *PlayerInfo) XXX_Size() int

func (*PlayerInfo) XXX_Unmarshal

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

type PlayerInfoExtra

type PlayerInfoExtra struct {
	PlayerInfo   *PlayerInfo   `protobuf:"bytes,1,opt,name=player_info,json=playerInfo" json:"player_info,omitempty"`
	PlayerResult *PlayerResult `protobuf:"bytes,2,opt,name=player_result,json=playerResult" json:"player_result,omitempty"`
	PlayerMmr    int32         `protobuf:"varint,3,opt,name=player_mmr,json=playerMmr,proto3" json:"player_mmr,omitempty"`
	PlayerApm    int32         `protobuf:"varint,4,opt,name=player_apm,json=playerApm,proto3" json:"player_apm,omitempty"`
}

func (*PlayerInfoExtra) Descriptor

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

func (*PlayerInfoExtra) GetPlayerApm

func (m *PlayerInfoExtra) GetPlayerApm() int32

func (*PlayerInfoExtra) GetPlayerInfo

func (m *PlayerInfoExtra) GetPlayerInfo() *PlayerInfo

func (*PlayerInfoExtra) GetPlayerMmr

func (m *PlayerInfoExtra) GetPlayerMmr() int32

func (*PlayerInfoExtra) GetPlayerResult

func (m *PlayerInfoExtra) GetPlayerResult() *PlayerResult

func (*PlayerInfoExtra) Marshal

func (m *PlayerInfoExtra) Marshal() (dAtA []byte, err error)

func (*PlayerInfoExtra) MarshalTo

func (m *PlayerInfoExtra) MarshalTo(dAtA []byte) (int, error)

func (*PlayerInfoExtra) ProtoMessage

func (*PlayerInfoExtra) ProtoMessage()

func (*PlayerInfoExtra) Reset

func (m *PlayerInfoExtra) Reset()

func (*PlayerInfoExtra) Size

func (m *PlayerInfoExtra) Size() (n int)

func (*PlayerInfoExtra) String

func (m *PlayerInfoExtra) String() string

func (*PlayerInfoExtra) Unmarshal

func (m *PlayerInfoExtra) Unmarshal(dAtA []byte) error

func (*PlayerInfoExtra) XXX_DiscardUnknown

func (m *PlayerInfoExtra) XXX_DiscardUnknown()

func (*PlayerInfoExtra) XXX_Marshal

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

func (*PlayerInfoExtra) XXX_Merge

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

func (*PlayerInfoExtra) XXX_Size

func (m *PlayerInfoExtra) XXX_Size() int

func (*PlayerInfoExtra) XXX_Unmarshal

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

type PlayerRaw

type PlayerRaw struct {
	PowerSources []*PowerSource `protobuf:"bytes,1,rep,name=power_sources,json=powerSources" json:"power_sources,omitempty"`
	Camera       *Point         `protobuf:"bytes,2,opt,name=camera" json:"camera,omitempty"`
	UpgradeIds   []UpgradeID    `protobuf:"varint,3,rep,packed,name=upgrade_ids,json=upgradeIds,casttype=UpgradeID" json:"upgrade_ids,omitempty"`
}

func (*PlayerRaw) Descriptor

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

func (*PlayerRaw) GetCamera

func (m *PlayerRaw) GetCamera() *Point

func (*PlayerRaw) GetPowerSources

func (m *PlayerRaw) GetPowerSources() []*PowerSource

func (*PlayerRaw) GetUpgradeIds

func (m *PlayerRaw) GetUpgradeIds() []UpgradeID

func (*PlayerRaw) Marshal

func (m *PlayerRaw) Marshal() (dAtA []byte, err error)

func (*PlayerRaw) MarshalTo

func (m *PlayerRaw) MarshalTo(dAtA []byte) (int, error)

func (*PlayerRaw) ProtoMessage

func (*PlayerRaw) ProtoMessage()

func (*PlayerRaw) Reset

func (m *PlayerRaw) Reset()

func (*PlayerRaw) Size

func (m *PlayerRaw) Size() (n int)

func (*PlayerRaw) String

func (m *PlayerRaw) String() string

func (*PlayerRaw) Unmarshal

func (m *PlayerRaw) Unmarshal(dAtA []byte) error

func (*PlayerRaw) XXX_DiscardUnknown

func (m *PlayerRaw) XXX_DiscardUnknown()

func (*PlayerRaw) XXX_Marshal

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

func (*PlayerRaw) XXX_Merge

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

func (*PlayerRaw) XXX_Size

func (m *PlayerRaw) XXX_Size() int

func (*PlayerRaw) XXX_Unmarshal

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

type PlayerResult

type PlayerResult struct {
	PlayerId PlayerID `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3,casttype=PlayerID" json:"player_id,omitempty"`
	Result   Result   `protobuf:"varint,2,opt,name=result,proto3,enum=SC2APIProtocol.Result" json:"result,omitempty"`
}

func (*PlayerResult) Descriptor

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

func (*PlayerResult) GetPlayerId

func (m *PlayerResult) GetPlayerId() PlayerID

func (*PlayerResult) GetResult

func (m *PlayerResult) GetResult() Result

func (*PlayerResult) Marshal

func (m *PlayerResult) Marshal() (dAtA []byte, err error)

func (*PlayerResult) MarshalTo

func (m *PlayerResult) MarshalTo(dAtA []byte) (int, error)

func (*PlayerResult) ProtoMessage

func (*PlayerResult) ProtoMessage()

func (*PlayerResult) Reset

func (m *PlayerResult) Reset()

func (*PlayerResult) Size

func (m *PlayerResult) Size() (n int)

func (*PlayerResult) String

func (m *PlayerResult) String() string

func (*PlayerResult) Unmarshal

func (m *PlayerResult) Unmarshal(dAtA []byte) error

func (*PlayerResult) XXX_DiscardUnknown

func (m *PlayerResult) XXX_DiscardUnknown()

func (*PlayerResult) XXX_Marshal

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

func (*PlayerResult) XXX_Merge

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

func (*PlayerResult) XXX_Size

func (m *PlayerResult) XXX_Size() int

func (*PlayerResult) XXX_Unmarshal

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

type PlayerSetup

type PlayerSetup struct {
	Type       PlayerType `protobuf:"varint,1,opt,name=type,proto3,enum=SC2APIProtocol.PlayerType" json:"type,omitempty"`
	Race       Race       `protobuf:"varint,2,opt,name=race,proto3,enum=SC2APIProtocol.Race" json:"race,omitempty"`
	Difficulty Difficulty `protobuf:"varint,3,opt,name=difficulty,proto3,enum=SC2APIProtocol.Difficulty" json:"difficulty,omitempty"`
	PlayerName string     `protobuf:"bytes,4,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"`
	AiBuild    AIBuild    `protobuf:"varint,5,opt,name=ai_build,json=aiBuild,proto3,enum=SC2APIProtocol.AIBuild" json:"ai_build,omitempty"`
}

func (*PlayerSetup) Descriptor

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

func (*PlayerSetup) GetAiBuild

func (m *PlayerSetup) GetAiBuild() AIBuild

func (*PlayerSetup) GetDifficulty

func (m *PlayerSetup) GetDifficulty() Difficulty

func (*PlayerSetup) GetPlayerName

func (m *PlayerSetup) GetPlayerName() string

func (*PlayerSetup) GetRace

func (m *PlayerSetup) GetRace() Race

func (*PlayerSetup) GetType

func (m *PlayerSetup) GetType() PlayerType

func (*PlayerSetup) Marshal

func (m *PlayerSetup) Marshal() (dAtA []byte, err error)

func (*PlayerSetup) MarshalTo

func (m *PlayerSetup) MarshalTo(dAtA []byte) (int, error)

func (*PlayerSetup) ProtoMessage

func (*PlayerSetup) ProtoMessage()

func (*PlayerSetup) Reset

func (m *PlayerSetup) Reset()

func (*PlayerSetup) Size

func (m *PlayerSetup) Size() (n int)

func (*PlayerSetup) String

func (m *PlayerSetup) String() string

func (*PlayerSetup) Unmarshal

func (m *PlayerSetup) Unmarshal(dAtA []byte) error

func (*PlayerSetup) XXX_DiscardUnknown

func (m *PlayerSetup) XXX_DiscardUnknown()

func (*PlayerSetup) XXX_Marshal

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

func (*PlayerSetup) XXX_Merge

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

func (*PlayerSetup) XXX_Size

func (m *PlayerSetup) XXX_Size() int

func (*PlayerSetup) XXX_Unmarshal

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

type PlayerType

type PlayerType int32
const (
	PlayerType_nil         PlayerType = 0
	PlayerType_Participant PlayerType = 1
	PlayerType_Computer    PlayerType = 2
	PlayerType_Observer    PlayerType = 3
)

func (PlayerType) EnumDescriptor

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

func (PlayerType) String

func (x PlayerType) String() string

type Point

type Point struct {
	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
	Z float32 `protobuf:"fixed32,3,opt,name=z,proto3" json:"z,omitempty"`
}

Point on the game board, 0..255. Note: bottom left of the screen is 0, 0.

func (Point) Add

func (p Point) Add(v Vec) Point

Add returns the point at the end of v when starting from p.

func (*Point) Descriptor

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

func (Point) DirTo

func (p Point) DirTo(p2 Point) Vec

DirTo computes the unit vector pointing from p -> p2.

func (Point) Distance

func (p Point) Distance(p2 Point) float32

Distance computes the absolute distance between two points.

func (Point) Distance2

func (p Point) Distance2(p2 Point) float32

Distance2 computes the squared distance between two points.

func (*Point) GetX

func (m *Point) GetX() float32

func (*Point) GetY

func (m *Point) GetY() float32

func (*Point) GetZ

func (m *Point) GetZ() float32

func (*Point) Marshal

func (m *Point) Marshal() (dAtA []byte, err error)

func (*Point) MarshalTo

func (m *Point) MarshalTo(dAtA []byte) (int, error)

func (Point) Offset

func (p Point) Offset(toward Point, by float32) Point

Offset moves a point toward a target by the specified distance.

func (*Point) ProtoMessage

func (*Point) ProtoMessage()

func (*Point) Reset

func (m *Point) Reset()

func (*Point) Size

func (m *Point) Size() (n int)

func (*Point) String

func (m *Point) String() string

func (Point) ToPoint2D

func (p Point) ToPoint2D() Point2D

ToPoint2D converts to a Point2D by dropping Z.

func (Point) ToPointI

func (p Point) ToPointI() PointI

ToPointI converts to a PointI by truncating X/Y and dropping Z.

func (*Point) Unmarshal

func (m *Point) Unmarshal(dAtA []byte) error

func (Point) VecTo

func (p Point) VecTo(p2 Point) Vec

VecTo computes the vector from p -> p2.

func (*Point) XXX_DiscardUnknown

func (m *Point) XXX_DiscardUnknown()

func (*Point) XXX_Marshal

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

func (*Point) XXX_Merge

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

func (*Point) XXX_Size

func (m *Point) XXX_Size() int

func (*Point) XXX_Unmarshal

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

type Point2D

type Point2D struct {
	X float32 `protobuf:"fixed32,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float32 `protobuf:"fixed32,2,opt,name=y,proto3" json:"y,omitempty"`
}

Point on the game board, 0..255. Note: bottom left of the screen is 0, 0.

func (Point2D) Add

func (p Point2D) Add(v Vec2D) Point2D

Add returns the point at the end of v when starting from p.

func (*Point2D) Descriptor

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

func (Point2D) DirTo

func (p Point2D) DirTo(p2 Point2D) Vec2D

DirTo computes the unit vector pointing from p -> p2.

func (Point2D) Distance

func (p Point2D) Distance(p2 Point2D) float32

Distance computes the absolute distance between two points.

func (Point2D) Distance2

func (p Point2D) Distance2(p2 Point2D) float32

Distance2 computes the squared distance between two points.

func (*Point2D) GetX

func (m *Point2D) GetX() float32

func (*Point2D) GetY

func (m *Point2D) GetY() float32

func (Point2D) Manhattan

func (p Point2D) Manhattan(p2 Point2D) float32

Manhattan computes the manhattan distance between two points.

func (*Point2D) Marshal

func (m *Point2D) Marshal() (dAtA []byte, err error)

func (*Point2D) MarshalTo

func (m *Point2D) MarshalTo(dAtA []byte) (int, error)

func (Point2D) Offset

func (p Point2D) Offset(toward Point2D, by float32) Point2D

Offset moves a point toward a target by the specified distance.

func (Point2D) Offset4By

func (p Point2D) Offset4By(by float32) [4]Point2D

Offset4By returns the Von Neumann neighborhood (or 4-neighborhood) of p.

func (Point2D) Offset8By

func (p Point2D) Offset8By(by float32) [8]Point2D

Offset8By returns the Moore neighborhood (or 8-neighborhood) of p.

func (*Point2D) ProtoMessage

func (*Point2D) ProtoMessage()

func (*Point2D) Reset

func (m *Point2D) Reset()

func (*Point2D) Size

func (m *Point2D) Size() (n int)

func (*Point2D) String

func (m *Point2D) String() string

func (Point2D) ToPoint

func (p Point2D) ToPoint() Point

ToPoint converts to a Point by truncating X/Y and setting Z to zero.

func (Point2D) ToPointI

func (p Point2D) ToPointI() PointI

ToPointI converts to a PointI by truncating X/Y.

func (*Point2D) Unmarshal

func (m *Point2D) Unmarshal(dAtA []byte) error

func (Point2D) VecTo

func (p Point2D) VecTo(p2 Point2D) Vec2D

VecTo computes the vector from p -> p2.

func (*Point2D) XXX_DiscardUnknown

func (m *Point2D) XXX_DiscardUnknown()

func (*Point2D) XXX_Marshal

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

func (*Point2D) XXX_Merge

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

func (*Point2D) XXX_Size

func (m *Point2D) XXX_Size() int

func (*Point2D) XXX_Unmarshal

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

type PointI

type PointI struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
}

Point on the screen/minimap (e.g., 0..64). Note: bottom left of the screen is 0, 0.

func (PointI) Add

func (p PointI) Add(v VecI) PointI

Add returns the point at the end of v when starting from p.

func (*PointI) Descriptor

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

func (PointI) Distance

func (p PointI) Distance(p2 PointI) float32

Distance computes the absolute distance between two points.

func (PointI) Distance2

func (p PointI) Distance2(p2 PointI) int32

Distance2 computes the squared distance between two points.

func (*PointI) GetX

func (m *PointI) GetX() int32

func (*PointI) GetY

func (m *PointI) GetY() int32

func (PointI) Manhattan

func (p PointI) Manhattan(p2 PointI) int32

Manhattan computes the manhattan distance between two points.

func (*PointI) Marshal

func (m *PointI) Marshal() (dAtA []byte, err error)

func (*PointI) MarshalTo

func (m *PointI) MarshalTo(dAtA []byte) (int, error)

func (PointI) Offset4By

func (p PointI) Offset4By(by int32) [4]PointI

Offset4By returns the Von Neumann neighborhood (or 4-neighborhood) of p.

func (PointI) Offset8By

func (p PointI) Offset8By(by int32) [8]PointI

Offset8By returns the Moore neighborhood (or 8-neighborhood) of p.

func (*PointI) ProtoMessage

func (*PointI) ProtoMessage()

func (*PointI) Reset

func (m *PointI) Reset()

func (*PointI) Size

func (m *PointI) Size() (n int)

func (*PointI) String

func (m *PointI) String() string

func (PointI) ToPoint

func (p PointI) ToPoint() Point

ToPoint converts to a Point with zero Z coordinate.

func (PointI) ToPoint2D

func (p PointI) ToPoint2D() Point2D

ToPoint2D converts to a Point2D.

func (PointI) ToPoint2DCentered

func (p PointI) ToPoint2DCentered() Point2D

ToPoint2DCentered converts to a Point2D and adds 0.5 to X/Y to center inside that map cell.

func (PointI) ToPointCentered

func (p PointI) ToPointCentered() Point

ToPointCentered to a Point with zero Z coordinate and adds 0.5 to X/Y to center inside that map cell.

func (*PointI) Unmarshal

func (m *PointI) Unmarshal(dAtA []byte) error

func (PointI) VecTo

func (p PointI) VecTo(p2 PointI) VecI

VecTo computes the vector from p -> p2.

func (*PointI) XXX_DiscardUnknown

func (m *PointI) XXX_DiscardUnknown()

func (*PointI) XXX_Marshal

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

func (*PointI) XXX_Merge

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

func (*PointI) XXX_Size

func (m *PointI) XXX_Size() int

func (*PointI) XXX_Unmarshal

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

type PortSet

type PortSet struct {
	GamePort int32 `protobuf:"varint,1,opt,name=game_port,json=gamePort,proto3" json:"game_port,omitempty"`
	BasePort int32 `protobuf:"varint,2,opt,name=base_port,json=basePort,proto3" json:"base_port,omitempty"`
}

func (*PortSet) Descriptor

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

func (*PortSet) GetBasePort

func (m *PortSet) GetBasePort() int32

func (*PortSet) GetGamePort

func (m *PortSet) GetGamePort() int32

func (*PortSet) Marshal

func (m *PortSet) Marshal() (dAtA []byte, err error)

func (*PortSet) MarshalTo

func (m *PortSet) MarshalTo(dAtA []byte) (int, error)

func (*PortSet) ProtoMessage

func (*PortSet) ProtoMessage()

func (*PortSet) Reset

func (m *PortSet) Reset()

func (*PortSet) Size

func (m *PortSet) Size() (n int)

func (*PortSet) String

func (m *PortSet) String() string

func (*PortSet) Unmarshal

func (m *PortSet) Unmarshal(dAtA []byte) error

func (*PortSet) XXX_DiscardUnknown

func (m *PortSet) XXX_DiscardUnknown()

func (*PortSet) XXX_Marshal

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

func (*PortSet) XXX_Merge

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

func (*PortSet) XXX_Size

func (m *PortSet) XXX_Size() int

func (*PortSet) XXX_Unmarshal

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

type PowerSource

type PowerSource struct {
	Pos    *Point  `protobuf:"bytes,1,opt,name=pos" json:"pos,omitempty"`
	Radius float32 `protobuf:"fixed32,2,opt,name=radius,proto3" json:"radius,omitempty"`
	Tag    UnitTag `protobuf:"varint,3,opt,name=tag,proto3,casttype=UnitTag" json:"tag,omitempty"`
}

func (*PowerSource) Descriptor

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

func (*PowerSource) GetPos

func (m *PowerSource) GetPos() *Point

func (*PowerSource) GetRadius

func (m *PowerSource) GetRadius() float32

func (*PowerSource) GetTag

func (m *PowerSource) GetTag() UnitTag

func (*PowerSource) Marshal

func (m *PowerSource) Marshal() (dAtA []byte, err error)

func (*PowerSource) MarshalTo

func (m *PowerSource) MarshalTo(dAtA []byte) (int, error)

func (*PowerSource) ProtoMessage

func (*PowerSource) ProtoMessage()

func (*PowerSource) Reset

func (m *PowerSource) Reset()

func (*PowerSource) Size

func (m *PowerSource) Size() (n int)

func (*PowerSource) String

func (m *PowerSource) String() string

func (*PowerSource) Unmarshal

func (m *PowerSource) Unmarshal(dAtA []byte) error

func (*PowerSource) XXX_DiscardUnknown

func (m *PowerSource) XXX_DiscardUnknown()

func (*PowerSource) XXX_Marshal

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

func (*PowerSource) XXX_Merge

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

func (*PowerSource) XXX_Size

func (m *PowerSource) XXX_Size() int

func (*PowerSource) XXX_Unmarshal

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

type ProductionPanel

type ProductionPanel struct {
	Unit            *UnitInfo    `protobuf:"bytes,1,opt,name=unit" json:"unit,omitempty"`
	BuildQueue      []*UnitInfo  `protobuf:"bytes,2,rep,name=build_queue,json=buildQueue" json:"build_queue,omitempty"`
	ProductionQueue []*BuildItem `protobuf:"bytes,3,rep,name=production_queue,json=productionQueue" json:"production_queue,omitempty"`
}

func (*ProductionPanel) Descriptor

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

func (*ProductionPanel) GetBuildQueue

func (m *ProductionPanel) GetBuildQueue() []*UnitInfo

func (*ProductionPanel) GetProductionQueue

func (m *ProductionPanel) GetProductionQueue() []*BuildItem

func (*ProductionPanel) GetUnit

func (m *ProductionPanel) GetUnit() *UnitInfo

func (*ProductionPanel) Marshal

func (m *ProductionPanel) Marshal() (dAtA []byte, err error)

func (*ProductionPanel) MarshalTo

func (m *ProductionPanel) MarshalTo(dAtA []byte) (int, error)

func (*ProductionPanel) ProtoMessage

func (*ProductionPanel) ProtoMessage()

func (*ProductionPanel) Reset

func (m *ProductionPanel) Reset()

func (*ProductionPanel) Size

func (m *ProductionPanel) Size() (n int)

func (*ProductionPanel) String

func (m *ProductionPanel) String() string

func (*ProductionPanel) Unmarshal

func (m *ProductionPanel) Unmarshal(dAtA []byte) error

func (*ProductionPanel) XXX_DiscardUnknown

func (m *ProductionPanel) XXX_DiscardUnknown()

func (*ProductionPanel) XXX_Marshal

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

func (*ProductionPanel) XXX_Merge

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

func (*ProductionPanel) XXX_Size

func (m *ProductionPanel) XXX_Size() int

func (*ProductionPanel) XXX_Unmarshal

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

type Race

type Race int32
const (
	Race_NoRace  Race = 0
	Race_Terran  Race = 1
	Race_Zerg    Race = 2
	Race_Protoss Race = 3
	Race_Random  Race = 4
)

func (Race) EnumDescriptor

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

func (Race) String

func (x Race) String() string

type RadarRing

type RadarRing struct {
	Pos    *Point  `protobuf:"bytes,1,opt,name=pos" json:"pos,omitempty"`
	Radius float32 `protobuf:"fixed32,2,opt,name=radius,proto3" json:"radius,omitempty"`
}

func (*RadarRing) Descriptor

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

func (*RadarRing) GetPos

func (m *RadarRing) GetPos() *Point

func (*RadarRing) GetRadius

func (m *RadarRing) GetRadius() float32

func (*RadarRing) Marshal

func (m *RadarRing) Marshal() (dAtA []byte, err error)

func (*RadarRing) MarshalTo

func (m *RadarRing) MarshalTo(dAtA []byte) (int, error)

func (*RadarRing) ProtoMessage

func (*RadarRing) ProtoMessage()

func (*RadarRing) Reset

func (m *RadarRing) Reset()

func (*RadarRing) Size

func (m *RadarRing) Size() (n int)

func (*RadarRing) String

func (m *RadarRing) String() string

func (*RadarRing) Unmarshal

func (m *RadarRing) Unmarshal(dAtA []byte) error

func (*RadarRing) XXX_DiscardUnknown

func (m *RadarRing) XXX_DiscardUnknown()

func (*RadarRing) XXX_Marshal

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

func (*RadarRing) XXX_Merge

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

func (*RadarRing) XXX_Size

func (m *RadarRing) XXX_Size() int

func (*RadarRing) XXX_Unmarshal

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

type RallyTarget

type RallyTarget struct {
	Point *Point `protobuf:"bytes,1,opt,name=point" json:"point,omitempty"`
	Tag   uint64 `protobuf:"varint,2,opt,name=tag,proto3" json:"tag,omitempty"`
}

func (*RallyTarget) Descriptor

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

func (*RallyTarget) GetPoint

func (m *RallyTarget) GetPoint() *Point

func (*RallyTarget) GetTag

func (m *RallyTarget) GetTag() uint64

func (*RallyTarget) Marshal

func (m *RallyTarget) Marshal() (dAtA []byte, err error)

func (*RallyTarget) MarshalTo

func (m *RallyTarget) MarshalTo(dAtA []byte) (int, error)

func (*RallyTarget) ProtoMessage

func (*RallyTarget) ProtoMessage()

func (*RallyTarget) Reset

func (m *RallyTarget) Reset()

func (*RallyTarget) Size

func (m *RallyTarget) Size() (n int)

func (*RallyTarget) String

func (m *RallyTarget) String() string

func (*RallyTarget) Unmarshal

func (m *RallyTarget) Unmarshal(dAtA []byte) error

func (*RallyTarget) XXX_DiscardUnknown

func (m *RallyTarget) XXX_DiscardUnknown()

func (*RallyTarget) XXX_Marshal

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

func (*RallyTarget) XXX_Merge

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

func (*RallyTarget) XXX_Size

func (m *RallyTarget) XXX_Size() int

func (*RallyTarget) XXX_Unmarshal

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

type RectangleI

type RectangleI struct {
	P0 *PointI `protobuf:"bytes,1,opt,name=p0" json:"p0,omitempty"`
	P1 *PointI `protobuf:"bytes,2,opt,name=p1" json:"p1,omitempty"`
}

Screen space rectangular area.

func (*RectangleI) Descriptor

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

func (*RectangleI) GetP0

func (m *RectangleI) GetP0() *PointI

func (*RectangleI) GetP1

func (m *RectangleI) GetP1() *PointI

func (*RectangleI) Marshal

func (m *RectangleI) Marshal() (dAtA []byte, err error)

func (*RectangleI) MarshalTo

func (m *RectangleI) MarshalTo(dAtA []byte) (int, error)

func (*RectangleI) ProtoMessage

func (*RectangleI) ProtoMessage()

func (*RectangleI) Reset

func (m *RectangleI) Reset()

func (*RectangleI) Size

func (m *RectangleI) Size() (n int)

func (*RectangleI) String

func (m *RectangleI) String() string

func (*RectangleI) Unmarshal

func (m *RectangleI) Unmarshal(dAtA []byte) error

func (*RectangleI) XXX_DiscardUnknown

func (m *RectangleI) XXX_DiscardUnknown()

func (*RectangleI) XXX_Marshal

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

func (*RectangleI) XXX_Merge

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

func (*RectangleI) XXX_Size

func (m *RectangleI) XXX_Size() int

func (*RectangleI) XXX_Unmarshal

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

type Request

type Request struct {
	// Types that are valid to be assigned to Request:
	//	*Request_CreateGame
	//	*Request_JoinGame
	//	*Request_RestartGame
	//	*Request_StartReplay
	//	*Request_LeaveGame
	//	*Request_QuickSave
	//	*Request_QuickLoad
	//	*Request_Quit
	//	*Request_GameInfo
	//	*Request_Observation
	//	*Request_Action
	//	*Request_ObsAction
	//	*Request_Step
	//	*Request_Data
	//	*Request_Query
	//	*Request_SaveReplay
	//	*Request_MapCommand
	//	*Request_ReplayInfo
	//	*Request_AvailableMaps
	//	*Request_SaveMap
	//	*Request_Ping
	//	*Request_Debug
	Request isRequest_Request `protobuf_oneof:"request"`
	Id      uint32            `protobuf:"varint,97,opt,name=id,proto3" json:"id,omitempty"`
}

func (*Request) Descriptor

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

func (*Request) GetAction

func (m *Request) GetAction() *RequestAction

func (*Request) GetAvailableMaps

func (m *Request) GetAvailableMaps() *RequestAvailableMaps

func (*Request) GetCreateGame

func (m *Request) GetCreateGame() *RequestCreateGame

func (*Request) GetData

func (m *Request) GetData() *RequestData

func (*Request) GetDebug

func (m *Request) GetDebug() *RequestDebug

func (*Request) GetGameInfo

func (m *Request) GetGameInfo() *RequestGameInfo

func (*Request) GetId

func (m *Request) GetId() uint32

func (*Request) GetJoinGame

func (m *Request) GetJoinGame() *RequestJoinGame

func (*Request) GetLeaveGame

func (m *Request) GetLeaveGame() *RequestLeaveGame

func (*Request) GetMapCommand

func (m *Request) GetMapCommand() *RequestMapCommand

func (*Request) GetObsAction

func (m *Request) GetObsAction() *RequestObserverAction

func (*Request) GetObservation

func (m *Request) GetObservation() *RequestObservation

func (*Request) GetPing

func (m *Request) GetPing() *RequestPing

func (*Request) GetQuery

func (m *Request) GetQuery() *RequestQuery

func (*Request) GetQuickLoad

func (m *Request) GetQuickLoad() *RequestQuickLoad

func (*Request) GetQuickSave

func (m *Request) GetQuickSave() *RequestQuickSave

func (*Request) GetQuit

func (m *Request) GetQuit() *RequestQuit

func (*Request) GetReplayInfo

func (m *Request) GetReplayInfo() *RequestReplayInfo

func (*Request) GetRequest

func (m *Request) GetRequest() isRequest_Request

func (*Request) GetRestartGame

func (m *Request) GetRestartGame() *RequestRestartGame

func (*Request) GetSaveMap

func (m *Request) GetSaveMap() *RequestSaveMap

func (*Request) GetSaveReplay

func (m *Request) GetSaveReplay() *RequestSaveReplay

func (*Request) GetStartReplay

func (m *Request) GetStartReplay() *RequestStartReplay

func (*Request) GetStep

func (m *Request) GetStep() *RequestStep

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (m *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

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

func (*Request) XXX_Merge

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

func (*Request) XXX_OneofFuncs

func (*Request) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

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

type RequestAction

type RequestAction struct {
	Actions []*Action `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestAction) Descriptor

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

func (*RequestAction) GetActions

func (m *RequestAction) GetActions() []*Action

func (*RequestAction) Marshal

func (m *RequestAction) Marshal() (dAtA []byte, err error)

func (*RequestAction) MarshalTo

func (m *RequestAction) MarshalTo(dAtA []byte) (int, error)

func (*RequestAction) ProtoMessage

func (*RequestAction) ProtoMessage()

func (*RequestAction) Reset

func (m *RequestAction) Reset()

func (*RequestAction) Size

func (m *RequestAction) Size() (n int)

func (*RequestAction) String

func (m *RequestAction) String() string

func (*RequestAction) Unmarshal

func (m *RequestAction) Unmarshal(dAtA []byte) error

func (*RequestAction) XXX_DiscardUnknown

func (m *RequestAction) XXX_DiscardUnknown()

func (*RequestAction) XXX_Marshal

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

func (*RequestAction) XXX_Merge

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

func (*RequestAction) XXX_Size

func (m *RequestAction) XXX_Size() int

func (*RequestAction) XXX_Unmarshal

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

type RequestAvailableMaps

type RequestAvailableMaps struct {
}

-----------------------------------------------------------------------------

func (*RequestAvailableMaps) Descriptor

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

func (*RequestAvailableMaps) Marshal

func (m *RequestAvailableMaps) Marshal() (dAtA []byte, err error)

func (*RequestAvailableMaps) MarshalTo

func (m *RequestAvailableMaps) MarshalTo(dAtA []byte) (int, error)

func (*RequestAvailableMaps) ProtoMessage

func (*RequestAvailableMaps) ProtoMessage()

func (*RequestAvailableMaps) Reset

func (m *RequestAvailableMaps) Reset()

func (*RequestAvailableMaps) Size

func (m *RequestAvailableMaps) Size() (n int)

func (*RequestAvailableMaps) String

func (m *RequestAvailableMaps) String() string

func (*RequestAvailableMaps) Unmarshal

func (m *RequestAvailableMaps) Unmarshal(dAtA []byte) error

func (*RequestAvailableMaps) XXX_DiscardUnknown

func (m *RequestAvailableMaps) XXX_DiscardUnknown()

func (*RequestAvailableMaps) XXX_Marshal

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

func (*RequestAvailableMaps) XXX_Merge

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

func (*RequestAvailableMaps) XXX_Size

func (m *RequestAvailableMaps) XXX_Size() int

func (*RequestAvailableMaps) XXX_Unmarshal

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

type RequestCreateGame

type RequestCreateGame struct {
	// Types that are valid to be assigned to Map:
	//	*RequestCreateGame_LocalMap
	//	*RequestCreateGame_BattlenetMapName
	Map         isRequestCreateGame_Map `protobuf_oneof:"Map"`
	PlayerSetup []*PlayerSetup          `protobuf:"bytes,3,rep,name=player_setup,json=playerSetup" json:"player_setup,omitempty"`
	DisableFog  bool                    `protobuf:"varint,4,opt,name=disable_fog,json=disableFog,proto3" json:"disable_fog,omitempty"`
	RandomSeed  uint32                  `protobuf:"varint,5,opt,name=random_seed,json=randomSeed,proto3" json:"random_seed,omitempty"`
	Realtime    bool                    `protobuf:"varint,6,opt,name=realtime,proto3" json:"realtime,omitempty"`
}

----------------------------------------------------------------------------- If successful, puts the game into the status: init_game. The next expected request should be RequestJoinGame. Can also quit (exit).

func (*RequestCreateGame) Descriptor

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

func (*RequestCreateGame) GetBattlenetMapName

func (m *RequestCreateGame) GetBattlenetMapName() string

func (*RequestCreateGame) GetDisableFog

func (m *RequestCreateGame) GetDisableFog() bool

func (*RequestCreateGame) GetLocalMap

func (m *RequestCreateGame) GetLocalMap() *LocalMap

func (*RequestCreateGame) GetMap

func (m *RequestCreateGame) GetMap() isRequestCreateGame_Map

func (*RequestCreateGame) GetPlayerSetup

func (m *RequestCreateGame) GetPlayerSetup() []*PlayerSetup

func (*RequestCreateGame) GetRandomSeed

func (m *RequestCreateGame) GetRandomSeed() uint32

func (*RequestCreateGame) GetRealtime

func (m *RequestCreateGame) GetRealtime() bool

func (*RequestCreateGame) Marshal

func (m *RequestCreateGame) Marshal() (dAtA []byte, err error)

func (*RequestCreateGame) MarshalTo

func (m *RequestCreateGame) MarshalTo(dAtA []byte) (int, error)

func (*RequestCreateGame) ProtoMessage

func (*RequestCreateGame) ProtoMessage()

func (*RequestCreateGame) Reset

func (m *RequestCreateGame) Reset()

func (*RequestCreateGame) Size

func (m *RequestCreateGame) Size() (n int)

func (*RequestCreateGame) String

func (m *RequestCreateGame) String() string

func (*RequestCreateGame) Unmarshal

func (m *RequestCreateGame) Unmarshal(dAtA []byte) error

func (*RequestCreateGame) XXX_DiscardUnknown

func (m *RequestCreateGame) XXX_DiscardUnknown()

func (*RequestCreateGame) XXX_Marshal

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

func (*RequestCreateGame) XXX_Merge

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

func (*RequestCreateGame) XXX_OneofFuncs

func (*RequestCreateGame) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RequestCreateGame) XXX_Size

func (m *RequestCreateGame) XXX_Size() int

func (*RequestCreateGame) XXX_Unmarshal

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

type RequestCreateGame_BattlenetMapName

type RequestCreateGame_BattlenetMapName struct {
	BattlenetMapName string `protobuf:"bytes,2,opt,name=battlenet_map_name,json=battlenetMapName,proto3,oneof"`
}

func (*RequestCreateGame_BattlenetMapName) MarshalTo

func (m *RequestCreateGame_BattlenetMapName) MarshalTo(dAtA []byte) (int, error)

func (*RequestCreateGame_BattlenetMapName) Size

type RequestCreateGame_LocalMap

type RequestCreateGame_LocalMap struct {
	LocalMap *LocalMap `protobuf:"bytes,1,opt,name=local_map,json=localMap,oneof"`
}

func (*RequestCreateGame_LocalMap) MarshalTo

func (m *RequestCreateGame_LocalMap) MarshalTo(dAtA []byte) (int, error)

func (*RequestCreateGame_LocalMap) Size

func (m *RequestCreateGame_LocalMap) Size() (n int)

type RequestData

type RequestData struct {
	AbilityId  bool `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3" json:"ability_id,omitempty"`
	UnitTypeId bool `protobuf:"varint,2,opt,name=unit_type_id,json=unitTypeId,proto3" json:"unit_type_id,omitempty"`
	UpgradeId  bool `protobuf:"varint,3,opt,name=upgrade_id,json=upgradeId,proto3" json:"upgrade_id,omitempty"`
	BuffId     bool `protobuf:"varint,4,opt,name=buff_id,json=buffId,proto3" json:"buff_id,omitempty"`
	EffectId   bool `protobuf:"varint,5,opt,name=effect_id,json=effectId,proto3" json:"effect_id,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestData) Descriptor

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

func (*RequestData) GetAbilityId

func (m *RequestData) GetAbilityId() bool

func (*RequestData) GetBuffId

func (m *RequestData) GetBuffId() bool

func (*RequestData) GetEffectId

func (m *RequestData) GetEffectId() bool

func (*RequestData) GetUnitTypeId

func (m *RequestData) GetUnitTypeId() bool

func (*RequestData) GetUpgradeId

func (m *RequestData) GetUpgradeId() bool

func (*RequestData) Marshal

func (m *RequestData) Marshal() (dAtA []byte, err error)

func (*RequestData) MarshalTo

func (m *RequestData) MarshalTo(dAtA []byte) (int, error)

func (*RequestData) ProtoMessage

func (*RequestData) ProtoMessage()

func (*RequestData) Reset

func (m *RequestData) Reset()

func (*RequestData) Size

func (m *RequestData) Size() (n int)

func (*RequestData) String

func (m *RequestData) String() string

func (*RequestData) Unmarshal

func (m *RequestData) Unmarshal(dAtA []byte) error

func (*RequestData) XXX_DiscardUnknown

func (m *RequestData) XXX_DiscardUnknown()

func (*RequestData) XXX_Marshal

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

func (*RequestData) XXX_Merge

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

func (*RequestData) XXX_Size

func (m *RequestData) XXX_Size() int

func (*RequestData) XXX_Unmarshal

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

type RequestDebug

type RequestDebug struct {
	Debug []*DebugCommand `protobuf:"bytes,1,rep,name=debug" json:"debug,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestDebug) Descriptor

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

func (*RequestDebug) GetDebug

func (m *RequestDebug) GetDebug() []*DebugCommand

func (*RequestDebug) Marshal

func (m *RequestDebug) Marshal() (dAtA []byte, err error)

func (*RequestDebug) MarshalTo

func (m *RequestDebug) MarshalTo(dAtA []byte) (int, error)

func (*RequestDebug) ProtoMessage

func (*RequestDebug) ProtoMessage()

func (*RequestDebug) Reset

func (m *RequestDebug) Reset()

func (*RequestDebug) Size

func (m *RequestDebug) Size() (n int)

func (*RequestDebug) String

func (m *RequestDebug) String() string

func (*RequestDebug) Unmarshal

func (m *RequestDebug) Unmarshal(dAtA []byte) error

func (*RequestDebug) XXX_DiscardUnknown

func (m *RequestDebug) XXX_DiscardUnknown()

func (*RequestDebug) XXX_Marshal

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

func (*RequestDebug) XXX_Merge

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

func (*RequestDebug) XXX_Size

func (m *RequestDebug) XXX_Size() int

func (*RequestDebug) XXX_Unmarshal

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

type RequestGameInfo

type RequestGameInfo struct {
}

-----------------------------------------------------------------------------

func (*RequestGameInfo) Descriptor

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

func (*RequestGameInfo) Marshal

func (m *RequestGameInfo) Marshal() (dAtA []byte, err error)

func (*RequestGameInfo) MarshalTo

func (m *RequestGameInfo) MarshalTo(dAtA []byte) (int, error)

func (*RequestGameInfo) ProtoMessage

func (*RequestGameInfo) ProtoMessage()

func (*RequestGameInfo) Reset

func (m *RequestGameInfo) Reset()

func (*RequestGameInfo) Size

func (m *RequestGameInfo) Size() (n int)

func (*RequestGameInfo) String

func (m *RequestGameInfo) String() string

func (*RequestGameInfo) Unmarshal

func (m *RequestGameInfo) Unmarshal(dAtA []byte) error

func (*RequestGameInfo) XXX_DiscardUnknown

func (m *RequestGameInfo) XXX_DiscardUnknown()

func (*RequestGameInfo) XXX_Marshal

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

func (*RequestGameInfo) XXX_Merge

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

func (*RequestGameInfo) XXX_Size

func (m *RequestGameInfo) XXX_Size() int

func (*RequestGameInfo) XXX_Unmarshal

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

type RequestJoinGame

type RequestJoinGame struct {
	// Types that are valid to be assigned to Participation:
	//	*RequestJoinGame_Race
	//	*RequestJoinGame_ObservedPlayerId
	Participation isRequestJoinGame_Participation `protobuf_oneof:"participation"`
	Options       *InterfaceOptions               `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
	ServerPorts   *PortSet                        `protobuf:"bytes,4,opt,name=server_ports,json=serverPorts" json:"server_ports,omitempty"`
	ClientPorts   []*PortSet                      `protobuf:"bytes,5,rep,name=client_ports,json=clientPorts" json:"client_ports,omitempty"`
	SharedPort    int32                           `protobuf:"varint,6,opt,name=shared_port,json=sharedPort,proto3" json:"shared_port,omitempty"`
	PlayerName    string                          `protobuf:"bytes,7,opt,name=player_name,json=playerName,proto3" json:"player_name,omitempty"`
	HostIp        string                          `protobuf:"bytes,8,opt,name=host_ip,json=hostIp,proto3" json:"host_ip,omitempty"`
}

----------------------------------------------------------------------------- If successful, puts the game into the status: in_game. Will be able to request actions, observations and step the game.

func (*RequestJoinGame) Descriptor

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

func (*RequestJoinGame) GetClientPorts

func (m *RequestJoinGame) GetClientPorts() []*PortSet

func (*RequestJoinGame) GetHostIp

func (m *RequestJoinGame) GetHostIp() string

func (*RequestJoinGame) GetObservedPlayerId

func (m *RequestJoinGame) GetObservedPlayerId() PlayerID

func (*RequestJoinGame) GetOptions

func (m *RequestJoinGame) GetOptions() *InterfaceOptions

func (*RequestJoinGame) GetParticipation

func (m *RequestJoinGame) GetParticipation() isRequestJoinGame_Participation

func (*RequestJoinGame) GetPlayerName

func (m *RequestJoinGame) GetPlayerName() string

func (*RequestJoinGame) GetRace

func (m *RequestJoinGame) GetRace() Race

func (*RequestJoinGame) GetServerPorts

func (m *RequestJoinGame) GetServerPorts() *PortSet

func (*RequestJoinGame) GetSharedPort

func (m *RequestJoinGame) GetSharedPort() int32

func (*RequestJoinGame) Marshal

func (m *RequestJoinGame) Marshal() (dAtA []byte, err error)

func (*RequestJoinGame) MarshalTo

func (m *RequestJoinGame) MarshalTo(dAtA []byte) (int, error)

func (*RequestJoinGame) ProtoMessage

func (*RequestJoinGame) ProtoMessage()

func (*RequestJoinGame) Reset

func (m *RequestJoinGame) Reset()

func (*RequestJoinGame) Size

func (m *RequestJoinGame) Size() (n int)

func (*RequestJoinGame) String

func (m *RequestJoinGame) String() string

func (*RequestJoinGame) Unmarshal

func (m *RequestJoinGame) Unmarshal(dAtA []byte) error

func (*RequestJoinGame) XXX_DiscardUnknown

func (m *RequestJoinGame) XXX_DiscardUnknown()

func (*RequestJoinGame) XXX_Marshal

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

func (*RequestJoinGame) XXX_Merge

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

func (*RequestJoinGame) XXX_OneofFuncs

func (*RequestJoinGame) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RequestJoinGame) XXX_Size

func (m *RequestJoinGame) XXX_Size() int

func (*RequestJoinGame) XXX_Unmarshal

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

type RequestJoinGame_ObservedPlayerId

type RequestJoinGame_ObservedPlayerId struct {
	ObservedPlayerId PlayerID `protobuf:"varint,2,opt,name=observed_player_id,json=observedPlayerId,proto3,oneof,casttype=PlayerID"`
}

func (*RequestJoinGame_ObservedPlayerId) MarshalTo

func (m *RequestJoinGame_ObservedPlayerId) MarshalTo(dAtA []byte) (int, error)

func (*RequestJoinGame_ObservedPlayerId) Size

func (m *RequestJoinGame_ObservedPlayerId) Size() (n int)

type RequestJoinGame_Race

type RequestJoinGame_Race struct {
	Race Race `protobuf:"varint,1,opt,name=race,proto3,enum=SC2APIProtocol.Race,oneof"`
}

func (*RequestJoinGame_Race) MarshalTo

func (m *RequestJoinGame_Race) MarshalTo(dAtA []byte) (int, error)

func (*RequestJoinGame_Race) Size

func (m *RequestJoinGame_Race) Size() (n int)

type RequestLeaveGame

type RequestLeaveGame struct {
}

-----------------------------------------------------------------------------

func (*RequestLeaveGame) Descriptor

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

func (*RequestLeaveGame) Marshal

func (m *RequestLeaveGame) Marshal() (dAtA []byte, err error)

func (*RequestLeaveGame) MarshalTo

func (m *RequestLeaveGame) MarshalTo(dAtA []byte) (int, error)

func (*RequestLeaveGame) ProtoMessage

func (*RequestLeaveGame) ProtoMessage()

func (*RequestLeaveGame) Reset

func (m *RequestLeaveGame) Reset()

func (*RequestLeaveGame) Size

func (m *RequestLeaveGame) Size() (n int)

func (*RequestLeaveGame) String

func (m *RequestLeaveGame) String() string

func (*RequestLeaveGame) Unmarshal

func (m *RequestLeaveGame) Unmarshal(dAtA []byte) error

func (*RequestLeaveGame) XXX_DiscardUnknown

func (m *RequestLeaveGame) XXX_DiscardUnknown()

func (*RequestLeaveGame) XXX_Marshal

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

func (*RequestLeaveGame) XXX_Merge

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

func (*RequestLeaveGame) XXX_Size

func (m *RequestLeaveGame) XXX_Size() int

func (*RequestLeaveGame) XXX_Unmarshal

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

type RequestMapCommand

type RequestMapCommand struct {
	TriggerCmd string `protobuf:"bytes,1,opt,name=trigger_cmd,json=triggerCmd,proto3" json:"trigger_cmd,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestMapCommand) Descriptor

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

func (*RequestMapCommand) GetTriggerCmd

func (m *RequestMapCommand) GetTriggerCmd() string

func (*RequestMapCommand) Marshal

func (m *RequestMapCommand) Marshal() (dAtA []byte, err error)

func (*RequestMapCommand) MarshalTo

func (m *RequestMapCommand) MarshalTo(dAtA []byte) (int, error)

func (*RequestMapCommand) ProtoMessage

func (*RequestMapCommand) ProtoMessage()

func (*RequestMapCommand) Reset

func (m *RequestMapCommand) Reset()

func (*RequestMapCommand) Size

func (m *RequestMapCommand) Size() (n int)

func (*RequestMapCommand) String

func (m *RequestMapCommand) String() string

func (*RequestMapCommand) Unmarshal

func (m *RequestMapCommand) Unmarshal(dAtA []byte) error

func (*RequestMapCommand) XXX_DiscardUnknown

func (m *RequestMapCommand) XXX_DiscardUnknown()

func (*RequestMapCommand) XXX_Marshal

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

func (*RequestMapCommand) XXX_Merge

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

func (*RequestMapCommand) XXX_Size

func (m *RequestMapCommand) XXX_Size() int

func (*RequestMapCommand) XXX_Unmarshal

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

type RequestObservation

type RequestObservation struct {
	DisableFog bool   `protobuf:"varint,1,opt,name=disable_fog,json=disableFog,proto3" json:"disable_fog,omitempty"`
	GameLoop   uint32 `protobuf:"varint,2,opt,name=game_loop,json=gameLoop,proto3" json:"game_loop,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestObservation) Descriptor

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

func (*RequestObservation) GetDisableFog

func (m *RequestObservation) GetDisableFog() bool

func (*RequestObservation) GetGameLoop

func (m *RequestObservation) GetGameLoop() uint32

func (*RequestObservation) Marshal

func (m *RequestObservation) Marshal() (dAtA []byte, err error)

func (*RequestObservation) MarshalTo

func (m *RequestObservation) MarshalTo(dAtA []byte) (int, error)

func (*RequestObservation) ProtoMessage

func (*RequestObservation) ProtoMessage()

func (*RequestObservation) Reset

func (m *RequestObservation) Reset()

func (*RequestObservation) Size

func (m *RequestObservation) Size() (n int)

func (*RequestObservation) String

func (m *RequestObservation) String() string

func (*RequestObservation) Unmarshal

func (m *RequestObservation) Unmarshal(dAtA []byte) error

func (*RequestObservation) XXX_DiscardUnknown

func (m *RequestObservation) XXX_DiscardUnknown()

func (*RequestObservation) XXX_Marshal

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

func (*RequestObservation) XXX_Merge

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

func (*RequestObservation) XXX_Size

func (m *RequestObservation) XXX_Size() int

func (*RequestObservation) XXX_Unmarshal

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

type RequestObserverAction

type RequestObserverAction struct {
	Actions []*ObserverAction `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestObserverAction) Descriptor

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

func (*RequestObserverAction) GetActions

func (m *RequestObserverAction) GetActions() []*ObserverAction

func (*RequestObserverAction) Marshal

func (m *RequestObserverAction) Marshal() (dAtA []byte, err error)

func (*RequestObserverAction) MarshalTo

func (m *RequestObserverAction) MarshalTo(dAtA []byte) (int, error)

func (*RequestObserverAction) ProtoMessage

func (*RequestObserverAction) ProtoMessage()

func (*RequestObserverAction) Reset

func (m *RequestObserverAction) Reset()

func (*RequestObserverAction) Size

func (m *RequestObserverAction) Size() (n int)

func (*RequestObserverAction) String

func (m *RequestObserverAction) String() string

func (*RequestObserverAction) Unmarshal

func (m *RequestObserverAction) Unmarshal(dAtA []byte) error

func (*RequestObserverAction) XXX_DiscardUnknown

func (m *RequestObserverAction) XXX_DiscardUnknown()

func (*RequestObserverAction) XXX_Marshal

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

func (*RequestObserverAction) XXX_Merge

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

func (*RequestObserverAction) XXX_Size

func (m *RequestObserverAction) XXX_Size() int

func (*RequestObserverAction) XXX_Unmarshal

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

type RequestPing

type RequestPing struct {
}

-----------------------------------------------------------------------------

func (*RequestPing) Descriptor

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

func (*RequestPing) Marshal

func (m *RequestPing) Marshal() (dAtA []byte, err error)

func (*RequestPing) MarshalTo

func (m *RequestPing) MarshalTo(dAtA []byte) (int, error)

func (*RequestPing) ProtoMessage

func (*RequestPing) ProtoMessage()

func (*RequestPing) Reset

func (m *RequestPing) Reset()

func (*RequestPing) Size

func (m *RequestPing) Size() (n int)

func (*RequestPing) String

func (m *RequestPing) String() string

func (*RequestPing) Unmarshal

func (m *RequestPing) Unmarshal(dAtA []byte) error

func (*RequestPing) XXX_DiscardUnknown

func (m *RequestPing) XXX_DiscardUnknown()

func (*RequestPing) XXX_Marshal

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

func (*RequestPing) XXX_Merge

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

func (*RequestPing) XXX_Size

func (m *RequestPing) XXX_Size() int

func (*RequestPing) XXX_Unmarshal

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

type RequestQuery

type RequestQuery struct {
	Pathing                    []*RequestQueryPathing            `protobuf:"bytes,1,rep,name=pathing" json:"pathing,omitempty"`
	Abilities                  []*RequestQueryAvailableAbilities `protobuf:"bytes,2,rep,name=abilities" json:"abilities,omitempty"`
	Placements                 []*RequestQueryBuildingPlacement  `protobuf:"bytes,3,rep,name=placements" json:"placements,omitempty"`
	IgnoreResourceRequirements bool                              `` /* 142-byte string literal not displayed */
}

func (*RequestQuery) Descriptor

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

func (*RequestQuery) GetAbilities

func (m *RequestQuery) GetAbilities() []*RequestQueryAvailableAbilities

func (*RequestQuery) GetIgnoreResourceRequirements

func (m *RequestQuery) GetIgnoreResourceRequirements() bool

func (*RequestQuery) GetPathing

func (m *RequestQuery) GetPathing() []*RequestQueryPathing

func (*RequestQuery) GetPlacements

func (m *RequestQuery) GetPlacements() []*RequestQueryBuildingPlacement

func (*RequestQuery) Marshal

func (m *RequestQuery) Marshal() (dAtA []byte, err error)

func (*RequestQuery) MarshalTo

func (m *RequestQuery) MarshalTo(dAtA []byte) (int, error)

func (*RequestQuery) ProtoMessage

func (*RequestQuery) ProtoMessage()

func (*RequestQuery) Reset

func (m *RequestQuery) Reset()

func (*RequestQuery) Size

func (m *RequestQuery) Size() (n int)

func (*RequestQuery) String

func (m *RequestQuery) String() string

func (*RequestQuery) Unmarshal

func (m *RequestQuery) Unmarshal(dAtA []byte) error

func (*RequestQuery) XXX_DiscardUnknown

func (m *RequestQuery) XXX_DiscardUnknown()

func (*RequestQuery) XXX_Marshal

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

func (*RequestQuery) XXX_Merge

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

func (*RequestQuery) XXX_Size

func (m *RequestQuery) XXX_Size() int

func (*RequestQuery) XXX_Unmarshal

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

type RequestQueryAvailableAbilities

type RequestQueryAvailableAbilities struct {
	UnitTag UnitTag `protobuf:"varint,1,opt,name=unit_tag,json=unitTag,proto3,casttype=UnitTag" json:"unit_tag,omitempty"`
}

--------------------------------------------------------------------------------------------------

func (*RequestQueryAvailableAbilities) Descriptor

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

func (*RequestQueryAvailableAbilities) GetUnitTag

func (m *RequestQueryAvailableAbilities) GetUnitTag() UnitTag

func (*RequestQueryAvailableAbilities) Marshal

func (m *RequestQueryAvailableAbilities) Marshal() (dAtA []byte, err error)

func (*RequestQueryAvailableAbilities) MarshalTo

func (m *RequestQueryAvailableAbilities) MarshalTo(dAtA []byte) (int, error)

func (*RequestQueryAvailableAbilities) ProtoMessage

func (*RequestQueryAvailableAbilities) ProtoMessage()

func (*RequestQueryAvailableAbilities) Reset

func (m *RequestQueryAvailableAbilities) Reset()

func (*RequestQueryAvailableAbilities) Size

func (m *RequestQueryAvailableAbilities) Size() (n int)

func (*RequestQueryAvailableAbilities) String

func (*RequestQueryAvailableAbilities) Unmarshal

func (m *RequestQueryAvailableAbilities) Unmarshal(dAtA []byte) error

func (*RequestQueryAvailableAbilities) XXX_DiscardUnknown

func (m *RequestQueryAvailableAbilities) XXX_DiscardUnknown()

func (*RequestQueryAvailableAbilities) XXX_Marshal

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

func (*RequestQueryAvailableAbilities) XXX_Merge

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

func (*RequestQueryAvailableAbilities) XXX_Size

func (m *RequestQueryAvailableAbilities) XXX_Size() int

func (*RequestQueryAvailableAbilities) XXX_Unmarshal

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

type RequestQueryBuildingPlacement

type RequestQueryBuildingPlacement struct {
	AbilityId      AbilityID `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	TargetPos      *Point2D  `protobuf:"bytes,2,opt,name=target_pos,json=targetPos" json:"target_pos,omitempty"`
	PlacingUnitTag UnitTag   `protobuf:"varint,3,opt,name=placing_unit_tag,json=placingUnitTag,proto3,casttype=UnitTag" json:"placing_unit_tag,omitempty"`
}

--------------------------------------------------------------------------------------------------

func (*RequestQueryBuildingPlacement) Descriptor

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

func (*RequestQueryBuildingPlacement) GetAbilityId

func (m *RequestQueryBuildingPlacement) GetAbilityId() AbilityID

func (*RequestQueryBuildingPlacement) GetPlacingUnitTag

func (m *RequestQueryBuildingPlacement) GetPlacingUnitTag() UnitTag

func (*RequestQueryBuildingPlacement) GetTargetPos

func (m *RequestQueryBuildingPlacement) GetTargetPos() *Point2D

func (*RequestQueryBuildingPlacement) Marshal

func (m *RequestQueryBuildingPlacement) Marshal() (dAtA []byte, err error)

func (*RequestQueryBuildingPlacement) MarshalTo

func (m *RequestQueryBuildingPlacement) MarshalTo(dAtA []byte) (int, error)

func (*RequestQueryBuildingPlacement) ProtoMessage

func (*RequestQueryBuildingPlacement) ProtoMessage()

func (*RequestQueryBuildingPlacement) Reset

func (m *RequestQueryBuildingPlacement) Reset()

func (*RequestQueryBuildingPlacement) Size

func (m *RequestQueryBuildingPlacement) Size() (n int)

func (*RequestQueryBuildingPlacement) String

func (*RequestQueryBuildingPlacement) Unmarshal

func (m *RequestQueryBuildingPlacement) Unmarshal(dAtA []byte) error

func (*RequestQueryBuildingPlacement) XXX_DiscardUnknown

func (m *RequestQueryBuildingPlacement) XXX_DiscardUnknown()

func (*RequestQueryBuildingPlacement) XXX_Marshal

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

func (*RequestQueryBuildingPlacement) XXX_Merge

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

func (*RequestQueryBuildingPlacement) XXX_Size

func (m *RequestQueryBuildingPlacement) XXX_Size() int

func (*RequestQueryBuildingPlacement) XXX_Unmarshal

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

type RequestQueryPathing

type RequestQueryPathing struct {
	// Types that are valid to be assigned to Start:
	//	*RequestQueryPathing_StartPos
	//	*RequestQueryPathing_UnitTag
	Start  isRequestQueryPathing_Start `protobuf_oneof:"start"`
	EndPos *Point2D                    `protobuf:"bytes,3,opt,name=end_pos,json=endPos" json:"end_pos,omitempty"`
}

--------------------------------------------------------------------------------------------------

func (*RequestQueryPathing) Descriptor

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

func (*RequestQueryPathing) GetEndPos

func (m *RequestQueryPathing) GetEndPos() *Point2D

func (*RequestQueryPathing) GetStart

func (m *RequestQueryPathing) GetStart() isRequestQueryPathing_Start

func (*RequestQueryPathing) GetStartPos

func (m *RequestQueryPathing) GetStartPos() *Point2D

func (*RequestQueryPathing) GetUnitTag

func (m *RequestQueryPathing) GetUnitTag() UnitTag

func (*RequestQueryPathing) Marshal

func (m *RequestQueryPathing) Marshal() (dAtA []byte, err error)

func (*RequestQueryPathing) MarshalTo

func (m *RequestQueryPathing) MarshalTo(dAtA []byte) (int, error)

func (*RequestQueryPathing) ProtoMessage

func (*RequestQueryPathing) ProtoMessage()

func (*RequestQueryPathing) Reset

func (m *RequestQueryPathing) Reset()

func (*RequestQueryPathing) Size

func (m *RequestQueryPathing) Size() (n int)

func (*RequestQueryPathing) String

func (m *RequestQueryPathing) String() string

func (*RequestQueryPathing) Unmarshal

func (m *RequestQueryPathing) Unmarshal(dAtA []byte) error

func (*RequestQueryPathing) XXX_DiscardUnknown

func (m *RequestQueryPathing) XXX_DiscardUnknown()

func (*RequestQueryPathing) XXX_Marshal

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

func (*RequestQueryPathing) XXX_Merge

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

func (*RequestQueryPathing) XXX_OneofFuncs

func (*RequestQueryPathing) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RequestQueryPathing) XXX_Size

func (m *RequestQueryPathing) XXX_Size() int

func (*RequestQueryPathing) XXX_Unmarshal

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

type RequestQueryPathing_StartPos

type RequestQueryPathing_StartPos struct {
	StartPos *Point2D `protobuf:"bytes,1,opt,name=start_pos,json=startPos,oneof"`
}

func (*RequestQueryPathing_StartPos) MarshalTo

func (m *RequestQueryPathing_StartPos) MarshalTo(dAtA []byte) (int, error)

func (*RequestQueryPathing_StartPos) Size

func (m *RequestQueryPathing_StartPos) Size() (n int)

type RequestQueryPathing_UnitTag

type RequestQueryPathing_UnitTag struct {
	UnitTag UnitTag `protobuf:"varint,2,opt,name=unit_tag,json=unitTag,proto3,oneof,casttype=UnitTag"`
}

func (*RequestQueryPathing_UnitTag) MarshalTo

func (m *RequestQueryPathing_UnitTag) MarshalTo(dAtA []byte) (int, error)

func (*RequestQueryPathing_UnitTag) Size

func (m *RequestQueryPathing_UnitTag) Size() (n int)

type RequestQuickLoad

type RequestQuickLoad struct {
}

-----------------------------------------------------------------------------

func (*RequestQuickLoad) Descriptor

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

func (*RequestQuickLoad) Marshal

func (m *RequestQuickLoad) Marshal() (dAtA []byte, err error)

func (*RequestQuickLoad) MarshalTo

func (m *RequestQuickLoad) MarshalTo(dAtA []byte) (int, error)

func (*RequestQuickLoad) ProtoMessage

func (*RequestQuickLoad) ProtoMessage()

func (*RequestQuickLoad) Reset

func (m *RequestQuickLoad) Reset()

func (*RequestQuickLoad) Size

func (m *RequestQuickLoad) Size() (n int)

func (*RequestQuickLoad) String

func (m *RequestQuickLoad) String() string

func (*RequestQuickLoad) Unmarshal

func (m *RequestQuickLoad) Unmarshal(dAtA []byte) error

func (*RequestQuickLoad) XXX_DiscardUnknown

func (m *RequestQuickLoad) XXX_DiscardUnknown()

func (*RequestQuickLoad) XXX_Marshal

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

func (*RequestQuickLoad) XXX_Merge

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

func (*RequestQuickLoad) XXX_Size

func (m *RequestQuickLoad) XXX_Size() int

func (*RequestQuickLoad) XXX_Unmarshal

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

type RequestQuickSave

type RequestQuickSave struct {
}

-----------------------------------------------------------------------------

func (*RequestQuickSave) Descriptor

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

func (*RequestQuickSave) Marshal

func (m *RequestQuickSave) Marshal() (dAtA []byte, err error)

func (*RequestQuickSave) MarshalTo

func (m *RequestQuickSave) MarshalTo(dAtA []byte) (int, error)

func (*RequestQuickSave) ProtoMessage

func (*RequestQuickSave) ProtoMessage()

func (*RequestQuickSave) Reset

func (m *RequestQuickSave) Reset()

func (*RequestQuickSave) Size

func (m *RequestQuickSave) Size() (n int)

func (*RequestQuickSave) String

func (m *RequestQuickSave) String() string

func (*RequestQuickSave) Unmarshal

func (m *RequestQuickSave) Unmarshal(dAtA []byte) error

func (*RequestQuickSave) XXX_DiscardUnknown

func (m *RequestQuickSave) XXX_DiscardUnknown()

func (*RequestQuickSave) XXX_Marshal

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

func (*RequestQuickSave) XXX_Merge

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

func (*RequestQuickSave) XXX_Size

func (m *RequestQuickSave) XXX_Size() int

func (*RequestQuickSave) XXX_Unmarshal

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

type RequestQuit

type RequestQuit struct {
}

-----------------------------------------------------------------------------

func (*RequestQuit) Descriptor

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

func (*RequestQuit) Marshal

func (m *RequestQuit) Marshal() (dAtA []byte, err error)

func (*RequestQuit) MarshalTo

func (m *RequestQuit) MarshalTo(dAtA []byte) (int, error)

func (*RequestQuit) ProtoMessage

func (*RequestQuit) ProtoMessage()

func (*RequestQuit) Reset

func (m *RequestQuit) Reset()

func (*RequestQuit) Size

func (m *RequestQuit) Size() (n int)

func (*RequestQuit) String

func (m *RequestQuit) String() string

func (*RequestQuit) Unmarshal

func (m *RequestQuit) Unmarshal(dAtA []byte) error

func (*RequestQuit) XXX_DiscardUnknown

func (m *RequestQuit) XXX_DiscardUnknown()

func (*RequestQuit) XXX_Marshal

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

func (*RequestQuit) XXX_Merge

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

func (*RequestQuit) XXX_Size

func (m *RequestQuit) XXX_Size() int

func (*RequestQuit) XXX_Unmarshal

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

type RequestReplayInfo

type RequestReplayInfo struct {
	// Types that are valid to be assigned to Replay:
	//	*RequestReplayInfo_ReplayPath
	//	*RequestReplayInfo_ReplayData
	Replay       isRequestReplayInfo_Replay `protobuf_oneof:"replay"`
	DownloadData bool                       `protobuf:"varint,3,opt,name=download_data,json=downloadData,proto3" json:"download_data,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestReplayInfo) Descriptor

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

func (*RequestReplayInfo) GetDownloadData

func (m *RequestReplayInfo) GetDownloadData() bool

func (*RequestReplayInfo) GetReplay

func (m *RequestReplayInfo) GetReplay() isRequestReplayInfo_Replay

func (*RequestReplayInfo) GetReplayData

func (m *RequestReplayInfo) GetReplayData() []byte

func (*RequestReplayInfo) GetReplayPath

func (m *RequestReplayInfo) GetReplayPath() string

func (*RequestReplayInfo) Marshal

func (m *RequestReplayInfo) Marshal() (dAtA []byte, err error)

func (*RequestReplayInfo) MarshalTo

func (m *RequestReplayInfo) MarshalTo(dAtA []byte) (int, error)

func (*RequestReplayInfo) ProtoMessage

func (*RequestReplayInfo) ProtoMessage()

func (*RequestReplayInfo) Reset

func (m *RequestReplayInfo) Reset()

func (*RequestReplayInfo) Size

func (m *RequestReplayInfo) Size() (n int)

func (*RequestReplayInfo) String

func (m *RequestReplayInfo) String() string

func (*RequestReplayInfo) Unmarshal

func (m *RequestReplayInfo) Unmarshal(dAtA []byte) error

func (*RequestReplayInfo) XXX_DiscardUnknown

func (m *RequestReplayInfo) XXX_DiscardUnknown()

func (*RequestReplayInfo) XXX_Marshal

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

func (*RequestReplayInfo) XXX_Merge

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

func (*RequestReplayInfo) XXX_OneofFuncs

func (*RequestReplayInfo) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RequestReplayInfo) XXX_Size

func (m *RequestReplayInfo) XXX_Size() int

func (*RequestReplayInfo) XXX_Unmarshal

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

type RequestReplayInfo_ReplayData

type RequestReplayInfo_ReplayData struct {
	ReplayData []byte `protobuf:"bytes,2,opt,name=replay_data,json=replayData,proto3,oneof"`
}

func (*RequestReplayInfo_ReplayData) MarshalTo

func (m *RequestReplayInfo_ReplayData) MarshalTo(dAtA []byte) (int, error)

func (*RequestReplayInfo_ReplayData) Size

func (m *RequestReplayInfo_ReplayData) Size() (n int)

type RequestReplayInfo_ReplayPath

type RequestReplayInfo_ReplayPath struct {
	ReplayPath string `protobuf:"bytes,1,opt,name=replay_path,json=replayPath,proto3,oneof"`
}

func (*RequestReplayInfo_ReplayPath) MarshalTo

func (m *RequestReplayInfo_ReplayPath) MarshalTo(dAtA []byte) (int, error)

func (*RequestReplayInfo_ReplayPath) Size

func (m *RequestReplayInfo_ReplayPath) Size() (n int)

type RequestRestartGame

type RequestRestartGame struct {
}

-----------------------------------------------------------------------------

func (*RequestRestartGame) Descriptor

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

func (*RequestRestartGame) Marshal

func (m *RequestRestartGame) Marshal() (dAtA []byte, err error)

func (*RequestRestartGame) MarshalTo

func (m *RequestRestartGame) MarshalTo(dAtA []byte) (int, error)

func (*RequestRestartGame) ProtoMessage

func (*RequestRestartGame) ProtoMessage()

func (*RequestRestartGame) Reset

func (m *RequestRestartGame) Reset()

func (*RequestRestartGame) Size

func (m *RequestRestartGame) Size() (n int)

func (*RequestRestartGame) String

func (m *RequestRestartGame) String() string

func (*RequestRestartGame) Unmarshal

func (m *RequestRestartGame) Unmarshal(dAtA []byte) error

func (*RequestRestartGame) XXX_DiscardUnknown

func (m *RequestRestartGame) XXX_DiscardUnknown()

func (*RequestRestartGame) XXX_Marshal

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

func (*RequestRestartGame) XXX_Merge

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

func (*RequestRestartGame) XXX_Size

func (m *RequestRestartGame) XXX_Size() int

func (*RequestRestartGame) XXX_Unmarshal

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

type RequestSaveMap

type RequestSaveMap struct {
	MapPath string `protobuf:"bytes,1,opt,name=map_path,json=mapPath,proto3" json:"map_path,omitempty"`
	MapData []byte `protobuf:"bytes,2,opt,name=map_data,json=mapData,proto3" json:"map_data,omitempty"`
}

----------------------------------------------------------------------------- Copies map data into the path specified.

func (*RequestSaveMap) Descriptor

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

func (*RequestSaveMap) GetMapData

func (m *RequestSaveMap) GetMapData() []byte

func (*RequestSaveMap) GetMapPath

func (m *RequestSaveMap) GetMapPath() string

func (*RequestSaveMap) Marshal

func (m *RequestSaveMap) Marshal() (dAtA []byte, err error)

func (*RequestSaveMap) MarshalTo

func (m *RequestSaveMap) MarshalTo(dAtA []byte) (int, error)

func (*RequestSaveMap) ProtoMessage

func (*RequestSaveMap) ProtoMessage()

func (*RequestSaveMap) Reset

func (m *RequestSaveMap) Reset()

func (*RequestSaveMap) Size

func (m *RequestSaveMap) Size() (n int)

func (*RequestSaveMap) String

func (m *RequestSaveMap) String() string

func (*RequestSaveMap) Unmarshal

func (m *RequestSaveMap) Unmarshal(dAtA []byte) error

func (*RequestSaveMap) XXX_DiscardUnknown

func (m *RequestSaveMap) XXX_DiscardUnknown()

func (*RequestSaveMap) XXX_Marshal

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

func (*RequestSaveMap) XXX_Merge

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

func (*RequestSaveMap) XXX_Size

func (m *RequestSaveMap) XXX_Size() int

func (*RequestSaveMap) XXX_Unmarshal

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

type RequestSaveReplay

type RequestSaveReplay struct {
}

-----------------------------------------------------------------------------

func (*RequestSaveReplay) Descriptor

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

func (*RequestSaveReplay) Marshal

func (m *RequestSaveReplay) Marshal() (dAtA []byte, err error)

func (*RequestSaveReplay) MarshalTo

func (m *RequestSaveReplay) MarshalTo(dAtA []byte) (int, error)

func (*RequestSaveReplay) ProtoMessage

func (*RequestSaveReplay) ProtoMessage()

func (*RequestSaveReplay) Reset

func (m *RequestSaveReplay) Reset()

func (*RequestSaveReplay) Size

func (m *RequestSaveReplay) Size() (n int)

func (*RequestSaveReplay) String

func (m *RequestSaveReplay) String() string

func (*RequestSaveReplay) Unmarshal

func (m *RequestSaveReplay) Unmarshal(dAtA []byte) error

func (*RequestSaveReplay) XXX_DiscardUnknown

func (m *RequestSaveReplay) XXX_DiscardUnknown()

func (*RequestSaveReplay) XXX_Marshal

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

func (*RequestSaveReplay) XXX_Merge

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

func (*RequestSaveReplay) XXX_Size

func (m *RequestSaveReplay) XXX_Size() int

func (*RequestSaveReplay) XXX_Unmarshal

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

type RequestStartReplay

type RequestStartReplay struct {
	// Types that are valid to be assigned to Replay:
	//	*RequestStartReplay_ReplayPath
	//	*RequestStartReplay_ReplayData
	Replay           isRequestStartReplay_Replay `protobuf_oneof:"replay"`
	MapData          []byte                      `protobuf:"bytes,6,opt,name=map_data,json=mapData,proto3" json:"map_data,omitempty"`
	ObservedPlayerId PlayerID                    `` /* 130-byte string literal not displayed */
	Options          *InterfaceOptions           `protobuf:"bytes,3,opt,name=options" json:"options,omitempty"`
	DisableFog       bool                        `protobuf:"varint,4,opt,name=disable_fog,json=disableFog,proto3" json:"disable_fog,omitempty"`
	Realtime         bool                        `protobuf:"varint,7,opt,name=realtime,proto3" json:"realtime,omitempty"`
	RecordReplay     bool                        `protobuf:"varint,8,opt,name=record_replay,json=recordReplay,proto3" json:"record_replay,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestStartReplay) Descriptor

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

func (*RequestStartReplay) GetDisableFog

func (m *RequestStartReplay) GetDisableFog() bool

func (*RequestStartReplay) GetMapData

func (m *RequestStartReplay) GetMapData() []byte

func (*RequestStartReplay) GetObservedPlayerId

func (m *RequestStartReplay) GetObservedPlayerId() PlayerID

func (*RequestStartReplay) GetOptions

func (m *RequestStartReplay) GetOptions() *InterfaceOptions

func (*RequestStartReplay) GetRealtime

func (m *RequestStartReplay) GetRealtime() bool

func (*RequestStartReplay) GetRecordReplay

func (m *RequestStartReplay) GetRecordReplay() bool

func (*RequestStartReplay) GetReplay

func (m *RequestStartReplay) GetReplay() isRequestStartReplay_Replay

func (*RequestStartReplay) GetReplayData

func (m *RequestStartReplay) GetReplayData() []byte

func (*RequestStartReplay) GetReplayPath

func (m *RequestStartReplay) GetReplayPath() string

func (*RequestStartReplay) Marshal

func (m *RequestStartReplay) Marshal() (dAtA []byte, err error)

func (*RequestStartReplay) MarshalTo

func (m *RequestStartReplay) MarshalTo(dAtA []byte) (int, error)

func (*RequestStartReplay) ProtoMessage

func (*RequestStartReplay) ProtoMessage()

func (*RequestStartReplay) Reset

func (m *RequestStartReplay) Reset()

func (*RequestStartReplay) Size

func (m *RequestStartReplay) Size() (n int)

func (*RequestStartReplay) String

func (m *RequestStartReplay) String() string

func (*RequestStartReplay) Unmarshal

func (m *RequestStartReplay) Unmarshal(dAtA []byte) error

func (*RequestStartReplay) XXX_DiscardUnknown

func (m *RequestStartReplay) XXX_DiscardUnknown()

func (*RequestStartReplay) XXX_Marshal

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

func (*RequestStartReplay) XXX_Merge

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

func (*RequestStartReplay) XXX_OneofFuncs

func (*RequestStartReplay) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*RequestStartReplay) XXX_Size

func (m *RequestStartReplay) XXX_Size() int

func (*RequestStartReplay) XXX_Unmarshal

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

type RequestStartReplay_ReplayData

type RequestStartReplay_ReplayData struct {
	ReplayData []byte `protobuf:"bytes,5,opt,name=replay_data,json=replayData,proto3,oneof"`
}

func (*RequestStartReplay_ReplayData) MarshalTo

func (m *RequestStartReplay_ReplayData) MarshalTo(dAtA []byte) (int, error)

func (*RequestStartReplay_ReplayData) Size

func (m *RequestStartReplay_ReplayData) Size() (n int)

type RequestStartReplay_ReplayPath

type RequestStartReplay_ReplayPath struct {
	ReplayPath string `protobuf:"bytes,1,opt,name=replay_path,json=replayPath,proto3,oneof"`
}

func (*RequestStartReplay_ReplayPath) MarshalTo

func (m *RequestStartReplay_ReplayPath) MarshalTo(dAtA []byte) (int, error)

func (*RequestStartReplay_ReplayPath) Size

func (m *RequestStartReplay_ReplayPath) Size() (n int)

type RequestStep

type RequestStep struct {
	Count uint32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}

-----------------------------------------------------------------------------

func (*RequestStep) Descriptor

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

func (*RequestStep) GetCount

func (m *RequestStep) GetCount() uint32

func (*RequestStep) Marshal

func (m *RequestStep) Marshal() (dAtA []byte, err error)

func (*RequestStep) MarshalTo

func (m *RequestStep) MarshalTo(dAtA []byte) (int, error)

func (*RequestStep) ProtoMessage

func (*RequestStep) ProtoMessage()

func (*RequestStep) Reset

func (m *RequestStep) Reset()

func (*RequestStep) Size

func (m *RequestStep) Size() (n int)

func (*RequestStep) String

func (m *RequestStep) String() string

func (*RequestStep) Unmarshal

func (m *RequestStep) Unmarshal(dAtA []byte) error

func (*RequestStep) XXX_DiscardUnknown

func (m *RequestStep) XXX_DiscardUnknown()

func (*RequestStep) XXX_Marshal

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

func (*RequestStep) XXX_Merge

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

func (*RequestStep) XXX_Size

func (m *RequestStep) XXX_Size() int

func (*RequestStep) XXX_Unmarshal

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

type Request_Action

type Request_Action struct {
	Action *RequestAction `protobuf:"bytes,11,opt,name=action,oneof"`
}

func (*Request_Action) MarshalTo

func (m *Request_Action) MarshalTo(dAtA []byte) (int, error)

func (*Request_Action) Size

func (m *Request_Action) Size() (n int)

type Request_AvailableMaps

type Request_AvailableMaps struct {
	AvailableMaps *RequestAvailableMaps `protobuf:"bytes,17,opt,name=available_maps,json=availableMaps,oneof"`
}

func (*Request_AvailableMaps) MarshalTo

func (m *Request_AvailableMaps) MarshalTo(dAtA []byte) (int, error)

func (*Request_AvailableMaps) Size

func (m *Request_AvailableMaps) Size() (n int)

type Request_CreateGame

type Request_CreateGame struct {
	CreateGame *RequestCreateGame `protobuf:"bytes,1,opt,name=create_game,json=createGame,oneof"`
}

func (*Request_CreateGame) MarshalTo

func (m *Request_CreateGame) MarshalTo(dAtA []byte) (int, error)

func (*Request_CreateGame) Size

func (m *Request_CreateGame) Size() (n int)

type Request_Data

type Request_Data struct {
	Data *RequestData `protobuf:"bytes,13,opt,name=data,oneof"`
}

func (*Request_Data) MarshalTo

func (m *Request_Data) MarshalTo(dAtA []byte) (int, error)

func (*Request_Data) Size

func (m *Request_Data) Size() (n int)

type Request_Debug

type Request_Debug struct {
	Debug *RequestDebug `protobuf:"bytes,20,opt,name=debug,oneof"`
}

func (*Request_Debug) MarshalTo

func (m *Request_Debug) MarshalTo(dAtA []byte) (int, error)

func (*Request_Debug) Size

func (m *Request_Debug) Size() (n int)

type Request_GameInfo

type Request_GameInfo struct {
	GameInfo *RequestGameInfo `protobuf:"bytes,9,opt,name=game_info,json=gameInfo,oneof"`
}

func (*Request_GameInfo) MarshalTo

func (m *Request_GameInfo) MarshalTo(dAtA []byte) (int, error)

func (*Request_GameInfo) Size

func (m *Request_GameInfo) Size() (n int)

type Request_JoinGame

type Request_JoinGame struct {
	JoinGame *RequestJoinGame `protobuf:"bytes,2,opt,name=join_game,json=joinGame,oneof"`
}

func (*Request_JoinGame) MarshalTo

func (m *Request_JoinGame) MarshalTo(dAtA []byte) (int, error)

func (*Request_JoinGame) Size

func (m *Request_JoinGame) Size() (n int)

type Request_LeaveGame

type Request_LeaveGame struct {
	LeaveGame *RequestLeaveGame `protobuf:"bytes,5,opt,name=leave_game,json=leaveGame,oneof"`
}

func (*Request_LeaveGame) MarshalTo

func (m *Request_LeaveGame) MarshalTo(dAtA []byte) (int, error)

func (*Request_LeaveGame) Size

func (m *Request_LeaveGame) Size() (n int)

type Request_MapCommand

type Request_MapCommand struct {
	MapCommand *RequestMapCommand `protobuf:"bytes,22,opt,name=map_command,json=mapCommand,oneof"`
}

func (*Request_MapCommand) MarshalTo

func (m *Request_MapCommand) MarshalTo(dAtA []byte) (int, error)

func (*Request_MapCommand) Size

func (m *Request_MapCommand) Size() (n int)

type Request_ObsAction

type Request_ObsAction struct {
	ObsAction *RequestObserverAction `protobuf:"bytes,21,opt,name=obs_action,json=obsAction,oneof"`
}

func (*Request_ObsAction) MarshalTo

func (m *Request_ObsAction) MarshalTo(dAtA []byte) (int, error)

func (*Request_ObsAction) Size

func (m *Request_ObsAction) Size() (n int)

type Request_Observation

type Request_Observation struct {
	Observation *RequestObservation `protobuf:"bytes,10,opt,name=observation,oneof"`
}

func (*Request_Observation) MarshalTo

func (m *Request_Observation) MarshalTo(dAtA []byte) (int, error)

func (*Request_Observation) Size

func (m *Request_Observation) Size() (n int)

type Request_Ping

type Request_Ping struct {
	Ping *RequestPing `protobuf:"bytes,19,opt,name=ping,oneof"`
}

func (*Request_Ping) MarshalTo

func (m *Request_Ping) MarshalTo(dAtA []byte) (int, error)

func (*Request_Ping) Size

func (m *Request_Ping) Size() (n int)

type Request_Query

type Request_Query struct {
	Query *RequestQuery `protobuf:"bytes,14,opt,name=query,oneof"`
}

func (*Request_Query) MarshalTo

func (m *Request_Query) MarshalTo(dAtA []byte) (int, error)

func (*Request_Query) Size

func (m *Request_Query) Size() (n int)

type Request_QuickLoad

type Request_QuickLoad struct {
	QuickLoad *RequestQuickLoad `protobuf:"bytes,7,opt,name=quick_load,json=quickLoad,oneof"`
}

func (*Request_QuickLoad) MarshalTo

func (m *Request_QuickLoad) MarshalTo(dAtA []byte) (int, error)

func (*Request_QuickLoad) Size

func (m *Request_QuickLoad) Size() (n int)

type Request_QuickSave

type Request_QuickSave struct {
	QuickSave *RequestQuickSave `protobuf:"bytes,6,opt,name=quick_save,json=quickSave,oneof"`
}

func (*Request_QuickSave) MarshalTo

func (m *Request_QuickSave) MarshalTo(dAtA []byte) (int, error)

func (*Request_QuickSave) Size

func (m *Request_QuickSave) Size() (n int)

type Request_Quit

type Request_Quit struct {
	Quit *RequestQuit `protobuf:"bytes,8,opt,name=quit,oneof"`
}

func (*Request_Quit) MarshalTo

func (m *Request_Quit) MarshalTo(dAtA []byte) (int, error)

func (*Request_Quit) Size

func (m *Request_Quit) Size() (n int)

type Request_ReplayInfo

type Request_ReplayInfo struct {
	ReplayInfo *RequestReplayInfo `protobuf:"bytes,16,opt,name=replay_info,json=replayInfo,oneof"`
}

func (*Request_ReplayInfo) MarshalTo

func (m *Request_ReplayInfo) MarshalTo(dAtA []byte) (int, error)

func (*Request_ReplayInfo) Size

func (m *Request_ReplayInfo) Size() (n int)

type Request_RestartGame

type Request_RestartGame struct {
	RestartGame *RequestRestartGame `protobuf:"bytes,3,opt,name=restart_game,json=restartGame,oneof"`
}

func (*Request_RestartGame) MarshalTo

func (m *Request_RestartGame) MarshalTo(dAtA []byte) (int, error)

func (*Request_RestartGame) Size

func (m *Request_RestartGame) Size() (n int)

type Request_SaveMap

type Request_SaveMap struct {
	SaveMap *RequestSaveMap `protobuf:"bytes,18,opt,name=save_map,json=saveMap,oneof"`
}

func (*Request_SaveMap) MarshalTo

func (m *Request_SaveMap) MarshalTo(dAtA []byte) (int, error)

func (*Request_SaveMap) Size

func (m *Request_SaveMap) Size() (n int)

type Request_SaveReplay

type Request_SaveReplay struct {
	SaveReplay *RequestSaveReplay `protobuf:"bytes,15,opt,name=save_replay,json=saveReplay,oneof"`
}

func (*Request_SaveReplay) MarshalTo

func (m *Request_SaveReplay) MarshalTo(dAtA []byte) (int, error)

func (*Request_SaveReplay) Size

func (m *Request_SaveReplay) Size() (n int)

type Request_StartReplay

type Request_StartReplay struct {
	StartReplay *RequestStartReplay `protobuf:"bytes,4,opt,name=start_replay,json=startReplay,oneof"`
}

func (*Request_StartReplay) MarshalTo

func (m *Request_StartReplay) MarshalTo(dAtA []byte) (int, error)

func (*Request_StartReplay) Size

func (m *Request_StartReplay) Size() (n int)

type Request_Step

type Request_Step struct {
	Step *RequestStep `protobuf:"bytes,12,opt,name=step,oneof"`
}

func (*Request_Step) MarshalTo

func (m *Request_Step) MarshalTo(dAtA []byte) (int, error)

func (*Request_Step) Size

func (m *Request_Step) Size() (n int)

type Response

type Response struct {
	// Types that are valid to be assigned to Response:
	//	*Response_CreateGame
	//	*Response_JoinGame
	//	*Response_RestartGame
	//	*Response_StartReplay
	//	*Response_LeaveGame
	//	*Response_QuickSave
	//	*Response_QuickLoad
	//	*Response_Quit
	//	*Response_GameInfo
	//	*Response_Observation
	//	*Response_Action
	//	*Response_ObsAction
	//	*Response_Step
	//	*Response_Data
	//	*Response_Query
	//	*Response_SaveReplay
	//	*Response_ReplayInfo
	//	*Response_AvailableMaps
	//	*Response_SaveMap
	//	*Response_MapCommand
	//	*Response_Ping
	//	*Response_Debug
	Response isResponse_Response `protobuf_oneof:"response"`
	Id       uint32              `protobuf:"varint,97,opt,name=id,proto3" json:"id,omitempty"`
	Error    []string            `protobuf:"bytes,98,rep,name=error" json:"error,omitempty"`
	Status   Status              `protobuf:"varint,99,opt,name=status,proto3,enum=SC2APIProtocol.Status" json:"status,omitempty"`
}

func (*Response) Descriptor

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

func (*Response) GetAction

func (m *Response) GetAction() *ResponseAction

func (*Response) GetAvailableMaps

func (m *Response) GetAvailableMaps() *ResponseAvailableMaps

func (*Response) GetCreateGame

func (m *Response) GetCreateGame() *ResponseCreateGame

func (*Response) GetData

func (m *Response) GetData() *ResponseData

func (*Response) GetDebug

func (m *Response) GetDebug() *ResponseDebug

func (*Response) GetError

func (m *Response) GetError() []string

func (*Response) GetGameInfo

func (m *Response) GetGameInfo() *ResponseGameInfo

func (*Response) GetId

func (m *Response) GetId() uint32

func (*Response) GetJoinGame

func (m *Response) GetJoinGame() *ResponseJoinGame

func (*Response) GetLeaveGame

func (m *Response) GetLeaveGame() *ResponseLeaveGame

func (*Response) GetMapCommand

func (m *Response) GetMapCommand() *ResponseMapCommand

func (*Response) GetObsAction

func (m *Response) GetObsAction() *ResponseObserverAction

func (*Response) GetObservation

func (m *Response) GetObservation() *ResponseObservation

func (*Response) GetPing

func (m *Response) GetPing() *ResponsePing

func (*Response) GetQuery

func (m *Response) GetQuery() *ResponseQuery

func (*Response) GetQuickLoad

func (m *Response) GetQuickLoad() *ResponseQuickLoad

func (*Response) GetQuickSave

func (m *Response) GetQuickSave() *ResponseQuickSave

func (*Response) GetQuit

func (m *Response) GetQuit() *ResponseQuit

func (*Response) GetReplayInfo

func (m *Response) GetReplayInfo() *ResponseReplayInfo

func (*Response) GetResponse

func (m *Response) GetResponse() isResponse_Response

func (*Response) GetRestartGame

func (m *Response) GetRestartGame() *ResponseRestartGame

func (*Response) GetSaveMap

func (m *Response) GetSaveMap() *ResponseSaveMap

func (*Response) GetSaveReplay

func (m *Response) GetSaveReplay() *ResponseSaveReplay

func (*Response) GetStartReplay

func (m *Response) GetStartReplay() *ResponseStartReplay

func (*Response) GetStatus

func (m *Response) GetStatus() Status

func (*Response) GetStep

func (m *Response) GetStep() *ResponseStep

func (*Response) Marshal

func (m *Response) Marshal() (dAtA []byte, err error)

func (*Response) MarshalTo

func (m *Response) MarshalTo(dAtA []byte) (int, error)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) Size

func (m *Response) Size() (n int)

func (*Response) String

func (m *Response) String() string

func (*Response) Unmarshal

func (m *Response) Unmarshal(dAtA []byte) error

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_OneofFuncs

func (*Response) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

type ResponseAction

type ResponseAction struct {
	Result []ActionResult `protobuf:"varint,1,rep,packed,name=result,enum=SC2APIProtocol.ActionResult" json:"result,omitempty"`
}

func (*ResponseAction) Descriptor

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

func (*ResponseAction) GetResult

func (m *ResponseAction) GetResult() []ActionResult

func (*ResponseAction) Marshal

func (m *ResponseAction) Marshal() (dAtA []byte, err error)

func (*ResponseAction) MarshalTo

func (m *ResponseAction) MarshalTo(dAtA []byte) (int, error)

func (*ResponseAction) ProtoMessage

func (*ResponseAction) ProtoMessage()

func (*ResponseAction) Reset

func (m *ResponseAction) Reset()

func (*ResponseAction) Size

func (m *ResponseAction) Size() (n int)

func (*ResponseAction) String

func (m *ResponseAction) String() string

func (*ResponseAction) Unmarshal

func (m *ResponseAction) Unmarshal(dAtA []byte) error

func (*ResponseAction) XXX_DiscardUnknown

func (m *ResponseAction) XXX_DiscardUnknown()

func (*ResponseAction) XXX_Marshal

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

func (*ResponseAction) XXX_Merge

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

func (*ResponseAction) XXX_Size

func (m *ResponseAction) XXX_Size() int

func (*ResponseAction) XXX_Unmarshal

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

type ResponseAvailableMaps

type ResponseAvailableMaps struct {
	LocalMapPaths     []string `protobuf:"bytes,1,rep,name=local_map_paths,json=localMapPaths" json:"local_map_paths,omitempty"`
	BattlenetMapNames []string `protobuf:"bytes,2,rep,name=battlenet_map_names,json=battlenetMapNames" json:"battlenet_map_names,omitempty"`
}

This will only contain locally cached BattleNet maps. To download all ladder maps, log in and queue into a ladder match. To download any other map, play a custom game on that map.

func (*ResponseAvailableMaps) Descriptor

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

func (*ResponseAvailableMaps) GetBattlenetMapNames

func (m *ResponseAvailableMaps) GetBattlenetMapNames() []string

func (*ResponseAvailableMaps) GetLocalMapPaths

func (m *ResponseAvailableMaps) GetLocalMapPaths() []string

func (*ResponseAvailableMaps) Marshal

func (m *ResponseAvailableMaps) Marshal() (dAtA []byte, err error)

func (*ResponseAvailableMaps) MarshalTo

func (m *ResponseAvailableMaps) MarshalTo(dAtA []byte) (int, error)

func (*ResponseAvailableMaps) ProtoMessage

func (*ResponseAvailableMaps) ProtoMessage()

func (*ResponseAvailableMaps) Reset

func (m *ResponseAvailableMaps) Reset()

func (*ResponseAvailableMaps) Size

func (m *ResponseAvailableMaps) Size() (n int)

func (*ResponseAvailableMaps) String

func (m *ResponseAvailableMaps) String() string

func (*ResponseAvailableMaps) Unmarshal

func (m *ResponseAvailableMaps) Unmarshal(dAtA []byte) error

func (*ResponseAvailableMaps) XXX_DiscardUnknown

func (m *ResponseAvailableMaps) XXX_DiscardUnknown()

func (*ResponseAvailableMaps) XXX_Marshal

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

func (*ResponseAvailableMaps) XXX_Merge

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

func (*ResponseAvailableMaps) XXX_Size

func (m *ResponseAvailableMaps) XXX_Size() int

func (*ResponseAvailableMaps) XXX_Unmarshal

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

type ResponseCreateGame

type ResponseCreateGame struct {
	Error        ResponseCreateGame_Error `protobuf:"varint,1,opt,name=error,proto3,enum=SC2APIProtocol.ResponseCreateGame_Error" json:"error,omitempty"`
	ErrorDetails string                   `protobuf:"bytes,2,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
}

func (*ResponseCreateGame) Descriptor

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

func (*ResponseCreateGame) GetError

func (*ResponseCreateGame) GetErrorDetails

func (m *ResponseCreateGame) GetErrorDetails() string

func (*ResponseCreateGame) Marshal

func (m *ResponseCreateGame) Marshal() (dAtA []byte, err error)

func (*ResponseCreateGame) MarshalTo

func (m *ResponseCreateGame) MarshalTo(dAtA []byte) (int, error)

func (*ResponseCreateGame) ProtoMessage

func (*ResponseCreateGame) ProtoMessage()

func (*ResponseCreateGame) Reset

func (m *ResponseCreateGame) Reset()

func (*ResponseCreateGame) Size

func (m *ResponseCreateGame) Size() (n int)

func (*ResponseCreateGame) String

func (m *ResponseCreateGame) String() string

func (*ResponseCreateGame) Unmarshal

func (m *ResponseCreateGame) Unmarshal(dAtA []byte) error

func (*ResponseCreateGame) XXX_DiscardUnknown

func (m *ResponseCreateGame) XXX_DiscardUnknown()

func (*ResponseCreateGame) XXX_Marshal

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

func (*ResponseCreateGame) XXX_Merge

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

func (*ResponseCreateGame) XXX_Size

func (m *ResponseCreateGame) XXX_Size() int

func (*ResponseCreateGame) XXX_Unmarshal

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

type ResponseCreateGame_Error

type ResponseCreateGame_Error int32
const (
	ResponseCreateGame_nil                    ResponseCreateGame_Error = 0
	ResponseCreateGame_MissingMap             ResponseCreateGame_Error = 1
	ResponseCreateGame_InvalidMapPath         ResponseCreateGame_Error = 2
	ResponseCreateGame_InvalidMapData         ResponseCreateGame_Error = 3
	ResponseCreateGame_InvalidMapName         ResponseCreateGame_Error = 4
	ResponseCreateGame_InvalidMapHandle       ResponseCreateGame_Error = 5
	ResponseCreateGame_MissingPlayerSetup     ResponseCreateGame_Error = 6
	ResponseCreateGame_InvalidPlayerSetup     ResponseCreateGame_Error = 7
	ResponseCreateGame_MultiplayerUnsupported ResponseCreateGame_Error = 8
)

func (ResponseCreateGame_Error) EnumDescriptor

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

func (ResponseCreateGame_Error) String

func (x ResponseCreateGame_Error) String() string

type ResponseData

type ResponseData struct {
	Abilities []*AbilityData  `protobuf:"bytes,1,rep,name=abilities" json:"abilities,omitempty"`
	Units     []*UnitTypeData `protobuf:"bytes,2,rep,name=units" json:"units,omitempty"`
	Upgrades  []*UpgradeData  `protobuf:"bytes,3,rep,name=upgrades" json:"upgrades,omitempty"`
	Buffs     []*BuffData     `protobuf:"bytes,4,rep,name=buffs" json:"buffs,omitempty"`
	Effects   []*EffectData   `protobuf:"bytes,5,rep,name=effects" json:"effects,omitempty"`
}

func (*ResponseData) Descriptor

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

func (*ResponseData) GetAbilities

func (m *ResponseData) GetAbilities() []*AbilityData

func (*ResponseData) GetBuffs

func (m *ResponseData) GetBuffs() []*BuffData

func (*ResponseData) GetEffects

func (m *ResponseData) GetEffects() []*EffectData

func (*ResponseData) GetUnits

func (m *ResponseData) GetUnits() []*UnitTypeData

func (*ResponseData) GetUpgrades

func (m *ResponseData) GetUpgrades() []*UpgradeData

func (*ResponseData) Marshal

func (m *ResponseData) Marshal() (dAtA []byte, err error)

func (*ResponseData) MarshalTo

func (m *ResponseData) MarshalTo(dAtA []byte) (int, error)

func (*ResponseData) ProtoMessage

func (*ResponseData) ProtoMessage()

func (*ResponseData) Reset

func (m *ResponseData) Reset()

func (*ResponseData) Size

func (m *ResponseData) Size() (n int)

func (*ResponseData) String

func (m *ResponseData) String() string

func (*ResponseData) Unmarshal

func (m *ResponseData) Unmarshal(dAtA []byte) error

func (*ResponseData) XXX_DiscardUnknown

func (m *ResponseData) XXX_DiscardUnknown()

func (*ResponseData) XXX_Marshal

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

func (*ResponseData) XXX_Merge

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

func (*ResponseData) XXX_Size

func (m *ResponseData) XXX_Size() int

func (*ResponseData) XXX_Unmarshal

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

type ResponseDebug

type ResponseDebug struct {
}

func (*ResponseDebug) Descriptor

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

func (*ResponseDebug) Marshal

func (m *ResponseDebug) Marshal() (dAtA []byte, err error)

func (*ResponseDebug) MarshalTo

func (m *ResponseDebug) MarshalTo(dAtA []byte) (int, error)

func (*ResponseDebug) ProtoMessage

func (*ResponseDebug) ProtoMessage()

func (*ResponseDebug) Reset

func (m *ResponseDebug) Reset()

func (*ResponseDebug) Size

func (m *ResponseDebug) Size() (n int)

func (*ResponseDebug) String

func (m *ResponseDebug) String() string

func (*ResponseDebug) Unmarshal

func (m *ResponseDebug) Unmarshal(dAtA []byte) error

func (*ResponseDebug) XXX_DiscardUnknown

func (m *ResponseDebug) XXX_DiscardUnknown()

func (*ResponseDebug) XXX_Marshal

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

func (*ResponseDebug) XXX_Merge

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

func (*ResponseDebug) XXX_Size

func (m *ResponseDebug) XXX_Size() int

func (*ResponseDebug) XXX_Unmarshal

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

type ResponseGameInfo

type ResponseGameInfo struct {
	MapName      string            `protobuf:"bytes,1,opt,name=map_name,json=mapName,proto3" json:"map_name,omitempty"`
	ModNames     []string          `protobuf:"bytes,6,rep,name=mod_names,json=modNames" json:"mod_names,omitempty"`
	LocalMapPath string            `protobuf:"bytes,2,opt,name=local_map_path,json=localMapPath,proto3" json:"local_map_path,omitempty"`
	PlayerInfo   []*PlayerInfo     `protobuf:"bytes,3,rep,name=player_info,json=playerInfo" json:"player_info,omitempty"`
	StartRaw     *StartRaw         `protobuf:"bytes,4,opt,name=start_raw,json=startRaw" json:"start_raw,omitempty"`
	Options      *InterfaceOptions `protobuf:"bytes,5,opt,name=options" json:"options,omitempty"`
}

func (*ResponseGameInfo) Descriptor

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

func (*ResponseGameInfo) GetLocalMapPath

func (m *ResponseGameInfo) GetLocalMapPath() string

func (*ResponseGameInfo) GetMapName

func (m *ResponseGameInfo) GetMapName() string

func (*ResponseGameInfo) GetModNames

func (m *ResponseGameInfo) GetModNames() []string

func (*ResponseGameInfo) GetOptions

func (m *ResponseGameInfo) GetOptions() *InterfaceOptions

func (*ResponseGameInfo) GetPlayerInfo

func (m *ResponseGameInfo) GetPlayerInfo() []*PlayerInfo

func (*ResponseGameInfo) GetStartRaw

func (m *ResponseGameInfo) GetStartRaw() *StartRaw

func (*ResponseGameInfo) Marshal

func (m *ResponseGameInfo) Marshal() (dAtA []byte, err error)

func (*ResponseGameInfo) MarshalTo

func (m *ResponseGameInfo) MarshalTo(dAtA []byte) (int, error)

func (*ResponseGameInfo) ProtoMessage

func (*ResponseGameInfo) ProtoMessage()

func (*ResponseGameInfo) Reset

func (m *ResponseGameInfo) Reset()

func (*ResponseGameInfo) Size

func (m *ResponseGameInfo) Size() (n int)

func (*ResponseGameInfo) String

func (m *ResponseGameInfo) String() string

func (*ResponseGameInfo) Unmarshal

func (m *ResponseGameInfo) Unmarshal(dAtA []byte) error

func (*ResponseGameInfo) XXX_DiscardUnknown

func (m *ResponseGameInfo) XXX_DiscardUnknown()

func (*ResponseGameInfo) XXX_Marshal

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

func (*ResponseGameInfo) XXX_Merge

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

func (*ResponseGameInfo) XXX_Size

func (m *ResponseGameInfo) XXX_Size() int

func (*ResponseGameInfo) XXX_Unmarshal

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

type ResponseJoinGame

type ResponseJoinGame struct {
	PlayerId     PlayerID               `protobuf:"varint,1,opt,name=player_id,json=playerId,proto3,casttype=PlayerID" json:"player_id,omitempty"`
	Error        ResponseJoinGame_Error `protobuf:"varint,2,opt,name=error,proto3,enum=SC2APIProtocol.ResponseJoinGame_Error" json:"error,omitempty"`
	ErrorDetails string                 `protobuf:"bytes,3,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
}

func (*ResponseJoinGame) Descriptor

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

func (*ResponseJoinGame) GetError

func (*ResponseJoinGame) GetErrorDetails

func (m *ResponseJoinGame) GetErrorDetails() string

func (*ResponseJoinGame) GetPlayerId

func (m *ResponseJoinGame) GetPlayerId() PlayerID

func (*ResponseJoinGame) Marshal

func (m *ResponseJoinGame) Marshal() (dAtA []byte, err error)

func (*ResponseJoinGame) MarshalTo

func (m *ResponseJoinGame) MarshalTo(dAtA []byte) (int, error)

func (*ResponseJoinGame) ProtoMessage

func (*ResponseJoinGame) ProtoMessage()

func (*ResponseJoinGame) Reset

func (m *ResponseJoinGame) Reset()

func (*ResponseJoinGame) Size

func (m *ResponseJoinGame) Size() (n int)

func (*ResponseJoinGame) String

func (m *ResponseJoinGame) String() string

func (*ResponseJoinGame) Unmarshal

func (m *ResponseJoinGame) Unmarshal(dAtA []byte) error

func (*ResponseJoinGame) XXX_DiscardUnknown

func (m *ResponseJoinGame) XXX_DiscardUnknown()

func (*ResponseJoinGame) XXX_Marshal

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

func (*ResponseJoinGame) XXX_Merge

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

func (*ResponseJoinGame) XXX_Size

func (m *ResponseJoinGame) XXX_Size() int

func (*ResponseJoinGame) XXX_Unmarshal

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

type ResponseJoinGame_Error

type ResponseJoinGame_Error int32
const (
	ResponseJoinGame_nil                     ResponseJoinGame_Error = 0
	ResponseJoinGame_MissingParticipation    ResponseJoinGame_Error = 1
	ResponseJoinGame_InvalidObservedPlayerId ResponseJoinGame_Error = 2
	ResponseJoinGame_MissingOptions          ResponseJoinGame_Error = 3
	ResponseJoinGame_MissingPorts            ResponseJoinGame_Error = 4
	ResponseJoinGame_GameFull                ResponseJoinGame_Error = 5
	ResponseJoinGame_LaunchError             ResponseJoinGame_Error = 6
	ResponseJoinGame_FeatureUnsupported      ResponseJoinGame_Error = 7
	ResponseJoinGame_NoSpaceForUser          ResponseJoinGame_Error = 8
	ResponseJoinGame_MapDoesNotExist         ResponseJoinGame_Error = 9
	ResponseJoinGame_CannotOpenMap           ResponseJoinGame_Error = 10
	ResponseJoinGame_ChecksumError           ResponseJoinGame_Error = 11
	ResponseJoinGame_NetworkError            ResponseJoinGame_Error = 12
	ResponseJoinGame_OtherError              ResponseJoinGame_Error = 13
)

func (ResponseJoinGame_Error) EnumDescriptor

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

func (ResponseJoinGame_Error) String

func (x ResponseJoinGame_Error) String() string

type ResponseLeaveGame

type ResponseLeaveGame struct {
}

func (*ResponseLeaveGame) Descriptor

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

func (*ResponseLeaveGame) Marshal

func (m *ResponseLeaveGame) Marshal() (dAtA []byte, err error)

func (*ResponseLeaveGame) MarshalTo

func (m *ResponseLeaveGame) MarshalTo(dAtA []byte) (int, error)

func (*ResponseLeaveGame) ProtoMessage

func (*ResponseLeaveGame) ProtoMessage()

func (*ResponseLeaveGame) Reset

func (m *ResponseLeaveGame) Reset()

func (*ResponseLeaveGame) Size

func (m *ResponseLeaveGame) Size() (n int)

func (*ResponseLeaveGame) String

func (m *ResponseLeaveGame) String() string

func (*ResponseLeaveGame) Unmarshal

func (m *ResponseLeaveGame) Unmarshal(dAtA []byte) error

func (*ResponseLeaveGame) XXX_DiscardUnknown

func (m *ResponseLeaveGame) XXX_DiscardUnknown()

func (*ResponseLeaveGame) XXX_Marshal

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

func (*ResponseLeaveGame) XXX_Merge

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

func (*ResponseLeaveGame) XXX_Size

func (m *ResponseLeaveGame) XXX_Size() int

func (*ResponseLeaveGame) XXX_Unmarshal

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

type ResponseMapCommand

type ResponseMapCommand struct {
	Error        ResponseMapCommand_Error `protobuf:"varint,1,opt,name=error,proto3,enum=SC2APIProtocol.ResponseMapCommand_Error" json:"error,omitempty"`
	ErrorDetails string                   `protobuf:"bytes,2,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
}

func (*ResponseMapCommand) Descriptor

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

func (*ResponseMapCommand) GetError

func (*ResponseMapCommand) GetErrorDetails

func (m *ResponseMapCommand) GetErrorDetails() string

func (*ResponseMapCommand) Marshal

func (m *ResponseMapCommand) Marshal() (dAtA []byte, err error)

func (*ResponseMapCommand) MarshalTo

func (m *ResponseMapCommand) MarshalTo(dAtA []byte) (int, error)

func (*ResponseMapCommand) ProtoMessage

func (*ResponseMapCommand) ProtoMessage()

func (*ResponseMapCommand) Reset

func (m *ResponseMapCommand) Reset()

func (*ResponseMapCommand) Size

func (m *ResponseMapCommand) Size() (n int)

func (*ResponseMapCommand) String

func (m *ResponseMapCommand) String() string

func (*ResponseMapCommand) Unmarshal

func (m *ResponseMapCommand) Unmarshal(dAtA []byte) error

func (*ResponseMapCommand) XXX_DiscardUnknown

func (m *ResponseMapCommand) XXX_DiscardUnknown()

func (*ResponseMapCommand) XXX_Marshal

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

func (*ResponseMapCommand) XXX_Merge

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

func (*ResponseMapCommand) XXX_Size

func (m *ResponseMapCommand) XXX_Size() int

func (*ResponseMapCommand) XXX_Unmarshal

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

type ResponseMapCommand_Error

type ResponseMapCommand_Error int32
const (
	ResponseMapCommand_nil            ResponseMapCommand_Error = 0
	ResponseMapCommand_NoTriggerError ResponseMapCommand_Error = 1
)

func (ResponseMapCommand_Error) EnumDescriptor

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

func (ResponseMapCommand_Error) String

func (x ResponseMapCommand_Error) String() string

type ResponseObservation

type ResponseObservation struct {
	Actions      []*Action       `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"`
	ActionErrors []*ActionError  `protobuf:"bytes,2,rep,name=action_errors,json=actionErrors" json:"action_errors,omitempty"`
	Observation  *Observation    `protobuf:"bytes,3,opt,name=observation" json:"observation,omitempty"`
	PlayerResult []*PlayerResult `protobuf:"bytes,4,rep,name=player_result,json=playerResult" json:"player_result,omitempty"`
	Chat         []*ChatReceived `protobuf:"bytes,5,rep,name=chat" json:"chat,omitempty"`
}

func (*ResponseObservation) Descriptor

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

func (*ResponseObservation) GetActionErrors

func (m *ResponseObservation) GetActionErrors() []*ActionError

func (*ResponseObservation) GetActions

func (m *ResponseObservation) GetActions() []*Action

func (*ResponseObservation) GetChat

func (m *ResponseObservation) GetChat() []*ChatReceived

func (*ResponseObservation) GetObservation

func (m *ResponseObservation) GetObservation() *Observation

func (*ResponseObservation) GetPlayerResult

func (m *ResponseObservation) GetPlayerResult() []*PlayerResult

func (*ResponseObservation) Marshal

func (m *ResponseObservation) Marshal() (dAtA []byte, err error)

func (*ResponseObservation) MarshalTo

func (m *ResponseObservation) MarshalTo(dAtA []byte) (int, error)

func (*ResponseObservation) ProtoMessage

func (*ResponseObservation) ProtoMessage()

func (*ResponseObservation) Reset

func (m *ResponseObservation) Reset()

func (*ResponseObservation) Size

func (m *ResponseObservation) Size() (n int)

func (*ResponseObservation) String

func (m *ResponseObservation) String() string

func (*ResponseObservation) Unmarshal

func (m *ResponseObservation) Unmarshal(dAtA []byte) error

func (*ResponseObservation) XXX_DiscardUnknown

func (m *ResponseObservation) XXX_DiscardUnknown()

func (*ResponseObservation) XXX_Marshal

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

func (*ResponseObservation) XXX_Merge

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

func (*ResponseObservation) XXX_Size

func (m *ResponseObservation) XXX_Size() int

func (*ResponseObservation) XXX_Unmarshal

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

type ResponseObserverAction

type ResponseObserverAction struct {
}

func (*ResponseObserverAction) Descriptor

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

func (*ResponseObserverAction) Marshal

func (m *ResponseObserverAction) Marshal() (dAtA []byte, err error)

func (*ResponseObserverAction) MarshalTo

func (m *ResponseObserverAction) MarshalTo(dAtA []byte) (int, error)

func (*ResponseObserverAction) ProtoMessage

func (*ResponseObserverAction) ProtoMessage()

func (*ResponseObserverAction) Reset

func (m *ResponseObserverAction) Reset()

func (*ResponseObserverAction) Size

func (m *ResponseObserverAction) Size() (n int)

func (*ResponseObserverAction) String

func (m *ResponseObserverAction) String() string

func (*ResponseObserverAction) Unmarshal

func (m *ResponseObserverAction) Unmarshal(dAtA []byte) error

func (*ResponseObserverAction) XXX_DiscardUnknown

func (m *ResponseObserverAction) XXX_DiscardUnknown()

func (*ResponseObserverAction) XXX_Marshal

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

func (*ResponseObserverAction) XXX_Merge

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

func (*ResponseObserverAction) XXX_Size

func (m *ResponseObserverAction) XXX_Size() int

func (*ResponseObserverAction) XXX_Unmarshal

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

type ResponsePing

type ResponsePing struct {
	GameVersion string `protobuf:"bytes,1,opt,name=game_version,json=gameVersion,proto3" json:"game_version,omitempty"`
	DataVersion string `protobuf:"bytes,2,opt,name=data_version,json=dataVersion,proto3" json:"data_version,omitempty"`
	DataBuild   uint32 `protobuf:"varint,3,opt,name=data_build,json=dataBuild,proto3" json:"data_build,omitempty"`
	BaseBuild   uint32 `protobuf:"varint,4,opt,name=base_build,json=baseBuild,proto3" json:"base_build,omitempty"`
}

func (*ResponsePing) Descriptor

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

func (*ResponsePing) GetBaseBuild

func (m *ResponsePing) GetBaseBuild() uint32

func (*ResponsePing) GetDataBuild

func (m *ResponsePing) GetDataBuild() uint32

func (*ResponsePing) GetDataVersion

func (m *ResponsePing) GetDataVersion() string

func (*ResponsePing) GetGameVersion

func (m *ResponsePing) GetGameVersion() string

func (*ResponsePing) Marshal

func (m *ResponsePing) Marshal() (dAtA []byte, err error)

func (*ResponsePing) MarshalTo

func (m *ResponsePing) MarshalTo(dAtA []byte) (int, error)

func (*ResponsePing) ProtoMessage

func (*ResponsePing) ProtoMessage()

func (*ResponsePing) Reset

func (m *ResponsePing) Reset()

func (*ResponsePing) Size

func (m *ResponsePing) Size() (n int)

func (*ResponsePing) String

func (m *ResponsePing) String() string

func (*ResponsePing) Unmarshal

func (m *ResponsePing) Unmarshal(dAtA []byte) error

func (*ResponsePing) XXX_DiscardUnknown

func (m *ResponsePing) XXX_DiscardUnknown()

func (*ResponsePing) XXX_Marshal

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

func (*ResponsePing) XXX_Merge

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

func (*ResponsePing) XXX_Size

func (m *ResponsePing) XXX_Size() int

func (*ResponsePing) XXX_Unmarshal

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

type ResponseQuery

type ResponseQuery struct {
	Pathing    []*ResponseQueryPathing            `protobuf:"bytes,1,rep,name=pathing" json:"pathing,omitempty"`
	Abilities  []*ResponseQueryAvailableAbilities `protobuf:"bytes,2,rep,name=abilities" json:"abilities,omitempty"`
	Placements []*ResponseQueryBuildingPlacement  `protobuf:"bytes,3,rep,name=placements" json:"placements,omitempty"`
}

func (*ResponseQuery) Descriptor

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

func (*ResponseQuery) GetAbilities

func (m *ResponseQuery) GetAbilities() []*ResponseQueryAvailableAbilities

func (*ResponseQuery) GetPathing

func (m *ResponseQuery) GetPathing() []*ResponseQueryPathing

func (*ResponseQuery) GetPlacements

func (m *ResponseQuery) GetPlacements() []*ResponseQueryBuildingPlacement

func (*ResponseQuery) Marshal

func (m *ResponseQuery) Marshal() (dAtA []byte, err error)

func (*ResponseQuery) MarshalTo

func (m *ResponseQuery) MarshalTo(dAtA []byte) (int, error)

func (*ResponseQuery) ProtoMessage

func (*ResponseQuery) ProtoMessage()

func (*ResponseQuery) Reset

func (m *ResponseQuery) Reset()

func (*ResponseQuery) Size

func (m *ResponseQuery) Size() (n int)

func (*ResponseQuery) String

func (m *ResponseQuery) String() string

func (*ResponseQuery) Unmarshal

func (m *ResponseQuery) Unmarshal(dAtA []byte) error

func (*ResponseQuery) XXX_DiscardUnknown

func (m *ResponseQuery) XXX_DiscardUnknown()

func (*ResponseQuery) XXX_Marshal

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

func (*ResponseQuery) XXX_Merge

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

func (*ResponseQuery) XXX_Size

func (m *ResponseQuery) XXX_Size() int

func (*ResponseQuery) XXX_Unmarshal

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

type ResponseQueryAvailableAbilities

type ResponseQueryAvailableAbilities struct {
	Abilities  []*AvailableAbility `protobuf:"bytes,1,rep,name=abilities" json:"abilities,omitempty"`
	UnitTag    UnitTag             `protobuf:"varint,2,opt,name=unit_tag,json=unitTag,proto3,casttype=UnitTag" json:"unit_tag,omitempty"`
	UnitTypeId UnitTypeID          `protobuf:"varint,3,opt,name=unit_type_id,json=unitTypeId,proto3,casttype=UnitTypeID" json:"unit_type_id,omitempty"`
}

func (*ResponseQueryAvailableAbilities) Descriptor

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

func (*ResponseQueryAvailableAbilities) GetAbilities

func (*ResponseQueryAvailableAbilities) GetUnitTag

func (m *ResponseQueryAvailableAbilities) GetUnitTag() UnitTag

func (*ResponseQueryAvailableAbilities) GetUnitTypeId

func (m *ResponseQueryAvailableAbilities) GetUnitTypeId() UnitTypeID

func (*ResponseQueryAvailableAbilities) Marshal

func (m *ResponseQueryAvailableAbilities) Marshal() (dAtA []byte, err error)

func (*ResponseQueryAvailableAbilities) MarshalTo

func (m *ResponseQueryAvailableAbilities) MarshalTo(dAtA []byte) (int, error)

func (*ResponseQueryAvailableAbilities) ProtoMessage

func (*ResponseQueryAvailableAbilities) ProtoMessage()

func (*ResponseQueryAvailableAbilities) Reset

func (*ResponseQueryAvailableAbilities) Size

func (m *ResponseQueryAvailableAbilities) Size() (n int)

func (*ResponseQueryAvailableAbilities) String

func (*ResponseQueryAvailableAbilities) Unmarshal

func (m *ResponseQueryAvailableAbilities) Unmarshal(dAtA []byte) error

func (*ResponseQueryAvailableAbilities) XXX_DiscardUnknown

func (m *ResponseQueryAvailableAbilities) XXX_DiscardUnknown()

func (*ResponseQueryAvailableAbilities) XXX_Marshal

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

func (*ResponseQueryAvailableAbilities) XXX_Merge

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

func (*ResponseQueryAvailableAbilities) XXX_Size

func (m *ResponseQueryAvailableAbilities) XXX_Size() int

func (*ResponseQueryAvailableAbilities) XXX_Unmarshal

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

type ResponseQueryBuildingPlacement

type ResponseQueryBuildingPlacement struct {
	Result ActionResult `protobuf:"varint,1,opt,name=result,proto3,enum=SC2APIProtocol.ActionResult" json:"result,omitempty"`
}

func (*ResponseQueryBuildingPlacement) Descriptor

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

func (*ResponseQueryBuildingPlacement) GetResult

func (*ResponseQueryBuildingPlacement) Marshal

func (m *ResponseQueryBuildingPlacement) Marshal() (dAtA []byte, err error)

func (*ResponseQueryBuildingPlacement) MarshalTo

func (m *ResponseQueryBuildingPlacement) MarshalTo(dAtA []byte) (int, error)

func (*ResponseQueryBuildingPlacement) ProtoMessage

func (*ResponseQueryBuildingPlacement) ProtoMessage()

func (*ResponseQueryBuildingPlacement) Reset

func (m *ResponseQueryBuildingPlacement) Reset()

func (*ResponseQueryBuildingPlacement) Size

func (m *ResponseQueryBuildingPlacement) Size() (n int)

func (*ResponseQueryBuildingPlacement) String

func (*ResponseQueryBuildingPlacement) Unmarshal

func (m *ResponseQueryBuildingPlacement) Unmarshal(dAtA []byte) error

func (*ResponseQueryBuildingPlacement) XXX_DiscardUnknown

func (m *ResponseQueryBuildingPlacement) XXX_DiscardUnknown()

func (*ResponseQueryBuildingPlacement) XXX_Marshal

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

func (*ResponseQueryBuildingPlacement) XXX_Merge

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

func (*ResponseQueryBuildingPlacement) XXX_Size

func (m *ResponseQueryBuildingPlacement) XXX_Size() int

func (*ResponseQueryBuildingPlacement) XXX_Unmarshal

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

type ResponseQueryPathing

type ResponseQueryPathing struct {
	Distance float32 `protobuf:"fixed32,1,opt,name=distance,proto3" json:"distance,omitempty"`
}

func (*ResponseQueryPathing) Descriptor

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

func (*ResponseQueryPathing) GetDistance

func (m *ResponseQueryPathing) GetDistance() float32

func (*ResponseQueryPathing) Marshal

func (m *ResponseQueryPathing) Marshal() (dAtA []byte, err error)

func (*ResponseQueryPathing) MarshalTo

func (m *ResponseQueryPathing) MarshalTo(dAtA []byte) (int, error)

func (*ResponseQueryPathing) ProtoMessage

func (*ResponseQueryPathing) ProtoMessage()

func (*ResponseQueryPathing) Reset

func (m *ResponseQueryPathing) Reset()

func (*ResponseQueryPathing) Size

func (m *ResponseQueryPathing) Size() (n int)

func (*ResponseQueryPathing) String

func (m *ResponseQueryPathing) String() string

func (*ResponseQueryPathing) Unmarshal

func (m *ResponseQueryPathing) Unmarshal(dAtA []byte) error

func (*ResponseQueryPathing) XXX_DiscardUnknown

func (m *ResponseQueryPathing) XXX_DiscardUnknown()

func (*ResponseQueryPathing) XXX_Marshal

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

func (*ResponseQueryPathing) XXX_Merge

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

func (*ResponseQueryPathing) XXX_Size

func (m *ResponseQueryPathing) XXX_Size() int

func (*ResponseQueryPathing) XXX_Unmarshal

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

type ResponseQuickLoad

type ResponseQuickLoad struct {
}

-----------------------------------------------------------------------------

func (*ResponseQuickLoad) Descriptor

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

func (*ResponseQuickLoad) Marshal

func (m *ResponseQuickLoad) Marshal() (dAtA []byte, err error)

func (*ResponseQuickLoad) MarshalTo

func (m *ResponseQuickLoad) MarshalTo(dAtA []byte) (int, error)

func (*ResponseQuickLoad) ProtoMessage

func (*ResponseQuickLoad) ProtoMessage()

func (*ResponseQuickLoad) Reset

func (m *ResponseQuickLoad) Reset()

func (*ResponseQuickLoad) Size

func (m *ResponseQuickLoad) Size() (n int)

func (*ResponseQuickLoad) String

func (m *ResponseQuickLoad) String() string

func (*ResponseQuickLoad) Unmarshal

func (m *ResponseQuickLoad) Unmarshal(dAtA []byte) error

func (*ResponseQuickLoad) XXX_DiscardUnknown

func (m *ResponseQuickLoad) XXX_DiscardUnknown()

func (*ResponseQuickLoad) XXX_Marshal

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

func (*ResponseQuickLoad) XXX_Merge

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

func (*ResponseQuickLoad) XXX_Size

func (m *ResponseQuickLoad) XXX_Size() int

func (*ResponseQuickLoad) XXX_Unmarshal

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

type ResponseQuickSave

type ResponseQuickSave struct {
}

-----------------------------------------------------------------------------

func (*ResponseQuickSave) Descriptor

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

func (*ResponseQuickSave) Marshal

func (m *ResponseQuickSave) Marshal() (dAtA []byte, err error)

func (*ResponseQuickSave) MarshalTo

func (m *ResponseQuickSave) MarshalTo(dAtA []byte) (int, error)

func (*ResponseQuickSave) ProtoMessage

func (*ResponseQuickSave) ProtoMessage()

func (*ResponseQuickSave) Reset

func (m *ResponseQuickSave) Reset()

func (*ResponseQuickSave) Size

func (m *ResponseQuickSave) Size() (n int)

func (*ResponseQuickSave) String

func (m *ResponseQuickSave) String() string

func (*ResponseQuickSave) Unmarshal

func (m *ResponseQuickSave) Unmarshal(dAtA []byte) error

func (*ResponseQuickSave) XXX_DiscardUnknown

func (m *ResponseQuickSave) XXX_DiscardUnknown()

func (*ResponseQuickSave) XXX_Marshal

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

func (*ResponseQuickSave) XXX_Merge

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

func (*ResponseQuickSave) XXX_Size

func (m *ResponseQuickSave) XXX_Size() int

func (*ResponseQuickSave) XXX_Unmarshal

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

type ResponseQuit

type ResponseQuit struct {
}

func (*ResponseQuit) Descriptor

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

func (*ResponseQuit) Marshal

func (m *ResponseQuit) Marshal() (dAtA []byte, err error)

func (*ResponseQuit) MarshalTo

func (m *ResponseQuit) MarshalTo(dAtA []byte) (int, error)

func (*ResponseQuit) ProtoMessage

func (*ResponseQuit) ProtoMessage()

func (*ResponseQuit) Reset

func (m *ResponseQuit) Reset()

func (*ResponseQuit) Size

func (m *ResponseQuit) Size() (n int)

func (*ResponseQuit) String

func (m *ResponseQuit) String() string

func (*ResponseQuit) Unmarshal

func (m *ResponseQuit) Unmarshal(dAtA []byte) error

func (*ResponseQuit) XXX_DiscardUnknown

func (m *ResponseQuit) XXX_DiscardUnknown()

func (*ResponseQuit) XXX_Marshal

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

func (*ResponseQuit) XXX_Merge

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

func (*ResponseQuit) XXX_Size

func (m *ResponseQuit) XXX_Size() int

func (*ResponseQuit) XXX_Unmarshal

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

type ResponseReplayInfo

type ResponseReplayInfo struct {
	MapName             string                   `protobuf:"bytes,1,opt,name=map_name,json=mapName,proto3" json:"map_name,omitempty"`
	LocalMapPath        string                   `protobuf:"bytes,2,opt,name=local_map_path,json=localMapPath,proto3" json:"local_map_path,omitempty"`
	PlayerInfo          []*PlayerInfoExtra       `protobuf:"bytes,3,rep,name=player_info,json=playerInfo" json:"player_info,omitempty"`
	GameDurationLoops   uint32                   `protobuf:"varint,4,opt,name=game_duration_loops,json=gameDurationLoops,proto3" json:"game_duration_loops,omitempty"`
	GameDurationSeconds float32                  `protobuf:"fixed32,5,opt,name=game_duration_seconds,json=gameDurationSeconds,proto3" json:"game_duration_seconds,omitempty"`
	GameVersion         string                   `protobuf:"bytes,6,opt,name=game_version,json=gameVersion,proto3" json:"game_version,omitempty"`
	DataVersion         string                   `protobuf:"bytes,11,opt,name=data_version,json=dataVersion,proto3" json:"data_version,omitempty"`
	DataBuild           uint32                   `protobuf:"varint,7,opt,name=data_build,json=dataBuild,proto3" json:"data_build,omitempty"`
	BaseBuild           uint32                   `protobuf:"varint,8,opt,name=base_build,json=baseBuild,proto3" json:"base_build,omitempty"`
	Error               ResponseReplayInfo_Error `protobuf:"varint,9,opt,name=error,proto3,enum=SC2APIProtocol.ResponseReplayInfo_Error" json:"error,omitempty"`
	ErrorDetails        string                   `protobuf:"bytes,10,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
}

func (*ResponseReplayInfo) Descriptor

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

func (*ResponseReplayInfo) GetBaseBuild

func (m *ResponseReplayInfo) GetBaseBuild() uint32

func (*ResponseReplayInfo) GetDataBuild

func (m *ResponseReplayInfo) GetDataBuild() uint32

func (*ResponseReplayInfo) GetDataVersion

func (m *ResponseReplayInfo) GetDataVersion() string

func (*ResponseReplayInfo) GetError

func (*ResponseReplayInfo) GetErrorDetails

func (m *ResponseReplayInfo) GetErrorDetails() string

func (*ResponseReplayInfo) GetGameDurationLoops

func (m *ResponseReplayInfo) GetGameDurationLoops() uint32

func (*ResponseReplayInfo) GetGameDurationSeconds

func (m *ResponseReplayInfo) GetGameDurationSeconds() float32

func (*ResponseReplayInfo) GetGameVersion

func (m *ResponseReplayInfo) GetGameVersion() string

func (*ResponseReplayInfo) GetLocalMapPath

func (m *ResponseReplayInfo) GetLocalMapPath() string

func (*ResponseReplayInfo) GetMapName

func (m *ResponseReplayInfo) GetMapName() string

func (*ResponseReplayInfo) GetPlayerInfo

func (m *ResponseReplayInfo) GetPlayerInfo() []*PlayerInfoExtra

func (*ResponseReplayInfo) Marshal

func (m *ResponseReplayInfo) Marshal() (dAtA []byte, err error)

func (*ResponseReplayInfo) MarshalTo

func (m *ResponseReplayInfo) MarshalTo(dAtA []byte) (int, error)

func (*ResponseReplayInfo) ProtoMessage

func (*ResponseReplayInfo) ProtoMessage()

func (*ResponseReplayInfo) Reset

func (m *ResponseReplayInfo) Reset()

func (*ResponseReplayInfo) Size

func (m *ResponseReplayInfo) Size() (n int)

func (*ResponseReplayInfo) String

func (m *ResponseReplayInfo) String() string

func (*ResponseReplayInfo) Unmarshal

func (m *ResponseReplayInfo) Unmarshal(dAtA []byte) error

func (*ResponseReplayInfo) XXX_DiscardUnknown

func (m *ResponseReplayInfo) XXX_DiscardUnknown()

func (*ResponseReplayInfo) XXX_Marshal

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

func (*ResponseReplayInfo) XXX_Merge

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

func (*ResponseReplayInfo) XXX_Size

func (m *ResponseReplayInfo) XXX_Size() int

func (*ResponseReplayInfo) XXX_Unmarshal

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

type ResponseReplayInfo_Error

type ResponseReplayInfo_Error int32
const (
	ResponseReplayInfo_nil               ResponseReplayInfo_Error = 0
	ResponseReplayInfo_MissingReplay     ResponseReplayInfo_Error = 1
	ResponseReplayInfo_InvalidReplayPath ResponseReplayInfo_Error = 2
	ResponseReplayInfo_InvalidReplayData ResponseReplayInfo_Error = 3
	ResponseReplayInfo_ParsingError      ResponseReplayInfo_Error = 4
	ResponseReplayInfo_DownloadError     ResponseReplayInfo_Error = 5
)

func (ResponseReplayInfo_Error) EnumDescriptor

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

func (ResponseReplayInfo_Error) String

func (x ResponseReplayInfo_Error) String() string

type ResponseRestartGame

type ResponseRestartGame struct {
	Error         ResponseRestartGame_Error `protobuf:"varint,1,opt,name=error,proto3,enum=SC2APIProtocol.ResponseRestartGame_Error" json:"error,omitempty"`
	ErrorDetails  string                    `protobuf:"bytes,2,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
	NeedHardReset bool                      `protobuf:"varint,3,opt,name=need_hard_reset,json=needHardReset,proto3" json:"need_hard_reset,omitempty"`
}

The defaultRestartGameLoops is specified to be (1<<18) by default

func (*ResponseRestartGame) Descriptor

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

func (*ResponseRestartGame) GetError

func (*ResponseRestartGame) GetErrorDetails

func (m *ResponseRestartGame) GetErrorDetails() string

func (*ResponseRestartGame) GetNeedHardReset

func (m *ResponseRestartGame) GetNeedHardReset() bool

func (*ResponseRestartGame) Marshal

func (m *ResponseRestartGame) Marshal() (dAtA []byte, err error)

func (*ResponseRestartGame) MarshalTo

func (m *ResponseRestartGame) MarshalTo(dAtA []byte) (int, error)

func (*ResponseRestartGame) ProtoMessage

func (*ResponseRestartGame) ProtoMessage()

func (*ResponseRestartGame) Reset

func (m *ResponseRestartGame) Reset()

func (*ResponseRestartGame) Size

func (m *ResponseRestartGame) Size() (n int)

func (*ResponseRestartGame) String

func (m *ResponseRestartGame) String() string

func (*ResponseRestartGame) Unmarshal

func (m *ResponseRestartGame) Unmarshal(dAtA []byte) error

func (*ResponseRestartGame) XXX_DiscardUnknown

func (m *ResponseRestartGame) XXX_DiscardUnknown()

func (*ResponseRestartGame) XXX_Marshal

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

func (*ResponseRestartGame) XXX_Merge

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

func (*ResponseRestartGame) XXX_Size

func (m *ResponseRestartGame) XXX_Size() int

func (*ResponseRestartGame) XXX_Unmarshal

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

type ResponseRestartGame_Error

type ResponseRestartGame_Error int32
const (
	ResponseRestartGame_nil         ResponseRestartGame_Error = 0
	ResponseRestartGame_LaunchError ResponseRestartGame_Error = 1
)

func (ResponseRestartGame_Error) EnumDescriptor

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

func (ResponseRestartGame_Error) String

func (x ResponseRestartGame_Error) String() string

type ResponseSaveMap

type ResponseSaveMap struct {
	Error ResponseSaveMap_Error `protobuf:"varint,1,opt,name=error,proto3,enum=SC2APIProtocol.ResponseSaveMap_Error" json:"error,omitempty"`
}

func (*ResponseSaveMap) Descriptor

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

func (*ResponseSaveMap) GetError

func (m *ResponseSaveMap) GetError() ResponseSaveMap_Error

func (*ResponseSaveMap) Marshal

func (m *ResponseSaveMap) Marshal() (dAtA []byte, err error)

func (*ResponseSaveMap) MarshalTo

func (m *ResponseSaveMap) MarshalTo(dAtA []byte) (int, error)

func (*ResponseSaveMap) ProtoMessage

func (*ResponseSaveMap) ProtoMessage()

func (*ResponseSaveMap) Reset

func (m *ResponseSaveMap) Reset()

func (*ResponseSaveMap) Size

func (m *ResponseSaveMap) Size() (n int)

func (*ResponseSaveMap) String

func (m *ResponseSaveMap) String() string

func (*ResponseSaveMap) Unmarshal

func (m *ResponseSaveMap) Unmarshal(dAtA []byte) error

func (*ResponseSaveMap) XXX_DiscardUnknown

func (m *ResponseSaveMap) XXX_DiscardUnknown()

func (*ResponseSaveMap) XXX_Marshal

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

func (*ResponseSaveMap) XXX_Merge

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

func (*ResponseSaveMap) XXX_Size

func (m *ResponseSaveMap) XXX_Size() int

func (*ResponseSaveMap) XXX_Unmarshal

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

type ResponseSaveMap_Error

type ResponseSaveMap_Error int32
const (
	ResponseSaveMap_nil            ResponseSaveMap_Error = 0
	ResponseSaveMap_InvalidMapData ResponseSaveMap_Error = 1
)

func (ResponseSaveMap_Error) EnumDescriptor

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

func (ResponseSaveMap_Error) String

func (x ResponseSaveMap_Error) String() string

type ResponseSaveReplay

type ResponseSaveReplay struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
}

func (*ResponseSaveReplay) Descriptor

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

func (*ResponseSaveReplay) GetData

func (m *ResponseSaveReplay) GetData() []byte

func (*ResponseSaveReplay) Marshal

func (m *ResponseSaveReplay) Marshal() (dAtA []byte, err error)

func (*ResponseSaveReplay) MarshalTo

func (m *ResponseSaveReplay) MarshalTo(dAtA []byte) (int, error)

func (*ResponseSaveReplay) ProtoMessage

func (*ResponseSaveReplay) ProtoMessage()

func (*ResponseSaveReplay) Reset

func (m *ResponseSaveReplay) Reset()

func (*ResponseSaveReplay) Size

func (m *ResponseSaveReplay) Size() (n int)

func (*ResponseSaveReplay) String

func (m *ResponseSaveReplay) String() string

func (*ResponseSaveReplay) Unmarshal

func (m *ResponseSaveReplay) Unmarshal(dAtA []byte) error

func (*ResponseSaveReplay) XXX_DiscardUnknown

func (m *ResponseSaveReplay) XXX_DiscardUnknown()

func (*ResponseSaveReplay) XXX_Marshal

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

func (*ResponseSaveReplay) XXX_Merge

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

func (*ResponseSaveReplay) XXX_Size

func (m *ResponseSaveReplay) XXX_Size() int

func (*ResponseSaveReplay) XXX_Unmarshal

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

type ResponseStartReplay

type ResponseStartReplay struct {
	Error        ResponseStartReplay_Error `protobuf:"varint,1,opt,name=error,proto3,enum=SC2APIProtocol.ResponseStartReplay_Error" json:"error,omitempty"`
	ErrorDetails string                    `protobuf:"bytes,2,opt,name=error_details,json=errorDetails,proto3" json:"error_details,omitempty"`
}

func (*ResponseStartReplay) Descriptor

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

func (*ResponseStartReplay) GetError

func (*ResponseStartReplay) GetErrorDetails

func (m *ResponseStartReplay) GetErrorDetails() string

func (*ResponseStartReplay) Marshal

func (m *ResponseStartReplay) Marshal() (dAtA []byte, err error)

func (*ResponseStartReplay) MarshalTo

func (m *ResponseStartReplay) MarshalTo(dAtA []byte) (int, error)

func (*ResponseStartReplay) ProtoMessage

func (*ResponseStartReplay) ProtoMessage()

func (*ResponseStartReplay) Reset

func (m *ResponseStartReplay) Reset()

func (*ResponseStartReplay) Size

func (m *ResponseStartReplay) Size() (n int)

func (*ResponseStartReplay) String

func (m *ResponseStartReplay) String() string

func (*ResponseStartReplay) Unmarshal

func (m *ResponseStartReplay) Unmarshal(dAtA []byte) error

func (*ResponseStartReplay) XXX_DiscardUnknown

func (m *ResponseStartReplay) XXX_DiscardUnknown()

func (*ResponseStartReplay) XXX_Marshal

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

func (*ResponseStartReplay) XXX_Merge

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

func (*ResponseStartReplay) XXX_Size

func (m *ResponseStartReplay) XXX_Size() int

func (*ResponseStartReplay) XXX_Unmarshal

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

type ResponseStartReplay_Error

type ResponseStartReplay_Error int32
const (
	ResponseStartReplay_nil                     ResponseStartReplay_Error = 0
	ResponseStartReplay_MissingReplay           ResponseStartReplay_Error = 1
	ResponseStartReplay_InvalidReplayPath       ResponseStartReplay_Error = 2
	ResponseStartReplay_InvalidReplayData       ResponseStartReplay_Error = 3
	ResponseStartReplay_InvalidMapData          ResponseStartReplay_Error = 4
	ResponseStartReplay_InvalidObservedPlayerId ResponseStartReplay_Error = 5
	ResponseStartReplay_MissingOptions          ResponseStartReplay_Error = 6
	ResponseStartReplay_LaunchError             ResponseStartReplay_Error = 7
)

func (ResponseStartReplay_Error) EnumDescriptor

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

func (ResponseStartReplay_Error) String

func (x ResponseStartReplay_Error) String() string

type ResponseStep

type ResponseStep struct {
	SimulationLoop uint32 `protobuf:"varint,1,opt,name=simulation_loop,json=simulationLoop,proto3" json:"simulation_loop,omitempty"`
}

func (*ResponseStep) Descriptor

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

func (*ResponseStep) GetSimulationLoop

func (m *ResponseStep) GetSimulationLoop() uint32

func (*ResponseStep) Marshal

func (m *ResponseStep) Marshal() (dAtA []byte, err error)

func (*ResponseStep) MarshalTo

func (m *ResponseStep) MarshalTo(dAtA []byte) (int, error)

func (*ResponseStep) ProtoMessage

func (*ResponseStep) ProtoMessage()

func (*ResponseStep) Reset

func (m *ResponseStep) Reset()

func (*ResponseStep) Size

func (m *ResponseStep) Size() (n int)

func (*ResponseStep) String

func (m *ResponseStep) String() string

func (*ResponseStep) Unmarshal

func (m *ResponseStep) Unmarshal(dAtA []byte) error

func (*ResponseStep) XXX_DiscardUnknown

func (m *ResponseStep) XXX_DiscardUnknown()

func (*ResponseStep) XXX_Marshal

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

func (*ResponseStep) XXX_Merge

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

func (*ResponseStep) XXX_Size

func (m *ResponseStep) XXX_Size() int

func (*ResponseStep) XXX_Unmarshal

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

type Response_Action

type Response_Action struct {
	Action *ResponseAction `protobuf:"bytes,11,opt,name=action,oneof"`
}

func (*Response_Action) MarshalTo

func (m *Response_Action) MarshalTo(dAtA []byte) (int, error)

func (*Response_Action) Size

func (m *Response_Action) Size() (n int)

type Response_AvailableMaps

type Response_AvailableMaps struct {
	AvailableMaps *ResponseAvailableMaps `protobuf:"bytes,17,opt,name=available_maps,json=availableMaps,oneof"`
}

func (*Response_AvailableMaps) MarshalTo

func (m *Response_AvailableMaps) MarshalTo(dAtA []byte) (int, error)

func (*Response_AvailableMaps) Size

func (m *Response_AvailableMaps) Size() (n int)

type Response_CreateGame

type Response_CreateGame struct {
	CreateGame *ResponseCreateGame `protobuf:"bytes,1,opt,name=create_game,json=createGame,oneof"`
}

func (*Response_CreateGame) MarshalTo

func (m *Response_CreateGame) MarshalTo(dAtA []byte) (int, error)

func (*Response_CreateGame) Size

func (m *Response_CreateGame) Size() (n int)

type Response_Data

type Response_Data struct {
	Data *ResponseData `protobuf:"bytes,13,opt,name=data,oneof"`
}

func (*Response_Data) MarshalTo

func (m *Response_Data) MarshalTo(dAtA []byte) (int, error)

func (*Response_Data) Size

func (m *Response_Data) Size() (n int)

type Response_Debug

type Response_Debug struct {
	Debug *ResponseDebug `protobuf:"bytes,20,opt,name=debug,oneof"`
}

func (*Response_Debug) MarshalTo

func (m *Response_Debug) MarshalTo(dAtA []byte) (int, error)

func (*Response_Debug) Size

func (m *Response_Debug) Size() (n int)

type Response_GameInfo

type Response_GameInfo struct {
	GameInfo *ResponseGameInfo `protobuf:"bytes,9,opt,name=game_info,json=gameInfo,oneof"`
}

func (*Response_GameInfo) MarshalTo

func (m *Response_GameInfo) MarshalTo(dAtA []byte) (int, error)

func (*Response_GameInfo) Size

func (m *Response_GameInfo) Size() (n int)

type Response_JoinGame

type Response_JoinGame struct {
	JoinGame *ResponseJoinGame `protobuf:"bytes,2,opt,name=join_game,json=joinGame,oneof"`
}

func (*Response_JoinGame) MarshalTo

func (m *Response_JoinGame) MarshalTo(dAtA []byte) (int, error)

func (*Response_JoinGame) Size

func (m *Response_JoinGame) Size() (n int)

type Response_LeaveGame

type Response_LeaveGame struct {
	LeaveGame *ResponseLeaveGame `protobuf:"bytes,5,opt,name=leave_game,json=leaveGame,oneof"`
}

func (*Response_LeaveGame) MarshalTo

func (m *Response_LeaveGame) MarshalTo(dAtA []byte) (int, error)

func (*Response_LeaveGame) Size

func (m *Response_LeaveGame) Size() (n int)

type Response_MapCommand

type Response_MapCommand struct {
	MapCommand *ResponseMapCommand `protobuf:"bytes,22,opt,name=map_command,json=mapCommand,oneof"`
}

func (*Response_MapCommand) MarshalTo

func (m *Response_MapCommand) MarshalTo(dAtA []byte) (int, error)

func (*Response_MapCommand) Size

func (m *Response_MapCommand) Size() (n int)

type Response_ObsAction

type Response_ObsAction struct {
	ObsAction *ResponseObserverAction `protobuf:"bytes,21,opt,name=obs_action,json=obsAction,oneof"`
}

func (*Response_ObsAction) MarshalTo

func (m *Response_ObsAction) MarshalTo(dAtA []byte) (int, error)

func (*Response_ObsAction) Size

func (m *Response_ObsAction) Size() (n int)

type Response_Observation

type Response_Observation struct {
	Observation *ResponseObservation `protobuf:"bytes,10,opt,name=observation,oneof"`
}

func (*Response_Observation) MarshalTo

func (m *Response_Observation) MarshalTo(dAtA []byte) (int, error)

func (*Response_Observation) Size

func (m *Response_Observation) Size() (n int)

type Response_Ping

type Response_Ping struct {
	Ping *ResponsePing `protobuf:"bytes,19,opt,name=ping,oneof"`
}

func (*Response_Ping) MarshalTo

func (m *Response_Ping) MarshalTo(dAtA []byte) (int, error)

func (*Response_Ping) Size

func (m *Response_Ping) Size() (n int)

type Response_Query

type Response_Query struct {
	Query *ResponseQuery `protobuf:"bytes,14,opt,name=query,oneof"`
}

func (*Response_Query) MarshalTo

func (m *Response_Query) MarshalTo(dAtA []byte) (int, error)

func (*Response_Query) Size

func (m *Response_Query) Size() (n int)

type Response_QuickLoad

type Response_QuickLoad struct {
	QuickLoad *ResponseQuickLoad `protobuf:"bytes,7,opt,name=quick_load,json=quickLoad,oneof"`
}

func (*Response_QuickLoad) MarshalTo

func (m *Response_QuickLoad) MarshalTo(dAtA []byte) (int, error)

func (*Response_QuickLoad) Size

func (m *Response_QuickLoad) Size() (n int)

type Response_QuickSave

type Response_QuickSave struct {
	QuickSave *ResponseQuickSave `protobuf:"bytes,6,opt,name=quick_save,json=quickSave,oneof"`
}

func (*Response_QuickSave) MarshalTo

func (m *Response_QuickSave) MarshalTo(dAtA []byte) (int, error)

func (*Response_QuickSave) Size

func (m *Response_QuickSave) Size() (n int)

type Response_Quit

type Response_Quit struct {
	Quit *ResponseQuit `protobuf:"bytes,8,opt,name=quit,oneof"`
}

func (*Response_Quit) MarshalTo

func (m *Response_Quit) MarshalTo(dAtA []byte) (int, error)

func (*Response_Quit) Size

func (m *Response_Quit) Size() (n int)

type Response_ReplayInfo

type Response_ReplayInfo struct {
	ReplayInfo *ResponseReplayInfo `protobuf:"bytes,16,opt,name=replay_info,json=replayInfo,oneof"`
}

func (*Response_ReplayInfo) MarshalTo

func (m *Response_ReplayInfo) MarshalTo(dAtA []byte) (int, error)

func (*Response_ReplayInfo) Size

func (m *Response_ReplayInfo) Size() (n int)

type Response_RestartGame

type Response_RestartGame struct {
	RestartGame *ResponseRestartGame `protobuf:"bytes,3,opt,name=restart_game,json=restartGame,oneof"`
}

func (*Response_RestartGame) MarshalTo

func (m *Response_RestartGame) MarshalTo(dAtA []byte) (int, error)

func (*Response_RestartGame) Size

func (m *Response_RestartGame) Size() (n int)

type Response_SaveMap

type Response_SaveMap struct {
	SaveMap *ResponseSaveMap `protobuf:"bytes,18,opt,name=save_map,json=saveMap,oneof"`
}

func (*Response_SaveMap) MarshalTo

func (m *Response_SaveMap) MarshalTo(dAtA []byte) (int, error)

func (*Response_SaveMap) Size

func (m *Response_SaveMap) Size() (n int)

type Response_SaveReplay

type Response_SaveReplay struct {
	SaveReplay *ResponseSaveReplay `protobuf:"bytes,15,opt,name=save_replay,json=saveReplay,oneof"`
}

func (*Response_SaveReplay) MarshalTo

func (m *Response_SaveReplay) MarshalTo(dAtA []byte) (int, error)

func (*Response_SaveReplay) Size

func (m *Response_SaveReplay) Size() (n int)

type Response_StartReplay

type Response_StartReplay struct {
	StartReplay *ResponseStartReplay `protobuf:"bytes,4,opt,name=start_replay,json=startReplay,oneof"`
}

func (*Response_StartReplay) MarshalTo

func (m *Response_StartReplay) MarshalTo(dAtA []byte) (int, error)

func (*Response_StartReplay) Size

func (m *Response_StartReplay) Size() (n int)

type Response_Step

type Response_Step struct {
	Step *ResponseStep `protobuf:"bytes,12,opt,name=step,oneof"`
}

func (*Response_Step) MarshalTo

func (m *Response_Step) MarshalTo(dAtA []byte) (int, error)

func (*Response_Step) Size

func (m *Response_Step) Size() (n int)

type Result

type Result int32
const (
	Result_nil       Result = 0
	Result_Victory   Result = 1
	Result_Defeat    Result = 2
	Result_Tie       Result = 3
	Result_Undecided Result = 4
)

func (Result) EnumDescriptor

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

func (Result) String

func (x Result) String() string

type Score

type Score struct {
	ScoreType    Score_ScoreType `protobuf:"varint,6,opt,name=score_type,json=scoreType,proto3,enum=SC2APIProtocol.Score_ScoreType" json:"score_type,omitempty"`
	Score        int32           `protobuf:"varint,7,opt,name=score,proto3" json:"score,omitempty"`
	ScoreDetails *ScoreDetails   `protobuf:"bytes,8,opt,name=score_details,json=scoreDetails" json:"score_details,omitempty"`
}

func (*Score) Descriptor

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

func (*Score) GetScore

func (m *Score) GetScore() int32

func (*Score) GetScoreDetails

func (m *Score) GetScoreDetails() *ScoreDetails

func (*Score) GetScoreType

func (m *Score) GetScoreType() Score_ScoreType

func (*Score) Marshal

func (m *Score) Marshal() (dAtA []byte, err error)

func (*Score) MarshalTo

func (m *Score) MarshalTo(dAtA []byte) (int, error)

func (*Score) ProtoMessage

func (*Score) ProtoMessage()

func (*Score) Reset

func (m *Score) Reset()

func (*Score) Size

func (m *Score) Size() (n int)

func (*Score) String

func (m *Score) String() string

func (*Score) Unmarshal

func (m *Score) Unmarshal(dAtA []byte) error

func (*Score) XXX_DiscardUnknown

func (m *Score) XXX_DiscardUnknown()

func (*Score) XXX_Marshal

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

func (*Score) XXX_Merge

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

func (*Score) XXX_Size

func (m *Score) XXX_Size() int

func (*Score) XXX_Unmarshal

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

type ScoreDetails

type ScoreDetails struct {
	IdleProductionTime     float32               `protobuf:"fixed32,1,opt,name=idle_production_time,json=idleProductionTime,proto3" json:"idle_production_time,omitempty"`
	IdleWorkerTime         float32               `protobuf:"fixed32,2,opt,name=idle_worker_time,json=idleWorkerTime,proto3" json:"idle_worker_time,omitempty"`
	TotalValueUnits        float32               `protobuf:"fixed32,3,opt,name=total_value_units,json=totalValueUnits,proto3" json:"total_value_units,omitempty"`
	TotalValueStructures   float32               `protobuf:"fixed32,4,opt,name=total_value_structures,json=totalValueStructures,proto3" json:"total_value_structures,omitempty"`
	KilledValueUnits       float32               `protobuf:"fixed32,5,opt,name=killed_value_units,json=killedValueUnits,proto3" json:"killed_value_units,omitempty"`
	KilledValueStructures  float32               `` /* 128-byte string literal not displayed */
	CollectedMinerals      float32               `protobuf:"fixed32,7,opt,name=collected_minerals,json=collectedMinerals,proto3" json:"collected_minerals,omitempty"`
	CollectedVespene       float32               `protobuf:"fixed32,8,opt,name=collected_vespene,json=collectedVespene,proto3" json:"collected_vespene,omitempty"`
	CollectionRateMinerals float32               `` /* 131-byte string literal not displayed */
	CollectionRateVespene  float32               `` /* 129-byte string literal not displayed */
	SpentMinerals          float32               `protobuf:"fixed32,11,opt,name=spent_minerals,json=spentMinerals,proto3" json:"spent_minerals,omitempty"`
	SpentVespene           float32               `protobuf:"fixed32,12,opt,name=spent_vespene,json=spentVespene,proto3" json:"spent_vespene,omitempty"`
	FoodUsed               *CategoryScoreDetails `protobuf:"bytes,13,opt,name=food_used,json=foodUsed" json:"food_used,omitempty"`
	KilledMinerals         *CategoryScoreDetails `protobuf:"bytes,14,opt,name=killed_minerals,json=killedMinerals" json:"killed_minerals,omitempty"`
	KilledVespene          *CategoryScoreDetails `protobuf:"bytes,15,opt,name=killed_vespene,json=killedVespene" json:"killed_vespene,omitempty"`
	LostMinerals           *CategoryScoreDetails `protobuf:"bytes,16,opt,name=lost_minerals,json=lostMinerals" json:"lost_minerals,omitempty"`
	LostVespene            *CategoryScoreDetails `protobuf:"bytes,17,opt,name=lost_vespene,json=lostVespene" json:"lost_vespene,omitempty"`
	FriendlyFireMinerals   *CategoryScoreDetails `protobuf:"bytes,18,opt,name=friendly_fire_minerals,json=friendlyFireMinerals" json:"friendly_fire_minerals,omitempty"`
	FriendlyFireVespene    *CategoryScoreDetails `protobuf:"bytes,19,opt,name=friendly_fire_vespene,json=friendlyFireVespene" json:"friendly_fire_vespene,omitempty"`
	UsedMinerals           *CategoryScoreDetails `protobuf:"bytes,20,opt,name=used_minerals,json=usedMinerals" json:"used_minerals,omitempty"`
	UsedVespene            *CategoryScoreDetails `protobuf:"bytes,21,opt,name=used_vespene,json=usedVespene" json:"used_vespene,omitempty"`
	TotalUsedMinerals      *CategoryScoreDetails `protobuf:"bytes,22,opt,name=total_used_minerals,json=totalUsedMinerals" json:"total_used_minerals,omitempty"`
	TotalUsedVespene       *CategoryScoreDetails `protobuf:"bytes,23,opt,name=total_used_vespene,json=totalUsedVespene" json:"total_used_vespene,omitempty"`
	TotalDamageDealt       *VitalScoreDetails    `protobuf:"bytes,24,opt,name=total_damage_dealt,json=totalDamageDealt" json:"total_damage_dealt,omitempty"`
	TotalDamageTaken       *VitalScoreDetails    `protobuf:"bytes,25,opt,name=total_damage_taken,json=totalDamageTaken" json:"total_damage_taken,omitempty"`
	TotalHealed            *VitalScoreDetails    `protobuf:"bytes,26,opt,name=total_healed,json=totalHealed" json:"total_healed,omitempty"`
	CurrentApm             float32               `protobuf:"fixed32,27,opt,name=current_apm,json=currentApm,proto3" json:"current_apm,omitempty"`
	CurrentEffectiveApm    float32               `protobuf:"fixed32,28,opt,name=current_effective_apm,json=currentEffectiveApm,proto3" json:"current_effective_apm,omitempty"`
}

func (*ScoreDetails) Descriptor

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

func (*ScoreDetails) GetCollectedMinerals

func (m *ScoreDetails) GetCollectedMinerals() float32

func (*ScoreDetails) GetCollectedVespene

func (m *ScoreDetails) GetCollectedVespene() float32

func (*ScoreDetails) GetCollectionRateMinerals

func (m *ScoreDetails) GetCollectionRateMinerals() float32

func (*ScoreDetails) GetCollectionRateVespene

func (m *ScoreDetails) GetCollectionRateVespene() float32

func (*ScoreDetails) GetCurrentApm

func (m *ScoreDetails) GetCurrentApm() float32

func (*ScoreDetails) GetCurrentEffectiveApm

func (m *ScoreDetails) GetCurrentEffectiveApm() float32

func (*ScoreDetails) GetFoodUsed

func (m *ScoreDetails) GetFoodUsed() *CategoryScoreDetails

func (*ScoreDetails) GetFriendlyFireMinerals

func (m *ScoreDetails) GetFriendlyFireMinerals() *CategoryScoreDetails

func (*ScoreDetails) GetFriendlyFireVespene

func (m *ScoreDetails) GetFriendlyFireVespene() *CategoryScoreDetails

func (*ScoreDetails) GetIdleProductionTime

func (m *ScoreDetails) GetIdleProductionTime() float32

func (*ScoreDetails) GetIdleWorkerTime

func (m *ScoreDetails) GetIdleWorkerTime() float32

func (*ScoreDetails) GetKilledMinerals

func (m *ScoreDetails) GetKilledMinerals() *CategoryScoreDetails

func (*ScoreDetails) GetKilledValueStructures

func (m *ScoreDetails) GetKilledValueStructures() float32

func (*ScoreDetails) GetKilledValueUnits

func (m *ScoreDetails) GetKilledValueUnits() float32

func (*ScoreDetails) GetKilledVespene

func (m *ScoreDetails) GetKilledVespene() *CategoryScoreDetails

func (*ScoreDetails) GetLostMinerals

func (m *ScoreDetails) GetLostMinerals() *CategoryScoreDetails

func (*ScoreDetails) GetLostVespene

func (m *ScoreDetails) GetLostVespene() *CategoryScoreDetails

func (*ScoreDetails) GetSpentMinerals

func (m *ScoreDetails) GetSpentMinerals() float32

func (*ScoreDetails) GetSpentVespene

func (m *ScoreDetails) GetSpentVespene() float32

func (*ScoreDetails) GetTotalDamageDealt

func (m *ScoreDetails) GetTotalDamageDealt() *VitalScoreDetails

func (*ScoreDetails) GetTotalDamageTaken

func (m *ScoreDetails) GetTotalDamageTaken() *VitalScoreDetails

func (*ScoreDetails) GetTotalHealed

func (m *ScoreDetails) GetTotalHealed() *VitalScoreDetails

func (*ScoreDetails) GetTotalUsedMinerals

func (m *ScoreDetails) GetTotalUsedMinerals() *CategoryScoreDetails

func (*ScoreDetails) GetTotalUsedVespene

func (m *ScoreDetails) GetTotalUsedVespene() *CategoryScoreDetails

func (*ScoreDetails) GetTotalValueStructures

func (m *ScoreDetails) GetTotalValueStructures() float32

func (*ScoreDetails) GetTotalValueUnits

func (m *ScoreDetails) GetTotalValueUnits() float32

func (*ScoreDetails) GetUsedMinerals

func (m *ScoreDetails) GetUsedMinerals() *CategoryScoreDetails

func (*ScoreDetails) GetUsedVespene

func (m *ScoreDetails) GetUsedVespene() *CategoryScoreDetails

func (*ScoreDetails) Marshal

func (m *ScoreDetails) Marshal() (dAtA []byte, err error)

func (*ScoreDetails) MarshalTo

func (m *ScoreDetails) MarshalTo(dAtA []byte) (int, error)

func (*ScoreDetails) ProtoMessage

func (*ScoreDetails) ProtoMessage()

func (*ScoreDetails) Reset

func (m *ScoreDetails) Reset()

func (*ScoreDetails) Size

func (m *ScoreDetails) Size() (n int)

func (*ScoreDetails) String

func (m *ScoreDetails) String() string

func (*ScoreDetails) Unmarshal

func (m *ScoreDetails) Unmarshal(dAtA []byte) error

func (*ScoreDetails) XXX_DiscardUnknown

func (m *ScoreDetails) XXX_DiscardUnknown()

func (*ScoreDetails) XXX_Marshal

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

func (*ScoreDetails) XXX_Merge

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

func (*ScoreDetails) XXX_Size

func (m *ScoreDetails) XXX_Size() int

func (*ScoreDetails) XXX_Unmarshal

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

type Score_ScoreType

type Score_ScoreType int32
const (
	Score_nil        Score_ScoreType = 0
	Score_Curriculum Score_ScoreType = 1
	Score_Melee      Score_ScoreType = 2
)

func (Score_ScoreType) EnumDescriptor

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

func (Score_ScoreType) String

func (x Score_ScoreType) String() string

type SinglePanel

type SinglePanel struct {
	Unit               *UnitInfo `protobuf:"bytes,1,opt,name=unit" json:"unit,omitempty"`
	AttackUpgradeLevel int32     `protobuf:"varint,2,opt,name=attack_upgrade_level,json=attackUpgradeLevel,proto3" json:"attack_upgrade_level,omitempty"`
	ArmorUpgradeLevel  int32     `protobuf:"varint,3,opt,name=armor_upgrade_level,json=armorUpgradeLevel,proto3" json:"armor_upgrade_level,omitempty"`
	ShieldUpgradeLevel int32     `protobuf:"varint,4,opt,name=shield_upgrade_level,json=shieldUpgradeLevel,proto3" json:"shield_upgrade_level,omitempty"`
	Buffs              []int32   `protobuf:"varint,5,rep,packed,name=buffs" json:"buffs,omitempty"`
}

func (*SinglePanel) Descriptor

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

func (*SinglePanel) GetArmorUpgradeLevel

func (m *SinglePanel) GetArmorUpgradeLevel() int32

func (*SinglePanel) GetAttackUpgradeLevel

func (m *SinglePanel) GetAttackUpgradeLevel() int32

func (*SinglePanel) GetBuffs

func (m *SinglePanel) GetBuffs() []int32

func (*SinglePanel) GetShieldUpgradeLevel

func (m *SinglePanel) GetShieldUpgradeLevel() int32

func (*SinglePanel) GetUnit

func (m *SinglePanel) GetUnit() *UnitInfo

func (*SinglePanel) Marshal

func (m *SinglePanel) Marshal() (dAtA []byte, err error)

func (*SinglePanel) MarshalTo

func (m *SinglePanel) MarshalTo(dAtA []byte) (int, error)

func (*SinglePanel) ProtoMessage

func (*SinglePanel) ProtoMessage()

func (*SinglePanel) Reset

func (m *SinglePanel) Reset()

func (*SinglePanel) Size

func (m *SinglePanel) Size() (n int)

func (*SinglePanel) String

func (m *SinglePanel) String() string

func (*SinglePanel) Unmarshal

func (m *SinglePanel) Unmarshal(dAtA []byte) error

func (*SinglePanel) XXX_DiscardUnknown

func (m *SinglePanel) XXX_DiscardUnknown()

func (*SinglePanel) XXX_Marshal

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

func (*SinglePanel) XXX_Merge

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

func (*SinglePanel) XXX_Size

func (m *SinglePanel) XXX_Size() int

func (*SinglePanel) XXX_Unmarshal

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

type Size2DI

type Size2DI struct {
	X int32 `protobuf:"varint,1,opt,name=x,proto3" json:"x,omitempty"`
	Y int32 `protobuf:"varint,2,opt,name=y,proto3" json:"y,omitempty"`
}

Screen dimensions.

func (*Size2DI) Descriptor

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

func (*Size2DI) GetX

func (m *Size2DI) GetX() int32

func (*Size2DI) GetY

func (m *Size2DI) GetY() int32

func (*Size2DI) Marshal

func (m *Size2DI) Marshal() (dAtA []byte, err error)

func (*Size2DI) MarshalTo

func (m *Size2DI) MarshalTo(dAtA []byte) (int, error)

func (*Size2DI) ProtoMessage

func (*Size2DI) ProtoMessage()

func (*Size2DI) Reset

func (m *Size2DI) Reset()

func (*Size2DI) Size

func (m *Size2DI) Size() (n int)

func (*Size2DI) String

func (m *Size2DI) String() string

func (*Size2DI) Unmarshal

func (m *Size2DI) Unmarshal(dAtA []byte) error

func (*Size2DI) XXX_DiscardUnknown

func (m *Size2DI) XXX_DiscardUnknown()

func (*Size2DI) XXX_Marshal

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

func (*Size2DI) XXX_Merge

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

func (*Size2DI) XXX_Size

func (m *Size2DI) XXX_Size() int

func (*Size2DI) XXX_Unmarshal

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

type SpatialCameraSetup

type SpatialCameraSetup struct {
	Resolution          *Size2DI `protobuf:"bytes,2,opt,name=resolution" json:"resolution,omitempty"`
	MinimapResolution   *Size2DI `protobuf:"bytes,3,opt,name=minimap_resolution,json=minimapResolution" json:"minimap_resolution,omitempty"`
	Width               float32  `protobuf:"fixed32,1,opt,name=width,proto3" json:"width,omitempty"`
	CropToPlayableArea  bool     `protobuf:"varint,4,opt,name=crop_to_playable_area,json=cropToPlayableArea,proto3" json:"crop_to_playable_area,omitempty"`
	AllowCheatingLayers bool     `protobuf:"varint,5,opt,name=allow_cheating_layers,json=allowCheatingLayers,proto3" json:"allow_cheating_layers,omitempty"`
}

func (*SpatialCameraSetup) Descriptor

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

func (*SpatialCameraSetup) GetAllowCheatingLayers

func (m *SpatialCameraSetup) GetAllowCheatingLayers() bool

func (*SpatialCameraSetup) GetCropToPlayableArea

func (m *SpatialCameraSetup) GetCropToPlayableArea() bool

func (*SpatialCameraSetup) GetMinimapResolution

func (m *SpatialCameraSetup) GetMinimapResolution() *Size2DI

func (*SpatialCameraSetup) GetResolution

func (m *SpatialCameraSetup) GetResolution() *Size2DI

func (*SpatialCameraSetup) GetWidth

func (m *SpatialCameraSetup) GetWidth() float32

func (*SpatialCameraSetup) Marshal

func (m *SpatialCameraSetup) Marshal() (dAtA []byte, err error)

func (*SpatialCameraSetup) MarshalTo

func (m *SpatialCameraSetup) MarshalTo(dAtA []byte) (int, error)

func (*SpatialCameraSetup) ProtoMessage

func (*SpatialCameraSetup) ProtoMessage()

func (*SpatialCameraSetup) Reset

func (m *SpatialCameraSetup) Reset()

func (*SpatialCameraSetup) Size

func (m *SpatialCameraSetup) Size() (n int)

func (*SpatialCameraSetup) String

func (m *SpatialCameraSetup) String() string

func (*SpatialCameraSetup) Unmarshal

func (m *SpatialCameraSetup) Unmarshal(dAtA []byte) error

func (*SpatialCameraSetup) XXX_DiscardUnknown

func (m *SpatialCameraSetup) XXX_DiscardUnknown()

func (*SpatialCameraSetup) XXX_Marshal

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

func (*SpatialCameraSetup) XXX_Merge

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

func (*SpatialCameraSetup) XXX_Size

func (m *SpatialCameraSetup) XXX_Size() int

func (*SpatialCameraSetup) XXX_Unmarshal

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

type StartRaw

type StartRaw struct {
	MapSize        *Size2DI    `protobuf:"bytes,1,opt,name=map_size,json=mapSize" json:"map_size,omitempty"`
	PathingGrid    *ImageData  `protobuf:"bytes,2,opt,name=pathing_grid,json=pathingGrid" json:"pathing_grid,omitempty"`
	TerrainHeight  *ImageData  `protobuf:"bytes,3,opt,name=terrain_height,json=terrainHeight" json:"terrain_height,omitempty"`
	PlacementGrid  *ImageData  `protobuf:"bytes,4,opt,name=placement_grid,json=placementGrid" json:"placement_grid,omitempty"`
	PlayableArea   *RectangleI `protobuf:"bytes,5,opt,name=playable_area,json=playableArea" json:"playable_area,omitempty"`
	StartLocations []*Point2D  `protobuf:"bytes,6,rep,name=start_locations,json=startLocations" json:"start_locations,omitempty"`
}

func (*StartRaw) Descriptor

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

func (*StartRaw) GetMapSize

func (m *StartRaw) GetMapSize() *Size2DI

func (*StartRaw) GetPathingGrid

func (m *StartRaw) GetPathingGrid() *ImageData

func (*StartRaw) GetPlacementGrid

func (m *StartRaw) GetPlacementGrid() *ImageData

func (*StartRaw) GetPlayableArea

func (m *StartRaw) GetPlayableArea() *RectangleI

func (*StartRaw) GetStartLocations

func (m *StartRaw) GetStartLocations() []*Point2D

func (*StartRaw) GetTerrainHeight

func (m *StartRaw) GetTerrainHeight() *ImageData

func (*StartRaw) Marshal

func (m *StartRaw) Marshal() (dAtA []byte, err error)

func (*StartRaw) MarshalTo

func (m *StartRaw) MarshalTo(dAtA []byte) (int, error)

func (*StartRaw) ProtoMessage

func (*StartRaw) ProtoMessage()

func (*StartRaw) Reset

func (m *StartRaw) Reset()

func (*StartRaw) Size

func (m *StartRaw) Size() (n int)

func (*StartRaw) String

func (m *StartRaw) String() string

func (*StartRaw) Unmarshal

func (m *StartRaw) Unmarshal(dAtA []byte) error

func (*StartRaw) XXX_DiscardUnknown

func (m *StartRaw) XXX_DiscardUnknown()

func (*StartRaw) XXX_Marshal

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

func (*StartRaw) XXX_Merge

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

func (*StartRaw) XXX_Size

func (m *StartRaw) XXX_Size() int

func (*StartRaw) XXX_Unmarshal

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

type Status

type Status int32
const (
	Status_nil       Status = 0
	Status_launched  Status = 1
	Status_init_game Status = 2
	Status_in_game   Status = 3
	Status_in_replay Status = 4
	Status_ended     Status = 5
	Status_quit      Status = 6
	Status_unknown   Status = 99
)

func (Status) EnumDescriptor

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

func (Status) String

func (x Status) String() string

type Unit

type Unit struct {
	DisplayType        DisplayType         `` /* 127-byte string literal not displayed */
	Alliance           Alliance            `protobuf:"varint,2,opt,name=alliance,proto3,enum=SC2APIProtocol.Alliance" json:"alliance,omitempty"`
	Tag                UnitTag             `protobuf:"varint,3,opt,name=tag,proto3,casttype=UnitTag" json:"tag,omitempty"`
	UnitType           UnitTypeID          `protobuf:"varint,4,opt,name=unit_type,json=unitType,proto3,casttype=UnitTypeID" json:"unit_type,omitempty"`
	Owner              PlayerID            `protobuf:"varint,5,opt,name=owner,proto3,casttype=PlayerID" json:"owner,omitempty"`
	Pos                *Point              `protobuf:"bytes,6,opt,name=pos" json:"pos,omitempty"`
	Facing             float32             `protobuf:"fixed32,7,opt,name=facing,proto3" json:"facing,omitempty"`
	Radius             float32             `protobuf:"fixed32,8,opt,name=radius,proto3" json:"radius,omitempty"`
	BuildProgress      float32             `protobuf:"fixed32,9,opt,name=build_progress,json=buildProgress,proto3" json:"build_progress,omitempty"`
	Cloak              CloakState          `protobuf:"varint,10,opt,name=cloak,proto3,enum=SC2APIProtocol.CloakState" json:"cloak,omitempty"`
	BuffIds            []BuffID            `protobuf:"varint,27,rep,packed,name=buff_ids,json=buffIds,casttype=BuffID" json:"buff_ids,omitempty"`
	DetectRange        float32             `protobuf:"fixed32,31,opt,name=detect_range,json=detectRange,proto3" json:"detect_range,omitempty"`
	RadarRange         float32             `protobuf:"fixed32,32,opt,name=radar_range,json=radarRange,proto3" json:"radar_range,omitempty"`
	IsSelected         bool                `protobuf:"varint,11,opt,name=is_selected,json=isSelected,proto3" json:"is_selected,omitempty"`
	IsOnScreen         bool                `protobuf:"varint,12,opt,name=is_on_screen,json=isOnScreen,proto3" json:"is_on_screen,omitempty"`
	IsBlip             bool                `protobuf:"varint,13,opt,name=is_blip,json=isBlip,proto3" json:"is_blip,omitempty"`
	IsPowered          bool                `protobuf:"varint,35,opt,name=is_powered,json=isPowered,proto3" json:"is_powered,omitempty"`
	IsActive           bool                `protobuf:"varint,39,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	AttackUpgradeLevel int32               `protobuf:"varint,40,opt,name=attack_upgrade_level,json=attackUpgradeLevel,proto3" json:"attack_upgrade_level,omitempty"`
	ArmorUpgradeLevel  int32               `protobuf:"varint,41,opt,name=armor_upgrade_level,json=armorUpgradeLevel,proto3" json:"armor_upgrade_level,omitempty"`
	ShieldUpgradeLevel int32               `protobuf:"varint,42,opt,name=shield_upgrade_level,json=shieldUpgradeLevel,proto3" json:"shield_upgrade_level,omitempty"`
	Health             float32             `protobuf:"fixed32,14,opt,name=health,proto3" json:"health,omitempty"`
	HealthMax          float32             `protobuf:"fixed32,15,opt,name=health_max,json=healthMax,proto3" json:"health_max,omitempty"`
	Shield             float32             `protobuf:"fixed32,16,opt,name=shield,proto3" json:"shield,omitempty"`
	ShieldMax          float32             `protobuf:"fixed32,36,opt,name=shield_max,json=shieldMax,proto3" json:"shield_max,omitempty"`
	Energy             float32             `protobuf:"fixed32,17,opt,name=energy,proto3" json:"energy,omitempty"`
	EnergyMax          float32             `protobuf:"fixed32,37,opt,name=energy_max,json=energyMax,proto3" json:"energy_max,omitempty"`
	MineralContents    int32               `protobuf:"varint,18,opt,name=mineral_contents,json=mineralContents,proto3" json:"mineral_contents,omitempty"`
	VespeneContents    int32               `protobuf:"varint,19,opt,name=vespene_contents,json=vespeneContents,proto3" json:"vespene_contents,omitempty"`
	IsFlying           bool                `protobuf:"varint,20,opt,name=is_flying,json=isFlying,proto3" json:"is_flying,omitempty"`
	IsBurrowed         bool                `protobuf:"varint,21,opt,name=is_burrowed,json=isBurrowed,proto3" json:"is_burrowed,omitempty"`
	IsHallucination    bool                `protobuf:"varint,38,opt,name=is_hallucination,json=isHallucination,proto3" json:"is_hallucination,omitempty"`
	Orders             []*UnitOrder        `protobuf:"bytes,22,rep,name=orders" json:"orders,omitempty"`
	AddOnTag           UnitTag             `protobuf:"varint,23,opt,name=add_on_tag,json=addOnTag,proto3,casttype=UnitTag" json:"add_on_tag,omitempty"`
	Passengers         []*PassengerUnit    `protobuf:"bytes,24,rep,name=passengers" json:"passengers,omitempty"`
	CargoSpaceTaken    int32               `protobuf:"varint,25,opt,name=cargo_space_taken,json=cargoSpaceTaken,proto3" json:"cargo_space_taken,omitempty"`
	CargoSpaceMax      int32               `protobuf:"varint,26,opt,name=cargo_space_max,json=cargoSpaceMax,proto3" json:"cargo_space_max,omitempty"`
	AssignedHarvesters int32               `protobuf:"varint,28,opt,name=assigned_harvesters,json=assignedHarvesters,proto3" json:"assigned_harvesters,omitempty"`
	IdealHarvesters    int32               `protobuf:"varint,29,opt,name=ideal_harvesters,json=idealHarvesters,proto3" json:"ideal_harvesters,omitempty"`
	WeaponCooldown     float32             `protobuf:"fixed32,30,opt,name=weapon_cooldown,json=weaponCooldown,proto3" json:"weapon_cooldown,omitempty"`
	EngagedTargetTag   UnitTag             `` /* 130-byte string literal not displayed */
	BuffDurationRemain int32               `protobuf:"varint,43,opt,name=buff_duration_remain,json=buffDurationRemain,proto3" json:"buff_duration_remain,omitempty"`
	BuffDurationMax    int32               `protobuf:"varint,44,opt,name=buff_duration_max,json=buffDurationMax,proto3" json:"buff_duration_max,omitempty"`
	RallyTargets       []*RallyTarget      `protobuf:"bytes,45,rep,name=rally_targets,json=rallyTargets" json:"rally_targets,omitempty"`
	Actions            []*AvailableAbility `protobuf:"bytes,100,rep,name=actions" json:"actions,omitempty"`
}

func (*Unit) Descriptor

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

func (*Unit) GetActions added in v0.2.0

func (m *Unit) GetActions() []*AvailableAbility

func (*Unit) GetAddOnTag

func (m *Unit) GetAddOnTag() UnitTag

func (*Unit) GetAlliance

func (m *Unit) GetAlliance() Alliance

func (*Unit) GetArmorUpgradeLevel

func (m *Unit) GetArmorUpgradeLevel() int32

func (*Unit) GetAssignedHarvesters

func (m *Unit) GetAssignedHarvesters() int32

func (*Unit) GetAttackUpgradeLevel

func (m *Unit) GetAttackUpgradeLevel() int32

func (*Unit) GetBuffDurationMax

func (m *Unit) GetBuffDurationMax() int32

func (*Unit) GetBuffDurationRemain

func (m *Unit) GetBuffDurationRemain() int32

func (*Unit) GetBuffIds

func (m *Unit) GetBuffIds() []BuffID

func (*Unit) GetBuildProgress

func (m *Unit) GetBuildProgress() float32

func (*Unit) GetCargoSpaceMax

func (m *Unit) GetCargoSpaceMax() int32

func (*Unit) GetCargoSpaceTaken

func (m *Unit) GetCargoSpaceTaken() int32

func (*Unit) GetCloak

func (m *Unit) GetCloak() CloakState

func (*Unit) GetDetectRange

func (m *Unit) GetDetectRange() float32

func (*Unit) GetDisplayType

func (m *Unit) GetDisplayType() DisplayType

func (*Unit) GetEnergy

func (m *Unit) GetEnergy() float32

func (*Unit) GetEnergyMax

func (m *Unit) GetEnergyMax() float32

func (*Unit) GetEngagedTargetTag

func (m *Unit) GetEngagedTargetTag() UnitTag

func (*Unit) GetFacing

func (m *Unit) GetFacing() float32

func (*Unit) GetHealth

func (m *Unit) GetHealth() float32

func (*Unit) GetHealthMax

func (m *Unit) GetHealthMax() float32

func (*Unit) GetIdealHarvesters

func (m *Unit) GetIdealHarvesters() int32

func (*Unit) GetIsActive

func (m *Unit) GetIsActive() bool

func (*Unit) GetIsBlip

func (m *Unit) GetIsBlip() bool

func (*Unit) GetIsBurrowed

func (m *Unit) GetIsBurrowed() bool

func (*Unit) GetIsFlying

func (m *Unit) GetIsFlying() bool

func (*Unit) GetIsHallucination

func (m *Unit) GetIsHallucination() bool

func (*Unit) GetIsOnScreen

func (m *Unit) GetIsOnScreen() bool

func (*Unit) GetIsPowered

func (m *Unit) GetIsPowered() bool

func (*Unit) GetIsSelected

func (m *Unit) GetIsSelected() bool

func (*Unit) GetMineralContents

func (m *Unit) GetMineralContents() int32

func (*Unit) GetOrders

func (m *Unit) GetOrders() []*UnitOrder

func (*Unit) GetOwner

func (m *Unit) GetOwner() PlayerID

func (*Unit) GetPassengers

func (m *Unit) GetPassengers() []*PassengerUnit

func (*Unit) GetPos

func (m *Unit) GetPos() *Point

func (*Unit) GetRadarRange

func (m *Unit) GetRadarRange() float32

func (*Unit) GetRadius

func (m *Unit) GetRadius() float32

func (*Unit) GetRallyTargets

func (m *Unit) GetRallyTargets() []*RallyTarget

func (*Unit) GetShield

func (m *Unit) GetShield() float32

func (*Unit) GetShieldMax

func (m *Unit) GetShieldMax() float32

func (*Unit) GetShieldUpgradeLevel

func (m *Unit) GetShieldUpgradeLevel() int32

func (*Unit) GetTag

func (m *Unit) GetTag() UnitTag

func (*Unit) GetUnitType

func (m *Unit) GetUnitType() UnitTypeID

func (*Unit) GetVespeneContents

func (m *Unit) GetVespeneContents() int32

func (*Unit) GetWeaponCooldown

func (m *Unit) GetWeaponCooldown() float32

func (*Unit) Marshal

func (m *Unit) Marshal() (dAtA []byte, err error)

func (*Unit) MarshalTo

func (m *Unit) MarshalTo(dAtA []byte) (int, error)

func (*Unit) ProtoMessage

func (*Unit) ProtoMessage()

func (*Unit) Reset

func (m *Unit) Reset()

func (*Unit) Size

func (m *Unit) Size() (n int)

func (*Unit) String

func (m *Unit) String() string

func (*Unit) Unmarshal

func (m *Unit) Unmarshal(dAtA []byte) error

func (*Unit) XXX_DiscardUnknown

func (m *Unit) XXX_DiscardUnknown()

func (*Unit) XXX_Marshal

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

func (*Unit) XXX_Merge

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

func (*Unit) XXX_Size

func (m *Unit) XXX_Size() int

func (*Unit) XXX_Unmarshal

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

type UnitInfo

type UnitInfo struct {
	UnitType            UnitTypeID `protobuf:"varint,1,opt,name=unit_type,json=unitType,proto3,casttype=UnitTypeID" json:"unit_type,omitempty"`
	PlayerRelative      PlayerID   `protobuf:"varint,2,opt,name=player_relative,json=playerRelative,proto3,casttype=PlayerID" json:"player_relative,omitempty"`
	Health              int32      `protobuf:"varint,3,opt,name=health,proto3" json:"health,omitempty"`
	Shields             int32      `protobuf:"varint,4,opt,name=shields,proto3" json:"shields,omitempty"`
	Energy              int32      `protobuf:"varint,5,opt,name=energy,proto3" json:"energy,omitempty"`
	TransportSlotsTaken int32      `protobuf:"varint,6,opt,name=transport_slots_taken,json=transportSlotsTaken,proto3" json:"transport_slots_taken,omitempty"`
	BuildProgress       float32    `protobuf:"fixed32,7,opt,name=build_progress,json=buildProgress,proto3" json:"build_progress,omitempty"`
	AddOn               *UnitInfo  `protobuf:"bytes,8,opt,name=add_on,json=addOn" json:"add_on,omitempty"`
	MaxHealth           int32      `protobuf:"varint,9,opt,name=max_health,json=maxHealth,proto3" json:"max_health,omitempty"`
	MaxShields          int32      `protobuf:"varint,10,opt,name=max_shields,json=maxShields,proto3" json:"max_shields,omitempty"`
	MaxEnergy           int32      `protobuf:"varint,11,opt,name=max_energy,json=maxEnergy,proto3" json:"max_energy,omitempty"`
}

func (*UnitInfo) Descriptor

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

func (*UnitInfo) GetAddOn

func (m *UnitInfo) GetAddOn() *UnitInfo

func (*UnitInfo) GetBuildProgress

func (m *UnitInfo) GetBuildProgress() float32

func (*UnitInfo) GetEnergy

func (m *UnitInfo) GetEnergy() int32

func (*UnitInfo) GetHealth

func (m *UnitInfo) GetHealth() int32

func (*UnitInfo) GetMaxEnergy

func (m *UnitInfo) GetMaxEnergy() int32

func (*UnitInfo) GetMaxHealth

func (m *UnitInfo) GetMaxHealth() int32

func (*UnitInfo) GetMaxShields

func (m *UnitInfo) GetMaxShields() int32

func (*UnitInfo) GetPlayerRelative

func (m *UnitInfo) GetPlayerRelative() PlayerID

func (*UnitInfo) GetShields

func (m *UnitInfo) GetShields() int32

func (*UnitInfo) GetTransportSlotsTaken

func (m *UnitInfo) GetTransportSlotsTaken() int32

func (*UnitInfo) GetUnitType

func (m *UnitInfo) GetUnitType() UnitTypeID

func (*UnitInfo) Marshal

func (m *UnitInfo) Marshal() (dAtA []byte, err error)

func (*UnitInfo) MarshalTo

func (m *UnitInfo) MarshalTo(dAtA []byte) (int, error)

func (*UnitInfo) ProtoMessage

func (*UnitInfo) ProtoMessage()

func (*UnitInfo) Reset

func (m *UnitInfo) Reset()

func (*UnitInfo) Size

func (m *UnitInfo) Size() (n int)

func (*UnitInfo) String

func (m *UnitInfo) String() string

func (*UnitInfo) Unmarshal

func (m *UnitInfo) Unmarshal(dAtA []byte) error

func (*UnitInfo) XXX_DiscardUnknown

func (m *UnitInfo) XXX_DiscardUnknown()

func (*UnitInfo) XXX_Marshal

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

func (*UnitInfo) XXX_Merge

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

func (*UnitInfo) XXX_Size

func (m *UnitInfo) XXX_Size() int

func (*UnitInfo) XXX_Unmarshal

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

type UnitOrder

type UnitOrder struct {
	AbilityId AbilityID `protobuf:"varint,1,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	// Types that are valid to be assigned to Target:
	//	*UnitOrder_TargetWorldSpacePos
	//	*UnitOrder_TargetUnitTag
	Target   isUnitOrder_Target `protobuf_oneof:"target"`
	Progress float32            `protobuf:"fixed32,4,opt,name=progress,proto3" json:"progress,omitempty"`
}

func (*UnitOrder) Descriptor

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

func (*UnitOrder) GetAbilityId

func (m *UnitOrder) GetAbilityId() AbilityID

func (*UnitOrder) GetProgress

func (m *UnitOrder) GetProgress() float32

func (*UnitOrder) GetTarget

func (m *UnitOrder) GetTarget() isUnitOrder_Target

func (*UnitOrder) GetTargetUnitTag

func (m *UnitOrder) GetTargetUnitTag() UnitTag

func (*UnitOrder) GetTargetWorldSpacePos

func (m *UnitOrder) GetTargetWorldSpacePos() *Point

func (*UnitOrder) Marshal

func (m *UnitOrder) Marshal() (dAtA []byte, err error)

func (*UnitOrder) MarshalTo

func (m *UnitOrder) MarshalTo(dAtA []byte) (int, error)

func (*UnitOrder) ProtoMessage

func (*UnitOrder) ProtoMessage()

func (*UnitOrder) Reset

func (m *UnitOrder) Reset()

func (*UnitOrder) Size

func (m *UnitOrder) Size() (n int)

func (*UnitOrder) String

func (m *UnitOrder) String() string

func (*UnitOrder) Unmarshal

func (m *UnitOrder) Unmarshal(dAtA []byte) error

func (*UnitOrder) XXX_DiscardUnknown

func (m *UnitOrder) XXX_DiscardUnknown()

func (*UnitOrder) XXX_Marshal

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

func (*UnitOrder) XXX_Merge

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

func (*UnitOrder) XXX_OneofFuncs

func (*UnitOrder) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

func (*UnitOrder) XXX_Size

func (m *UnitOrder) XXX_Size() int

func (*UnitOrder) XXX_Unmarshal

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

type UnitOrder_TargetUnitTag

type UnitOrder_TargetUnitTag struct {
	TargetUnitTag UnitTag `protobuf:"varint,3,opt,name=target_unit_tag,json=targetUnitTag,proto3,oneof,casttype=UnitTag"`
}

func (*UnitOrder_TargetUnitTag) MarshalTo

func (m *UnitOrder_TargetUnitTag) MarshalTo(dAtA []byte) (int, error)

func (*UnitOrder_TargetUnitTag) Size

func (m *UnitOrder_TargetUnitTag) Size() (n int)

type UnitOrder_TargetWorldSpacePos

type UnitOrder_TargetWorldSpacePos struct {
	TargetWorldSpacePos *Point `protobuf:"bytes,2,opt,name=target_world_space_pos,json=targetWorldSpacePos,oneof"`
}

func (*UnitOrder_TargetWorldSpacePos) MarshalTo

func (m *UnitOrder_TargetWorldSpacePos) MarshalTo(dAtA []byte) (int, error)

func (*UnitOrder_TargetWorldSpacePos) Size

func (m *UnitOrder_TargetWorldSpacePos) Size() (n int)

type UnitTag

type UnitTag uint64

UnitTag ...

type UnitTypeData

type UnitTypeData struct {
	UnitId          UnitTypeID   `protobuf:"varint,1,opt,name=unit_id,json=unitId,proto3,casttype=UnitTypeID" json:"unit_id,omitempty"`
	Name            string       `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Available       bool         `protobuf:"varint,3,opt,name=available,proto3" json:"available,omitempty"`
	CargoSize       uint32       `protobuf:"varint,4,opt,name=cargo_size,json=cargoSize,proto3" json:"cargo_size,omitempty"`
	MineralCost     uint32       `protobuf:"varint,12,opt,name=mineral_cost,json=mineralCost,proto3" json:"mineral_cost,omitempty"`
	VespeneCost     uint32       `protobuf:"varint,13,opt,name=vespene_cost,json=vespeneCost,proto3" json:"vespene_cost,omitempty"`
	FoodRequired    float32      `protobuf:"fixed32,14,opt,name=food_required,json=foodRequired,proto3" json:"food_required,omitempty"`
	FoodProvided    float32      `protobuf:"fixed32,18,opt,name=food_provided,json=foodProvided,proto3" json:"food_provided,omitempty"`
	AbilityId       AbilityID    `protobuf:"varint,15,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
	Race            Race         `protobuf:"varint,16,opt,name=race,proto3,enum=SC2APIProtocol.Race" json:"race,omitempty"`
	BuildTime       float32      `protobuf:"fixed32,17,opt,name=build_time,json=buildTime,proto3" json:"build_time,omitempty"`
	HasVespene      bool         `protobuf:"varint,19,opt,name=has_vespene,json=hasVespene,proto3" json:"has_vespene,omitempty"`
	HasMinerals     bool         `protobuf:"varint,20,opt,name=has_minerals,json=hasMinerals,proto3" json:"has_minerals,omitempty"`
	SightRange      float32      `protobuf:"fixed32,25,opt,name=sight_range,json=sightRange,proto3" json:"sight_range,omitempty"`
	TechAlias       []UnitTypeID `protobuf:"varint,21,rep,packed,name=tech_alias,json=techAlias,casttype=UnitTypeID" json:"tech_alias,omitempty"`
	UnitAlias       UnitTypeID   `protobuf:"varint,22,opt,name=unit_alias,json=unitAlias,proto3,casttype=UnitTypeID" json:"unit_alias,omitempty"`
	TechRequirement UnitTypeID   `` /* 128-byte string literal not displayed */
	RequireAttached bool         `protobuf:"varint,24,opt,name=require_attached,json=requireAttached,proto3" json:"require_attached,omitempty"`
	Attributes      []Attribute  `protobuf:"varint,8,rep,packed,name=attributes,enum=SC2APIProtocol.Attribute" json:"attributes,omitempty"`
	MovementSpeed   float32      `protobuf:"fixed32,9,opt,name=movement_speed,json=movementSpeed,proto3" json:"movement_speed,omitempty"`
	Armor           float32      `protobuf:"fixed32,10,opt,name=armor,proto3" json:"armor,omitempty"`
	Weapons         []*Weapon    `protobuf:"bytes,11,rep,name=weapons" json:"weapons,omitempty"`
}

func (*UnitTypeData) Descriptor

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

func (*UnitTypeData) GetAbilityId

func (m *UnitTypeData) GetAbilityId() AbilityID

func (*UnitTypeData) GetArmor

func (m *UnitTypeData) GetArmor() float32

func (*UnitTypeData) GetAttributes

func (m *UnitTypeData) GetAttributes() []Attribute

func (*UnitTypeData) GetAvailable

func (m *UnitTypeData) GetAvailable() bool

func (*UnitTypeData) GetBuildTime

func (m *UnitTypeData) GetBuildTime() float32

func (*UnitTypeData) GetCargoSize

func (m *UnitTypeData) GetCargoSize() uint32

func (*UnitTypeData) GetFoodProvided

func (m *UnitTypeData) GetFoodProvided() float32

func (*UnitTypeData) GetFoodRequired

func (m *UnitTypeData) GetFoodRequired() float32

func (*UnitTypeData) GetHasMinerals

func (m *UnitTypeData) GetHasMinerals() bool

func (*UnitTypeData) GetHasVespene

func (m *UnitTypeData) GetHasVespene() bool

func (*UnitTypeData) GetMineralCost

func (m *UnitTypeData) GetMineralCost() uint32

func (*UnitTypeData) GetMovementSpeed

func (m *UnitTypeData) GetMovementSpeed() float32

func (*UnitTypeData) GetName

func (m *UnitTypeData) GetName() string

func (*UnitTypeData) GetRace

func (m *UnitTypeData) GetRace() Race

func (*UnitTypeData) GetRequireAttached

func (m *UnitTypeData) GetRequireAttached() bool

func (*UnitTypeData) GetSightRange

func (m *UnitTypeData) GetSightRange() float32

func (*UnitTypeData) GetTechAlias

func (m *UnitTypeData) GetTechAlias() []UnitTypeID

func (*UnitTypeData) GetTechRequirement

func (m *UnitTypeData) GetTechRequirement() UnitTypeID

func (*UnitTypeData) GetUnitAlias

func (m *UnitTypeData) GetUnitAlias() UnitTypeID

func (*UnitTypeData) GetUnitId

func (m *UnitTypeData) GetUnitId() UnitTypeID

func (*UnitTypeData) GetVespeneCost

func (m *UnitTypeData) GetVespeneCost() uint32

func (*UnitTypeData) GetWeapons

func (m *UnitTypeData) GetWeapons() []*Weapon

func (*UnitTypeData) Marshal

func (m *UnitTypeData) Marshal() (dAtA []byte, err error)

func (*UnitTypeData) MarshalTo

func (m *UnitTypeData) MarshalTo(dAtA []byte) (int, error)

func (*UnitTypeData) ProtoMessage

func (*UnitTypeData) ProtoMessage()

func (*UnitTypeData) Reset

func (m *UnitTypeData) Reset()

func (*UnitTypeData) Size

func (m *UnitTypeData) Size() (n int)

func (*UnitTypeData) String

func (m *UnitTypeData) String() string

func (*UnitTypeData) Unmarshal

func (m *UnitTypeData) Unmarshal(dAtA []byte) error

func (*UnitTypeData) XXX_DiscardUnknown

func (m *UnitTypeData) XXX_DiscardUnknown()

func (*UnitTypeData) XXX_Marshal

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

func (*UnitTypeData) XXX_Merge

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

func (*UnitTypeData) XXX_Size

func (m *UnitTypeData) XXX_Size() int

func (*UnitTypeData) XXX_Unmarshal

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

type UnitTypeID

type UnitTypeID uint32

UnitTypeID ...

type UpgradeData

type UpgradeData struct {
	UpgradeId    UpgradeID `protobuf:"varint,1,opt,name=upgrade_id,json=upgradeId,proto3,casttype=UpgradeID" json:"upgrade_id,omitempty"`
	Name         string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	MineralCost  uint32    `protobuf:"varint,3,opt,name=mineral_cost,json=mineralCost,proto3" json:"mineral_cost,omitempty"`
	VespeneCost  uint32    `protobuf:"varint,4,opt,name=vespene_cost,json=vespeneCost,proto3" json:"vespene_cost,omitempty"`
	ResearchTime float32   `protobuf:"fixed32,5,opt,name=research_time,json=researchTime,proto3" json:"research_time,omitempty"`
	AbilityId    AbilityID `protobuf:"varint,6,opt,name=ability_id,json=abilityId,proto3,casttype=AbilityID" json:"ability_id,omitempty"`
}

func (*UpgradeData) Descriptor

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

func (*UpgradeData) GetAbilityId

func (m *UpgradeData) GetAbilityId() AbilityID

func (*UpgradeData) GetMineralCost

func (m *UpgradeData) GetMineralCost() uint32

func (*UpgradeData) GetName

func (m *UpgradeData) GetName() string

func (*UpgradeData) GetResearchTime

func (m *UpgradeData) GetResearchTime() float32

func (*UpgradeData) GetUpgradeId

func (m *UpgradeData) GetUpgradeId() UpgradeID

func (*UpgradeData) GetVespeneCost

func (m *UpgradeData) GetVespeneCost() uint32

func (*UpgradeData) Marshal

func (m *UpgradeData) Marshal() (dAtA []byte, err error)

func (*UpgradeData) MarshalTo

func (m *UpgradeData) MarshalTo(dAtA []byte) (int, error)

func (*UpgradeData) ProtoMessage

func (*UpgradeData) ProtoMessage()

func (*UpgradeData) Reset

func (m *UpgradeData) Reset()

func (*UpgradeData) Size

func (m *UpgradeData) Size() (n int)

func (*UpgradeData) String

func (m *UpgradeData) String() string

func (*UpgradeData) Unmarshal

func (m *UpgradeData) Unmarshal(dAtA []byte) error

func (*UpgradeData) XXX_DiscardUnknown

func (m *UpgradeData) XXX_DiscardUnknown()

func (*UpgradeData) XXX_Marshal

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

func (*UpgradeData) XXX_Merge

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

func (*UpgradeData) XXX_Size

func (m *UpgradeData) XXX_Size() int

func (*UpgradeData) XXX_Unmarshal

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

type UpgradeID

type UpgradeID uint32

UpgradeID ...

type Vec

type Vec Point

Vec is a 3D vector with real components.

func (Vec) Add

func (v Vec) Add(v2 Vec) Vec

Add two vectors and return the result.

func (Vec) Cross

func (v Vec) Cross(v2 Vec) Vec

Cross computes the cross product of v x v2.

func (Vec) Div

func (v Vec) Div(c float32) Vec

Div scaled the vector by the inverse of a constant.

func (Vec) Dot

func (v Vec) Dot(v2 Vec) float32

Dot computes the dot product with another vector.

func (Vec) Len

func (v Vec) Len() float32

Len computes the length (magnitude) of the vector.

func (Vec) Len2

func (v Vec) Len2() float32

Len2 computes the squared length (magnitude) of the vector.

func (Vec) Len64

func (v Vec) Len64() float64

Len64 computes the length (magnitude) of the vector.

func (Vec) Manhattan

func (v Vec) Manhattan() float32

Manhattan computes the manhattan distance represented by this vector.

func (Vec) Mul

func (v Vec) Mul(c float32) Vec

Mul scales the vector by a constant.

func (Vec) Mul64

func (v Vec) Mul64(c float64) Vec

Mul64 scales the vector by a 64-bit constant. This involves additional casting so Mul should be preferred when 32-bits are sufficient.

func (Vec) Neg

func (v Vec) Neg() Vec

Neg flips a vector to point in the opposite direction.

func (Vec) Norm

func (v Vec) Norm() Vec

Norm computes the unit vector pointing is the same direction as v.

func (Vec) Sub

func (v Vec) Sub(v2 Vec) Vec

Sub subtracts two vectors and returns the results.

type Vec2D

type Vec2D Point2D

Vec2D is a 2D vector if real components.

func (Vec2D) Add

func (v Vec2D) Add(v2 Vec2D) Vec2D

Add two vectors and return the result.

func (Vec2D) Div

func (v Vec2D) Div(c float32) Vec2D

Div scaled the vector by the inverse of a constant.

func (Vec2D) Dot

func (v Vec2D) Dot(v2 Vec2D) float32

Dot computes the dot product with another vector.

func (Vec2D) Len

func (v Vec2D) Len() float32

Len computes the length (magnitude) of the vector.

func (Vec2D) Len2

func (v Vec2D) Len2() float32

Len2 computes the squared length (magnitude) of the vector.

func (Vec2D) Len64

func (v Vec2D) Len64() float64

Len64 computes the length (magnitude) of the vector.

func (Vec2D) Manhattan

func (v Vec2D) Manhattan() float32

Manhattan computes the manhattan distance represented by this vector.

func (Vec2D) Mul

func (v Vec2D) Mul(c float32) Vec2D

Mul scales the vector by a constant.

func (Vec2D) Mul64

func (v Vec2D) Mul64(c float64) Vec2D

Mul64 scales the vector by a 64-bit constant. This involves additional casting so Mul should be preferred when 32-bits are sufficient.

func (Vec2D) Neg

func (v Vec2D) Neg() Vec2D

Neg flips a vector to point in the opposite direction.

func (Vec2D) Norm

func (v Vec2D) Norm() Vec2D

Norm computes the unit vector pointing is the same direction as v.

func (Vec2D) Quadrant

func (v Vec2D) Quadrant(n int) Vec2D

Quadrant rounds the vector angle to the nearest nth of a circle and normalizes it.

func (Vec2D) Sub

func (v Vec2D) Sub(v2 Vec2D) Vec2D

Sub subtracts two vectors and returns the results.

type VecI

type VecI PointI

VecI is a 2D vector with integer components.

func (VecI) Add

func (v VecI) Add(v2 VecI) VecI

Add two vectors and return the result.

func (VecI) Dot

func (v VecI) Dot(v2 VecI) int32

Dot computes the dot product with another vector.

func (VecI) Len

func (v VecI) Len() float32

Len computes the length (magnitude) of the vector.

func (VecI) Len2

func (v VecI) Len2() int32

Len2 computes the squared length (magnitude) of the vector.

func (VecI) Len64

func (v VecI) Len64() float64

Len64 computes the length (magnitude) of the vector.

func (VecI) Manhattan

func (v VecI) Manhattan() int32

Manhattan computes the manhattan distance represented by this vector.

func (VecI) Mul

func (v VecI) Mul(c int32) VecI

Mul scales the vector by a constant.

func (VecI) Neg

func (v VecI) Neg() VecI

Neg flips a vector to point in the opposite direction.

func (VecI) Sub

func (v VecI) Sub(v2 VecI) VecI

Sub subtracts two vectors and returns the results.

type VitalScoreDetails

type VitalScoreDetails struct {
	Life    float32 `protobuf:"fixed32,1,opt,name=life,proto3" json:"life,omitempty"`
	Shields float32 `protobuf:"fixed32,2,opt,name=shields,proto3" json:"shields,omitempty"`
	Energy  float32 `protobuf:"fixed32,3,opt,name=energy,proto3" json:"energy,omitempty"`
}

func (*VitalScoreDetails) Descriptor

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

func (*VitalScoreDetails) GetEnergy

func (m *VitalScoreDetails) GetEnergy() float32

func (*VitalScoreDetails) GetLife

func (m *VitalScoreDetails) GetLife() float32

func (*VitalScoreDetails) GetShields

func (m *VitalScoreDetails) GetShields() float32

func (*VitalScoreDetails) Marshal

func (m *VitalScoreDetails) Marshal() (dAtA []byte, err error)

func (*VitalScoreDetails) MarshalTo

func (m *VitalScoreDetails) MarshalTo(dAtA []byte) (int, error)

func (*VitalScoreDetails) ProtoMessage

func (*VitalScoreDetails) ProtoMessage()

func (*VitalScoreDetails) Reset

func (m *VitalScoreDetails) Reset()

func (*VitalScoreDetails) Size

func (m *VitalScoreDetails) Size() (n int)

func (*VitalScoreDetails) String

func (m *VitalScoreDetails) String() string

func (*VitalScoreDetails) Unmarshal

func (m *VitalScoreDetails) Unmarshal(dAtA []byte) error

func (*VitalScoreDetails) XXX_DiscardUnknown

func (m *VitalScoreDetails) XXX_DiscardUnknown()

func (*VitalScoreDetails) XXX_Marshal

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

func (*VitalScoreDetails) XXX_Merge

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

func (*VitalScoreDetails) XXX_Size

func (m *VitalScoreDetails) XXX_Size() int

func (*VitalScoreDetails) XXX_Unmarshal

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

type Weapon

type Weapon struct {
	Type        Weapon_TargetType `protobuf:"varint,1,opt,name=type,proto3,enum=SC2APIProtocol.Weapon_TargetType" json:"type,omitempty"`
	Damage      float32           `protobuf:"fixed32,2,opt,name=damage,proto3" json:"damage,omitempty"`
	DamageBonus []*DamageBonus    `protobuf:"bytes,3,rep,name=damage_bonus,json=damageBonus" json:"damage_bonus,omitempty"`
	Attacks     uint32            `protobuf:"varint,4,opt,name=attacks,proto3" json:"attacks,omitempty"`
	Range       float32           `protobuf:"fixed32,5,opt,name=range,proto3" json:"range,omitempty"`
	Speed       float32           `protobuf:"fixed32,6,opt,name=speed,proto3" json:"speed,omitempty"`
}

func (*Weapon) Descriptor

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

func (*Weapon) GetAttacks

func (m *Weapon) GetAttacks() uint32

func (*Weapon) GetDamage

func (m *Weapon) GetDamage() float32

func (*Weapon) GetDamageBonus

func (m *Weapon) GetDamageBonus() []*DamageBonus

func (*Weapon) GetRange

func (m *Weapon) GetRange() float32

func (*Weapon) GetSpeed

func (m *Weapon) GetSpeed() float32

func (*Weapon) GetType

func (m *Weapon) GetType() Weapon_TargetType

func (*Weapon) Marshal

func (m *Weapon) Marshal() (dAtA []byte, err error)

func (*Weapon) MarshalTo

func (m *Weapon) MarshalTo(dAtA []byte) (int, error)

func (*Weapon) ProtoMessage

func (*Weapon) ProtoMessage()

func (*Weapon) Reset

func (m *Weapon) Reset()

func (*Weapon) Size

func (m *Weapon) Size() (n int)

func (*Weapon) String

func (m *Weapon) String() string

func (*Weapon) Unmarshal

func (m *Weapon) Unmarshal(dAtA []byte) error

func (*Weapon) XXX_DiscardUnknown

func (m *Weapon) XXX_DiscardUnknown()

func (*Weapon) XXX_Marshal

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

func (*Weapon) XXX_Merge

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

func (*Weapon) XXX_Size

func (m *Weapon) XXX_Size() int

func (*Weapon) XXX_Unmarshal

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

type Weapon_TargetType

type Weapon_TargetType int32
const (
	Weapon_nil    Weapon_TargetType = 0
	Weapon_Ground Weapon_TargetType = 1
	Weapon_Air    Weapon_TargetType = 2
	Weapon_Any    Weapon_TargetType = 3
)

func (Weapon_TargetType) EnumDescriptor

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

func (Weapon_TargetType) String

func (x Weapon_TargetType) String() string

Jump to

Keyboard shortcuts

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