<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.heroesofhammerwatch.com/index.php?action=history&amp;feed=atom&amp;title=GameMode_Class</id>
	<title>GameMode Class - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.heroesofhammerwatch.com/index.php?action=history&amp;feed=atom&amp;title=GameMode_Class"/>
	<link rel="alternate" type="text/html" href="https://wiki.heroesofhammerwatch.com/index.php?title=GameMode_Class&amp;action=history"/>
	<updated>2026-08-09T15:07:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.heroesofhammerwatch.com/index.php?title=GameMode_Class&amp;diff=1944&amp;oldid=prev</id>
		<title>Miss at 12:38, 19 June 2019</title>
		<link rel="alternate" type="text/html" href="https://wiki.heroesofhammerwatch.com/index.php?title=GameMode_Class&amp;diff=1944&amp;oldid=prev"/>
		<updated>2019-06-19T12:38:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:38, 19 June 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot; &gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The only possible parameter for this is &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt;, which, if specified, causes the gamemode to load as the default gamemode if a level does not set a gamemode. In Heroes of Hammerwatch, this is always &amp;lt;code&amp;gt;MainMenu&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The only possible parameter for this is &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt;, which, if specified, causes the gamemode to load as the default gamemode if a level does not set a gamemode. In Heroes of Hammerwatch, this is always &amp;lt;code&amp;gt;MainMenu&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Objects are constructed using this constructor:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ClassName(Scene@ scene)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Methods called from the engine==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Methods called from the engine==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key hohmediawiki?h35303030a2ab-hiwrfuej_:diff::1.12:old-1939:rev-1944 --&gt;
&lt;/table&gt;</summary>
		<author><name>Miss</name></author>
	</entry>
	<entry>
		<id>https://wiki.heroesofhammerwatch.com/index.php?title=GameMode_Class&amp;diff=1939&amp;oldid=prev</id>
		<title>Miss: Created page with &quot;Gamemode classes are defined using the &lt;code&gt;[GameMode]&lt;/code&gt; metadata:   [GameMode]  class TestLevel : Campaign  The only possible parameter for this is &lt;code&gt;default&lt;/code&gt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.heroesofhammerwatch.com/index.php?title=GameMode_Class&amp;diff=1939&amp;oldid=prev"/>
		<updated>2019-06-19T12:28:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Gamemode classes are defined using the &amp;lt;code&amp;gt;[GameMode]&amp;lt;/code&amp;gt; metadata:   [GameMode]  class TestLevel : Campaign  The only possible parameter for this is &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Gamemode classes are defined using the &amp;lt;code&amp;gt;[GameMode]&amp;lt;/code&amp;gt; metadata:&lt;br /&gt;
&lt;br /&gt;
 [GameMode]&lt;br /&gt;
 class TestLevel : Campaign&lt;br /&gt;
&lt;br /&gt;
The only possible parameter for this is &amp;lt;code&amp;gt;default&amp;lt;/code&amp;gt;, which, if specified, causes the gamemode to load as the default gamemode if a level does not set a gamemode. In Heroes of Hammerwatch, this is always &amp;lt;code&amp;gt;MainMenu&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Methods called from the engine==&lt;br /&gt;
The engine calls the following functions, if they exist: &lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;void Start(uint8, SValue@, StartMode)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void LobbyCreated(bool loadingSave)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void LobbyInviteAccepted(uint64 id)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void LobbyEntered()&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void LobbyFailedJoin(bool host)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void GetPlayerSave(uint8)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void AddPlayer(uint8)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void RemovePlayer(uint8, bool)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void UpdateFrame(int, GameInput&amp;amp;, MenuInput&amp;amp;)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void UpdatePausedFrame(int, GameInput&amp;amp;, MenuInput&amp;amp;)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void PreRenderFrame(int)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void RenderFrame(int, SpriteBatch&amp;amp;)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void RenderFrameLoading(int, SpriteBatch&amp;amp;)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void ResizeWindow(int, int, float)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;SValue@ Save()&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void OnBindingInput(ControllerType, int)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void SystemMessage(string, SValue@)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void ChatMessage(uint8, string)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void LobbyDataUpdate()&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void LobbyMemberDataUpdate(uint8)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void LobbyList(array&amp;lt;uint64&amp;gt;@)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void SetMenuState(MenuState)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;bool MenuBack()&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void ShowMessage(MenuMessage)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;vec2 GetCameraPos(int)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;vec4 GetVignette(int)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void Paused(bool)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void Generate(SValue@)&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;void OnExitGame()&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Miss</name></author>
	</entry>
</feed>