using System; public class CommandExtensions { public static void InitCommandExtensions (GameManager manager) { manager.m_GUIConsole.AddCommand(new GetGamePrefs(manager.m_GUIConsole)); manager.m_GUIConsole.AddCommand(new GetTime(manager.m_GUIConsole)); manager.m_GUIConsole.AddCommand(new ListPlayersExtended(manager.m_GUIConsole)); manager.m_GUIConsole.AddCommand(new SayToPlayer(manager.m_GUIConsole)); manager.m_GUIConsole.AddCommand(new SetTimeReal(manager.m_GUIConsole)); manager.m_GUIConsole.AddCommand(new ShowInventory(manager.m_GUIConsole)); } }