FrameTrapped.Input.Utilities.SF4Memory.readIntFromGameMemory C# (CSharp) Method

readIntFromGameMemory() private method

private readIntFromGameMemory ( int address, int offsets ) : int
address int
offsets int
return int
        private int readIntFromGameMemory(int address, int[] offsets)
        {
            if (this.memory.OpenProcess("SSFIV"))
            {
                return Convert.ToInt32(this.memory.ReadInt(this.memory.BaseAddress() + (address + steamVersionMemoryOffset), offsets));

            }
            else
            {
                return -1;
            }
        }