예제 #1
0
        protected virtual void OnHostWalk(HostWalkEventArgs e)
        {
            EventHandler <HostWalkEventArgs> handler = HostWalk;

            if (handler != null)
            {
                handler(this, e);
            }
        }
예제 #2
0
        protected void RaiseOnHostWalk(InterceptedEventArgs e)
        {
            if (HostWalk != null)
            {
                var args = new HostWalkEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostWalk(args);

                e.Cancel       = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
예제 #3
0
파일: HTriggers.cs 프로젝트: habb0/Sulakore
 protected virtual void OnHostWalk(HostWalkEventArgs e)
 {
     EventHandler<HostWalkEventArgs> handler = HostWalk;
     if (handler != null) handler(this, e);
 }
예제 #4
0
파일: HTriggers.cs 프로젝트: habb0/Sulakore
        protected void RaiseOnHostWalk(InterceptedEventArgs e)
        {
            if (HostWalk != null)
            {
                var args = new HostWalkEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostWalk(args);

                e.Cancel = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }