Skip to content

Commit 550e631

Browse files
committed
Registered Commands
1 parent 5a8954a commit 550e631

File tree

4 files changed

+9
-24
lines changed

4 files changed

+9
-24
lines changed

TemplateMod/Commands.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,5 @@ public static bool PlaySFX(Hacknet.OS os, string[] args)
477477
sound.Play();
478478
return false;
479479
}
480-
public static bool PlayEffect(Hacknet.OS os, string[] args)
481-
{
482-
OS osExternal = os;
483-
return false;
484-
}
485480
}
486481
}

TemplateMod/Effects.cs

Lines changed: 0 additions & 18 deletions
This file was deleted.

TemplateMod/OpenAllPortsMod.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ public override void LoadContent()
5252
Command.Handler.AddCommand("executeHack", Commands.ExecuteHack, false);
5353
Command.Handler.AddCommand("generateExampleAcademicRecord", Commands.GenerateExampleAcadmicRecord, false);
5454
Command.Handler.AddCommand("generateExampleMedicalRecord", Commands.GenerateExampleMedicalRecord, false);
55+
Command.Handler.AddCommand("changeMusic", Commands.ChangeMusic, false);
56+
Command.Handler.AddCommand("crashComputer", Commands.CrashComputer, false);
57+
Command.Handler.AddCommand("addProxy", Commands.AddProxy, false);
58+
Command.Handler.AddCommand("addFirewall", Commands.AddFirewall, false);
59+
Command.Handler.AddCommand("addUser", Commands.AddUser, false);
60+
Command.Handler.AddCommand("openPort", Commands.OpenPort, false);
61+
Command.Handler.AddCommand("closeAllPorts", Commands.CloseAllPorts, false);
62+
Command.Handler.AddCommand("closePort", Commands.ClosePort, false);
63+
Command.Handler.AddCommand("removeProxy", Commands.RemoveProxy, false);
5564
}
5665

5766
}

TemplateMod/OpenAllPortsMod.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
</ItemGroup>
5858
<ItemGroup>
5959
<Compile Include="Commands.cs" />
60-
<Compile Include="Effects.cs" />
6160
<Compile Include="OpenAllPortsMod.cs" />
6261
<Compile Include="Properties\AssemblyInfo.cs" />
6362
</ItemGroup>

0 commit comments

Comments
 (0)