예제 #1
0
 private void restoreToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         Dank.SetMeme(restoreGame, restore);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
예제 #2
0
 public static void ChangeString(uint freemem, byte[] value, string inputBox, uint pointer)
 {
     Dank.SetMeme(freemem, clearmem);
     Dank.WriteString(freemem, inputBox);
     Dank.SetMeme(pointer, value);
 }
예제 #3
0
 public static void SetName(uint Offset, string Text)
 {
     byte[] bytes = Encoding.ASCII.GetBytes(Text);
     Array.Resize <byte>(ref bytes, bytes.Length + 1);
     Dank.SetMeme(Offset, bytes);
 }