- Timestamp:
- Sep 4, 2014, 5:45:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/7dtd-server-fixes/src/CommandExtensions.cs
r146 r163 10 10 { 11 11 try { 12 manager.m_GUIConsole.AddCommand (new CreativeMenu (manager.m_GUIConsole)); 13 manager.m_GUIConsole.AddCommand (new EnableRendering (manager.m_GUIConsole)); 14 manager.m_GUIConsole.AddCommand (new GetGamePrefs (manager.m_GUIConsole)); 15 manager.m_GUIConsole.AddCommand (new GetTime (manager.m_GUIConsole)); 16 manager.m_GUIConsole.AddCommand (new Give (manager.m_GUIConsole)); 17 manager.m_GUIConsole.AddCommand (new Kill (manager.m_GUIConsole)); 18 manager.m_GUIConsole.AddCommand (new ListItems (manager.m_GUIConsole)); 19 manager.m_GUIConsole.AddCommand (new ListKnownPlayers (manager.m_GUIConsole)); 20 manager.m_GUIConsole.AddCommand (new ListLandProtection (manager.m_GUIConsole)); 21 manager.m_GUIConsole.AddCommand (new ListPlayersExtended (manager.m_GUIConsole)); 22 manager.m_GUIConsole.AddCommand (new RemoveLandProtection (manager.m_GUIConsole)); 23 manager.m_GUIConsole.AddCommand (new RenderMap (manager.m_GUIConsole)); 24 manager.m_GUIConsole.AddCommand (new Reply (manager.m_GUIConsole)); 25 manager.m_GUIConsole.AddCommand (new SayToPlayer (manager.m_GUIConsole)); 26 manager.m_GUIConsole.AddCommand (new SetTimeReal (manager.m_GUIConsole)); 27 manager.m_GUIConsole.AddCommand (new ShowInventory (manager.m_GUIConsole)); 28 manager.m_GUIConsole.AddCommand (new AllocsFixes.CustomCommands.Version (manager.m_GUIConsole)); 12 ConsoleSdtd cons = manager.m_GUIConsole; 13 cons.AddCommand (new CreativeMenu (cons)); 14 cons.AddCommand (new EnableRendering (cons)); 15 cons.AddCommand (new GetGamePrefs (cons)); 16 cons.AddCommand (new GetTime (cons)); 17 cons.AddCommand (new Give (cons)); 18 cons.AddCommand (new Kill (cons)); 19 cons.AddCommand (new ListItems (cons)); 20 cons.AddCommand (new ListKnownPlayers (cons)); 21 cons.AddCommand (new ListLandProtection (cons)); 22 cons.AddCommand (new ListPlayersExtended (cons)); 23 cons.AddCommand (new RemoveLandProtection (cons)); 24 cons.AddCommand (new RenderMap (cons)); 25 cons.AddCommand (new Reply (cons)); 26 cons.AddCommand (new SayToPlayer (cons)); 27 cons.AddCommand (new SetTimeReal (cons)); 28 cons.AddCommand (new ShowInventory (cons)); 29 cons.AddCommand (new TeleportPlayer (cons)); 30 cons.AddCommand (new AllocsFixes.CustomCommands.Version (cons)); 29 31 } catch (Exception e) { 30 32 Log.Out ("Error registering custom commands: " + e);
Note:
See TracChangeset
for help on using the changeset viewer.