public static void writeInt32(uint Address, int toWrite) { byte[] lpBuffer = BitConverter.GetBytes(toWrite); int bytesWritten = 0; ReadMemory.WriteInt32(Address + Base, Handle, lpBuffer, 4, ref bytesWritten); }
public static void WriteString(string inputString, uint address) { string temp = ActualInput; byte[] bytes = Encoding.ASCII.GetBytes(inputString); int bufferLength = bytes.Length; int numberOfBytesWritten = 0; ReadMemory.WriteString(Base + address, Handle, bytes, bufferLength, ref numberOfBytesWritten); }
public static int getIntegerDataFromDynamicAddress(uint Address) { return(ReadMemory.ReadInt32(Address, Handle)); }
public static string getStringFromDynamicAddress(uint Address, uint length = 32) { return(ReadMemory.ReadString(Address, Handle, length)); }
public static int getByteAsIntegerFromAddress(uint Address) { return((int)ReadMemory.ReadBytes(Handle, (long)(Base + Address), 1).FirstOrDefault()); }