manta

package module
v0.0.0-...-2ee36f2 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package manta provides a fully functional Dota 2 replay parser targeting the Source 2 game engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callbacks

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

Callbacks decodes and routes replay events to callback functions

func (*Callbacks) OnCDOTAMatchMetadataFile

func (c *Callbacks) OnCDOTAMatchMetadataFile(fn func(*dota.CDOTAMatchMetadataFile) error)

OnCDOTAMatchMetadataFile registers a callback for EDotaUserMessages_DOTA_UM_MatchMetadata

func (*Callbacks) OnCDOTAUserMsg_AIDebugLine

func (c *Callbacks) OnCDOTAUserMsg_AIDebugLine(fn func(*dota.CDOTAUserMsg_AIDebugLine) error)

OnCDOTAUserMsg_AIDebugLine registers a callback for EDotaUserMessages_DOTA_UM_AIDebugLine

func (*Callbacks) OnCDOTAUserMsg_AbilityDraftRequestAbility

func (c *Callbacks) OnCDOTAUserMsg_AbilityDraftRequestAbility(fn func(*dota.CDOTAUserMsg_AbilityDraftRequestAbility) error)

OnCDOTAUserMsg_AbilityDraftRequestAbility registers a callback for EDotaUserMessages_DOTA_UM_AbilityDraftRequestAbility

func (*Callbacks) OnCDOTAUserMsg_AbilityPing

func (c *Callbacks) OnCDOTAUserMsg_AbilityPing(fn func(*dota.CDOTAUserMsg_AbilityPing) error)

OnCDOTAUserMsg_AbilityPing registers a callback for EDotaUserMessages_DOTA_UM_AbilityPing

func (*Callbacks) OnCDOTAUserMsg_AbilitySteal

func (c *Callbacks) OnCDOTAUserMsg_AbilitySteal(fn func(*dota.CDOTAUserMsg_AbilitySteal) error)

OnCDOTAUserMsg_AbilitySteal registers a callback for EDotaUserMessages_DOTA_UM_AbilitySteal

func (*Callbacks) OnCDOTAUserMsg_AddQuestLogEntry

func (c *Callbacks) OnCDOTAUserMsg_AddQuestLogEntry(fn func(*dota.CDOTAUserMsg_AddQuestLogEntry) error)

OnCDOTAUserMsg_AddQuestLogEntry registers a callback for EDotaUserMessages_DOTA_UM_AddQuestLogEntry

func (*Callbacks) OnCDOTAUserMsg_AghsStatusAlert

func (c *Callbacks) OnCDOTAUserMsg_AghsStatusAlert(fn func(*dota.CDOTAUserMsg_AghsStatusAlert) error)

OnCDOTAUserMsg_AghsStatusAlert registers a callback for EDotaUserMessages_DOTA_UM_AghsStatusAlert

func (*Callbacks) OnCDOTAUserMsg_AllStarEvent

func (c *Callbacks) OnCDOTAUserMsg_AllStarEvent(fn func(*dota.CDOTAUserMsg_AllStarEvent) error)

OnCDOTAUserMsg_AllStarEvent registers a callback for EDotaUserMessages_DOTA_UM_AllStarEvent

func (*Callbacks) OnCDOTAUserMsg_BeastChat

func (c *Callbacks) OnCDOTAUserMsg_BeastChat(fn func(*dota.CDOTAUserMsg_BeastChat) error)

OnCDOTAUserMsg_BeastChat registers a callback for EDotaUserMessages_DOTA_UM_BeastChat

func (*Callbacks) OnCDOTAUserMsg_BoosterState

func (c *Callbacks) OnCDOTAUserMsg_BoosterState(fn func(*dota.CDOTAUserMsg_BoosterState) error)

OnCDOTAUserMsg_BoosterState registers a callback for EDotaUserMessages_DOTA_UM_BoosterState

func (*Callbacks) OnCDOTAUserMsg_BotChat

func (c *Callbacks) OnCDOTAUserMsg_BotChat(fn func(*dota.CDOTAUserMsg_BotChat) error)

OnCDOTAUserMsg_BotChat registers a callback for EDotaUserMessages_DOTA_UM_BotChat

func (*Callbacks) OnCDOTAUserMsg_BuyBackStateAlert

func (c *Callbacks) OnCDOTAUserMsg_BuyBackStateAlert(fn func(*dota.CDOTAUserMsg_BuyBackStateAlert) error)

OnCDOTAUserMsg_BuyBackStateAlert registers a callback for EDotaUserMessages_DOTA_UM_BuyBackStateAlert

func (*Callbacks) OnCDOTAUserMsg_ChatEvent

func (c *Callbacks) OnCDOTAUserMsg_ChatEvent(fn func(*dota.CDOTAUserMsg_ChatEvent) error)

OnCDOTAUserMsg_ChatEvent registers a callback for EDotaUserMessages_DOTA_UM_ChatEvent

func (*Callbacks) OnCDOTAUserMsg_ChatMessage

func (c *Callbacks) OnCDOTAUserMsg_ChatMessage(fn func(*dota.CDOTAUserMsg_ChatMessage) error)

OnCDOTAUserMsg_ChatMessage registers a callback for EDotaUserMessages_DOTA_UM_ChatMessage

func (*Callbacks) OnCDOTAUserMsg_ChatWheel

func (c *Callbacks) OnCDOTAUserMsg_ChatWheel(fn func(*dota.CDOTAUserMsg_ChatWheel) error)

OnCDOTAUserMsg_ChatWheel registers a callback for EDotaUserMessages_DOTA_UM_ChatWheel

func (*Callbacks) OnCDOTAUserMsg_ChatWheelCooldown

func (c *Callbacks) OnCDOTAUserMsg_ChatWheelCooldown(fn func(*dota.CDOTAUserMsg_ChatWheelCooldown) error)

OnCDOTAUserMsg_ChatWheelCooldown registers a callback for EDotaUserMessages_DOTA_UM_ChatWheelCooldown

func (*Callbacks) OnCDOTAUserMsg_ClientLoadGridNav

func (c *Callbacks) OnCDOTAUserMsg_ClientLoadGridNav(fn func(*dota.CDOTAUserMsg_ClientLoadGridNav) error)

OnCDOTAUserMsg_ClientLoadGridNav registers a callback for EDotaUserMessages_DOTA_UM_ClientLoadGridNav

func (*Callbacks) OnCDOTAUserMsg_CoachHUDPing

func (c *Callbacks) OnCDOTAUserMsg_CoachHUDPing(fn func(*dota.CDOTAUserMsg_CoachHUDPing) error)

OnCDOTAUserMsg_CoachHUDPing registers a callback for EDotaUserMessages_DOTA_UM_CoachHUDPing

func (*Callbacks) OnCDOTAUserMsg_CombatHeroPositions

func (c *Callbacks) OnCDOTAUserMsg_CombatHeroPositions(fn func(*dota.CDOTAUserMsg_CombatHeroPositions) error)

OnCDOTAUserMsg_CombatHeroPositions registers a callback for EDotaUserMessages_DOTA_UM_CombatHeroPositions

func (*Callbacks) OnCDOTAUserMsg_CombatLogBulkData

func (c *Callbacks) OnCDOTAUserMsg_CombatLogBulkData(fn func(*dota.CDOTAUserMsg_CombatLogBulkData) error)

OnCDOTAUserMsg_CombatLogBulkData registers a callback for EDotaUserMessages_DOTA_UM_CombatLogBulkData

func (*Callbacks) OnCDOTAUserMsg_CompendiumState

func (c *Callbacks) OnCDOTAUserMsg_CompendiumState(fn func(*dota.CDOTAUserMsg_CompendiumState) error)

OnCDOTAUserMsg_CompendiumState registers a callback for EDotaUserMessages_DOTA_UM_CompendiumState

func (*Callbacks) OnCDOTAUserMsg_ContextualTip

func (c *Callbacks) OnCDOTAUserMsg_ContextualTip(fn func(*dota.CDOTAUserMsg_ContextualTip) error)

OnCDOTAUserMsg_ContextualTip registers a callback for EDotaUserMessages_DOTA_UM_ContextualTip

func (*Callbacks) OnCDOTAUserMsg_CourierKilledAlert

func (c *Callbacks) OnCDOTAUserMsg_CourierKilledAlert(fn func(*dota.CDOTAUserMsg_CourierKilledAlert) error)

OnCDOTAUserMsg_CourierKilledAlert registers a callback for EDotaUserMessages_DOTA_UM_CourierKilledAlert

func (*Callbacks) OnCDOTAUserMsg_CreateLinearProjectile

func (c *Callbacks) OnCDOTAUserMsg_CreateLinearProjectile(fn func(*dota.CDOTAUserMsg_CreateLinearProjectile) error)

OnCDOTAUserMsg_CreateLinearProjectile registers a callback for EDotaUserMessages_DOTA_UM_CreateLinearProjectile

func (*Callbacks) OnCDOTAUserMsg_CustomHeaderMessage

func (c *Callbacks) OnCDOTAUserMsg_CustomHeaderMessage(fn func(*dota.CDOTAUserMsg_CustomHeaderMessage) error)

OnCDOTAUserMsg_CustomHeaderMessage registers a callback for EDotaUserMessages_DOTA_UM_CustomHeaderMessage

func (*Callbacks) OnCDOTAUserMsg_CustomHudElement_Create

func (c *Callbacks) OnCDOTAUserMsg_CustomHudElement_Create(fn func(*dota.CDOTAUserMsg_CustomHudElement_Create) error)

OnCDOTAUserMsg_CustomHudElement_Create registers a callback for EDotaUserMessages_DOTA_UM_CustomHudElement_Create

func (*Callbacks) OnCDOTAUserMsg_CustomHudElement_Destroy

func (c *Callbacks) OnCDOTAUserMsg_CustomHudElement_Destroy(fn func(*dota.CDOTAUserMsg_CustomHudElement_Destroy) error)

OnCDOTAUserMsg_CustomHudElement_Destroy registers a callback for EDotaUserMessages_DOTA_UM_CustomHudElement_Destroy

func (*Callbacks) OnCDOTAUserMsg_CustomHudElement_Modify

func (c *Callbacks) OnCDOTAUserMsg_CustomHudElement_Modify(fn func(*dota.CDOTAUserMsg_CustomHudElement_Modify) error)

OnCDOTAUserMsg_CustomHudElement_Modify registers a callback for EDotaUserMessages_DOTA_UM_CustomHudElement_Modify

func (*Callbacks) OnCDOTAUserMsg_CustomMsg

func (c *Callbacks) OnCDOTAUserMsg_CustomMsg(fn func(*dota.CDOTAUserMsg_CustomMsg) error)

OnCDOTAUserMsg_CustomMsg registers a callback for EDotaUserMessages_DOTA_UM_CustomMsg

func (*Callbacks) OnCDOTAUserMsg_DamageReport

func (c *Callbacks) OnCDOTAUserMsg_DamageReport(fn func(*dota.CDOTAUserMsg_DamageReport) error)

OnCDOTAUserMsg_DamageReport registers a callback for EDotaUserMessages_DOTA_UM_DamageReport

func (*Callbacks) OnCDOTAUserMsg_DebugChallenge

func (c *Callbacks) OnCDOTAUserMsg_DebugChallenge(fn func(*dota.CDOTAUserMsg_DebugChallenge) error)

OnCDOTAUserMsg_DebugChallenge registers a callback for EDotaUserMessages_DOTA_UM_DebugChallenge

func (*Callbacks) OnCDOTAUserMsg_DestroyLinearProjectile

func (c *Callbacks) OnCDOTAUserMsg_DestroyLinearProjectile(fn func(*dota.CDOTAUserMsg_DestroyLinearProjectile) error)

OnCDOTAUserMsg_DestroyLinearProjectile registers a callback for EDotaUserMessages_DOTA_UM_DestroyLinearProjectile

func (*Callbacks) OnCDOTAUserMsg_DismissAllStatPopups

func (c *Callbacks) OnCDOTAUserMsg_DismissAllStatPopups(fn func(*dota.CDOTAUserMsg_DismissAllStatPopups) error)

OnCDOTAUserMsg_DismissAllStatPopups registers a callback for EDotaUserMessages_DOTA_UM_DismissAllStatPopups

func (*Callbacks) OnCDOTAUserMsg_DodgeTrackingProjectiles

func (c *Callbacks) OnCDOTAUserMsg_DodgeTrackingProjectiles(fn func(*dota.CDOTAUserMsg_DodgeTrackingProjectiles) error)

OnCDOTAUserMsg_DodgeTrackingProjectiles registers a callback for EDotaUserMessages_DOTA_UM_DodgeTrackingProjectiles

func (*Callbacks) OnCDOTAUserMsg_ESArcanaCombo

func (c *Callbacks) OnCDOTAUserMsg_ESArcanaCombo(fn func(*dota.CDOTAUserMsg_ESArcanaCombo) error)

OnCDOTAUserMsg_ESArcanaCombo registers a callback for EDotaUserMessages_DOTA_UM_ESArcanaCombo

func (*Callbacks) OnCDOTAUserMsg_ESArcanaComboSummary

func (c *Callbacks) OnCDOTAUserMsg_ESArcanaComboSummary(fn func(*dota.CDOTAUserMsg_ESArcanaComboSummary) error)

OnCDOTAUserMsg_ESArcanaComboSummary registers a callback for EDotaUserMessages_DOTA_UM_ESArcanaComboSummary

func (*Callbacks) OnCDOTAUserMsg_EmptyItemSlotAlert

func (c *Callbacks) OnCDOTAUserMsg_EmptyItemSlotAlert(fn func(*dota.CDOTAUserMsg_EmptyItemSlotAlert) error)

OnCDOTAUserMsg_EmptyItemSlotAlert registers a callback for EDotaUserMessages_DOTA_UM_EmptyItemSlotAlert

func (*Callbacks) OnCDOTAUserMsg_EmptyTeleportAlert

func (c *Callbacks) OnCDOTAUserMsg_EmptyTeleportAlert(fn func(*dota.CDOTAUserMsg_EmptyTeleportAlert) error)

OnCDOTAUserMsg_EmptyTeleportAlert registers a callback for EDotaUserMessages_DOTA_UM_EmptyTeleportAlert

func (*Callbacks) OnCDOTAUserMsg_EnemyItemAlert

func (c *Callbacks) OnCDOTAUserMsg_EnemyItemAlert(fn func(*dota.CDOTAUserMsg_EnemyItemAlert) error)

OnCDOTAUserMsg_EnemyItemAlert registers a callback for EDotaUserMessages_DOTA_UM_EnemyItemAlert

func (*Callbacks) OnCDOTAUserMsg_FlipCoinResult

func (c *Callbacks) OnCDOTAUserMsg_FlipCoinResult(fn func(*dota.CDOTAUserMsg_FlipCoinResult) error)

OnCDOTAUserMsg_FlipCoinResult registers a callback for EDotaUserMessages_DOTA_UM_FlipCoinResult

func (*Callbacks) OnCDOTAUserMsg_FoundNeutralItem

func (c *Callbacks) OnCDOTAUserMsg_FoundNeutralItem(fn func(*dota.CDOTAUserMsg_FoundNeutralItem) error)

OnCDOTAUserMsg_FoundNeutralItem registers a callback for EDotaUserMessages_DOTA_UM_FoundNeutralItem

func (*Callbacks) OnCDOTAUserMsg_GamerulesStateChanged

func (c *Callbacks) OnCDOTAUserMsg_GamerulesStateChanged(fn func(*dota.CDOTAUserMsg_GamerulesStateChanged) error)

OnCDOTAUserMsg_GamerulesStateChanged registers a callback for EDotaUserMessages_DOTA_UM_GamerulesStateChanged

func (*Callbacks) OnCDOTAUserMsg_GlobalLightColor

func (c *Callbacks) OnCDOTAUserMsg_GlobalLightColor(fn func(*dota.CDOTAUserMsg_GlobalLightColor) error)

OnCDOTAUserMsg_GlobalLightColor registers a callback for EDotaUserMessages_DOTA_UM_GlobalLightColor

func (*Callbacks) OnCDOTAUserMsg_GlobalLightDirection

func (c *Callbacks) OnCDOTAUserMsg_GlobalLightDirection(fn func(*dota.CDOTAUserMsg_GlobalLightDirection) error)

OnCDOTAUserMsg_GlobalLightDirection registers a callback for EDotaUserMessages_DOTA_UM_GlobalLightDirection

func (*Callbacks) OnCDOTAUserMsg_GlyphAlert

func (c *Callbacks) OnCDOTAUserMsg_GlyphAlert(fn func(*dota.CDOTAUserMsg_GlyphAlert) error)

OnCDOTAUserMsg_GlyphAlert registers a callback for EDotaUserMessages_DOTA_UM_GlyphAlert

func (*Callbacks) OnCDOTAUserMsg_GuildChallenge_Progress

func (c *Callbacks) OnCDOTAUserMsg_GuildChallenge_Progress(fn func(*dota.CDOTAUserMsg_GuildChallenge_Progress) error)

OnCDOTAUserMsg_GuildChallenge_Progress registers a callback for EDotaUserMessages_DOTA_UM_GuildChallenge_Progress

func (*Callbacks) OnCDOTAUserMsg_HPManaAlert

func (c *Callbacks) OnCDOTAUserMsg_HPManaAlert(fn func(*dota.CDOTAUserMsg_HPManaAlert) error)

OnCDOTAUserMsg_HPManaAlert registers a callback for EDotaUserMessages_DOTA_UM_HPManaAlert

func (*Callbacks) OnCDOTAUserMsg_HalloweenDrops

func (c *Callbacks) OnCDOTAUserMsg_HalloweenDrops(fn func(*dota.CDOTAUserMsg_HalloweenDrops) error)

OnCDOTAUserMsg_HalloweenDrops registers a callback for EDotaUserMessages_DOTA_UM_HalloweenDrops

func (*Callbacks) OnCDOTAUserMsg_HeroRelicProgress

func (c *Callbacks) OnCDOTAUserMsg_HeroRelicProgress(fn func(*dota.CDOTAUserMsg_HeroRelicProgress) error)

OnCDOTAUserMsg_HeroRelicProgress registers a callback for EDotaUserMessages_DOTA_UM_HeroRelicProgress

func (*Callbacks) OnCDOTAUserMsg_HighFiveCompleted

func (c *Callbacks) OnCDOTAUserMsg_HighFiveCompleted(fn func(*dota.CDOTAUserMsg_HighFiveCompleted) error)

OnCDOTAUserMsg_HighFiveCompleted registers a callback for EDotaUserMessages_DOTA_UM_HighFiveCompleted

func (*Callbacks) OnCDOTAUserMsg_HighFiveLeftHanging

func (c *Callbacks) OnCDOTAUserMsg_HighFiveLeftHanging(fn func(*dota.CDOTAUserMsg_HighFiveLeftHanging) error)

OnCDOTAUserMsg_HighFiveLeftHanging registers a callback for EDotaUserMessages_DOTA_UM_HighFiveLeftHanging

func (*Callbacks) OnCDOTAUserMsg_HotPotato_Created

func (c *Callbacks) OnCDOTAUserMsg_HotPotato_Created(fn func(*dota.CDOTAUserMsg_HotPotato_Created) error)

OnCDOTAUserMsg_HotPotato_Created registers a callback for EDotaUserMessages_DOTA_UM_HotPotato_Created

func (*Callbacks) OnCDOTAUserMsg_HotPotato_Exploded

func (c *Callbacks) OnCDOTAUserMsg_HotPotato_Exploded(fn func(*dota.CDOTAUserMsg_HotPotato_Exploded) error)

OnCDOTAUserMsg_HotPotato_Exploded registers a callback for EDotaUserMessages_DOTA_UM_HotPotato_Exploded

func (*Callbacks) OnCDOTAUserMsg_HudError

func (c *Callbacks) OnCDOTAUserMsg_HudError(fn func(*dota.CDOTAUserMsg_HudError) error)

OnCDOTAUserMsg_HudError registers a callback for EDotaUserMessages_DOTA_UM_HudError

func (*Callbacks) OnCDOTAUserMsg_InvalidCommand

func (c *Callbacks) OnCDOTAUserMsg_InvalidCommand(fn func(*dota.CDOTAUserMsg_InvalidCommand) error)

OnCDOTAUserMsg_InvalidCommand registers a callback for EDotaUserMessages_DOTA_UM_InvalidCommand

func (*Callbacks) OnCDOTAUserMsg_ItemAlert

func (c *Callbacks) OnCDOTAUserMsg_ItemAlert(fn func(*dota.CDOTAUserMsg_ItemAlert) error)

OnCDOTAUserMsg_ItemAlert registers a callback for EDotaUserMessages_DOTA_UM_ItemAlert

func (*Callbacks) OnCDOTAUserMsg_ItemFound

func (c *Callbacks) OnCDOTAUserMsg_ItemFound(fn func(*dota.CDOTAUserMsg_ItemFound) error)

OnCDOTAUserMsg_ItemFound registers a callback for EDotaUserMessages_DOTA_UM_ItemFound

func (*Callbacks) OnCDOTAUserMsg_ItemPurchased

func (c *Callbacks) OnCDOTAUserMsg_ItemPurchased(fn func(*dota.CDOTAUserMsg_ItemPurchased) error)

OnCDOTAUserMsg_ItemPurchased registers a callback for EDotaUserMessages_DOTA_UM_ItemPurchased

func (*Callbacks) OnCDOTAUserMsg_ItemSold

func (c *Callbacks) OnCDOTAUserMsg_ItemSold(fn func(*dota.CDOTAUserMsg_ItemSold) error)

OnCDOTAUserMsg_ItemSold registers a callback for EDotaUserMessages_DOTA_UM_ItemSold

func (*Callbacks) OnCDOTAUserMsg_KillcamDamageTaken

func (c *Callbacks) OnCDOTAUserMsg_KillcamDamageTaken(fn func(*dota.CDOTAUserMsg_KillcamDamageTaken) error)

OnCDOTAUserMsg_KillcamDamageTaken registers a callback for EDotaUserMessages_DOTA_UM_KillcamDamageTaken

func (*Callbacks) OnCDOTAUserMsg_LocationPing

func (c *Callbacks) OnCDOTAUserMsg_LocationPing(fn func(*dota.CDOTAUserMsg_LocationPing) error)

OnCDOTAUserMsg_LocationPing registers a callback for EDotaUserMessages_DOTA_UM_LocationPing

func (*Callbacks) OnCDOTAUserMsg_MapLine

func (c *Callbacks) OnCDOTAUserMsg_MapLine(fn func(*dota.CDOTAUserMsg_MapLine) error)

OnCDOTAUserMsg_MapLine registers a callback for EDotaUserMessages_DOTA_UM_MapLine

func (*Callbacks) OnCDOTAUserMsg_MarsArenaOfBloodAttack

func (c *Callbacks) OnCDOTAUserMsg_MarsArenaOfBloodAttack(fn func(*dota.CDOTAUserMsg_MarsArenaOfBloodAttack) error)

OnCDOTAUserMsg_MarsArenaOfBloodAttack registers a callback for EDotaUserMessages_DOTA_UM_MarsArenaOfBloodAttack

func (*Callbacks) OnCDOTAUserMsg_MiniKillCamInfo

func (c *Callbacks) OnCDOTAUserMsg_MiniKillCamInfo(fn func(*dota.CDOTAUserMsg_MiniKillCamInfo) error)

OnCDOTAUserMsg_MiniKillCamInfo registers a callback for EDotaUserMessages_DOTA_UM_MiniKillCamInfo

func (*Callbacks) OnCDOTAUserMsg_MiniTaunt

func (c *Callbacks) OnCDOTAUserMsg_MiniTaunt(fn func(*dota.CDOTAUserMsg_MiniTaunt) error)

OnCDOTAUserMsg_MiniTaunt registers a callback for EDotaUserMessages_DOTA_UM_MiniTaunt

func (*Callbacks) OnCDOTAUserMsg_MinimapDebugPoint

func (c *Callbacks) OnCDOTAUserMsg_MinimapDebugPoint(fn func(*dota.CDOTAUserMsg_MinimapDebugPoint) error)

OnCDOTAUserMsg_MinimapDebugPoint registers a callback for EDotaUserMessages_DOTA_UM_MinimapDebugPoint

func (*Callbacks) OnCDOTAUserMsg_MinimapEvent

func (c *Callbacks) OnCDOTAUserMsg_MinimapEvent(fn func(*dota.CDOTAUserMsg_MinimapEvent) error)

OnCDOTAUserMsg_MinimapEvent registers a callback for EDotaUserMessages_DOTA_UM_MinimapEvent

func (*Callbacks) OnCDOTAUserMsg_ModifierAlert

func (c *Callbacks) OnCDOTAUserMsg_ModifierAlert(fn func(*dota.CDOTAUserMsg_ModifierAlert) error)

OnCDOTAUserMsg_ModifierAlert registers a callback for EDotaUserMessages_DOTA_UM_ModifierAlert

func (*Callbacks) OnCDOTAUserMsg_MoveCameraToUnit

func (c *Callbacks) OnCDOTAUserMsg_MoveCameraToUnit(fn func(*dota.CDOTAUserMsg_MoveCameraToUnit) error)

OnCDOTAUserMsg_MoveCameraToUnit registers a callback for EDotaUserMessages_DOTA_UM_MoveCameraToUnit

func (*Callbacks) OnCDOTAUserMsg_MutedPlayers

func (c *Callbacks) OnCDOTAUserMsg_MutedPlayers(fn func(*dota.CDOTAUserMsg_MutedPlayers) error)

OnCDOTAUserMsg_MutedPlayers registers a callback for EDotaUserMessages_DOTA_UM_MutedPlayers

func (*Callbacks) OnCDOTAUserMsg_NevermoreRequiem

func (c *Callbacks) OnCDOTAUserMsg_NevermoreRequiem(fn func(*dota.CDOTAUserMsg_NevermoreRequiem) error)

OnCDOTAUserMsg_NevermoreRequiem registers a callback for EDotaUserMessages_DOTA_UM_NevermoreRequiem

func (*Callbacks) OnCDOTAUserMsg_OMArcanaCombo

func (c *Callbacks) OnCDOTAUserMsg_OMArcanaCombo(fn func(*dota.CDOTAUserMsg_OMArcanaCombo) error)

OnCDOTAUserMsg_OMArcanaCombo registers a callback for EDotaUserMessages_DOTA_UM_OMArcanaCombo

func (*Callbacks) OnCDOTAUserMsg_OutpostCaptured

func (c *Callbacks) OnCDOTAUserMsg_OutpostCaptured(fn func(*dota.CDOTAUserMsg_OutpostCaptured) error)

OnCDOTAUserMsg_OutpostCaptured registers a callback for EDotaUserMessages_DOTA_UM_OutpostCaptured

func (*Callbacks) OnCDOTAUserMsg_OutpostGrantedXP

func (c *Callbacks) OnCDOTAUserMsg_OutpostGrantedXP(fn func(*dota.CDOTAUserMsg_OutpostGrantedXP) error)

OnCDOTAUserMsg_OutpostGrantedXP registers a callback for EDotaUserMessages_DOTA_UM_OutpostGrantedXP

func (*Callbacks) OnCDOTAUserMsg_OverheadEvent

func (c *Callbacks) OnCDOTAUserMsg_OverheadEvent(fn func(*dota.CDOTAUserMsg_OverheadEvent) error)

OnCDOTAUserMsg_OverheadEvent registers a callback for EDotaUserMessages_DOTA_UM_OverheadEvent

func (*Callbacks) OnCDOTAUserMsg_PauseMinigameData

func (c *Callbacks) OnCDOTAUserMsg_PauseMinigameData(fn func(*dota.CDOTAUserMsg_PauseMinigameData) error)

OnCDOTAUserMsg_PauseMinigameData registers a callback for EDotaUserMessages_DOTA_UM_PauseMinigameData

func (*Callbacks) OnCDOTAUserMsg_Ping

func (c *Callbacks) OnCDOTAUserMsg_Ping(fn func(*dota.CDOTAUserMsg_Ping) error)

OnCDOTAUserMsg_Ping registers a callback for EDotaUserMessages_DOTA_UM_Ping

func (*Callbacks) OnCDOTAUserMsg_PingConfirmation

func (c *Callbacks) OnCDOTAUserMsg_PingConfirmation(fn func(*dota.CDOTAUserMsg_PingConfirmation) error)

OnCDOTAUserMsg_PingConfirmation registers a callback for EDotaUserMessages_DOTA_UM_PingConfirmation

func (*Callbacks) OnCDOTAUserMsg_PlayerMMR

func (c *Callbacks) OnCDOTAUserMsg_PlayerMMR(fn func(*dota.CDOTAUserMsg_PlayerMMR) error)

OnCDOTAUserMsg_PlayerMMR registers a callback for EDotaUserMessages_DOTA_UM_PlayerMMR

func (*Callbacks) OnCDOTAUserMsg_PredictionResult

func (c *Callbacks) OnCDOTAUserMsg_PredictionResult(fn func(*dota.CDOTAUserMsg_PredictionResult) error)

OnCDOTAUserMsg_PredictionResult registers a callback for EDotaUserMessages_DOTA_UM_PredictionResult

func (*Callbacks) OnCDOTAUserMsg_ProjectionAbility

func (c *Callbacks) OnCDOTAUserMsg_ProjectionAbility(fn func(*dota.CDOTAUserMsg_ProjectionAbility) error)

OnCDOTAUserMsg_ProjectionAbility registers a callback for EDotaUserMessages_DOTA_UM_ProjectionAbility

func (*Callbacks) OnCDOTAUserMsg_ProjectionEvent

func (c *Callbacks) OnCDOTAUserMsg_ProjectionEvent(fn func(*dota.CDOTAUserMsg_ProjectionEvent) error)

OnCDOTAUserMsg_ProjectionEvent registers a callback for EDotaUserMessages_DOTA_UM_ProjectionEvent

func (*Callbacks) OnCDOTAUserMsg_QoP_ArcanaSummary

func (c *Callbacks) OnCDOTAUserMsg_QoP_ArcanaSummary(fn func(*dota.CDOTAUserMsg_QoP_ArcanaSummary) error)

OnCDOTAUserMsg_QoP_ArcanaSummary registers a callback for EDotaUserMessages_DOTA_UM_QoP_ArcanaSummary

func (*Callbacks) OnCDOTAUserMsg_QuestStatus

func (c *Callbacks) OnCDOTAUserMsg_QuestStatus(fn func(*dota.CDOTAUserMsg_QuestStatus) error)

OnCDOTAUserMsg_QuestStatus registers a callback for EDotaUserMessages_DOTA_UM_QuestStatus

func (*Callbacks) OnCDOTAUserMsg_QueuedOrderRemoved

func (c *Callbacks) OnCDOTAUserMsg_QueuedOrderRemoved(fn func(*dota.CDOTAUserMsg_QueuedOrderRemoved) error)

OnCDOTAUserMsg_QueuedOrderRemoved registers a callback for EDotaUserMessages_DOTA_UM_QueuedOrderRemoved

func (*Callbacks) OnCDOTAUserMsg_QuickBuyAlert

func (c *Callbacks) OnCDOTAUserMsg_QuickBuyAlert(fn func(*dota.CDOTAUserMsg_QuickBuyAlert) error)

OnCDOTAUserMsg_QuickBuyAlert registers a callback for EDotaUserMessages_DOTA_UM_QuickBuyAlert

func (*Callbacks) OnCDOTAUserMsg_RadarAlert

func (c *Callbacks) OnCDOTAUserMsg_RadarAlert(fn func(*dota.CDOTAUserMsg_RadarAlert) error)

OnCDOTAUserMsg_RadarAlert registers a callback for EDotaUserMessages_DOTA_UM_RadarAlert

func (*Callbacks) OnCDOTAUserMsg_ReceivedXmasGift

func (c *Callbacks) OnCDOTAUserMsg_ReceivedXmasGift(fn func(*dota.CDOTAUserMsg_ReceivedXmasGift) error)

OnCDOTAUserMsg_ReceivedXmasGift registers a callback for EDotaUserMessages_DOTA_UM_ReceivedXmasGift

func (*Callbacks) OnCDOTAUserMsg_ReplaceQueryUnit

func (c *Callbacks) OnCDOTAUserMsg_ReplaceQueryUnit(fn func(*dota.CDOTAUserMsg_ReplaceQueryUnit) error)

OnCDOTAUserMsg_ReplaceQueryUnit registers a callback for EDotaUserMessages_DOTA_UM_ReplaceQueryUnit

func (*Callbacks) OnCDOTAUserMsg_RollDiceResult

func (c *Callbacks) OnCDOTAUserMsg_RollDiceResult(fn func(*dota.CDOTAUserMsg_RollDiceResult) error)

OnCDOTAUserMsg_RollDiceResult registers a callback for EDotaUserMessages_DOTA_UM_RollDiceResult

func (*Callbacks) OnCDOTAUserMsg_SalutePlayer

func (c *Callbacks) OnCDOTAUserMsg_SalutePlayer(fn func(*dota.CDOTAUserMsg_SalutePlayer) error)

OnCDOTAUserMsg_SalutePlayer registers a callback for EDotaUserMessages_DOTA_UM_SalutePlayer

func (*Callbacks) OnCDOTAUserMsg_SelectPenaltyGold

func (c *Callbacks) OnCDOTAUserMsg_SelectPenaltyGold(fn func(*dota.CDOTAUserMsg_SelectPenaltyGold) error)

OnCDOTAUserMsg_SelectPenaltyGold registers a callback for EDotaUserMessages_DOTA_UM_SelectPenaltyGold

func (*Callbacks) OnCDOTAUserMsg_SendFinalGold

func (c *Callbacks) OnCDOTAUserMsg_SendFinalGold(fn func(*dota.CDOTAUserMsg_SendFinalGold) error)

OnCDOTAUserMsg_SendFinalGold registers a callback for EDotaUserMessages_DOTA_UM_SendFinalGold

func (*Callbacks) OnCDOTAUserMsg_SendGenericToolTip

func (c *Callbacks) OnCDOTAUserMsg_SendGenericToolTip(fn func(*dota.CDOTAUserMsg_SendGenericToolTip) error)

OnCDOTAUserMsg_SendGenericToolTip registers a callback for EDotaUserMessages_DOTA_UM_SendGenericToolTip

func (*Callbacks) OnCDOTAUserMsg_SendRoshanPopup

func (c *Callbacks) OnCDOTAUserMsg_SendRoshanPopup(fn func(*dota.CDOTAUserMsg_SendRoshanPopup) error)

OnCDOTAUserMsg_SendRoshanPopup registers a callback for EDotaUserMessages_DOTA_UM_SendRoshanPopup

func (*Callbacks) OnCDOTAUserMsg_SendRoshanSpectatorPhase

func (c *Callbacks) OnCDOTAUserMsg_SendRoshanSpectatorPhase(fn func(*dota.CDOTAUserMsg_SendRoshanSpectatorPhase) error)

OnCDOTAUserMsg_SendRoshanSpectatorPhase registers a callback for EDotaUserMessages_DOTA_UM_SendRoshanSpectatorPhase

func (*Callbacks) OnCDOTAUserMsg_SendStatPopup

func (c *Callbacks) OnCDOTAUserMsg_SendStatPopup(fn func(*dota.CDOTAUserMsg_SendStatPopup) error)

OnCDOTAUserMsg_SendStatPopup registers a callback for EDotaUserMessages_DOTA_UM_SendStatPopup

func (*Callbacks) OnCDOTAUserMsg_SetNextAutobuyItem

func (c *Callbacks) OnCDOTAUserMsg_SetNextAutobuyItem(fn func(*dota.CDOTAUserMsg_SetNextAutobuyItem) error)

OnCDOTAUserMsg_SetNextAutobuyItem registers a callback for EDotaUserMessages_DOTA_UM_SetNextAutobuyItem

func (*Callbacks) OnCDOTAUserMsg_SharedCooldown

func (c *Callbacks) OnCDOTAUserMsg_SharedCooldown(fn func(*dota.CDOTAUserMsg_SharedCooldown) error)

OnCDOTAUserMsg_SharedCooldown registers a callback for EDotaUserMessages_DOTA_UM_SharedCooldown

func (*Callbacks) OnCDOTAUserMsg_ShovelUnearth

func (c *Callbacks) OnCDOTAUserMsg_ShovelUnearth(fn func(*dota.CDOTAUserMsg_ShovelUnearth) error)

OnCDOTAUserMsg_ShovelUnearth registers a callback for EDotaUserMessages_DOTA_UM_ShovelUnearth

func (*Callbacks) OnCDOTAUserMsg_ShowGenericPopup

func (c *Callbacks) OnCDOTAUserMsg_ShowGenericPopup(fn func(*dota.CDOTAUserMsg_ShowGenericPopup) error)

OnCDOTAUserMsg_ShowGenericPopup registers a callback for EDotaUserMessages_DOTA_UM_ShowGenericPopup

func (*Callbacks) OnCDOTAUserMsg_ShowSurvey

func (c *Callbacks) OnCDOTAUserMsg_ShowSurvey(fn func(*dota.CDOTAUserMsg_ShowSurvey) error)

OnCDOTAUserMsg_ShowSurvey registers a callback for EDotaUserMessages_DOTA_UM_ShowSurvey

func (*Callbacks) OnCDOTAUserMsg_SpectatorPlayerClick

func (c *Callbacks) OnCDOTAUserMsg_SpectatorPlayerClick(fn func(*dota.CDOTAUserMsg_SpectatorPlayerClick) error)

OnCDOTAUserMsg_SpectatorPlayerClick registers a callback for EDotaUserMessages_DOTA_UM_SpectatorPlayerClick

func (*Callbacks) OnCDOTAUserMsg_SpectatorPlayerUnitOrders

func (c *Callbacks) OnCDOTAUserMsg_SpectatorPlayerUnitOrders(fn func(*dota.CDOTAUserMsg_SpectatorPlayerUnitOrders) error)

OnCDOTAUserMsg_SpectatorPlayerUnitOrders registers a callback for EDotaUserMessages_DOTA_UM_SpectatorPlayerUnitOrders

func (*Callbacks) OnCDOTAUserMsg_SpeechBubble

func (c *Callbacks) OnCDOTAUserMsg_SpeechBubble(fn func(*dota.CDOTAUserMsg_SpeechBubble) error)

OnCDOTAUserMsg_SpeechBubble registers a callback for EDotaUserMessages_DOTA_UM_SpeechBubble

func (*Callbacks) OnCDOTAUserMsg_StatsHeroMinuteDetails

func (c *Callbacks) OnCDOTAUserMsg_StatsHeroMinuteDetails(fn func(*dota.CDOTAUserMsg_StatsHeroMinuteDetails) error)

OnCDOTAUserMsg_StatsHeroMinuteDetails registers a callback for EDotaUserMessages_DOTA_UM_StatsHeroDetails

func (*Callbacks) OnCDOTAUserMsg_StatsMatchDetails

func (c *Callbacks) OnCDOTAUserMsg_StatsMatchDetails(fn func(*dota.CDOTAUserMsg_StatsMatchDetails) error)

OnCDOTAUserMsg_StatsMatchDetails registers a callback for EDotaUserMessages_DOTA_UM_StatsMatchDetails

func (*Callbacks) OnCDOTAUserMsg_SuggestHeroPick

func (c *Callbacks) OnCDOTAUserMsg_SuggestHeroPick(fn func(*dota.CDOTAUserMsg_SuggestHeroPick) error)

OnCDOTAUserMsg_SuggestHeroPick registers a callback for EDotaUserMessages_DOTA_UM_SuggestHeroPick

func (*Callbacks) OnCDOTAUserMsg_SuggestHeroRole

func (c *Callbacks) OnCDOTAUserMsg_SuggestHeroRole(fn func(*dota.CDOTAUserMsg_SuggestHeroRole) error)

OnCDOTAUserMsg_SuggestHeroRole registers a callback for EDotaUserMessages_DOTA_UM_SuggestHeroRole

func (*Callbacks) OnCDOTAUserMsg_SwapVerify

func (c *Callbacks) OnCDOTAUserMsg_SwapVerify(fn func(*dota.CDOTAUserMsg_SwapVerify) error)

OnCDOTAUserMsg_SwapVerify registers a callback for EDotaUserMessages_DOTA_UM_SwapVerify

func (*Callbacks) OnCDOTAUserMsg_TE_DestroyProjectile

func (c *Callbacks) OnCDOTAUserMsg_TE_DestroyProjectile(fn func(*dota.CDOTAUserMsg_TE_DestroyProjectile) error)

OnCDOTAUserMsg_TE_DestroyProjectile registers a callback for EDotaUserMessages_DOTA_UM_TE_DestroyProjectile

func (*Callbacks) OnCDOTAUserMsg_TE_DotaBloodImpact

func (c *Callbacks) OnCDOTAUserMsg_TE_DotaBloodImpact(fn func(*dota.CDOTAUserMsg_TE_DotaBloodImpact) error)

OnCDOTAUserMsg_TE_DotaBloodImpact registers a callback for EDotaUserMessages_DOTA_UM_TE_DotaBloodImpact

func (*Callbacks) OnCDOTAUserMsg_TE_Projectile

func (c *Callbacks) OnCDOTAUserMsg_TE_Projectile(fn func(*dota.CDOTAUserMsg_TE_Projectile) error)

OnCDOTAUserMsg_TE_Projectile registers a callback for EDotaUserMessages_DOTA_UM_TE_Projectile

func (*Callbacks) OnCDOTAUserMsg_TE_ProjectileLoc

func (c *Callbacks) OnCDOTAUserMsg_TE_ProjectileLoc(fn func(*dota.CDOTAUserMsg_TE_ProjectileLoc) error)

OnCDOTAUserMsg_TE_ProjectileLoc registers a callback for EDotaUserMessages_DOTA_UM_TE_ProjectileLoc

func (*Callbacks) OnCDOTAUserMsg_TE_UnitAnimation

func (c *Callbacks) OnCDOTAUserMsg_TE_UnitAnimation(fn func(*dota.CDOTAUserMsg_TE_UnitAnimation) error)

OnCDOTAUserMsg_TE_UnitAnimation registers a callback for EDotaUserMessages_DOTA_UM_TE_UnitAnimation

func (*Callbacks) OnCDOTAUserMsg_TE_UnitAnimationEnd

func (c *Callbacks) OnCDOTAUserMsg_TE_UnitAnimationEnd(fn func(*dota.CDOTAUserMsg_TE_UnitAnimationEnd) error)

OnCDOTAUserMsg_TE_UnitAnimationEnd registers a callback for EDotaUserMessages_DOTA_UM_TE_UnitAnimationEnd

func (*Callbacks) OnCDOTAUserMsg_TalentTreeAlert

func (c *Callbacks) OnCDOTAUserMsg_TalentTreeAlert(fn func(*dota.CDOTAUserMsg_TalentTreeAlert) error)

OnCDOTAUserMsg_TalentTreeAlert registers a callback for EDotaUserMessages_DOTA_UM_TalentTreeAlert

func (*Callbacks) OnCDOTAUserMsg_TipAlert

func (c *Callbacks) OnCDOTAUserMsg_TipAlert(fn func(*dota.CDOTAUserMsg_TipAlert) error)

OnCDOTAUserMsg_TipAlert registers a callback for EDotaUserMessages_DOTA_UM_TipAlert

func (*Callbacks) OnCDOTAUserMsg_TutorialFade

func (c *Callbacks) OnCDOTAUserMsg_TutorialFade(fn func(*dota.CDOTAUserMsg_TutorialFade) error)

OnCDOTAUserMsg_TutorialFade registers a callback for EDotaUserMessages_DOTA_UM_TutorialFade

func (*Callbacks) OnCDOTAUserMsg_TutorialFinish

func (c *Callbacks) OnCDOTAUserMsg_TutorialFinish(fn func(*dota.CDOTAUserMsg_TutorialFinish) error)

OnCDOTAUserMsg_TutorialFinish registers a callback for EDotaUserMessages_DOTA_UM_TutorialFinish

func (*Callbacks) OnCDOTAUserMsg_TutorialMinimapPosition

func (c *Callbacks) OnCDOTAUserMsg_TutorialMinimapPosition(fn func(*dota.CDOTAUserMsg_TutorialMinimapPosition) error)

OnCDOTAUserMsg_TutorialMinimapPosition registers a callback for EDotaUserMessages_DOTA_UM_TutorialMinimapPosition

func (*Callbacks) OnCDOTAUserMsg_TutorialPingMinimap

func (c *Callbacks) OnCDOTAUserMsg_TutorialPingMinimap(fn func(*dota.CDOTAUserMsg_TutorialPingMinimap) error)

OnCDOTAUserMsg_TutorialPingMinimap registers a callback for EDotaUserMessages_DOTA_UM_TutorialPingMinimap

func (*Callbacks) OnCDOTAUserMsg_TutorialRequestExp

func (c *Callbacks) OnCDOTAUserMsg_TutorialRequestExp(fn func(*dota.CDOTAUserMsg_TutorialRequestExp) error)

OnCDOTAUserMsg_TutorialRequestExp registers a callback for EDotaUserMessages_DOTA_UM_TutorialRequestExp

func (*Callbacks) OnCDOTAUserMsg_TutorialTipInfo

func (c *Callbacks) OnCDOTAUserMsg_TutorialTipInfo(fn func(*dota.CDOTAUserMsg_TutorialTipInfo) error)

OnCDOTAUserMsg_TutorialTipInfo registers a callback for EDotaUserMessages_DOTA_UM_TutorialTipInfo

func (*Callbacks) OnCDOTAUserMsg_UnitEvent

func (c *Callbacks) OnCDOTAUserMsg_UnitEvent(fn func(*dota.CDOTAUserMsg_UnitEvent) error)

OnCDOTAUserMsg_UnitEvent registers a callback for EDotaUserMessages_DOTA_UM_UnitEvent

func (*Callbacks) OnCDOTAUserMsg_UpdateQuestProgress

func (c *Callbacks) OnCDOTAUserMsg_UpdateQuestProgress(fn func(*dota.CDOTAUserMsg_UpdateQuestProgress) error)

OnCDOTAUserMsg_UpdateQuestProgress registers a callback for EDotaUserMessages_DOTA_UM_UpdateQuestProgress

func (*Callbacks) OnCDOTAUserMsg_UpdateSharedContent

func (c *Callbacks) OnCDOTAUserMsg_UpdateSharedContent(fn func(*dota.CDOTAUserMsg_UpdateSharedContent) error)

OnCDOTAUserMsg_UpdateSharedContent registers a callback for EDotaUserMessages_DOTA_UM_UpdateSharedContent

func (*Callbacks) OnCDOTAUserMsg_VersusScene_PlayerBehavior

func (c *Callbacks) OnCDOTAUserMsg_VersusScene_PlayerBehavior(fn func(*dota.CDOTAUserMsg_VersusScene_PlayerBehavior) error)

OnCDOTAUserMsg_VersusScene_PlayerBehavior registers a callback for EDotaUserMessages_DOTA_UM_VersusScene_PlayerBehavior

func (*Callbacks) OnCDOTAUserMsg_VoteEnd

func (c *Callbacks) OnCDOTAUserMsg_VoteEnd(fn func(*dota.CDOTAUserMsg_VoteEnd) error)

OnCDOTAUserMsg_VoteEnd registers a callback for EDotaUserMessages_DOTA_UM_VoteEnd

func (*Callbacks) OnCDOTAUserMsg_VoteStart

func (c *Callbacks) OnCDOTAUserMsg_VoteStart(fn func(*dota.CDOTAUserMsg_VoteStart) error)

OnCDOTAUserMsg_VoteStart registers a callback for EDotaUserMessages_DOTA_UM_VoteStart

func (*Callbacks) OnCDOTAUserMsg_VoteUpdate

func (c *Callbacks) OnCDOTAUserMsg_VoteUpdate(fn func(*dota.CDOTAUserMsg_VoteUpdate) error)

OnCDOTAUserMsg_VoteUpdate registers a callback for EDotaUserMessages_DOTA_UM_VoteUpdate

func (*Callbacks) OnCDOTAUserMsg_WK_Arcana_Progress

func (c *Callbacks) OnCDOTAUserMsg_WK_Arcana_Progress(fn func(*dota.CDOTAUserMsg_WK_Arcana_Progress) error)

OnCDOTAUserMsg_WK_Arcana_Progress registers a callback for EDotaUserMessages_DOTA_UM_WK_Arcana_Progress

func (*Callbacks) OnCDOTAUserMsg_WRArcanaProgress

func (c *Callbacks) OnCDOTAUserMsg_WRArcanaProgress(fn func(*dota.CDOTAUserMsg_WRArcanaProgress) error)

OnCDOTAUserMsg_WRArcanaProgress registers a callback for EDotaUserMessages_DOTA_UM_WRArcanaProgress

func (*Callbacks) OnCDOTAUserMsg_WRArcanaSummary

func (c *Callbacks) OnCDOTAUserMsg_WRArcanaSummary(fn func(*dota.CDOTAUserMsg_WRArcanaSummary) error)

OnCDOTAUserMsg_WRArcanaSummary registers a callback for EDotaUserMessages_DOTA_UM_WRArcanaSummary

func (*Callbacks) OnCDOTAUserMsg_WillPurchaseAlert

func (c *Callbacks) OnCDOTAUserMsg_WillPurchaseAlert(fn func(*dota.CDOTAUserMsg_WillPurchaseAlert) error)

OnCDOTAUserMsg_WillPurchaseAlert registers a callback for EDotaUserMessages_DOTA_UM_WillPurchaseAlert

func (*Callbacks) OnCDOTAUserMsg_WorldLine

func (c *Callbacks) OnCDOTAUserMsg_WorldLine(fn func(*dota.CDOTAUserMsg_WorldLine) error)

OnCDOTAUserMsg_WorldLine registers a callback for EDotaUserMessages_DOTA_UM_WorldLine

func (*Callbacks) OnCDOTAUserMsg_XPAlert

func (c *Callbacks) OnCDOTAUserMsg_XPAlert(fn func(*dota.CDOTAUserMsg_XPAlert) error)

OnCDOTAUserMsg_XPAlert registers a callback for EDotaUserMessages_DOTA_UM_XPAlert

func (*Callbacks) OnCDemoClassInfo

func (c *Callbacks) OnCDemoClassInfo(fn func(*dota.CDemoClassInfo) error)

OnCDemoClassInfo registers a callback EDemoCommands_DEM_ClassInfo

func (*Callbacks) OnCDemoConsoleCmd

func (c *Callbacks) OnCDemoConsoleCmd(fn func(*dota.CDemoConsoleCmd) error)

OnCDemoConsoleCmd registers a callback EDemoCommands_DEM_ConsoleCmd

func (*Callbacks) OnCDemoCustomData

func (c *Callbacks) OnCDemoCustomData(fn func(*dota.CDemoCustomData) error)

OnCDemoCustomData registers a callback EDemoCommands_DEM_CustomData

func (*Callbacks) OnCDemoCustomDataCallbacks

func (c *Callbacks) OnCDemoCustomDataCallbacks(fn func(*dota.CDemoCustomDataCallbacks) error)

OnCDemoCustomDataCallbacks registers a callback EDemoCommands_DEM_CustomDataCallbacks

func (*Callbacks) OnCDemoFileHeader

func (c *Callbacks) OnCDemoFileHeader(fn func(*dota.CDemoFileHeader) error)

OnCDemoFileHeader registers a callback EDemoCommands_DEM_FileHeader

func (*Callbacks) OnCDemoFileInfo

func (c *Callbacks) OnCDemoFileInfo(fn func(*dota.CDemoFileInfo) error)

OnCDemoFileInfo registers a callback EDemoCommands_DEM_FileInfo

func (*Callbacks) OnCDemoFullPacket

func (c *Callbacks) OnCDemoFullPacket(fn func(*dota.CDemoFullPacket) error)

OnCDemoFullPacket registers a callback EDemoCommands_DEM_FullPacket

func (*Callbacks) OnCDemoPacket

func (c *Callbacks) OnCDemoPacket(fn func(*dota.CDemoPacket) error)

OnCDemoPacket registers a callback EDemoCommands_DEM_Packet

func (*Callbacks) OnCDemoSaveGame

func (c *Callbacks) OnCDemoSaveGame(fn func(*dota.CDemoSaveGame) error)

OnCDemoSaveGame registers a callback EDemoCommands_DEM_SaveGame

func (*Callbacks) OnCDemoSendTables

func (c *Callbacks) OnCDemoSendTables(fn func(*dota.CDemoSendTables) error)

OnCDemoSendTables registers a callback EDemoCommands_DEM_SendTables

func (*Callbacks) OnCDemoSignonPacket

func (c *Callbacks) OnCDemoSignonPacket(fn func(*dota.CDemoPacket) error)

OnCDemoSignonPacket registers a callback EDemoCommands_DEM_SignonPacket

func (*Callbacks) OnCDemoSpawnGroups

func (c *Callbacks) OnCDemoSpawnGroups(fn func(*dota.CDemoSpawnGroups) error)

OnCDemoSpawnGroups registers a callback EDemoCommands_DEM_SpawnGroups

func (*Callbacks) OnCDemoStop

func (c *Callbacks) OnCDemoStop(fn func(*dota.CDemoStop) error)

OnCDemoStop registers a callback EDemoCommands_DEM_Stop

func (*Callbacks) OnCDemoStringTables

func (c *Callbacks) OnCDemoStringTables(fn func(*dota.CDemoStringTables) error)

OnCDemoStringTables registers a callback EDemoCommands_DEM_StringTables

func (*Callbacks) OnCDemoSyncTick

func (c *Callbacks) OnCDemoSyncTick(fn func(*dota.CDemoSyncTick) error)

OnCDemoSyncTick registers a callback EDemoCommands_DEM_SyncTick

func (*Callbacks) OnCDemoUserCmd

func (c *Callbacks) OnCDemoUserCmd(fn func(*dota.CDemoUserCmd) error)

OnCDemoUserCmd registers a callback EDemoCommands_DEM_UserCmd

func (*Callbacks) OnCEntityMessageDoSpark

func (c *Callbacks) OnCEntityMessageDoSpark(fn func(*dota.CEntityMessageDoSpark) error)

OnCEntityMessageDoSpark registers a callback for EBaseEntityMessages_EM_DoSpark

func (*Callbacks) OnCEntityMessageFixAngle

func (c *Callbacks) OnCEntityMessageFixAngle(fn func(*dota.CEntityMessageFixAngle) error)

OnCEntityMessageFixAngle registers a callback for EBaseEntityMessages_EM_FixAngle

func (*Callbacks) OnCEntityMessagePlayJingle

func (c *Callbacks) OnCEntityMessagePlayJingle(fn func(*dota.CEntityMessagePlayJingle) error)

OnCEntityMessagePlayJingle registers a callback for EBaseEntityMessages_EM_PlayJingle

func (*Callbacks) OnCEntityMessagePropagateForce

func (c *Callbacks) OnCEntityMessagePropagateForce(fn func(*dota.CEntityMessagePropagateForce) error)

OnCEntityMessagePropagateForce registers a callback for EBaseEntityMessages_EM_PropagateForce

func (*Callbacks) OnCEntityMessageRemoveAllDecals

func (c *Callbacks) OnCEntityMessageRemoveAllDecals(fn func(*dota.CEntityMessageRemoveAllDecals) error)

OnCEntityMessageRemoveAllDecals registers a callback for EBaseEntityMessages_EM_RemoveAllDecals

func (*Callbacks) OnCEntityMessageScreenOverlay

func (c *Callbacks) OnCEntityMessageScreenOverlay(fn func(*dota.CEntityMessageScreenOverlay) error)

OnCEntityMessageScreenOverlay registers a callback for EBaseEntityMessages_EM_ScreenOverlay

func (*Callbacks) OnCMsgClearDecalsForSkeletonInstanceEvent

func (c *Callbacks) OnCMsgClearDecalsForSkeletonInstanceEvent(fn func(*dota.CMsgClearDecalsForSkeletonInstanceEvent) error)

OnCMsgClearDecalsForSkeletonInstanceEvent registers a callback for EBaseGameEvents_GE_ClearDecalsForSkeletonInstanceEvent

func (*Callbacks) OnCMsgClearEntityDecalsEvent

func (c *Callbacks) OnCMsgClearEntityDecalsEvent(fn func(*dota.CMsgClearEntityDecalsEvent) error)

OnCMsgClearEntityDecalsEvent registers a callback for EBaseGameEvents_GE_ClearEntityDecalsEvent

func (*Callbacks) OnCMsgClearWorldDecalsEvent

func (c *Callbacks) OnCMsgClearWorldDecalsEvent(fn func(*dota.CMsgClearWorldDecalsEvent) error)

OnCMsgClearWorldDecalsEvent registers a callback for EBaseGameEvents_GE_ClearWorldDecalsEvent

func (*Callbacks) OnCMsgDOTACombatLogEntry

func (c *Callbacks) OnCMsgDOTACombatLogEntry(fn func(*dota.CMsgDOTACombatLogEntry) error)

OnCMsgDOTACombatLogEntry registers a callback for EDotaUserMessages_DOTA_UM_CombatLogDataHLTV

func (*Callbacks) OnCMsgDOTADPCMatch

func (c *Callbacks) OnCMsgDOTADPCMatch(fn func(*dota.CMsgDOTADPCMatch) error)

OnCMsgDOTADPCMatch registers a callback

func (*Callbacks) OnCMsgGCToClientTournamentItemDrop

func (c *Callbacks) OnCMsgGCToClientTournamentItemDrop(fn func(*dota.CMsgGCToClientTournamentItemDrop) error)

OnCMsgGCToClientTournamentItemDrop registers a callback for EDotaUserMessages_DOTA_UM_TournamentDrop

func (*Callbacks) OnCMsgPlaceDecalEvent

func (c *Callbacks) OnCMsgPlaceDecalEvent(fn func(*dota.CMsgPlaceDecalEvent) error)

OnCMsgPlaceDecalEvent registers a callback for EBaseGameEvents_GE_PlaceDecalEvent

func (*Callbacks) OnCMsgSosSetLibraryStackFields

func (c *Callbacks) OnCMsgSosSetLibraryStackFields(fn func(*dota.CMsgSosSetLibraryStackFields) error)

OnCMsgSosSetLibraryStackFields registers a callback for EBaseGameEvents_GE_SosSetLibraryStackFields

func (*Callbacks) OnCMsgSosSetSoundEventParams

func (c *Callbacks) OnCMsgSosSetSoundEventParams(fn func(*dota.CMsgSosSetSoundEventParams) error)

OnCMsgSosSetSoundEventParams registers a callback for EBaseGameEvents_GE_SosSetSoundEventParams

func (*Callbacks) OnCMsgSosStartSoundEvent

func (c *Callbacks) OnCMsgSosStartSoundEvent(fn func(*dota.CMsgSosStartSoundEvent) error)

OnCMsgSosStartSoundEvent registers a callback for EBaseGameEvents_GE_SosStartSoundEvent

func (*Callbacks) OnCMsgSosStopSoundEvent

func (c *Callbacks) OnCMsgSosStopSoundEvent(fn func(*dota.CMsgSosStopSoundEvent) error)

OnCMsgSosStopSoundEvent registers a callback for EBaseGameEvents_GE_SosStopSoundEvent

func (*Callbacks) OnCMsgSosStopSoundEventHash

func (c *Callbacks) OnCMsgSosStopSoundEventHash(fn func(*dota.CMsgSosStopSoundEventHash) error)

OnCMsgSosStopSoundEventHash registers a callback for EBaseGameEvents_GE_SosStopSoundEventHash

func (*Callbacks) OnCMsgSource1LegacyGameEvent

func (c *Callbacks) OnCMsgSource1LegacyGameEvent(fn func(*dota.CMsgSource1LegacyGameEvent) error)

OnCMsgSource1LegacyGameEvent registers a callback for EBaseGameEvents_GE_Source1LegacyGameEvent

func (*Callbacks) OnCMsgSource1LegacyGameEventList

func (c *Callbacks) OnCMsgSource1LegacyGameEventList(fn func(*dota.CMsgSource1LegacyGameEventList) error)

OnCMsgSource1LegacyGameEventList registers a callback for EBaseGameEvents_GE_Source1LegacyGameEventList

func (*Callbacks) OnCMsgSource1LegacyListenEvents

func (c *Callbacks) OnCMsgSource1LegacyListenEvents(fn func(*dota.CMsgSource1LegacyListenEvents) error)

OnCMsgSource1LegacyListenEvents registers a callback for EBaseGameEvents_GE_Source1LegacyListenEvents

func (*Callbacks) OnCMsgVDebugGameSessionIDEvent

func (c *Callbacks) OnCMsgVDebugGameSessionIDEvent(fn func(*dota.CMsgVDebugGameSessionIDEvent) error)

OnCMsgVDebugGameSessionIDEvent registers a callback for EBaseGameEvents_GE_VDebugGameSessionIDEvent

func (*Callbacks) OnCNETMsg_Disconnect

func (c *Callbacks) OnCNETMsg_Disconnect(fn func(*dota.CNETMsg_Disconnect) error)

OnCNETMsg_Disconnect registers a callback for NET_Messages_net_Disconnect

func (*Callbacks) OnCNETMsg_NOP

func (c *Callbacks) OnCNETMsg_NOP(fn func(*dota.CNETMsg_NOP) error)

OnCNETMsg_NOP registers a callback for NET_Messages_net_NOP

func (*Callbacks) OnCNETMsg_SetConVar

func (c *Callbacks) OnCNETMsg_SetConVar(fn func(*dota.CNETMsg_SetConVar) error)

OnCNETMsg_SetConVar registers a callback for NET_Messages_net_SetConVar

func (*Callbacks) OnCNETMsg_SignonState

func (c *Callbacks) OnCNETMsg_SignonState(fn func(*dota.CNETMsg_SignonState) error)

OnCNETMsg_SignonState registers a callback for NET_Messages_net_SignonState

func (*Callbacks) OnCNETMsg_SpawnGroup_Load

func (c *Callbacks) OnCNETMsg_SpawnGroup_Load(fn func(*dota.CNETMsg_SpawnGroup_Load) error)

OnCNETMsg_SpawnGroup_Load registers a callback for NET_Messages_net_SpawnGroup_Load

func (*Callbacks) OnCNETMsg_SpawnGroup_LoadCompleted

func (c *Callbacks) OnCNETMsg_SpawnGroup_LoadCompleted(fn func(*dota.CNETMsg_SpawnGroup_LoadCompleted) error)

OnCNETMsg_SpawnGroup_LoadCompleted registers a callback for NET_Messages_net_SpawnGroup_LoadCompleted

func (*Callbacks) OnCNETMsg_SpawnGroup_ManifestUpdate

func (c *Callbacks) OnCNETMsg_SpawnGroup_ManifestUpdate(fn func(*dota.CNETMsg_SpawnGroup_ManifestUpdate) error)

OnCNETMsg_SpawnGroup_ManifestUpdate registers a callback for NET_Messages_net_SpawnGroup_ManifestUpdate

func (*Callbacks) OnCNETMsg_SpawnGroup_SetCreationTick

func (c *Callbacks) OnCNETMsg_SpawnGroup_SetCreationTick(fn func(*dota.CNETMsg_SpawnGroup_SetCreationTick) error)

OnCNETMsg_SpawnGroup_SetCreationTick registers a callback for NET_Messages_net_SpawnGroup_SetCreationTick

func (*Callbacks) OnCNETMsg_SpawnGroup_Unload

func (c *Callbacks) OnCNETMsg_SpawnGroup_Unload(fn func(*dota.CNETMsg_SpawnGroup_Unload) error)

OnCNETMsg_SpawnGroup_Unload registers a callback for NET_Messages_net_SpawnGroup_Unload

func (*Callbacks) OnCNETMsg_SplitScreenUser

func (c *Callbacks) OnCNETMsg_SplitScreenUser(fn func(*dota.CNETMsg_SplitScreenUser) error)

OnCNETMsg_SplitScreenUser registers a callback for NET_Messages_net_SplitScreenUser

func (*Callbacks) OnCNETMsg_StringCmd

func (c *Callbacks) OnCNETMsg_StringCmd(fn func(*dota.CNETMsg_StringCmd) error)

OnCNETMsg_StringCmd registers a callback for NET_Messages_net_StringCmd

func (*Callbacks) OnCNETMsg_Tick

func (c *Callbacks) OnCNETMsg_Tick(fn func(*dota.CNETMsg_Tick) error)

OnCNETMsg_Tick registers a callback for NET_Messages_net_Tick

func (*Callbacks) OnCSVCMsg_BSPDecal

func (c *Callbacks) OnCSVCMsg_BSPDecal(fn func(*dota.CSVCMsg_BSPDecal) error)

OnCSVCMsg_BSPDecal registers a callback for SVC_Messages_svc_BSPDecal

func (*Callbacks) OnCSVCMsg_ClassInfo

func (c *Callbacks) OnCSVCMsg_ClassInfo(fn func(*dota.CSVCMsg_ClassInfo) error)

OnCSVCMsg_ClassInfo registers a callback for SVC_Messages_svc_ClassInfo

func (*Callbacks) OnCSVCMsg_ClearAllStringTables

func (c *Callbacks) OnCSVCMsg_ClearAllStringTables(fn func(*dota.CSVCMsg_ClearAllStringTables) error)

OnCSVCMsg_ClearAllStringTables registers a callback for SVC_Messages_svc_ClearAllStringTables

func (*Callbacks) OnCSVCMsg_CmdKeyValues

func (c *Callbacks) OnCSVCMsg_CmdKeyValues(fn func(*dota.CSVCMsg_CmdKeyValues) error)

OnCSVCMsg_CmdKeyValues registers a callback for SVC_Messages_svc_CmdKeyValues

func (*Callbacks) OnCSVCMsg_CreateStringTable

func (c *Callbacks) OnCSVCMsg_CreateStringTable(fn func(*dota.CSVCMsg_CreateStringTable) error)

OnCSVCMsg_CreateStringTable registers a callback for SVC_Messages_svc_CreateStringTable

func (*Callbacks) OnCSVCMsg_FlattenedSerializer

func (c *Callbacks) OnCSVCMsg_FlattenedSerializer(fn func(*dota.CSVCMsg_FlattenedSerializer) error)

OnCSVCMsg_FlattenedSerializer registers a callback for SVC_Messages_svc_FlattenedSerializer

func (*Callbacks) OnCSVCMsg_FullFrameSplit

func (c *Callbacks) OnCSVCMsg_FullFrameSplit(fn func(*dota.CSVCMsg_FullFrameSplit) error)

OnCSVCMsg_FullFrameSplit registers a callback for SVC_Messages_svc_FullFrameSplit

func (*Callbacks) OnCSVCMsg_GetCvarValue

func (c *Callbacks) OnCSVCMsg_GetCvarValue(fn func(*dota.CSVCMsg_GetCvarValue) error)

OnCSVCMsg_GetCvarValue registers a callback for SVC_Messages_svc_GetCvarValue

func (*Callbacks) OnCSVCMsg_HLTVStatus

func (c *Callbacks) OnCSVCMsg_HLTVStatus(fn func(*dota.CSVCMsg_HLTVStatus) error)

OnCSVCMsg_HLTVStatus registers a callback for SVC_Messages_svc_HLTVStatus

func (*Callbacks) OnCSVCMsg_Menu

func (c *Callbacks) OnCSVCMsg_Menu(fn func(*dota.CSVCMsg_Menu) error)

OnCSVCMsg_Menu registers a callback for SVC_Messages_svc_Menu

func (*Callbacks) OnCSVCMsg_PacketEntities

func (c *Callbacks) OnCSVCMsg_PacketEntities(fn func(*dota.CSVCMsg_PacketEntities) error)

OnCSVCMsg_PacketEntities registers a callback for SVC_Messages_svc_PacketEntities

func (*Callbacks) OnCSVCMsg_PacketReliable

func (c *Callbacks) OnCSVCMsg_PacketReliable(fn func(*dota.CSVCMsg_PacketReliable) error)

OnCSVCMsg_PacketReliable registers a callback for SVC_Messages_svc_PacketReliable

func (*Callbacks) OnCSVCMsg_PeerList

func (c *Callbacks) OnCSVCMsg_PeerList(fn func(*dota.CSVCMsg_PeerList) error)

OnCSVCMsg_PeerList registers a callback for SVC_Messages_svc_PeerList

func (*Callbacks) OnCSVCMsg_Prefetch

func (c *Callbacks) OnCSVCMsg_Prefetch(fn func(*dota.CSVCMsg_Prefetch) error)

OnCSVCMsg_Prefetch registers a callback for SVC_Messages_svc_Prefetch

func (*Callbacks) OnCSVCMsg_Print

func (c *Callbacks) OnCSVCMsg_Print(fn func(*dota.CSVCMsg_Print) error)

OnCSVCMsg_Print registers a callback for SVC_Messages_svc_Print

func (*Callbacks) OnCSVCMsg_RconServerDetails

func (c *Callbacks) OnCSVCMsg_RconServerDetails(fn func(*dota.CSVCMsg_RconServerDetails) error)

OnCSVCMsg_RconServerDetails registers a callback for SVC_Messages_svc_RconServerDetails

func (*Callbacks) OnCSVCMsg_ServerInfo

func (c *Callbacks) OnCSVCMsg_ServerInfo(fn func(*dota.CSVCMsg_ServerInfo) error)

OnCSVCMsg_ServerInfo registers a callback for SVC_Messages_svc_ServerInfo

func (*Callbacks) OnCSVCMsg_ServerSteamID

func (c *Callbacks) OnCSVCMsg_ServerSteamID(fn func(*dota.CSVCMsg_ServerSteamID) error)

OnCSVCMsg_ServerSteamID registers a callback for SVC_Messages_svc_ServerSteamID

func (*Callbacks) OnCSVCMsg_SetPause

func (c *Callbacks) OnCSVCMsg_SetPause(fn func(*dota.CSVCMsg_SetPause) error)

OnCSVCMsg_SetPause registers a callback for SVC_Messages_svc_SetPause

func (*Callbacks) OnCSVCMsg_SetView

func (c *Callbacks) OnCSVCMsg_SetView(fn func(*dota.CSVCMsg_SetView) error)

OnCSVCMsg_SetView registers a callback for SVC_Messages_svc_SetView

func (*Callbacks) OnCSVCMsg_Sounds

func (c *Callbacks) OnCSVCMsg_Sounds(fn func(*dota.CSVCMsg_Sounds) error)

OnCSVCMsg_Sounds registers a callback for SVC_Messages_svc_Sounds

func (*Callbacks) OnCSVCMsg_SplitScreen

func (c *Callbacks) OnCSVCMsg_SplitScreen(fn func(*dota.CSVCMsg_SplitScreen) error)

OnCSVCMsg_SplitScreen registers a callback for SVC_Messages_svc_SplitScreen

func (*Callbacks) OnCSVCMsg_StopSound

func (c *Callbacks) OnCSVCMsg_StopSound(fn func(*dota.CSVCMsg_StopSound) error)

OnCSVCMsg_StopSound registers a callback for SVC_Messages_svc_StopSound

func (*Callbacks) OnCSVCMsg_UpdateStringTable

func (c *Callbacks) OnCSVCMsg_UpdateStringTable(fn func(*dota.CSVCMsg_UpdateStringTable) error)

OnCSVCMsg_UpdateStringTable registers a callback for SVC_Messages_svc_UpdateStringTable

func (*Callbacks) OnCSVCMsg_VoiceData

func (c *Callbacks) OnCSVCMsg_VoiceData(fn func(*dota.CSVCMsg_VoiceData) error)

OnCSVCMsg_VoiceData registers a callback for SVC_Messages_svc_VoiceData

func (*Callbacks) OnCSVCMsg_VoiceInit

func (c *Callbacks) OnCSVCMsg_VoiceInit(fn func(*dota.CSVCMsg_VoiceInit) error)

OnCSVCMsg_VoiceInit registers a callback for SVC_Messages_svc_VoiceInit

func (*Callbacks) OnCUserMessageAchievementEvent

func (c *Callbacks) OnCUserMessageAchievementEvent(fn func(*dota.CUserMessageAchievementEvent) error)

OnCUserMessageAchievementEvent registers a callback for EBaseUserMessages_UM_AchievementEvent

func (*Callbacks) OnCUserMessageAmmoDenied

func (c *Callbacks) OnCUserMessageAmmoDenied(fn func(*dota.CUserMessageAmmoDenied) error)

OnCUserMessageAmmoDenied registers a callback for EBaseUserMessages_UM_AmmoDenied

func (*Callbacks) OnCUserMessageAudioParameter

func (c *Callbacks) OnCUserMessageAudioParameter(fn func(*dota.CUserMessageAudioParameter) error)

OnCUserMessageAudioParameter registers a callback for EBaseUserMessages_UM_AudioParameter

func (*Callbacks) OnCUserMessageCameraTransition

func (c *Callbacks) OnCUserMessageCameraTransition(fn func(*dota.CUserMessageCameraTransition) error)

OnCUserMessageCameraTransition registers a callback for EBaseUserMessages_UM_CameraTransition

func (*Callbacks) OnCUserMessageCloseCaption

func (c *Callbacks) OnCUserMessageCloseCaption(fn func(*dota.CUserMessageCloseCaption) error)

OnCUserMessageCloseCaption registers a callback for EBaseUserMessages_UM_CloseCaption

func (*Callbacks) OnCUserMessageCloseCaptionDirect

func (c *Callbacks) OnCUserMessageCloseCaptionDirect(fn func(*dota.CUserMessageCloseCaptionDirect) error)

OnCUserMessageCloseCaptionDirect registers a callback for EBaseUserMessages_UM_CloseCaptionDirect

func (*Callbacks) OnCUserMessageCloseCaptionPlaceholder

func (c *Callbacks) OnCUserMessageCloseCaptionPlaceholder(fn func(*dota.CUserMessageCloseCaptionPlaceholder) error)

OnCUserMessageCloseCaptionPlaceholder registers a callback for EBaseUserMessages_UM_CloseCaptionPlaceholder

func (*Callbacks) OnCUserMessageColoredText

func (c *Callbacks) OnCUserMessageColoredText(fn func(*dota.CUserMessageColoredText) error)

OnCUserMessageColoredText registers a callback for EBaseUserMessages_UM_ColoredText

func (*Callbacks) OnCUserMessageCreditsMsg

func (c *Callbacks) OnCUserMessageCreditsMsg(fn func(*dota.CUserMessageCreditsMsg) error)

OnCUserMessageCreditsMsg registers a callback for EBaseUserMessages_UM_CreditsMsg

func (*Callbacks) OnCUserMessageCrosshairAngle

func (c *Callbacks) OnCUserMessageCrosshairAngle(fn func(*dota.CUserMessageCrosshairAngle) error)

OnCUserMessageCrosshairAngle registers a callback for EBaseUserMessages_UM_CrosshairAngle

func (*Callbacks) OnCUserMessageCurrentTimescale

func (c *Callbacks) OnCUserMessageCurrentTimescale(fn func(*dota.CUserMessageCurrentTimescale) error)

OnCUserMessageCurrentTimescale registers a callback for EBaseUserMessages_UM_CurrentTimescale

func (*Callbacks) OnCUserMessageDesiredTimescale

func (c *Callbacks) OnCUserMessageDesiredTimescale(fn func(*dota.CUserMessageDesiredTimescale) error)

OnCUserMessageDesiredTimescale registers a callback for EBaseUserMessages_UM_DesiredTimescale

func (*Callbacks) OnCUserMessageFade

func (c *Callbacks) OnCUserMessageFade(fn func(*dota.CUserMessageFade) error)

OnCUserMessageFade registers a callback for EBaseUserMessages_UM_Fade

func (*Callbacks) OnCUserMessageGameTitle

func (c *Callbacks) OnCUserMessageGameTitle(fn func(*dota.CUserMessageGameTitle) error)

OnCUserMessageGameTitle registers a callback for EBaseUserMessages_UM_GameTitle

func (*Callbacks) OnCUserMessageHapticsManagerEffect

func (c *Callbacks) OnCUserMessageHapticsManagerEffect(fn func(*dota.CUserMessageHapticsManagerEffect) error)

OnCUserMessageHapticsManagerEffect registers a callback for EBaseUserMessages_UM_HapticsManagerEffect

func (*Callbacks) OnCUserMessageHapticsManagerPulse

func (c *Callbacks) OnCUserMessageHapticsManagerPulse(fn func(*dota.CUserMessageHapticsManagerPulse) error)

OnCUserMessageHapticsManagerPulse registers a callback for EBaseUserMessages_UM_HapticsManagerPulse

func (*Callbacks) OnCUserMessageHintText

func (c *Callbacks) OnCUserMessageHintText(fn func(*dota.CUserMessageHintText) error)

OnCUserMessageHintText registers a callback for EBaseUserMessages_UM_HintText

func (*Callbacks) OnCUserMessageHudMsg

func (c *Callbacks) OnCUserMessageHudMsg(fn func(*dota.CUserMessageHudMsg) error)

OnCUserMessageHudMsg registers a callback for EBaseUserMessages_UM_HudMsg

func (*Callbacks) OnCUserMessageHudText

func (c *Callbacks) OnCUserMessageHudText(fn func(*dota.CUserMessageHudText) error)

OnCUserMessageHudText registers a callback for EBaseUserMessages_UM_HudText

func (*Callbacks) OnCUserMessageItemPickup

func (c *Callbacks) OnCUserMessageItemPickup(fn func(*dota.CUserMessageItemPickup) error)

OnCUserMessageItemPickup registers a callback for EBaseUserMessages_UM_ItemPickup

func (*Callbacks) OnCUserMessageKeyHintText

func (c *Callbacks) OnCUserMessageKeyHintText(fn func(*dota.CUserMessageKeyHintText) error)

OnCUserMessageKeyHintText registers a callback for EBaseUserMessages_UM_KeyHintText

func (*Callbacks) OnCUserMessageRequestState

func (c *Callbacks) OnCUserMessageRequestState(fn func(*dota.CUserMessageRequestState) error)

OnCUserMessageRequestState registers a callback for EBaseUserMessages_UM_RequestState

func (*Callbacks) OnCUserMessageResetHUD

func (c *Callbacks) OnCUserMessageResetHUD(fn func(*dota.CUserMessageResetHUD) error)

OnCUserMessageResetHUD registers a callback for EBaseUserMessages_UM_ResetHUD

func (*Callbacks) OnCUserMessageRumble

func (c *Callbacks) OnCUserMessageRumble(fn func(*dota.CUserMessageRumble) error)

OnCUserMessageRumble registers a callback for EBaseUserMessages_UM_Rumble

func (*Callbacks) OnCUserMessageSayText

func (c *Callbacks) OnCUserMessageSayText(fn func(*dota.CUserMessageSayText) error)

OnCUserMessageSayText registers a callback for EBaseUserMessages_UM_SayText

func (*Callbacks) OnCUserMessageSayText2

func (c *Callbacks) OnCUserMessageSayText2(fn func(*dota.CUserMessageSayText2) error)

OnCUserMessageSayText2 registers a callback for EBaseUserMessages_UM_SayText2

func (*Callbacks) OnCUserMessageSayTextChannel

func (c *Callbacks) OnCUserMessageSayTextChannel(fn func(*dota.CUserMessageSayTextChannel) error)

OnCUserMessageSayTextChannel registers a callback for EBaseUserMessages_UM_SayTextChannel

func (*Callbacks) OnCUserMessageScreenTilt

func (c *Callbacks) OnCUserMessageScreenTilt(fn func(*dota.CUserMessageScreenTilt) error)

OnCUserMessageScreenTilt registers a callback for EBaseUserMessages_UM_ScreenTilt

func (*Callbacks) OnCUserMessageSendAudio

func (c *Callbacks) OnCUserMessageSendAudio(fn func(*dota.CUserMessageSendAudio) error)

OnCUserMessageSendAudio registers a callback for EBaseUserMessages_UM_SendAudio

func (*Callbacks) OnCUserMessageShake

func (c *Callbacks) OnCUserMessageShake(fn func(*dota.CUserMessageShake) error)

OnCUserMessageShake registers a callback for EBaseUserMessages_UM_Shake

func (*Callbacks) OnCUserMessageShakeDir

func (c *Callbacks) OnCUserMessageShakeDir(fn func(*dota.CUserMessageShakeDir) error)

OnCUserMessageShakeDir registers a callback for EBaseUserMessages_UM_ShakeDir

func (*Callbacks) OnCUserMessageShowMenu

func (c *Callbacks) OnCUserMessageShowMenu(fn func(*dota.CUserMessageShowMenu) error)

OnCUserMessageShowMenu registers a callback for EBaseUserMessages_UM_ShowMenu

func (*Callbacks) OnCUserMessageTextMsg

func (c *Callbacks) OnCUserMessageTextMsg(fn func(*dota.CUserMessageTextMsg) error)

OnCUserMessageTextMsg registers a callback for EBaseUserMessages_UM_TextMsg

func (*Callbacks) OnCUserMessageTrain

func (c *Callbacks) OnCUserMessageTrain(fn func(*dota.CUserMessageTrain) error)

OnCUserMessageTrain registers a callback for EBaseUserMessages_UM_Train

func (*Callbacks) OnCUserMessageVGUIMenu

func (c *Callbacks) OnCUserMessageVGUIMenu(fn func(*dota.CUserMessageVGUIMenu) error)

OnCUserMessageVGUIMenu registers a callback for EBaseUserMessages_UM_VGUIMenu

func (*Callbacks) OnCUserMessageVoiceMask

func (c *Callbacks) OnCUserMessageVoiceMask(fn func(*dota.CUserMessageVoiceMask) error)

OnCUserMessageVoiceMask registers a callback for EBaseUserMessages_UM_VoiceMask

func (*Callbacks) OnCUserMessageVoiceSubtitle

func (c *Callbacks) OnCUserMessageVoiceSubtitle(fn func(*dota.CUserMessageVoiceSubtitle) error)

OnCUserMessageVoiceSubtitle registers a callback for EBaseUserMessages_UM_VoiceSubtitle

type Entity

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

Entity represents a single game entity in the replay

func (*Entity) Dump

func (e *Entity) Dump()

Dump prints the current entity state to standard output

func (*Entity) Exists

func (e *Entity) Exists(name string) bool

Exists returns true if the given key exists in the Entity state

func (*Entity) Get

func (e *Entity) Get(name string) interface{}

Get returns the current value of the Entity state for the given key

func (*Entity) GetBool

func (e *Entity) GetBool(name string) (bool, bool)

GetBool gets given key as a bool

func (*Entity) GetClassId

func (e *Entity) GetClassId() int32

GetClassId returns the id of the class associated with this Entity

func (*Entity) GetClassName

func (e *Entity) GetClassName() string

GetClassName returns the name of the class associated with this Entity

func (*Entity) GetFloat32

func (e *Entity) GetFloat32(name string) (float32, bool)

GetFloat32 gets given key as an float32

func (*Entity) GetIndex

func (e *Entity) GetIndex() int32

GetIndex returns the index of this Entity

func (*Entity) GetInt32

func (e *Entity) GetInt32(name string) (int32, bool)

GetInt32 gets given key as an int32

func (*Entity) GetSerial

func (e *Entity) GetSerial() int32

GetSerial return the serial of the class associated with this Entity

func (*Entity) GetString

func (e *Entity) GetString(name string) (string, bool)

GetString gets given key as a string

func (*Entity) GetUint32

func (e *Entity) GetUint32(name string) (uint32, bool)

GetUint32 gets given key as a uint32

func (*Entity) GetUint64

func (e *Entity) GetUint64(name string) (uint64, bool)

GetUint64 gets given key as a uint64

func (*Entity) Map

func (e *Entity) Map() map[string]interface{}

Map returns a map of current entity state as key-value pairs

func (*Entity) String

func (e *Entity) String() string

String returns a human identifiable string for the Entity

type EntityHandler

type EntityHandler func(*Entity, EntityOp) error

EntityHandler is a function that receives Entity updates

type EntityOp

type EntityOp int

EntityOp is a bitmask representing the type of operation performed on an Entity

const (
	EntityOpNone           EntityOp = 0x00
	EntityOpCreated        EntityOp = 0x01
	EntityOpUpdated        EntityOp = 0x02
	EntityOpDeleted        EntityOp = 0x04
	EntityOpEntered        EntityOp = 0x08
	EntityOpLeft           EntityOp = 0x10
	EntityOpCreatedEntered EntityOp = EntityOpCreated | EntityOpEntered
	EntityOpUpdatedEntered EntityOp = EntityOpUpdated | EntityOpEntered
	EntityOpDeletedLeft    EntityOp = EntityOpDeleted | EntityOpLeft
)

func (EntityOp) Flag

func (o EntityOp) Flag(p EntityOp) bool

Flag determines whether an EntityOp includes another. This is primarily offered to prevent bit flag errors in downstream clients.

func (EntityOp) String

func (o EntityOp) String() string

String returns a human identifiable string for the EntityOp

type GameEvent

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

Represents a game event. Includes a type and the actual message.

func (*GameEvent) GetBool

func (e *GameEvent) GetBool(name string) (bool, error)

Gets the bool value of a named field.

func (*GameEvent) GetFloat32

func (e *GameEvent) GetFloat32(name string) (float32, error)

Gets the float value of a named field.

func (*GameEvent) GetInt32

func (e *GameEvent) GetInt32(name string) (int32, error)

Gets the integer value of a named field.

func (*GameEvent) GetString

func (e *GameEvent) GetString(name string) (string, error)

Gets the string value of a named field.

func (*GameEvent) GetUint64

func (e *GameEvent) GetUint64(name string) (uint64, error)

Gets the uint64 value of a named field.

func (*GameEvent) String

func (ge *GameEvent) String() string

func (*GameEvent) Type

func (ge *GameEvent) Type() dota.DOTA_COMBATLOG_TYPES

func (*GameEvent) TypeName

func (ge *GameEvent) TypeName() string

type GameEventHandler

type GameEventHandler func(*GameEvent) error

GameEventHandler is a function that can receive a game event

type Parser

type Parser struct {
	// Callbacks provide a mechanism for receiving notification
	// when a specific message has been received and decoded.
	Callbacks *Callbacks

	// Contains the game tick associated with the last message processed.
	Tick uint32

	// Contains the net tick associated with the last net message processed.
	NetTick uint32

	// Stores the game build.
	GameBuild uint32

	// AfterStopCallback is a function to be called when the parser stops.
	AfterStopCallback func()
	// contains filtered or unexported fields
}

Parser is an instance of the replay parser

func NewParser

func NewParser(buf []byte) (*Parser, error)

Create a new parser from a byte slice.

func NewStreamParser

func NewStreamParser(r io.Reader) (*Parser, error)

Create a new Parser from an io.Reader

func (*Parser) FilterEntity

func (p *Parser) FilterEntity(fb func(*Entity) bool) []*Entity

FilterEntity finds entities by callback

func (*Parser) FindEntity

func (p *Parser) FindEntity(index int32) *Entity

FindEntity finds a given Entity by index

func (*Parser) FindEntityByHandle

func (p *Parser) FindEntityByHandle(handle uint64) *Entity

FindEntityByHandle finds a given Entity by handle

func (*Parser) LookupStringByIndex

func (p *Parser) LookupStringByIndex(table string, index int32) (string, bool)

Performs a lookup on a string table by an entry index.

func (*Parser) OnEntity

func (p *Parser) OnEntity(h EntityHandler)

OnEntity registers an EntityHandler that will be called when an entity is created, updated, deleted, etc.

func (*Parser) OnGameEvent

func (p *Parser) OnGameEvent(name string, fn GameEventHandler)

OnGameEvent registers an GameEventHandler that will be called when a named GameEvent occurs.

func (*Parser) Start

func (p *Parser) Start() (err error)

Start parsing the replay. Will stop processing new events after Stop() is called.

func (*Parser) Stop

func (p *Parser) Stop()

Stop parsing the replay, causing the parser to stop processing new events.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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