Documentation ¶
Overview ¶
Package manta provides a fully functional Dota 2 replay parser targeting the Source 2 game engine.
Index ¶
- type Callbacks
- func (c *Callbacks) OnCDOTAMatchMetadataFile(fn func(*dota.CDOTAMatchMetadataFile) error)
- func (c *Callbacks) OnCDOTAUserMsg_AIDebugLine(fn func(*dota.CDOTAUserMsg_AIDebugLine) error)
- func (c *Callbacks) OnCDOTAUserMsg_AbilityDraftRequestAbility(fn func(*dota.CDOTAUserMsg_AbilityDraftRequestAbility) error)
- func (c *Callbacks) OnCDOTAUserMsg_AbilityPing(fn func(*dota.CDOTAUserMsg_AbilityPing) error)
- func (c *Callbacks) OnCDOTAUserMsg_AbilitySteal(fn func(*dota.CDOTAUserMsg_AbilitySteal) error)
- func (c *Callbacks) OnCDOTAUserMsg_AddQuestLogEntry(fn func(*dota.CDOTAUserMsg_AddQuestLogEntry) error)
- func (c *Callbacks) OnCDOTAUserMsg_AghsStatusAlert(fn func(*dota.CDOTAUserMsg_AghsStatusAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_AllStarEvent(fn func(*dota.CDOTAUserMsg_AllStarEvent) error)
- func (c *Callbacks) OnCDOTAUserMsg_BeastChat(fn func(*dota.CDOTAUserMsg_BeastChat) error)
- func (c *Callbacks) OnCDOTAUserMsg_BoosterState(fn func(*dota.CDOTAUserMsg_BoosterState) error)
- func (c *Callbacks) OnCDOTAUserMsg_BotChat(fn func(*dota.CDOTAUserMsg_BotChat) error)
- func (c *Callbacks) OnCDOTAUserMsg_BuyBackStateAlert(fn func(*dota.CDOTAUserMsg_BuyBackStateAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_ChatEvent(fn func(*dota.CDOTAUserMsg_ChatEvent) error)
- func (c *Callbacks) OnCDOTAUserMsg_ChatMessage(fn func(*dota.CDOTAUserMsg_ChatMessage) error)
- func (c *Callbacks) OnCDOTAUserMsg_ChatWheel(fn func(*dota.CDOTAUserMsg_ChatWheel) error)
- func (c *Callbacks) OnCDOTAUserMsg_ChatWheelCooldown(fn func(*dota.CDOTAUserMsg_ChatWheelCooldown) error)
- func (c *Callbacks) OnCDOTAUserMsg_ClientLoadGridNav(fn func(*dota.CDOTAUserMsg_ClientLoadGridNav) error)
- func (c *Callbacks) OnCDOTAUserMsg_CoachHUDPing(fn func(*dota.CDOTAUserMsg_CoachHUDPing) error)
- func (c *Callbacks) OnCDOTAUserMsg_CombatHeroPositions(fn func(*dota.CDOTAUserMsg_CombatHeroPositions) error)
- func (c *Callbacks) OnCDOTAUserMsg_CombatLogBulkData(fn func(*dota.CDOTAUserMsg_CombatLogBulkData) error)
- func (c *Callbacks) OnCDOTAUserMsg_CompendiumState(fn func(*dota.CDOTAUserMsg_CompendiumState) error)
- func (c *Callbacks) OnCDOTAUserMsg_ContextualTip(fn func(*dota.CDOTAUserMsg_ContextualTip) error)
- func (c *Callbacks) OnCDOTAUserMsg_CourierKilledAlert(fn func(*dota.CDOTAUserMsg_CourierKilledAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_CreateLinearProjectile(fn func(*dota.CDOTAUserMsg_CreateLinearProjectile) error)
- func (c *Callbacks) OnCDOTAUserMsg_CustomHeaderMessage(fn func(*dota.CDOTAUserMsg_CustomHeaderMessage) error)
- func (c *Callbacks) OnCDOTAUserMsg_CustomHudElement_Create(fn func(*dota.CDOTAUserMsg_CustomHudElement_Create) error)
- func (c *Callbacks) OnCDOTAUserMsg_CustomHudElement_Destroy(fn func(*dota.CDOTAUserMsg_CustomHudElement_Destroy) error)
- func (c *Callbacks) OnCDOTAUserMsg_CustomHudElement_Modify(fn func(*dota.CDOTAUserMsg_CustomHudElement_Modify) error)
- func (c *Callbacks) OnCDOTAUserMsg_CustomMsg(fn func(*dota.CDOTAUserMsg_CustomMsg) error)
- func (c *Callbacks) OnCDOTAUserMsg_DamageReport(fn func(*dota.CDOTAUserMsg_DamageReport) error)
- func (c *Callbacks) OnCDOTAUserMsg_DebugChallenge(fn func(*dota.CDOTAUserMsg_DebugChallenge) error)
- func (c *Callbacks) OnCDOTAUserMsg_DestroyLinearProjectile(fn func(*dota.CDOTAUserMsg_DestroyLinearProjectile) error)
- func (c *Callbacks) OnCDOTAUserMsg_DismissAllStatPopups(fn func(*dota.CDOTAUserMsg_DismissAllStatPopups) error)
- func (c *Callbacks) OnCDOTAUserMsg_DodgeTrackingProjectiles(fn func(*dota.CDOTAUserMsg_DodgeTrackingProjectiles) error)
- func (c *Callbacks) OnCDOTAUserMsg_ESArcanaCombo(fn func(*dota.CDOTAUserMsg_ESArcanaCombo) error)
- func (c *Callbacks) OnCDOTAUserMsg_ESArcanaComboSummary(fn func(*dota.CDOTAUserMsg_ESArcanaComboSummary) error)
- func (c *Callbacks) OnCDOTAUserMsg_EmptyItemSlotAlert(fn func(*dota.CDOTAUserMsg_EmptyItemSlotAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_EmptyTeleportAlert(fn func(*dota.CDOTAUserMsg_EmptyTeleportAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_EnemyItemAlert(fn func(*dota.CDOTAUserMsg_EnemyItemAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_FlipCoinResult(fn func(*dota.CDOTAUserMsg_FlipCoinResult) error)
- func (c *Callbacks) OnCDOTAUserMsg_FoundNeutralItem(fn func(*dota.CDOTAUserMsg_FoundNeutralItem) error)
- func (c *Callbacks) OnCDOTAUserMsg_GamerulesStateChanged(fn func(*dota.CDOTAUserMsg_GamerulesStateChanged) error)
- func (c *Callbacks) OnCDOTAUserMsg_GlobalLightColor(fn func(*dota.CDOTAUserMsg_GlobalLightColor) error)
- func (c *Callbacks) OnCDOTAUserMsg_GlobalLightDirection(fn func(*dota.CDOTAUserMsg_GlobalLightDirection) error)
- func (c *Callbacks) OnCDOTAUserMsg_GlyphAlert(fn func(*dota.CDOTAUserMsg_GlyphAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_GuildChallenge_Progress(fn func(*dota.CDOTAUserMsg_GuildChallenge_Progress) error)
- func (c *Callbacks) OnCDOTAUserMsg_HPManaAlert(fn func(*dota.CDOTAUserMsg_HPManaAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_HalloweenDrops(fn func(*dota.CDOTAUserMsg_HalloweenDrops) error)
- func (c *Callbacks) OnCDOTAUserMsg_HeroRelicProgress(fn func(*dota.CDOTAUserMsg_HeroRelicProgress) error)
- func (c *Callbacks) OnCDOTAUserMsg_HighFiveCompleted(fn func(*dota.CDOTAUserMsg_HighFiveCompleted) error)
- func (c *Callbacks) OnCDOTAUserMsg_HighFiveLeftHanging(fn func(*dota.CDOTAUserMsg_HighFiveLeftHanging) error)
- func (c *Callbacks) OnCDOTAUserMsg_HotPotato_Created(fn func(*dota.CDOTAUserMsg_HotPotato_Created) error)
- func (c *Callbacks) OnCDOTAUserMsg_HotPotato_Exploded(fn func(*dota.CDOTAUserMsg_HotPotato_Exploded) error)
- func (c *Callbacks) OnCDOTAUserMsg_HudError(fn func(*dota.CDOTAUserMsg_HudError) error)
- func (c *Callbacks) OnCDOTAUserMsg_InvalidCommand(fn func(*dota.CDOTAUserMsg_InvalidCommand) error)
- func (c *Callbacks) OnCDOTAUserMsg_ItemAlert(fn func(*dota.CDOTAUserMsg_ItemAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_ItemFound(fn func(*dota.CDOTAUserMsg_ItemFound) error)
- func (c *Callbacks) OnCDOTAUserMsg_ItemPurchased(fn func(*dota.CDOTAUserMsg_ItemPurchased) error)
- func (c *Callbacks) OnCDOTAUserMsg_ItemSold(fn func(*dota.CDOTAUserMsg_ItemSold) error)
- func (c *Callbacks) OnCDOTAUserMsg_KillcamDamageTaken(fn func(*dota.CDOTAUserMsg_KillcamDamageTaken) error)
- func (c *Callbacks) OnCDOTAUserMsg_LocationPing(fn func(*dota.CDOTAUserMsg_LocationPing) error)
- func (c *Callbacks) OnCDOTAUserMsg_MapLine(fn func(*dota.CDOTAUserMsg_MapLine) error)
- func (c *Callbacks) OnCDOTAUserMsg_MarsArenaOfBloodAttack(fn func(*dota.CDOTAUserMsg_MarsArenaOfBloodAttack) error)
- func (c *Callbacks) OnCDOTAUserMsg_MiniKillCamInfo(fn func(*dota.CDOTAUserMsg_MiniKillCamInfo) error)
- func (c *Callbacks) OnCDOTAUserMsg_MiniTaunt(fn func(*dota.CDOTAUserMsg_MiniTaunt) error)
- func (c *Callbacks) OnCDOTAUserMsg_MinimapDebugPoint(fn func(*dota.CDOTAUserMsg_MinimapDebugPoint) error)
- func (c *Callbacks) OnCDOTAUserMsg_MinimapEvent(fn func(*dota.CDOTAUserMsg_MinimapEvent) error)
- func (c *Callbacks) OnCDOTAUserMsg_ModifierAlert(fn func(*dota.CDOTAUserMsg_ModifierAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_MoveCameraToUnit(fn func(*dota.CDOTAUserMsg_MoveCameraToUnit) error)
- func (c *Callbacks) OnCDOTAUserMsg_MutedPlayers(fn func(*dota.CDOTAUserMsg_MutedPlayers) error)
- func (c *Callbacks) OnCDOTAUserMsg_NevermoreRequiem(fn func(*dota.CDOTAUserMsg_NevermoreRequiem) error)
- func (c *Callbacks) OnCDOTAUserMsg_OMArcanaCombo(fn func(*dota.CDOTAUserMsg_OMArcanaCombo) error)
- func (c *Callbacks) OnCDOTAUserMsg_OutpostCaptured(fn func(*dota.CDOTAUserMsg_OutpostCaptured) error)
- func (c *Callbacks) OnCDOTAUserMsg_OutpostGrantedXP(fn func(*dota.CDOTAUserMsg_OutpostGrantedXP) error)
- func (c *Callbacks) OnCDOTAUserMsg_OverheadEvent(fn func(*dota.CDOTAUserMsg_OverheadEvent) error)
- func (c *Callbacks) OnCDOTAUserMsg_PauseMinigameData(fn func(*dota.CDOTAUserMsg_PauseMinigameData) error)
- func (c *Callbacks) OnCDOTAUserMsg_Ping(fn func(*dota.CDOTAUserMsg_Ping) error)
- func (c *Callbacks) OnCDOTAUserMsg_PingConfirmation(fn func(*dota.CDOTAUserMsg_PingConfirmation) error)
- func (c *Callbacks) OnCDOTAUserMsg_PlayerMMR(fn func(*dota.CDOTAUserMsg_PlayerMMR) error)
- func (c *Callbacks) OnCDOTAUserMsg_PredictionResult(fn func(*dota.CDOTAUserMsg_PredictionResult) error)
- func (c *Callbacks) OnCDOTAUserMsg_ProjectionAbility(fn func(*dota.CDOTAUserMsg_ProjectionAbility) error)
- func (c *Callbacks) OnCDOTAUserMsg_ProjectionEvent(fn func(*dota.CDOTAUserMsg_ProjectionEvent) error)
- func (c *Callbacks) OnCDOTAUserMsg_QoP_ArcanaSummary(fn func(*dota.CDOTAUserMsg_QoP_ArcanaSummary) error)
- func (c *Callbacks) OnCDOTAUserMsg_QuestStatus(fn func(*dota.CDOTAUserMsg_QuestStatus) error)
- func (c *Callbacks) OnCDOTAUserMsg_QueuedOrderRemoved(fn func(*dota.CDOTAUserMsg_QueuedOrderRemoved) error)
- func (c *Callbacks) OnCDOTAUserMsg_QuickBuyAlert(fn func(*dota.CDOTAUserMsg_QuickBuyAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_RadarAlert(fn func(*dota.CDOTAUserMsg_RadarAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_ReceivedXmasGift(fn func(*dota.CDOTAUserMsg_ReceivedXmasGift) error)
- func (c *Callbacks) OnCDOTAUserMsg_ReplaceQueryUnit(fn func(*dota.CDOTAUserMsg_ReplaceQueryUnit) error)
- func (c *Callbacks) OnCDOTAUserMsg_RollDiceResult(fn func(*dota.CDOTAUserMsg_RollDiceResult) error)
- func (c *Callbacks) OnCDOTAUserMsg_SalutePlayer(fn func(*dota.CDOTAUserMsg_SalutePlayer) error)
- func (c *Callbacks) OnCDOTAUserMsg_SelectPenaltyGold(fn func(*dota.CDOTAUserMsg_SelectPenaltyGold) error)
- func (c *Callbacks) OnCDOTAUserMsg_SendFinalGold(fn func(*dota.CDOTAUserMsg_SendFinalGold) error)
- func (c *Callbacks) OnCDOTAUserMsg_SendGenericToolTip(fn func(*dota.CDOTAUserMsg_SendGenericToolTip) error)
- func (c *Callbacks) OnCDOTAUserMsg_SendRoshanPopup(fn func(*dota.CDOTAUserMsg_SendRoshanPopup) error)
- func (c *Callbacks) OnCDOTAUserMsg_SendRoshanSpectatorPhase(fn func(*dota.CDOTAUserMsg_SendRoshanSpectatorPhase) error)
- func (c *Callbacks) OnCDOTAUserMsg_SendStatPopup(fn func(*dota.CDOTAUserMsg_SendStatPopup) error)
- func (c *Callbacks) OnCDOTAUserMsg_SetNextAutobuyItem(fn func(*dota.CDOTAUserMsg_SetNextAutobuyItem) error)
- func (c *Callbacks) OnCDOTAUserMsg_SharedCooldown(fn func(*dota.CDOTAUserMsg_SharedCooldown) error)
- func (c *Callbacks) OnCDOTAUserMsg_ShovelUnearth(fn func(*dota.CDOTAUserMsg_ShovelUnearth) error)
- func (c *Callbacks) OnCDOTAUserMsg_ShowGenericPopup(fn func(*dota.CDOTAUserMsg_ShowGenericPopup) error)
- func (c *Callbacks) OnCDOTAUserMsg_ShowSurvey(fn func(*dota.CDOTAUserMsg_ShowSurvey) error)
- func (c *Callbacks) OnCDOTAUserMsg_SpectatorPlayerClick(fn func(*dota.CDOTAUserMsg_SpectatorPlayerClick) error)
- func (c *Callbacks) OnCDOTAUserMsg_SpectatorPlayerUnitOrders(fn func(*dota.CDOTAUserMsg_SpectatorPlayerUnitOrders) error)
- func (c *Callbacks) OnCDOTAUserMsg_SpeechBubble(fn func(*dota.CDOTAUserMsg_SpeechBubble) error)
- func (c *Callbacks) OnCDOTAUserMsg_StatsHeroMinuteDetails(fn func(*dota.CDOTAUserMsg_StatsHeroMinuteDetails) error)
- func (c *Callbacks) OnCDOTAUserMsg_StatsMatchDetails(fn func(*dota.CDOTAUserMsg_StatsMatchDetails) error)
- func (c *Callbacks) OnCDOTAUserMsg_SuggestHeroPick(fn func(*dota.CDOTAUserMsg_SuggestHeroPick) error)
- func (c *Callbacks) OnCDOTAUserMsg_SuggestHeroRole(fn func(*dota.CDOTAUserMsg_SuggestHeroRole) error)
- func (c *Callbacks) OnCDOTAUserMsg_SwapVerify(fn func(*dota.CDOTAUserMsg_SwapVerify) error)
- func (c *Callbacks) OnCDOTAUserMsg_TE_DestroyProjectile(fn func(*dota.CDOTAUserMsg_TE_DestroyProjectile) error)
- func (c *Callbacks) OnCDOTAUserMsg_TE_DotaBloodImpact(fn func(*dota.CDOTAUserMsg_TE_DotaBloodImpact) error)
- func (c *Callbacks) OnCDOTAUserMsg_TE_Projectile(fn func(*dota.CDOTAUserMsg_TE_Projectile) error)
- func (c *Callbacks) OnCDOTAUserMsg_TE_ProjectileLoc(fn func(*dota.CDOTAUserMsg_TE_ProjectileLoc) error)
- func (c *Callbacks) OnCDOTAUserMsg_TE_UnitAnimation(fn func(*dota.CDOTAUserMsg_TE_UnitAnimation) error)
- func (c *Callbacks) OnCDOTAUserMsg_TE_UnitAnimationEnd(fn func(*dota.CDOTAUserMsg_TE_UnitAnimationEnd) error)
- func (c *Callbacks) OnCDOTAUserMsg_TalentTreeAlert(fn func(*dota.CDOTAUserMsg_TalentTreeAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_TipAlert(fn func(*dota.CDOTAUserMsg_TipAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_TutorialFade(fn func(*dota.CDOTAUserMsg_TutorialFade) error)
- func (c *Callbacks) OnCDOTAUserMsg_TutorialFinish(fn func(*dota.CDOTAUserMsg_TutorialFinish) error)
- func (c *Callbacks) OnCDOTAUserMsg_TutorialMinimapPosition(fn func(*dota.CDOTAUserMsg_TutorialMinimapPosition) error)
- func (c *Callbacks) OnCDOTAUserMsg_TutorialPingMinimap(fn func(*dota.CDOTAUserMsg_TutorialPingMinimap) error)
- func (c *Callbacks) OnCDOTAUserMsg_TutorialRequestExp(fn func(*dota.CDOTAUserMsg_TutorialRequestExp) error)
- func (c *Callbacks) OnCDOTAUserMsg_TutorialTipInfo(fn func(*dota.CDOTAUserMsg_TutorialTipInfo) error)
- func (c *Callbacks) OnCDOTAUserMsg_UnitEvent(fn func(*dota.CDOTAUserMsg_UnitEvent) error)
- func (c *Callbacks) OnCDOTAUserMsg_UpdateQuestProgress(fn func(*dota.CDOTAUserMsg_UpdateQuestProgress) error)
- func (c *Callbacks) OnCDOTAUserMsg_UpdateSharedContent(fn func(*dota.CDOTAUserMsg_UpdateSharedContent) error)
- func (c *Callbacks) OnCDOTAUserMsg_VersusScene_PlayerBehavior(fn func(*dota.CDOTAUserMsg_VersusScene_PlayerBehavior) error)
- func (c *Callbacks) OnCDOTAUserMsg_VoteEnd(fn func(*dota.CDOTAUserMsg_VoteEnd) error)
- func (c *Callbacks) OnCDOTAUserMsg_VoteStart(fn func(*dota.CDOTAUserMsg_VoteStart) error)
- func (c *Callbacks) OnCDOTAUserMsg_VoteUpdate(fn func(*dota.CDOTAUserMsg_VoteUpdate) error)
- func (c *Callbacks) OnCDOTAUserMsg_WK_Arcana_Progress(fn func(*dota.CDOTAUserMsg_WK_Arcana_Progress) error)
- func (c *Callbacks) OnCDOTAUserMsg_WRArcanaProgress(fn func(*dota.CDOTAUserMsg_WRArcanaProgress) error)
- func (c *Callbacks) OnCDOTAUserMsg_WRArcanaSummary(fn func(*dota.CDOTAUserMsg_WRArcanaSummary) error)
- func (c *Callbacks) OnCDOTAUserMsg_WillPurchaseAlert(fn func(*dota.CDOTAUserMsg_WillPurchaseAlert) error)
- func (c *Callbacks) OnCDOTAUserMsg_WorldLine(fn func(*dota.CDOTAUserMsg_WorldLine) error)
- func (c *Callbacks) OnCDOTAUserMsg_XPAlert(fn func(*dota.CDOTAUserMsg_XPAlert) error)
- func (c *Callbacks) OnCDemoClassInfo(fn func(*dota.CDemoClassInfo) error)
- func (c *Callbacks) OnCDemoConsoleCmd(fn func(*dota.CDemoConsoleCmd) error)
- func (c *Callbacks) OnCDemoCustomData(fn func(*dota.CDemoCustomData) error)
- func (c *Callbacks) OnCDemoCustomDataCallbacks(fn func(*dota.CDemoCustomDataCallbacks) error)
- func (c *Callbacks) OnCDemoFileHeader(fn func(*dota.CDemoFileHeader) error)
- func (c *Callbacks) OnCDemoFileInfo(fn func(*dota.CDemoFileInfo) error)
- func (c *Callbacks) OnCDemoFullPacket(fn func(*dota.CDemoFullPacket) error)
- func (c *Callbacks) OnCDemoPacket(fn func(*dota.CDemoPacket) error)
- func (c *Callbacks) OnCDemoSaveGame(fn func(*dota.CDemoSaveGame) error)
- func (c *Callbacks) OnCDemoSendTables(fn func(*dota.CDemoSendTables) error)
- func (c *Callbacks) OnCDemoSignonPacket(fn func(*dota.CDemoPacket) error)
- func (c *Callbacks) OnCDemoSpawnGroups(fn func(*dota.CDemoSpawnGroups) error)
- func (c *Callbacks) OnCDemoStop(fn func(*dota.CDemoStop) error)
- func (c *Callbacks) OnCDemoStringTables(fn func(*dota.CDemoStringTables) error)
- func (c *Callbacks) OnCDemoSyncTick(fn func(*dota.CDemoSyncTick) error)
- func (c *Callbacks) OnCDemoUserCmd(fn func(*dota.CDemoUserCmd) error)
- func (c *Callbacks) OnCEntityMessageDoSpark(fn func(*dota.CEntityMessageDoSpark) error)
- func (c *Callbacks) OnCEntityMessageFixAngle(fn func(*dota.CEntityMessageFixAngle) error)
- func (c *Callbacks) OnCEntityMessagePlayJingle(fn func(*dota.CEntityMessagePlayJingle) error)
- func (c *Callbacks) OnCEntityMessagePropagateForce(fn func(*dota.CEntityMessagePropagateForce) error)
- func (c *Callbacks) OnCEntityMessageRemoveAllDecals(fn func(*dota.CEntityMessageRemoveAllDecals) error)
- func (c *Callbacks) OnCEntityMessageScreenOverlay(fn func(*dota.CEntityMessageScreenOverlay) error)
- func (c *Callbacks) OnCMsgClearDecalsForSkeletonInstanceEvent(fn func(*dota.CMsgClearDecalsForSkeletonInstanceEvent) error)
- func (c *Callbacks) OnCMsgClearEntityDecalsEvent(fn func(*dota.CMsgClearEntityDecalsEvent) error)
- func (c *Callbacks) OnCMsgClearWorldDecalsEvent(fn func(*dota.CMsgClearWorldDecalsEvent) error)
- func (c *Callbacks) OnCMsgDOTACombatLogEntry(fn func(*dota.CMsgDOTACombatLogEntry) error)
- func (c *Callbacks) OnCMsgDOTADPCMatch(fn func(*dota.CMsgDOTADPCMatch) error)
- func (c *Callbacks) OnCMsgGCToClientTournamentItemDrop(fn func(*dota.CMsgGCToClientTournamentItemDrop) error)
- func (c *Callbacks) OnCMsgPlaceDecalEvent(fn func(*dota.CMsgPlaceDecalEvent) error)
- func (c *Callbacks) OnCMsgSosSetLibraryStackFields(fn func(*dota.CMsgSosSetLibraryStackFields) error)
- func (c *Callbacks) OnCMsgSosSetSoundEventParams(fn func(*dota.CMsgSosSetSoundEventParams) error)
- func (c *Callbacks) OnCMsgSosStartSoundEvent(fn func(*dota.CMsgSosStartSoundEvent) error)
- func (c *Callbacks) OnCMsgSosStopSoundEvent(fn func(*dota.CMsgSosStopSoundEvent) error)
- func (c *Callbacks) OnCMsgSosStopSoundEventHash(fn func(*dota.CMsgSosStopSoundEventHash) error)
- func (c *Callbacks) OnCMsgSource1LegacyGameEvent(fn func(*dota.CMsgSource1LegacyGameEvent) error)
- func (c *Callbacks) OnCMsgSource1LegacyGameEventList(fn func(*dota.CMsgSource1LegacyGameEventList) error)
- func (c *Callbacks) OnCMsgSource1LegacyListenEvents(fn func(*dota.CMsgSource1LegacyListenEvents) error)
- func (c *Callbacks) OnCMsgVDebugGameSessionIDEvent(fn func(*dota.CMsgVDebugGameSessionIDEvent) error)
- func (c *Callbacks) OnCNETMsg_Disconnect(fn func(*dota.CNETMsg_Disconnect) error)
- func (c *Callbacks) OnCNETMsg_NOP(fn func(*dota.CNETMsg_NOP) error)
- func (c *Callbacks) OnCNETMsg_SetConVar(fn func(*dota.CNETMsg_SetConVar) error)
- func (c *Callbacks) OnCNETMsg_SignonState(fn func(*dota.CNETMsg_SignonState) error)
- func (c *Callbacks) OnCNETMsg_SpawnGroup_Load(fn func(*dota.CNETMsg_SpawnGroup_Load) error)
- func (c *Callbacks) OnCNETMsg_SpawnGroup_LoadCompleted(fn func(*dota.CNETMsg_SpawnGroup_LoadCompleted) error)
- func (c *Callbacks) OnCNETMsg_SpawnGroup_ManifestUpdate(fn func(*dota.CNETMsg_SpawnGroup_ManifestUpdate) error)
- func (c *Callbacks) OnCNETMsg_SpawnGroup_SetCreationTick(fn func(*dota.CNETMsg_SpawnGroup_SetCreationTick) error)
- func (c *Callbacks) OnCNETMsg_SpawnGroup_Unload(fn func(*dota.CNETMsg_SpawnGroup_Unload) error)
- func (c *Callbacks) OnCNETMsg_SplitScreenUser(fn func(*dota.CNETMsg_SplitScreenUser) error)
- func (c *Callbacks) OnCNETMsg_StringCmd(fn func(*dota.CNETMsg_StringCmd) error)
- func (c *Callbacks) OnCNETMsg_Tick(fn func(*dota.CNETMsg_Tick) error)
- func (c *Callbacks) OnCSVCMsg_BSPDecal(fn func(*dota.CSVCMsg_BSPDecal) error)
- func (c *Callbacks) OnCSVCMsg_ClassInfo(fn func(*dota.CSVCMsg_ClassInfo) error)
- func (c *Callbacks) OnCSVCMsg_ClearAllStringTables(fn func(*dota.CSVCMsg_ClearAllStringTables) error)
- func (c *Callbacks) OnCSVCMsg_CmdKeyValues(fn func(*dota.CSVCMsg_CmdKeyValues) error)
- func (c *Callbacks) OnCSVCMsg_CreateStringTable(fn func(*dota.CSVCMsg_CreateStringTable) error)
- func (c *Callbacks) OnCSVCMsg_FlattenedSerializer(fn func(*dota.CSVCMsg_FlattenedSerializer) error)
- func (c *Callbacks) OnCSVCMsg_FullFrameSplit(fn func(*dota.CSVCMsg_FullFrameSplit) error)
- func (c *Callbacks) OnCSVCMsg_GetCvarValue(fn func(*dota.CSVCMsg_GetCvarValue) error)
- func (c *Callbacks) OnCSVCMsg_HLTVStatus(fn func(*dota.CSVCMsg_HLTVStatus) error)
- func (c *Callbacks) OnCSVCMsg_Menu(fn func(*dota.CSVCMsg_Menu) error)
- func (c *Callbacks) OnCSVCMsg_PacketEntities(fn func(*dota.CSVCMsg_PacketEntities) error)
- func (c *Callbacks) OnCSVCMsg_PacketReliable(fn func(*dota.CSVCMsg_PacketReliable) error)
- func (c *Callbacks) OnCSVCMsg_PeerList(fn func(*dota.CSVCMsg_PeerList) error)
- func (c *Callbacks) OnCSVCMsg_Prefetch(fn func(*dota.CSVCMsg_Prefetch) error)
- func (c *Callbacks) OnCSVCMsg_Print(fn func(*dota.CSVCMsg_Print) error)
- func (c *Callbacks) OnCSVCMsg_RconServerDetails(fn func(*dota.CSVCMsg_RconServerDetails) error)
- func (c *Callbacks) OnCSVCMsg_ServerInfo(fn func(*dota.CSVCMsg_ServerInfo) error)
- func (c *Callbacks) OnCSVCMsg_ServerSteamID(fn func(*dota.CSVCMsg_ServerSteamID) error)
- func (c *Callbacks) OnCSVCMsg_SetPause(fn func(*dota.CSVCMsg_SetPause) error)
- func (c *Callbacks) OnCSVCMsg_SetView(fn func(*dota.CSVCMsg_SetView) error)
- func (c *Callbacks) OnCSVCMsg_Sounds(fn func(*dota.CSVCMsg_Sounds) error)
- func (c *Callbacks) OnCSVCMsg_SplitScreen(fn func(*dota.CSVCMsg_SplitScreen) error)
- func (c *Callbacks) OnCSVCMsg_StopSound(fn func(*dota.CSVCMsg_StopSound) error)
- func (c *Callbacks) OnCSVCMsg_UpdateStringTable(fn func(*dota.CSVCMsg_UpdateStringTable) error)
- func (c *Callbacks) OnCSVCMsg_VoiceData(fn func(*dota.CSVCMsg_VoiceData) error)
- func (c *Callbacks) OnCSVCMsg_VoiceInit(fn func(*dota.CSVCMsg_VoiceInit) error)
- func (c *Callbacks) OnCUserMessageAchievementEvent(fn func(*dota.CUserMessageAchievementEvent) error)
- func (c *Callbacks) OnCUserMessageAmmoDenied(fn func(*dota.CUserMessageAmmoDenied) error)
- func (c *Callbacks) OnCUserMessageAudioParameter(fn func(*dota.CUserMessageAudioParameter) error)
- func (c *Callbacks) OnCUserMessageCameraTransition(fn func(*dota.CUserMessageCameraTransition) error)
- func (c *Callbacks) OnCUserMessageCloseCaption(fn func(*dota.CUserMessageCloseCaption) error)
- func (c *Callbacks) OnCUserMessageCloseCaptionDirect(fn func(*dota.CUserMessageCloseCaptionDirect) error)
- func (c *Callbacks) OnCUserMessageCloseCaptionPlaceholder(fn func(*dota.CUserMessageCloseCaptionPlaceholder) error)
- func (c *Callbacks) OnCUserMessageColoredText(fn func(*dota.CUserMessageColoredText) error)
- func (c *Callbacks) OnCUserMessageCreditsMsg(fn func(*dota.CUserMessageCreditsMsg) error)
- func (c *Callbacks) OnCUserMessageCrosshairAngle(fn func(*dota.CUserMessageCrosshairAngle) error)
- func (c *Callbacks) OnCUserMessageCurrentTimescale(fn func(*dota.CUserMessageCurrentTimescale) error)
- func (c *Callbacks) OnCUserMessageDesiredTimescale(fn func(*dota.CUserMessageDesiredTimescale) error)
- func (c *Callbacks) OnCUserMessageFade(fn func(*dota.CUserMessageFade) error)
- func (c *Callbacks) OnCUserMessageGameTitle(fn func(*dota.CUserMessageGameTitle) error)
- func (c *Callbacks) OnCUserMessageHapticsManagerEffect(fn func(*dota.CUserMessageHapticsManagerEffect) error)
- func (c *Callbacks) OnCUserMessageHapticsManagerPulse(fn func(*dota.CUserMessageHapticsManagerPulse) error)
- func (c *Callbacks) OnCUserMessageHintText(fn func(*dota.CUserMessageHintText) error)
- func (c *Callbacks) OnCUserMessageHudMsg(fn func(*dota.CUserMessageHudMsg) error)
- func (c *Callbacks) OnCUserMessageHudText(fn func(*dota.CUserMessageHudText) error)
- func (c *Callbacks) OnCUserMessageItemPickup(fn func(*dota.CUserMessageItemPickup) error)
- func (c *Callbacks) OnCUserMessageKeyHintText(fn func(*dota.CUserMessageKeyHintText) error)
- func (c *Callbacks) OnCUserMessageRequestState(fn func(*dota.CUserMessageRequestState) error)
- func (c *Callbacks) OnCUserMessageResetHUD(fn func(*dota.CUserMessageResetHUD) error)
- func (c *Callbacks) OnCUserMessageRumble(fn func(*dota.CUserMessageRumble) error)
- func (c *Callbacks) OnCUserMessageSayText(fn func(*dota.CUserMessageSayText) error)
- func (c *Callbacks) OnCUserMessageSayText2(fn func(*dota.CUserMessageSayText2) error)
- func (c *Callbacks) OnCUserMessageSayTextChannel(fn func(*dota.CUserMessageSayTextChannel) error)
- func (c *Callbacks) OnCUserMessageScreenTilt(fn func(*dota.CUserMessageScreenTilt) error)
- func (c *Callbacks) OnCUserMessageSendAudio(fn func(*dota.CUserMessageSendAudio) error)
- func (c *Callbacks) OnCUserMessageShake(fn func(*dota.CUserMessageShake) error)
- func (c *Callbacks) OnCUserMessageShakeDir(fn func(*dota.CUserMessageShakeDir) error)
- func (c *Callbacks) OnCUserMessageShowMenu(fn func(*dota.CUserMessageShowMenu) error)
- func (c *Callbacks) OnCUserMessageTextMsg(fn func(*dota.CUserMessageTextMsg) error)
- func (c *Callbacks) OnCUserMessageTrain(fn func(*dota.CUserMessageTrain) error)
- func (c *Callbacks) OnCUserMessageVGUIMenu(fn func(*dota.CUserMessageVGUIMenu) error)
- func (c *Callbacks) OnCUserMessageVoiceMask(fn func(*dota.CUserMessageVoiceMask) error)
- func (c *Callbacks) OnCUserMessageVoiceSubtitle(fn func(*dota.CUserMessageVoiceSubtitle) error)
- type Entity
- func (e *Entity) Dump()
- func (e *Entity) Exists(name string) bool
- func (e *Entity) Get(name string) interface{}
- func (e *Entity) GetBool(name string) (bool, bool)
- func (e *Entity) GetClassId() int32
- func (e *Entity) GetClassName() string
- func (e *Entity) GetFloat32(name string) (float32, bool)
- func (e *Entity) GetIndex() int32
- func (e *Entity) GetInt32(name string) (int32, bool)
- func (e *Entity) GetSerial() int32
- func (e *Entity) GetString(name string) (string, bool)
- func (e *Entity) GetUint32(name string) (uint32, bool)
- func (e *Entity) GetUint64(name string) (uint64, bool)
- func (e *Entity) Map() map[string]interface{}
- func (e *Entity) String() string
- type EntityHandler
- type EntityOp
- type GameEvent
- func (e *GameEvent) GetBool(name string) (bool, error)
- func (e *GameEvent) GetFloat32(name string) (float32, error)
- func (e *GameEvent) GetInt32(name string) (int32, error)
- func (e *GameEvent) GetString(name string) (string, error)
- func (e *GameEvent) GetUint64(name string) (uint64, error)
- func (ge *GameEvent) String() string
- func (ge *GameEvent) Type() dota.DOTA_COMBATLOG_TYPES
- func (ge *GameEvent) TypeName() string
- type GameEventHandler
- type Parser
- func (p *Parser) FilterEntity(fb func(*Entity) bool) []*Entity
- func (p *Parser) FindEntity(index int32) *Entity
- func (p *Parser) FindEntityByHandle(handle uint64) *Entity
- func (p *Parser) LookupStringByIndex(table string, index int32) (string, bool)
- func (p *Parser) OnEntity(h EntityHandler)
- func (p *Parser) OnGameEvent(name string, fn GameEventHandler)
- func (p *Parser) Start() (err error)
- func (p *Parser) Stop()
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 ¶
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) GetClassId ¶
GetClassId returns the id of the class associated with this Entity
func (*Entity) GetClassName ¶
GetClassName returns the name of the class associated with this Entity
func (*Entity) GetFloat32 ¶
GetFloat32 gets given key as an float32
type EntityHandler ¶
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 )
type GameEvent ¶
type GameEvent struct {
// contains filtered or unexported fields
}
Represents a game event. Includes a type and the actual message.
func (*GameEvent) GetFloat32 ¶
Gets the float value of a named field.
func (*GameEvent) Type ¶
func (ge *GameEvent) Type() dota.DOTA_COMBATLOG_TYPES
type GameEventHandler ¶
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 NewStreamParser ¶
Create a new Parser from an io.Reader
func (*Parser) FilterEntity ¶
FilterEntity finds entities by callback
func (*Parser) FindEntity ¶
FindEntity finds a given Entity by index
func (*Parser) FindEntityByHandle ¶
FindEntityByHandle finds a given Entity by handle
func (*Parser) LookupStringByIndex ¶
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.