コード例 #1
0
 /// <summary>
 /// Forces a faceoff
 /// </summary>
 public static void ForceFaceoff()
 {
     MemoryEditor.WriteBytes(0x01893200, new byte[] { 1 });
 }
コード例 #2
0
 /// <summary>
 /// Resumes time on the clock
 /// </summary>
 public static void ResumeGame()
 {
     MemoryEditor.WriteBytes(0x0040B65A, new byte[] { 0 });
     MemoryEditor.WriteBytes(0x004078FB, new byte[] { 1 });
 }
コード例 #3
0
 /// <summary>
 /// Pauses time on the clock
 /// </summary>
 public static void PauseGame()
 {
     MemoryEditor.WriteBytes(0x0040B65A, new byte[] { 75 });
     MemoryEditor.WriteBytes(0x004078FB, new byte[] { 0 });
 }
コード例 #4
0
ファイル: Chat.cs プロジェクト: sam2/Pubstars2
 /// <summary>
 /// Removes the last command from game memory. Usefull when checking if there is a new command
 /// </summary>
 public static void FlushLastCommand()
 {
     MemoryEditor.WriteInt(-1, COMMAND_SOURCE);
     MemoryEditor.WriteString(" \0", COMMAND);
 }
コード例 #5
0
 /// <summary>
 /// Resumes time on the clock
 /// </summary>
 public static void ResumeGame()
 {
     MemoryEditor.WriteBytes(new byte[] { 0 }, 0x0040B65A);
     MemoryEditor.WriteBytes(new byte[] { 1 }, 0x004078FB);
 }
コード例 #6
0
 /// <summary>
 /// Pauses time on the clock
 /// </summary>
 public static void PauseGame()
 {
     MemoryEditor.WriteBytes(new byte[] { 75 }, 0x0040B65A);
     MemoryEditor.WriteBytes(new byte[] { 0 }, 0x004078FB);
 }