replay

package
v0.0.0-...-c9a6c25 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package replay implements decoders for replays (Starcraft, Heroes of the Storm etc.).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AICommunicateEvent

type AICommunicateEvent struct {
	EventMeta
	Beacon                            int64        // 112
	Ally                              int64        // 112
	Flags                             int64        // 112
	Build                             int64        // 112
	TargetUnitTag                     int32        // 6
	TargetUnitSnapshotUnitLink        int16        // 79
	TargetUnitSnapshotUpkeepPlayerId  int64        // 112
	TargetUnitSnapshotControlPlayerId int64        // 112
	TargetPoint                       *TargetPoint // 113
}

typeinfo 114 (struct)

type AchievementAwardedEvent

type AchievementAwardedEvent struct {
	EventMeta
	AchievementLink int16 // 79
}

typeinfo 151 (struct)

type AddAbsoluteGameSpeedEvent

type AddAbsoluteGameSpeedEvent struct {
	EventMeta
	Delta int64 // 112
}

typeinfo 116 (struct)

type AllianceEvent

type AllianceEvent struct {
	EventMeta
	Alliance int32 // 6
	Control  int32 // 6
}

typeinfo 119 (struct)

type BankFileEvent

type BankFileEvent struct {
	EventMeta
	Name string // 20
}

typeinfo 70 (struct)

type BankKeyEvent

type BankKeyEvent struct {
	EventMeta
	Name string // 71
	Type int32  // 6
	Data string // 20
}

typeinfo 73 (struct)

type BankSectionEvent

type BankSectionEvent struct {
	EventMeta
	Name string // 71
}

typeinfo 72 (struct)

type BankSignatureEvent

type BankSignatureEvent struct {
	EventMeta
	Signature  []int8 // 75
	ToonHandle string // 20
}

typeinfo 76 (struct)

type BankValueEvent

type BankValueEvent struct {
	EventMeta
	Type int32  // 6
	Name string // 71
	Data string // 34
}

typeinfo 74 (struct)

type BroadcastCheatEvent

type BroadcastCheatEvent struct {
	EventMeta
	Verb      string // 29
	Arguments string // 29
}

typeinfo 118 (struct)

type CameraSaveEvent

type CameraSaveEvent struct {
	EventMeta
	Which  int8          // 12
	Target *CameraTarget // 80
}

typeinfo 81 (struct)

type CameraTarget

type CameraTarget struct {
	X int16 // 79
	Y int16 // 79
}

typeinfo 80 (struct)

type CameraUpdateEvent

type CameraUpdateEvent struct {
	EventMeta
	Target   **CameraTarget // 142
	Distance *int16         // 143
	Pitch    *int16         // 143
	Yaw      *int16         // 143
	Reason   *int64         // 144
	Follow   bool           // 13
}

typeinfo 145 (struct)

type CatalogModifyEvent

type CatalogModifyEvent struct {
	EventMeta
	Catalog int8   // 10
	Entry   int16  // 79
	Field   string // 9
	Value   string // 9
}

typeinfo 182 (struct)

type ChatMessage

type ChatMessage struct {
	EventMeta
	Recipient int8   // 12
	String    string // 30
}

typeinfo 185 (struct)

type CmdEvent

type CmdEvent struct {
	EventMeta
	CmdFlags  int32       // 88
	Abil      **Unknown89 // 90
	Data      interface{} // 95
	Sequence  int64       // 96
	OtherUnit *int32      // 43
	UnitGroup *int32      // 43
}

typeinfo 97 (struct)

type CmdUpdateTargetPointEvent

type CmdUpdateTargetPointEvent struct {
	EventMeta
	Target *PosWorld // 93
}

typeinfo 180 (struct)

type CmdUpdateTargetUnitEvent

type CmdUpdateTargetUnitEvent struct {
	EventMeta
	Target *Target // 94
}

typeinfo 181 (struct)

type Color

type Color struct {
	A int8 // 10
	R int8 // 10
	G int8 // 10
	B int8 // 10
}

typeinfo 23 (struct)

type ColorPref

type ColorPref struct {
	Color *int8 // 60
}

typeinfo 61 (struct)

type CommandManagerResetEvent

type CommandManagerResetEvent struct {
	EventMeta
	Sequence int32 // 6
}

typeinfo 83 (struct)

type CommandManagerStateEvent

type CommandManagerStateEvent struct {
	EventMeta
	State    int8   // 24
	Sequence *int64 // 178
}

typeinfo 179 (struct)

type ControlGroupUpdateEvent

type ControlGroupUpdateEvent struct {
	EventMeta
	ControlGroupIndex  int8        // 1
	ControlGroupUpdate int8        // 24
	Mask               interface{} // 101
}

typeinfo 106 (struct)

type Data

type Data struct {
	Point     *Point // 85
	Time      int64  // 84
	Verb      string // 29
	Arguments string // 29
}

typeinfo 86 (struct)

type DecrementGameTimeRemainingEvent

type DecrementGameTimeRemainingEvent struct {
	EventMeta
	DecrementMs int32 // 164
}

typeinfo 165 (struct)

type Delta

type Delta struct {
	SubgroupIndex int16         // 98
	RemoveMask    interface{}   // 101
	AddSubgroups  []*Unknown102 // 103
	AddUnitTags   []int32       // 64
}

typeinfo 104 (struct)

type Details

type Details struct {
	Raw     blizzval.Value
	Players []*Player "0"
	Map     string    "1"
	// 2 unknown empty string
	// 3 preview image(?)
	// 4 always 1 ?
	TimeStamp int64 "5"
	UTCOffset int64 "6"
}

type Event

type Event interface {
	Meta() *EventMeta
}

type EventMeta

type EventMeta struct {
	GameLoop int
	UserId   int
}

func (*EventMeta) Meta

func (e *EventMeta) Meta() *EventMeta

type GameCheatEvent

type GameCheatEvent struct {
	EventMeta
	Data *Data // 86
}

typeinfo 87 (struct)

type GameDescription

type GameDescription struct {
	RandomValue         int32        // 6
	GameCacheName       string       // 29
	GameOptions         *GameOptions // 49
	GameSpeed           int8         // 12
	GameType            int8         // 12
	MaxUsers            int8         // 2
	MaxObservers        int8         // 2
	MaxPlayers          int8         // 2
	MaxTeams            int64        // 50
	MaxColors           int8         // 3
	MaxRaces            int64        // 51
	MaxControls         int8         // 10
	MapSizeX            int8         // 10
	MapSizeY            int8         // 10
	MapFileSyncChecksum int32        // 6
	MapFileName         string       // 30
	MapAuthorName       string       // 9
	ModFileSyncChecksum int32        // 6
	SlotDescriptions    []*Unknown56 // 57
	DefaultDifficulty   int8         // 3
	DefaultAIBuild      int8         // 0
	CacheHandles        []string     // 36
	HasExtensionMod     bool         // 13
	IsBlizzardMap       bool         // 13
	IsPremadeFFA        bool         // 13
	IsCoopMode          bool         // 13
}

typeinfo 58 (struct)

type GameEventReader

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

func NewGameEventReader

func NewGameEventReader(mpqr *mpq.Reader) *GameEventReader

func (*GameEventReader) Read

func (r *GameEventReader) Read() Event

type GameOptions

type GameOptions struct {
	LockTeams             bool  // 13
	TeamsTogether         bool  // 13
	AdvancedSharedControl bool  // 13
	RandomRaces           bool  // 13
	BattleNet             bool  // 13
	Amm                   bool  // 13
	Ranked                bool  // 13
	Competitive           bool  // 13
	Practice              bool  // 13
	Cooperative           bool  // 13
	NoVictoryOrDefeat     bool  // 13
	HeroDuplicatesAllowed bool  // 13
	Fog                   int8  // 24
	Observers             int8  // 24
	UserDifficulty        int8  // 24
	ClientDebugFlags      int64 // 21
}

typeinfo 49 (struct)

type GameUserJoinEvent

type GameUserJoinEvent struct {
	EventMeta
	Observe               int8    // 24
	Name                  string  // 9
	ToonHandle            *string // 123
	ClanTag               *string // 41
	Hijack                bool    // 13
	HijackCloneGameUserId *int8   // 59
}

typeinfo 177 (struct)

type GameUserLeaveEvent

type GameUserLeaveEvent struct {
	EventMeta
	LeaveReason int8 // 1
}

typeinfo 176 (struct)

type Header struct {
	Signature        string       // 9
	Version          *Version     // 11
	Type             int8         // 12
	ElapsedGameLoops int32        // 6
	UseScaledTime    bool         // 13
	NgdpRootKey      *NgdpRootKey // 17
	DataBuildNum     int32        // 6
}

typeinfo 18 (struct)

type HeroTalentTreeSelectedEvent

type HeroTalentTreeSelectedEvent struct {
	EventMeta
	Index int32 // 6
}

typeinfo 183 (struct)

type HeroTalentTreeSelectionPanelToggledEvent

type HeroTalentTreeSelectionPanelToggledEvent struct {
	EventMeta
	Shown bool // 13
}

typeinfo 184 (struct)

type HijackReplayGameEvent

type HijackReplayGameEvent struct {
	EventMeta
	UserInfos []*Unknown124 // 125
	Method    int8          // 126
}

typeinfo 127 (struct)

type LoadGameDoneEvent

type LoadGameDoneEvent struct {
	EventMeta
}

type LoadingProgressMessage

type LoadingProgressMessage struct {
	EventMeta
	Progress int64 // 84
}

typeinfo 187 (struct)

type LobbyState

type LobbyState struct {
	Phase             int8         // 12
	MaxUsers          int8         // 2
	MaxObservers      int8         // 2
	Slots             []*Unknown65 // 66
	RandomSeed        int32        // 6
	HostUserId        *int8        // 59
	IsSinglePlayer    bool         // 13
	GameDuration      int32        // 6
	DefaultDifficulty int8         // 3
	DefaultAIBuild    int8         // 0
}

typeinfo 67 (struct)

type NgdpRootKey

type NgdpRootKey struct {
	DataDeprecated *[]int8 // 15
	Data           string  // 16
}

typeinfo 17 (struct)

type PingMessage

type PingMessage struct {
	EventMeta
	Recipient int8   // 12
	Point     *Point // 85
}

typeinfo 186 (struct)

type Player

type Player struct {
	Raw  blizzval.Value
	Name string "0"
	// bnet region "1"
	// starcraft race "2"
	// color "3"
	Team     int64 "5"
	Handicap int64 "6"
	// unknown "7"
	IsWinner int64 "8"
	// unknown "9"
	Character string "10"
}

type PlayerSetupEvent

type PlayerSetupEvent struct {
	EventMeta
	PlayerId int8   // 1
	Type     int32  // 6
	UserId   *int32 // 43
	SlotId   *int32 // 43
}

typeinfo 199 (struct)

type PlayerStatsEvent

type PlayerStatsEvent struct {
	EventMeta
	PlayerId int8   // 1
	Stats    *Stats // 189
}

typeinfo 190 (struct)

type Point

type Point struct {
	X int64 // 84
	Y int64 // 84
}

typeinfo 85 (struct)

type PosUI

type PosUI struct {
	X int16 // 147
	Y int16 // 147
}

typeinfo 148 (struct)

type PosWorld

type PosWorld struct {
	X int32 // 92
	Y int32 // 92
	Z int64 // 84
}

typeinfo 93 (struct) name hints: set(['PosWorld', 'SnapshotPoint', 'Target'])

type RacePref

type RacePref struct {
	Race *int8 // 25
}

typeinfo 44 (struct) name hints: set(['RacePref', 'RacePreference'])

type ReconnectNotifyMessage

type ReconnectNotifyMessage struct {
	EventMeta
	Status int8 // 24
}

typeinfo 188 (struct)

type ResourceRequestCancelEvent

type ResourceRequestCancelEvent struct {
	EventMeta
	CancelRequestId int64 // 84
}

typeinfo 159 (struct)

type ResourceRequestEvent

type ResourceRequestEvent struct {
	EventMeta
	Resources []int64 // 109
}

typeinfo 157 (struct)

type ResourceRequestFulfillEvent

type ResourceRequestFulfillEvent struct {
	EventMeta
	FulfillRequestId int64 // 84
}

typeinfo 158 (struct)

type ResourceTradeEvent

type ResourceTradeEvent struct {
	EventMeta
	RecipientId int8    // 1
	Resources   []int64 // 109
}

typeinfo 110 (struct)

type SaveGameDoneEvent

type SaveGameDoneEvent struct {
	EventMeta
}

type SaveGameEvent

type SaveGameEvent struct {
	EventMeta
	FileName    string // 30
	Automatic   bool   // 13
	Overwrite   bool   // 13
	Name        string // 9
	Description string // 29
}

typeinfo 82 (struct)

type SelectionDeltaEvent

type SelectionDeltaEvent struct {
	EventMeta
	ControlGroupId int8   // 1
	Delta          *Delta // 104
}

typeinfo 105 (struct)

type SelectionSyncCheckEvent

type SelectionSyncCheckEvent struct {
	EventMeta
	ControlGroupId    int8               // 1
	SelectionSyncData *SelectionSyncData // 107
}

typeinfo 108 (struct)

type SelectionSyncData

type SelectionSyncData struct {
	Count                   int16 // 98
	SubgroupCount           int16 // 98
	ActiveSubgroupIndex     int16 // 98
	UnitTagsChecksum        int32 // 6
	SubgroupIndicesChecksum int32 // 6
	SubgroupsChecksum       int32 // 6
}

typeinfo 107 (struct)

type ServerPingMessage

type ServerPingMessage struct {
	EventMeta
}

typeinfo 78 (struct) names: set(['ServerPingMessage', 'TriggerPlanetPanelDeathCompleteEvent', 'SaveGameDoneEvent', 'TriggerMercenaryPanelPurchaseEvent', 'TriggerVictoryPanelExitEvent', 'TriggerProfilerLoggingFinishedEvent', 'TriggerGameCreditsFinishedEvent', 'TriggerMovieFinishedEvent', 'UserFinishedLoadingSyncEvent', 'TriggerMovieStartedEvent', 'TriggerPlanetPanelReplayEvent', 'LoadGameDoneEvent', 'TriggerPlanetPanelCanceledEvent', 'TriggerBattleReportPanelExitEvent', 'TriggerResearchPanelExitEvent', 'TriggerResearchPanelPurchaseEvent', 'TriggerAbortMissionEvent', 'TriggerMercenaryPanelExitEvent', 'TriggerSkippedEvent', 'TriggerPlanetPanelBirthCompleteEvent', 'TriggerPurchaseExitEvent'])

type SetAbsoluteGameSpeedEvent

type SetAbsoluteGameSpeedEvent struct {
	EventMeta
	Speed int8 // 12
}

typeinfo 115 (struct)

type Stats

type Stats struct {
	ScoreValueMineralsCurrent                  int64 // 84
	ScoreValueVespeneCurrent                   int64 // 84
	ScoreValueMineralsCollectionRate           int64 // 84
	ScoreValueVespeneCollectionRate            int64 // 84
	ScoreValueWorkersActiveCount               int64 // 84
	ScoreValueMineralsUsedInProgressArmy       int64 // 84
	ScoreValueMineralsUsedInProgressEconomy    int64 // 84
	ScoreValueMineralsUsedInProgressTechnology int64 // 84
	ScoreValueVespeneUsedInProgressArmy        int64 // 84
	ScoreValueVespeneUsedInProgressEconomy     int64 // 84
	ScoreValueVespeneUsedInProgressTechnology  int64 // 84
	ScoreValueMineralsUsedCurrentArmy          int64 // 84
	ScoreValueMineralsUsedCurrentEconomy       int64 // 84
	ScoreValueMineralsUsedCurrentTechnology    int64 // 84
	ScoreValueVespeneUsedCurrentArmy           int64 // 84
	ScoreValueVespeneUsedCurrentEconomy        int64 // 84
	ScoreValueVespeneUsedCurrentTechnology     int64 // 84
	ScoreValueMineralsLostArmy                 int64 // 84
	ScoreValueMineralsLostEconomy              int64 // 84
	ScoreValueMineralsLostTechnology           int64 // 84
	ScoreValueVespeneLostArmy                  int64 // 84
	ScoreValueVespeneLostEconomy               int64 // 84
	ScoreValueVespeneLostTechnology            int64 // 84
	ScoreValueMineralsKilledArmy               int64 // 84
	ScoreValueMineralsKilledEconomy            int64 // 84
	ScoreValueMineralsKilledTechnology         int64 // 84
	ScoreValueVespeneKilledArmy                int64 // 84
	ScoreValueVespeneKilledEconomy             int64 // 84
	ScoreValueVespeneKilledTechnology          int64 // 84
	ScoreValueFoodUsed                         int64 // 84
	ScoreValueFoodMade                         int64 // 84
	ScoreValueMineralsUsedActiveForces         int64 // 84
	ScoreValueVespeneUsedActiveForces          int64 // 84
	ScoreValueMineralsFriendlyFireArmy         int64 // 84
	ScoreValueMineralsFriendlyFireEconomy      int64 // 84
	ScoreValueMineralsFriendlyFireTechnology   int64 // 84
	ScoreValueVespeneFriendlyFireArmy          int64 // 84
	ScoreValueVespeneFriendlyFireEconomy       int64 // 84
	ScoreValueVespeneFriendlyFireTechnology    int64 // 84
}

typeinfo 189 (struct)

type SyncInfo

type SyncInfo struct {
	SoundHash []int32 // 133
	Length    []int32 // 133
}

typeinfo 134 (struct)

type SyncLobbyState

type SyncLobbyState struct {
	UserInitialData []*Unknown47     // 48
	GameDescription *GameDescription // 58
	LobbyState      *LobbyState      // 67
}

typeinfo 68 (struct)

type Target

type Target struct {
	TargetUnitFlags         int16     // 79
	Timer                   int8      // 10
	Tag                     int32     // 6
	SnapshotUnitLink        int16     // 79
	SnapshotControlPlayerId *int8     // 59
	SnapshotUpkeepPlayerId  *int8     // 59
	SnapshotPoint           *PosWorld // 93
}

typeinfo 94 (struct)

type TargetPoint

type TargetPoint struct {
	X int64 // 84
	Y int64 // 84
	Z int64 // 84
}

typeinfo 113 (struct)

type TeamPreference

type TeamPreference struct {
	Team *int8 // 25
}

typeinfo 45 (struct)

type Thumbnail

type Thumbnail struct {
	File string // 30
}

typeinfo 31 (struct)

type Toon

type Toon struct {
	Region int8 // 10
	// TODO: ProgramId TODO // 19
	Realm int32  // 6
	Name  string // 20
	Id    int64  // 21
}

typeinfo 22 (struct)

type TrackerEvent

type TrackerEvent struct {
	Frame int64
	Type  TrackerEventType
	Val   blizzval.Value
}

type TrackerEventType

type TrackerEventType int
const (
	EventPlayerStats   TrackerEventType = 0
	EventUnitBorn      TrackerEventType = 1
	EventUnitDied      TrackerEventType = 2
	EventOwnerChange   TrackerEventType = 3
	EventTypeChange    TrackerEventType = 4
	EventUnknown1      TrackerEventType = 5
	EventUnitPositions TrackerEventType = 8
	EventPlayerSetup   TrackerEventType = 9
)

func (TrackerEventType) String

func (i TrackerEventType) String() string

type TriggerAbortMissionEvent

type TriggerAbortMissionEvent struct {
	EventMeta
}

type TriggerAnimLengthQueryByNameEvent

type TriggerAnimLengthQueryByNameEvent struct {
	EventMeta
	QueryId        int16 // 79
	LengthMs       int32 // 6
	FinishGameLoop int32 // 6
}

typeinfo 136 (struct)

type TriggerAnimLengthQueryByPropsEvent

type TriggerAnimLengthQueryByPropsEvent struct {
	EventMeta
	QueryId  int16 // 79
	LengthMs int32 // 6
}

typeinfo 137 (struct)

type TriggerAnimOffsetEvent

type TriggerAnimOffsetEvent struct {
	EventMeta
	AnimWaitQueryId int16 // 79
}

typeinfo 138 (struct)

type TriggerBattleReportPanelExitEvent

type TriggerBattleReportPanelExitEvent struct {
	EventMeta
}

type TriggerBattleReportPanelPlayMissionEvent

type TriggerBattleReportPanelPlayMissionEvent struct {
	EventMeta
	BattleReportId  int64 // 84
	DifficultyLevel int64 // 84
}

typeinfo 162 (struct)

type TriggerBattleReportPanelPlaySceneEvent

type TriggerBattleReportPanelPlaySceneEvent struct {
	EventMeta
	BattleReportId int64 // 84
}

typeinfo 163 (struct) names: set(['TriggerBattleReportPanelPlaySceneEvent', 'TriggerBattleReportPanelSelectionChangedEvent'])

type TriggerBattleReportPanelSelectionChangedEvent

type TriggerBattleReportPanelSelectionChangedEvent struct {
	EventMeta
	BattleReportId int64 // 84
}

type TriggerButtonPressedEvent

type TriggerButtonPressedEvent struct {
	EventMeta
	Button int16 // 79
}

typeinfo 171 (struct)

type TriggerChatMessageEvent

type TriggerChatMessageEvent struct {
	EventMeta
	ChatMessage string // 29
}

typeinfo 111 (struct)

type TriggerConversationSkippedEvent

type TriggerConversationSkippedEvent struct {
	EventMeta
	SkipType int8 // 126
}

typeinfo 146 (struct)

type TriggerCustomDialogDismissedEvent

type TriggerCustomDialogDismissedEvent struct {
	EventMeta
	Result int64 // 84
}

typeinfo 168 (struct)

type TriggerCutsceneBookmarkFiredEvent

type TriggerCutsceneBookmarkFiredEvent struct {
	EventMeta
	CutsceneId   int64  // 84
	BookmarkName string // 20
}

typeinfo 172 (struct)

type TriggerCutsceneConversationLineEvent

type TriggerCutsceneConversationLineEvent struct {
	EventMeta
	CutsceneId          int64  // 84
	ConversationLine    string // 20
	AltConversationLine string // 20
}

typeinfo 174 (struct)

type TriggerCutsceneConversationLineMissingEvent

type TriggerCutsceneConversationLineMissingEvent struct {
	EventMeta
	CutsceneId       int64  // 84
	ConversationLine string // 20
}

typeinfo 175 (struct)

type TriggerCutsceneEndSceneFiredEvent

type TriggerCutsceneEndSceneFiredEvent struct {
	EventMeta
	CutsceneId int64 // 84
}

typeinfo 173 (struct)

type TriggerDialogControlEvent

type TriggerDialogControlEvent struct {
	EventMeta
	ControlId int64       // 84
	EventType int64       // 84
	EventData interface{} // 130
}

typeinfo 131 (struct)

type TriggerGameCreditsFinishedEvent

type TriggerGameCreditsFinishedEvent struct {
	EventMeta
}

type TriggerGameMenuItemSelectedEvent

type TriggerGameMenuItemSelectedEvent struct {
	EventMeta
	GameMenuItemIndex int64 // 84
}

typeinfo 169 (struct)

type TriggerHotkeyPressedEvent

type TriggerHotkeyPressedEvent struct {
	EventMeta
	Hotkey int32 // 6
	Down   bool  // 13
}

typeinfo 152 (struct)

type TriggerKeyPressedEvent

type TriggerKeyPressedEvent struct {
	EventMeta
	Key   int64 // 112
	Flags int64 // 112
}

typeinfo 156 (struct)

type TriggerMercenaryPanelExitEvent

type TriggerMercenaryPanelExitEvent struct {
	EventMeta
}

type TriggerMercenaryPanelPurchaseEvent

type TriggerMercenaryPanelPurchaseEvent struct {
	EventMeta
}

type TriggerMercenaryPanelSelectionChangedEvent

type TriggerMercenaryPanelSelectionChangedEvent struct {
	EventMeta
	MercenaryId int64 // 84
}

typeinfo 161 (struct)

type TriggerMouseClickedEvent

type TriggerMouseClickedEvent struct {
	EventMeta
	Button   int32     // 6
	Down     bool      // 13
	PosUI    *PosUI    // 148
	PosWorld *PosWorld // 93
	Flags    int64     // 112
}

typeinfo 149 (struct)

type TriggerMouseMovedEvent

type TriggerMouseMovedEvent struct {
	EventMeta
	PosUI    *PosUI    // 148
	PosWorld *PosWorld // 93
	Flags    int64     // 112
}

typeinfo 150 (struct)

type TriggerMovieFinishedEvent

type TriggerMovieFinishedEvent struct {
	EventMeta
}

type TriggerMovieFunctionEvent

type TriggerMovieFunctionEvent struct {
	EventMeta
	FunctionName string // 20
}

typeinfo 167 (struct)

type TriggerMovieStartedEvent

type TriggerMovieStartedEvent struct {
	EventMeta
}

type TriggerPingEvent

type TriggerPingEvent struct {
	EventMeta
	Point         *Point // 85
	Unit          int32  // 6
	PingedMinimap bool   // 13
	Option        int64  // 84
}

typeinfo 117 (struct)

type TriggerPlanetMissionLaunchedEvent

type TriggerPlanetMissionLaunchedEvent struct {
	EventMeta
	DifficultyLevel int64 // 84
}

type TriggerPlanetMissionSelectedEvent

type TriggerPlanetMissionSelectedEvent struct {
	EventMeta
	PlanetId int64 // 84
}

typeinfo 155 (struct)

type TriggerPlanetPanelBirthCompleteEvent

type TriggerPlanetPanelBirthCompleteEvent struct {
	EventMeta
}

type TriggerPlanetPanelCanceledEvent

type TriggerPlanetPanelCanceledEvent struct {
	EventMeta
}

type TriggerPlanetPanelDeathCompleteEvent

type TriggerPlanetPanelDeathCompleteEvent struct {
	EventMeta
}

type TriggerPlanetPanelReplayEvent

type TriggerPlanetPanelReplayEvent struct {
	EventMeta
}

type TriggerPortraitLoadedEvent

type TriggerPortraitLoadedEvent struct {
	EventMeta
	PortraitId int64 // 84
}

typeinfo 166 (struct)

type TriggerProfilerLoggingFinishedEvent

type TriggerProfilerLoggingFinishedEvent struct {
	EventMeta
}

type TriggerPurchaseExitEvent

type TriggerPurchaseExitEvent struct {
	EventMeta
}

type TriggerPurchaseMadeEvent

type TriggerPurchaseMadeEvent struct {
	EventMeta
	PurchaseItemId int64 // 84
}

typeinfo 128 (struct) names: set(['TriggerPurchaseMadeEvent', 'TriggerPurchasePanelSelectedPurchaseItemChangedEvent'])

type TriggerPurchasePanelSelectedPurchaseCategoryChangedEvent

type TriggerPurchasePanelSelectedPurchaseCategoryChangedEvent struct {
	EventMeta
	PurchaseCategoryId int64 // 84
}

typeinfo 170 (struct)

type TriggerPurchasePanelSelectedPurchaseItemChangedEvent

type TriggerPurchasePanelSelectedPurchaseItemChangedEvent struct {
	EventMeta
	PurchaseItemId int64 // 84
}

type TriggerReplySelectedEvent

type TriggerReplySelectedEvent struct {
	EventMeta
	ConversationId int64 // 84
	ReplyId        int64 // 84
}

typeinfo 122 (struct)

type TriggerResearchPanelExitEvent

type TriggerResearchPanelExitEvent struct {
	EventMeta
}

type TriggerResearchPanelPurchaseEvent

type TriggerResearchPanelPurchaseEvent struct {
	EventMeta
}

type TriggerResearchPanelSelectionChangedEvent

type TriggerResearchPanelSelectionChangedEvent struct {
	EventMeta
	ResearchItemId int64 // 84
}

typeinfo 160 (struct)

type TriggerSkippedEvent

type TriggerSkippedEvent struct {
	EventMeta
}

type TriggerSoundLengthQueryEvent

type TriggerSoundLengthQueryEvent struct {
	EventMeta
	SoundHash int32 // 6
	Length    int32 // 6
}

typeinfo 132 (struct)

type TriggerSoundLengthSyncEvent

type TriggerSoundLengthSyncEvent struct {
	EventMeta
	SyncInfo *SyncInfo // 134
}

typeinfo 135 (struct)

type TriggerSoundOffsetEvent

type TriggerSoundOffsetEvent struct {
	EventMeta
	Sound int32 // 6
}

typeinfo 139 (struct)

type TriggerSoundtrackDoneEvent

type TriggerSoundtrackDoneEvent struct {
	EventMeta
	Soundtrack int32 // 6
}

typeinfo 154 (struct)

type TriggerTargetModeUpdateEvent

type TriggerTargetModeUpdateEvent struct {
	EventMeta
	AbilLink     int16 // 79
	AbilCmdIndex int8  // 2
	State        int64 // 112
}

typeinfo 153 (struct)

type TriggerTransmissionCompleteEvent

type TriggerTransmissionCompleteEvent struct {
	EventMeta
	TransmissionId int64 // 84
}

typeinfo 141 (struct)

type TriggerTransmissionOffsetEvent

type TriggerTransmissionOffsetEvent struct {
	EventMeta
	TransmissionId int64 // 84
	Thread         int32 // 6
}

typeinfo 140 (struct)

type TriggerVictoryPanelExitEvent

type TriggerVictoryPanelExitEvent struct {
	EventMeta
}

type TriggerVictoryPanelPlayMissionAgainEvent

type TriggerVictoryPanelPlayMissionAgainEvent struct {
	EventMeta
	DifficultyLevel int64 // 84
}

typeinfo 129 (struct) names: set(['TriggerVictoryPanelPlayMissionAgainEvent', 'TriggerPlanetMissionLaunchedEvent'])

type UnitBornEvent

type UnitBornEvent struct {
	EventMeta
	UnitTagIndex    int32  // 6
	UnitTagRecycle  int32  // 6
	UnitTypeName    string // 29
	ControlPlayerId int8   // 1
	UpkeepPlayerId  int8   // 1
	X               int8   // 10
	Y               int8   // 10
}

typeinfo 191 (struct) names: set(['UnitBornEvent', 'UnitInitEvent'])

type UnitClickEvent

type UnitClickEvent struct {
	EventMeta
	UnitTag int32 // 6
}

typeinfo 120 (struct)

type UnitDiedEvent

type UnitDiedEvent struct {
	EventMeta
	UnitTagIndex         int32  // 6
	UnitTagRecycle       int32  // 6
	KillerPlayerId       *int8  // 59
	X                    int8   // 10
	Y                    int8   // 10
	KillerUnitTagIndex   *int32 // 43
	KillerUnitTagRecycle *int32 // 43
}

typeinfo 192 (struct)

type UnitDoneEvent

type UnitDoneEvent struct {
	EventMeta
	UnitTagIndex   int32 // 6
	UnitTagRecycle int32 // 6
}

typeinfo 196 (struct)

type UnitHighlightEvent

type UnitHighlightEvent struct {
	EventMeta
	UnitTag int32 // 6
	Flags   int8  // 10
}

typeinfo 121 (struct)

type UnitInitEvent

type UnitInitEvent struct {
	EventMeta
	UnitTagIndex    int32  // 6
	UnitTagRecycle  int32  // 6
	UnitTypeName    string // 29
	ControlPlayerId int8   // 1
	UpkeepPlayerId  int8   // 1
	X               int8   // 10
	Y               int8   // 10
}

type UnitOwnerChangeEvent

type UnitOwnerChangeEvent struct {
	EventMeta
	UnitTagIndex    int32 // 6
	UnitTagRecycle  int32 // 6
	ControlPlayerId int8  // 1
	UpkeepPlayerId  int8  // 1
}

typeinfo 193 (struct)

type UnitPositionsEvent

type UnitPositionsEvent struct {
	EventMeta
	FirstUnitIndex int32   // 6
	Items          []int64 // 197
}

typeinfo 198 (struct)

type UnitTypeChangeEvent

type UnitTypeChangeEvent struct {
	EventMeta
	UnitTagIndex   int32  // 6
	UnitTagRecycle int32  // 6
	UnitTypeName   string // 29
}

typeinfo 194 (struct)

type Unknown102

type Unknown102 struct {
	UnitLink              int16 // 79
	SubgroupPriority      int8  // 10
	IntraSubgroupPriority int8  // 10
	Count                 int16 // 98
}

typeinfo 102 (struct)

type Unknown124

type Unknown124 struct {
	GameUserId int8    // 1
	Observe    int8    // 24
	Name       string  // 9
	ToonHandle *string // 123
	ClanTag    *string // 41
}

typeinfo 124 (struct)

type Unknown26

type Unknown26 struct {
	Name             string // 9
	Toon             *Toon  // 22
	Race             string // 9
	Color            *Color // 23
	Control          int8   // 10
	TeamId           int8   // 1
	Handicap         int8   // 0
	Observe          int8   // 24
	Result           int8   // 24
	WorkingSetSlotId *int8  // 25
	Hero             string // 9
}

typeinfo 26 (struct)

type Unknown40

type Unknown40 struct {
	PlayerList             *[]*Unknown26 // 28
	Title                  string        // 29
	Difficulty             string        // 9
	Thumbnail              *Thumbnail    // 31
	IsBlizzardMap          bool          // 13
	RestartAsTransitionMap *bool         // 32
	TimeUTC                int64         // 33
	TimeLocalOffset        int64         // 33
	Description            string        // 34
	ImageFilePath          string        // 30
	CampaignIndex          int8          // 10
	MapFileName            string        // 30
	CacheHandles           *[]string     // 37
	MiniSave               bool          // 13
	GameSpeed              int8          // 12
	DefaultDifficulty      int8          // 3
	ModPaths               *[]string     // 39
}

typeinfo 40 (struct)

type Unknown47

type Unknown47 struct {
	Name               string          // 9
	ClanTag            *string         // 41
	HighestLeague      *int8           // 25
	CombinedRaceLevels *int32          // 43
	RandomSeed         int32           // 6
	RacePreference     *RacePref       // 44
	TeamPreference     *TeamPreference // 45
	TestMap            bool            // 13
	TestAuto           bool            // 13
	Examine            bool            // 13
	CustomInterface    bool            // 13
	TestType           int32           // 6
	Observe            int8            // 24
	Hero               string          // 46
	Skin               string          // 46
	Mount              string          // 46
	ToonHandle         string          // 20
}

typeinfo 47 (struct)

type Unknown56

type Unknown56 struct {
	AllowedColors       uint64 // 52
	AllowedRaces        uint64 // 53
	AllowedDifficulty   uint64 // 52
	AllowedControls     uint64 // 53
	AllowedObserveTypes uint64 // 54
	AllowedAIBuilds     uint64 // 55
}

typeinfo 56 (struct)

type Unknown65

type Unknown65 struct {
	Control            int8       // 10
	UserId             *int8      // 59
	TeamId             int8       // 1
	ColorPref          *ColorPref // 61
	RacePref           *RacePref  // 44
	Difficulty         int8       // 3
	AiBuild            int8       // 0
	Handicap           int8       // 0
	Observe            int8       // 24
	LogoIndex          int32      // 6
	Hero               string     // 46
	Skin               string     // 46
	Mount              string     // 46
	Artifacts          []string   // 62
	WorkingSetSlotId   *int8      // 25
	Rewards            []int32    // 63
	ToonHandle         string     // 20
	Licenses           []int32    // 64
	TandemLeaderUserId *int8      // 59
	Commander          string     // 46
}

typeinfo 65 (struct)

type Unknown69

type Unknown69 struct {
	SyncLobbyState *SyncLobbyState // 68
}

typeinfo 69 (struct)

type Unknown8

type Unknown8 struct {
	UserId int8 // 2
}

typeinfo 8 (struct)

type Unknown89

type Unknown89 struct {
	AbilLink     int16 // 79
	AbilCmdIndex int8  // 2
	AbilCmdData  *int8 // 25
}

typeinfo 89 (struct)

type UpgradeEvent

type UpgradeEvent struct {
	EventMeta
	PlayerId        int8   // 1
	UpgradeTypeName string // 29
	Count           int64  // 84
}

typeinfo 195 (struct)

type UserFinishedLoadingSyncEvent

type UserFinishedLoadingSyncEvent struct {
	EventMeta
}

type UserOptionsEvent

type UserOptionsEvent struct {
	EventMeta
	GameFullyDownloaded      bool   // 13
	DevelopmentCheatsEnabled bool   // 13
	TestCheatsEnabled        bool   // 13
	MultiplayerCheatsEnabled bool   // 13
	SyncChecksummingEnabled  bool   // 13
	IsMapToMapTransition     bool   // 13
	StartingRally            bool   // 13
	DebugPauseEnabled        bool   // 13
	UseGalaxyAsserts         bool   // 13
	PlatformMac              bool   // 13
	CameraFollow             bool   // 13
	BaseBuildNum             int32  // 6
	BuildNum                 int32  // 6
	VersionFlags             int32  // 6
	HotkeyProfile            string // 46
}

typeinfo 77 (struct)

type Version

type Version struct {
	Flags     int8  // 10
	Major     int8  // 10
	Minor     int8  // 10
	Revision  int8  // 10
	Build     int32 // 6
	BaseBuild int32 // 6
}

typeinfo 11 (struct)

Jump to

Keyboard shortcuts

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