Jump to content

How do I add a menu item to the cities?


larshole

Recommended Posts

So not an expert in C#, and not super familiar with the game files yet, but I'm trying to add a menu item to cities, which should be easy using the below code.

 

bool OnConditionDelegate(MenuCallbackArgs args);
void OnConsequenceDelegate(MenuCallbackArgs args);
(gameStarter as CampaignGameStarter).AddGameMenuOption("castle", "optin", "some text", OnConditionDelegate, OnConsequenceDelegate, false, -1, true);
I just can't figure out what the "args" need to be...
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...