
This class has to inherit from IMod you have to implement all needes methods (rightklick on class ModNamalsk : IMod) and chose Implement Interface->Implement Interface Explicitly.This page will provide you with information required to set up your own Warlords scenario.

You just have to open /Calsses/Mods/ and add a new Class called something like ModNamalsk.

This is one of the new fetures to allow you to add multiple mods/maps for examlpe namalsk. But if you want to do more have a look at the other files I cant realy help you with them just have a look through them and try to do your best. It also adjusts the Width and Height to match the Page size. InitGamePath() -> checks if the Gamepath was found if not trys to find a new one or asks the user for defining one.ĬheckGamePathPermissions() -> checks for WriteAccess inside the GamePathīut how doese it navigate? this is simple earlier we passed a MainWindow type to all Pages this means all pahes can get access to this MainWindow instace and call Navigate(typeof()) this will set the page to display inside the main frame. On the end it will show a page of type pageMainMenue Navigate(typeof(pageMainMenue)) Each page needs a MainWindow parameter it is in all cases this. InitPages() -> Initializes all pages to navigate.

InitializeComponent() -> basic C# WPF Gui stuff and things Inside the contructor are thes methods InitializeComponent(), InitPages(), InitGamePath(), CheckGamePathPermissions(). It is simple! If you start you application it will create a new instance of GUI.MainWindow and calls the constructor inside GUI/. Resources -> contains all images used in this Project GUI and GUI.Pages -> Contain all GUI elements like Windows, Pages, Klickevents, etc. It also contains a About.txt file whitch has all license infos and other stuff to display inside the about frame.

You basically have 3 folders inside your Solution Explorer (CustomConfig, GUI, Resources) there is everything you need to know.ĬustomConfig -> contins all kinds of config options for serveradmins like setting a persistent DirectConnect and links to Teamspeak, Forum and Twitch.
