Example #1
0
 /// <summary>
 ///     Registers a Write Interceptor at the specified offset range
 /// </summary>
 /// <param name="writeInterceptor"></param>
 /// <param name="offsetStart"></param>
 /// <param name="offsetEnd"></param>
 public void RegisterWriteInterceptor(WriteInterceptor writeInterceptor, int offsetStart, int offsetEnd)
 {
     for (var i = offsetStart; i <= offsetEnd; i++)
     {
         RegisterWriteInterceptor(writeInterceptor, i);
     }
 }
Example #2
0
 /// <summary>
 ///     Registers a Write Interceptor at the specified offset
 /// </summary>
 /// <param name="writeInterceptor"></param>
 /// <param name="offset"></param>
 public void RegisterWriteInterceptor(WriteInterceptor writeInterceptor, int offset)
 {
     WriteInterceptors.Add(offset, writeInterceptor);
 }