Exemplo n.º 1
0
        public HostGestureEventArgs(HMessage packet)
        {
            _packet = packet;
            Header  = _packet.Header;

            Gesture = (HGesture)_packet.ReadInt(0);
        }
Exemplo n.º 2
0
        public PlayerGestureEventArgs(HMessage packet)
        {
            _packet = packet;
            Header  = _packet.Header;

            PlayerIndex = _packet.ReadInt(0);
            Gesture     = (HGesture)_packet.ReadInt(4);
        }
Exemplo n.º 3
0
        public void Gesture(HGesture gesture)
        {
            switch (gesture)
            {
            case HGesture.Wave: Say("o/"); break;

            case HGesture.Idle: Say(":idle"); break;

            case HGesture.ThumbsUp: Say("_b"); break;

            case HGesture.BlowKiss: Say(":kiss"); break;

            case HGesture.Laugh: Say(":whisper  :D"); break;
            }
        }
Exemplo n.º 4
0
 public PlayerGestureEventArgs(Func<Task> continuation, int step, HMessage packet)
     : base(continuation, step, packet)
 {
     Index = packet.ReadInteger();
     Gesture = (HGesture)packet.ReadInteger();
 }
Exemplo n.º 5
0
 public PlayerGestureEventArgs(Func <Task> continuation, int step, HMessage packet)
     : base(continuation, step, packet)
 {
     Index   = packet.ReadInteger();
     Gesture = (HGesture)packet.ReadInteger();
 }
Exemplo n.º 6
0
 public HostGestureEventArgs(Func <Task> continuation, int step, HMessage packet)
     : base(continuation, step, packet)
 {
     Gesture = (HGesture)packet.ReadInteger();
 }
Exemplo n.º 7
0
 public HostGestureEventArgs(Func<Task> continuation, int step, HMessage packet)
     : base(continuation, step, packet)
 {
     Gesture = (HGesture)packet.ReadInteger();
 }