-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add VR patch for Outer Wilds update 1.0.6 * updated the readme (#87) * Owml manifest (#88) * owml manifest file * fixed error messages in storage helper (#89) * adaptations for the mod manager (#90) * removed (slow) version checking * added descriptions * updated readme * mods have separate logger and console objects (#91) * mods have separate logger and console objects * Logging some stuff to socket * Sending absolutely everything to socket * Cleanup * Pick between file and socket consoles * Console port argument constant * Simpler argument get * Add separate project for logging * Move all logging-related stuff to Logging project * Helper Output.cs * Use public property instead of getter / setter. * Simplified command line argument parsing * Socket creation early return * Exit console if socket port argument present * Remove this line that I don't know why I had in the first place * Use Output.OnWrite instead of ModConsole.OnConsole * Simplify decrecated event * Cleanup * Make Mod*Output extend from ModConsole * Mod interaction (#93) Added mod interaction methods, and improved Invoke method. * Simplify modsocketoutput constructor * Remove unnecessary statics * Revert "Remove unnecessary statics" This reverts commit 8dc0c63. * Revert ModConsole namespace * Rename ModConsole to ModOutput * Ouput factory * Remove redundant elses * Rename instance to OwmlOutput, remove deprecated * Cleanup * formatting, removed unused stuff * . * Using ExitConsole in two places * Name / message separator as const * version * Move ModHelper.Logging to ModHelper * Revert singletone instance * Remove references to Logging project * Rename protected variables * protected ModConsole constructor * Move logging stuff to Logging subdirectory * Update OW.Unity.Dlls to 1.0.5 * Bump version Co-authored-by: AmazingAlek <[email protected]> Co-authored-by: Mister_Nebula <[email protected]>
- Loading branch information
1 parent
1536b96
commit 058d62d
Showing
38 changed files
with
397 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace OWML.Common | ||
{ | ||
public static class CommandLineArguments | ||
{ | ||
public static string GetArgument(string name) | ||
{ | ||
var arguments = Environment.GetCommandLineArgs(); | ||
var keyIndex = Array.IndexOf(arguments, $"-{name}"); | ||
if (keyIndex == -1 || keyIndex >= arguments.Length - 1) | ||
{ | ||
return null; | ||
} | ||
return arguments[keyIndex + 1]; | ||
} | ||
|
||
public static bool HasArgument(string name) | ||
{ | ||
return GetArgument(name) != null; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="OW.Unity.Dlls" version="1.0.4" targetFramework="net35" /> | ||
<package id="OW.Unity.Dlls" version="1.0.5" targetFramework="net35" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="OW.Unity.Dlls" version="1.0.4" targetFramework="net35" /> | ||
<package id="OW.Unity.Dlls" version="1.0.5" targetFramework="net35" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Lib.Harmony" version="1.2.0.1" targetFramework="net35" /> | ||
<package id="OW.Unity.Dlls" version="1.0.4" targetFramework="net35" /> | ||
<package id="OW.Unity.Dlls" version="1.0.5" targetFramework="net35" /> | ||
</packages> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.