예제 #1
0
 protected void OnMessageDirection(EntityHeadDirectionMessage ea)
 {
     if (MessageDirection != null)
     {
         MessageDirection(this, new ProtocolMessageEventArgs <EntityHeadDirectionMessage> {
             Message = ea
         });
     }
 }
예제 #2
0
        protected void OnMessageDirection(EntityHeadDirectionMessage ea)
        {
            var handler = MessageDirection;

            if (handler != null)
            {
                handler(this, new ProtocolMessageEventArgs <EntityHeadDirectionMessage> {
                    Message = ea
                });
            }
        }