-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added rules hotkey toggle, cleaned code and enabled windows minimize.
- Loading branch information
Showing
60 changed files
with
337 additions
and
95 deletions.
There are no files selected for viewing
Binary file modified
BIN
+25.5 KB
(130%)
CodeSwine-Solo_Public_Lobby/.vs/CodeSwine-Private_Public_Lobby/v15/.suo
Binary file not shown.
Binary file modified
BIN
+124 KB
(110%)
CodeSwine-Solo_Public_Lobby/.vs/CodeSwine-Private_Public_Lobby/v15/sqlite3/storage.ide
Binary file not shown.
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
26 changes: 26 additions & 0 deletions
26
CodeSwine-Solo_Public_Lobby/CodeSwine-Solo_Public_Lobby/Helpers/ErrorLogger.cs
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.IO; | ||
|
||
namespace CodeSwine_Solo_Public_Lobby.Helpers | ||
{ | ||
public class ErrorLogger | ||
{ | ||
public static void LogException(Exception e) | ||
{ | ||
string path = AppDomain.CurrentDomain.BaseDirectory + "error.log"; | ||
|
||
if (!File.Exists(path)) | ||
{ | ||
using (StreamWriter sw = File.CreateText(path)) | ||
{ | ||
sw.WriteLine("Error log generated at " + DateTime.Now.ToShortDateString()); | ||
} | ||
} | ||
|
||
using (StreamWriter sw = File.AppendText(path)) | ||
{ | ||
sw.WriteLine(e.Message.ToString()); | ||
} | ||
} | ||
} | ||
} |
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
Binary file modified
BIN
+1.5 KB
(100%)
...e-Solo_Public_Lobby/CodeSwine-Solo_Public_Lobby/bin/Debug/CodeSwine-Solo_Public_Lobby.exe
Binary file not shown.
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
Binary file modified
BIN
+4 KB
(110%)
...e-Solo_Public_Lobby/CodeSwine-Solo_Public_Lobby/bin/Debug/CodeSwine-Solo_Public_Lobby.pdb
Binary file not shown.
Binary file modified
BIN
+1.5 KB
(100%)
...c_Lobby/CodeSwine-Solo_Public_Lobby/bin/Debug/app.publish/CodeSwine-Solo_Public_Lobby.exe
Binary file not shown.
Oops, something went wrong.