/// <summary> /// Creates a new relative AOB pointer. /// </summary> public PHPointerAOBRelative(PHook parent, byte?[] aob, int addressOffset, int instructionSize, params int[] offsets) : base(parent, aob, offsets) { AddressOffset = addressOffset; InstructionSize = instructionSize; }
/// <summary> /// Creates a new child pointer. /// </summary> public PHPointerChild(PHook parent, PHPointer pointer, params int[] offsets) : base(parent, offsets) { BasePointer = pointer; }
/// <summary> /// Creates a new AOB pointer. /// </summary> public PHPointerAOB(PHook parent, byte?[] aob, int[] offsets) : base(parent, offsets) { AOB = aob; }
/// <summary> /// Creates a new base pointer. /// </summary> public PHPointerBase(PHook parent, IntPtr address, params int[] offsets) : base(parent, offsets) { BaseAddress = address; }
/// <summary> /// Creates a new absolute AOB pointer. /// </summary> public PHPointerAOBAbsolute(PHook parent, byte?[] aob, params int[] offsets) : base(parent, aob, offsets) { }
/// <summary> /// Create a new PHEventArgs with the given hook. /// </summary> public PHEventArgs(PHook hook) { Hook = hook; }
/// <summary> /// Creates a new PHPointer. /// </summary> protected PHPointer(PHook parent, int[] offsets) { Hook = parent; Offsets = offsets; }