Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public static int getIntegerDataFromDynamicAddress(uint Address)
 {
     return(ReadMemory.ReadInt32(Address, Handle));
 }
Exemplo n.º 4
0
 public static string getStringFromDynamicAddress(uint Address, uint length = 32)
 {
     return(ReadMemory.ReadString(Address, Handle, length));
 }
Exemplo n.º 5
0
 public static int getByteAsIntegerFromAddress(uint Address)
 {
     return((int)ReadMemory.ReadBytes(Handle, (long)(Base + Address), 1).FirstOrDefault());
 }