Exemplo n.º 1
0
 /// <summary>
 ///     등록된 메서드를 후크합니다.
 /// </summary>
 public override void DetainHook()
 {
     if (this.hookDirection == HookDirection.Left || this.hookDirection == HookDirection.Both)
     {
         MethodUtil.SetMethodData(this.leftMethod, this.rightMethodData);
     }
     if (this.hookDirection == HookDirection.Right || this.hookDirection == HookDirection.Both)
     {
         MethodUtil.SetMethodData(this.rightMethod, this.leftMethodData);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 ///     등록된 메서드를 언 후크합니다.
 /// </summary>
 /// <remarks>
 ///     동작하지 않는 함수입니다.
 ///     사실 왜 후크 되는지도 모릅니다. XD 꺄아아 난 멀랏
 /// </remarks>
 public override void ReleaseHook()
 {
     MethodUtil.SetMethodData(this.leftMethod, this.leftMethodData);
     MethodUtil.SetMethodData(this.rightMethod, this.rightMethodData);
 }