source: binary-improvements/7dtd-server-fixes/src/CommandExtensions.cs@ 128

Last change on this file since 128 was 128, checked in by alloc, 10 years ago

Fixes

File size: 1.4 KB
Line 
1using System;
2using System.Collections.Generic;
3
4public class CommandExtensions
5{
6 public static void InitCommandExtensions (GameManager manager)
7 {
8 try {
9 manager.m_GUIConsole.AddCommand (new CreativeMenu (manager.m_GUIConsole));
10 manager.m_GUIConsole.AddCommand (new GetGamePrefs (manager.m_GUIConsole));
11 manager.m_GUIConsole.AddCommand (new GetTime (manager.m_GUIConsole));
12 manager.m_GUIConsole.AddCommand (new Give (manager.m_GUIConsole));
13 manager.m_GUIConsole.AddCommand (new Kill (manager.m_GUIConsole));
14 manager.m_GUIConsole.AddCommand (new ListItems (manager.m_GUIConsole));
15 manager.m_GUIConsole.AddCommand (new ListLandProtection (manager.m_GUIConsole));
16 manager.m_GUIConsole.AddCommand (new ListPlayersExtended (manager.m_GUIConsole));
17 manager.m_GUIConsole.AddCommand (new RemoveLandProtection (manager.m_GUIConsole));
18 manager.m_GUIConsole.AddCommand (new RenderMap (manager.m_GUIConsole));
19 manager.m_GUIConsole.AddCommand (new Reply (manager.m_GUIConsole));
20 manager.m_GUIConsole.AddCommand (new SayToPlayer (manager.m_GUIConsole));
21 manager.m_GUIConsole.AddCommand (new SetTimeReal (manager.m_GUIConsole));
22 manager.m_GUIConsole.AddCommand (new ShowInventory (manager.m_GUIConsole));
23 manager.m_GUIConsole.AddCommand (new Version (manager.m_GUIConsole));
24 } catch (Exception e) {
25 Log.Out ("Error registering custom commands: " + e);
26 }
27 }
28}
29
Note: See TracBrowser for help on using the repository browser.