CSGO Panorama Events

From Valve Developer Community
Jump to: navigation, search

This table was dumped using dump_panorama_events command in console of <Counter-Strike: Global Offensive> Counter-Strike: Global Offensive

Event Panel Event Description
AddStyle(string class) Yes Add a CSS class to a panel.
AddStyleToEachChild(string class) Yes Add a CSS class to all children of this panel.
AsyncEvent(float delay, event eventToFire) No Fire another event after a delay (in seconds).
CapabilityPopupIsOpen(js_raw_arg bActive) No User is using the name tag or opening a case, or stickering. Using one of the capabilites
CloseSubMenuContent(js_raw_arg no args) No Closes up the submenu panel
CSGOHudFreezePanelSetFlair(string xuid) No Display flair image and medal text for the given player xuid
CSGOHudShowTeamEquipment(bool bool) No Show/hide equipment for the current team
CSGOOpenSteamWorkshop() No Open the steam overlay browser to the CSGO Steam workshop page
CSGOShowTeamSelectMenu(bool bool) No Show or hide the team select menu.
CSGOWorkshopSubscriptionsChanged() No Triggered by app when the user's workshop subscriptions are updated
DemoPlaybackControl(string string, float float) No Control demo playback
DropInputFocus() Yes Drop focus entirely from the window containing this panel.
EndOfMatch_GetFreeForAllPlayerPosition_Response(js_raw_arg position) No Callback for Scoreboard_GetFreeForAllPlayerPosition
EndOfMatch_GetFreeForAllTopThreePlayers_Response(js_raw_arg first, js_raw_arg second, js_raw_arg third) No Callback for Scoreboard_GetFreeForAllTopThreePlayers
EndOfMatch_ShowNext() No Notify the EndOfMatch controller to proceed to the next panel.
FriendInvitedFromContextMenu(js_raw_arg xuid) No invite friend from the playercard. Make the invite anim snow immediately instead of waiting for the callback that can take a long time.
HideContentPanel(js_raw_arg no args) No Hide all the content panels and show the default home dashboard
HideSelectItemForCapabilityPopup() No Hide this popup in inventory
HideStoreStatusPanel() No Fired to hide the store panel.
IfHasClassEvent(string class, event eventToFire) Yes Fire another event if this panel has a given class.
IfHoverOtherEvent(string otherPanelID, event eventToFire) Yes Fire another event if currently hovering over a panel with the given ID.
IfNotHasClassEvent(string class, event eventToFire) Yes Fire another event if this panel does not have a given class.
IfNotHoverOtherEvent(string otherPanelID, event eventToFire) Yes Fire another event if not currently hovering over a panel with the given ID.
InitAvatar(js_raw_arg xuid, js_raw_arg type of panel) No Update the avatar panel data for a xuid
InitializeTournamentsPage(js_raw_arg tournament ID) No Loads the layout for a given tournament
InventoryItemPreview(js_raw_arg itemId) No Just itemid
LocalPlayerTeamChanged(uint64, int32, int32) No Fired when the local player switches to a valid team.
LootlistItemPreview(js_raw_arg itemId) No typeParams
MainMenuTabShown(js_raw_arg tabid) No Alert main menu tabs when they are shown, in case there is a data update needed
MovePanelDown(int32 repeatCount) Yes Move down from the panel. By default, this will change the focus position, but other panel types may implement this differently.
MovePanelLeft(int32 repeatCount) Yes Move left from the panel. By default, this will change the focus position, but other panel types may implement this differently.
MovePanelRight(int32 repeatCount) Yes Move right from the panel. By default, this will change the focus position, but other panel types may implement this differently.
MovePanelUp(int32 repeatCount) Yes Move up from the panel. By default, this will change the focus position, but other panel types may implement this differently.
NavigateToTab(js_raw_arg tab name, js_raw_arg xml name, js_raw_arg If its a tab, js_raw_arg if you should add to stack) No Closes up the submenu panel
OnNewChatEntry(class panorama::IUIPanel * panel, string snippet name) No Dispatched when a new chat entry is added to the main menu chat body.
OpenPlayMenu(js_raw_arg no args) No opens the play menu from anywhere. EXAMPLE from party menu settings button from client
OpenSidebarPanel(js_raw_arg no args) No open the sidebar from a abutton click from anywhere
PageDown() No Scroll the panel down by one page.
PageLeft() No Scroll the panel left by one page.
PagePanelDown() Yes Scroll the panel down by one page.
PagePanelLeft() Yes Scroll the panel left by one page.
PagePanelRight() Yes Scroll the panel left by one page.
PagePanelUp() Yes Scroll the panel up by one page.
PageRight() No Scroll the panel right by one page.
PageUp() No Scroll the panel up by one page.
PanoramaCastVoteNo() Yes Cast a NO vote for the currently active vote issue
PanoramaCastVoteYes() Yes Cast a YES vote for the currently active vote issue
PlayerTeamChanged(uint64, int32, int32) No Fired when a player switches to a valid team.
RefreshActiveInventoryList() No Make the active list get the items in it
RemoveStyle(string class) Yes Remove a CSS class from a panel.
RemoveStyleFromEachChild(string class) Yes Remove a CSS class from all children of this panel.
Scoreboard_CycleStats() No Cycle the stats.
Scoreboard_GetFreeForAllPlayerPosition(js_raw_arg xuid) No Given a player index and an xuid, returns top three players on that player's team
Scoreboard_GetFreeForAllTopThreePlayers() No Returns top three players on team 'ANY'
Scoreboard_OnEndOfMatch() No Open the scoreboard for End of Match display.
Scoreboard_UnborrowMusicKit() No Cancel Music Kit borrowing
ScrollDown() No Scroll the panel down by one line.
ScrollLeft() No Scroll the panel left by one line.
ScrollPanelDown() Yes Scroll the panel down by one line.
ScrollPanelLeft() Yes Scroll the panel left by one line.
ScrollPanelRight() Yes Scroll the panel right by one line.
ScrollPanelUp() Yes Scroll the panel up by one line.
ScrollRight() No Scroll the panel right by one line.
ScrollToBottom() Yes Scroll this panel to the bottom.
ScrollToTop() Yes Scroll this panel to the top.
ScrollUp() No Scroll the panel up by one line.
ServerForcingTeamJoin(float) No Fired when the server starts a countdown to force the local player on a team.
SetChildPanelsSelected(bool selected) Yes Set whether any child panels are :selected.
SetInputFocus() Yes Set focus to this panel.
SetPanelEnabled(bool enabled) Yes Sets whether the given panel is enabled
SetPanelSelected(bool selected) Yes Set whether this panel is :selected.
ShowAcknowledgePopup(js_raw_arg updatetype, js_raw_arg itemid) No show acknowledge popup, also takes params for when an item is updated but does not need to be acknowledged like after using a nametag
ShowCenterPrintText(string utf8 message string, enum CCenterPrint::EPriority) No Display the string in the center of the hud.
ShowContentPanel(js_raw_arg no args) No Show a content panel
ShowDeleteItemConfirmationPopup(js_raw_arg itemid) No When a user is trying to delete an item from inventory
ShowLoadoutForItem(js_raw_arg slot) No subslot
ShowResetMusicVolumePopup(js_raw_arg itemid) No When a user is trying to equip a musickit but has thier music volume off from inventory
ShowSelectItemForCapabilityPopup(js_raw_arg capability, js_raw_arg itemid, js_raw_arg itemid2) No Show popup in Inventory that allow you to select a second item for a capability that requires 2 items
ShowStoreStatusPanel(string text:string, bool allowclose:bool, bool cancel:bool, string okCmd:string) No Fired to show the store panel.
ShowTradeUpPanel() No Show trade up panel
ShowUseItemOnceConfirmationPopup(js_raw_arg itemid) No When a user is trying to use an item from inventory that can be used once
ShowVoteContextMenu() No Show vote context menu in pause menu
SidebarContextMenuActive(js_raw_arg bActive) No Let the sidebar panel know if a context menu is active on a section of it.
SidebarIsCollapsed(js_raw_arg bActive) No Is sidebar collapsed.
SpectatorSelectClickedPlayer() Yes Spectate a particular player
StartDecodeableAnim(js_raw_arg no args) No tells the decode panel to play the animation
StreamPanelClosed() No Notify that user has closed stream panel
SwitchStyle(string slot, string class) Yes Switch which class the panel has for a given attribute slot. Allows easily changing between multiple states.
TeamJoinFailed(string) No Failed to join the team we requested.
TogglePanelSelected() Yes Toggle whether this panel is :selected.
ToggleStyle(string class) Yes Toggle whether a panel has the given CSS class.
TriggerStyle(string class) Yes Remove then immediately add back a CSS class from a panel. Useful to re-trigger events like animations or sound effects.
UpdateTradeUpPanel() No Update trade up panel
UpdateVanityModelData(js_raw_arg no args) No Update the vanity model with list of anims and model panel from updated settings