Exemple #1
0
 /// <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;
 }
Exemple #3
0
 /// <summary>
 /// Creates a new AOB pointer.
 /// </summary>
 public PHPointerAOB(PHook parent, byte?[] aob, int[] offsets) : base(parent, offsets)
 {
     AOB = aob;
 }
Exemple #4
0
 /// <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)
 {
 }
Exemple #6
0
 /// <summary>
 /// Create a new PHEventArgs with the given hook.
 /// </summary>
 public PHEventArgs(PHook hook)
 {
     Hook = hook;
 }
Exemple #7
0
 /// <summary>
 /// Creates a new PHPointer.
 /// </summary>
 protected PHPointer(PHook parent, int[] offsets)
 {
     Hook    = parent;
     Offsets = offsets;
 }