# Research Panel Research Button Clicked

Grammar — Player player clicks the research button in the Research Panel
FlagsNative | Event

This event fires when a player clicks the research button on the research panel.

# Arguments

  • int — Player

Returns — void

native void TriggerAddEventResearchPanelPurchase(
	trigger t,
	int player,
);

Category: Story / Research Panel

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:12517

void libCamp_gt_TS_ResearchUIPurchase_Init () {
    libCamp_gt_TS_ResearchUIPurchase = TriggerCreate("libCamp_gt_TS_ResearchUIPurchase_Func");
    TriggerAddEventResearchPanelPurchase(libCamp_gt_TS_ResearchUIPurchase, c_playerAny);
}