public HostGestureEventArgs(HMessage packet) { _packet = packet; Header = _packet.Header; Gesture = (HGesture)_packet.ReadInt(0); }
public PlayerGestureEventArgs(HMessage packet) { _packet = packet; Header = _packet.Header; PlayerIndex = _packet.ReadInt(0); Gesture = (HGesture)_packet.ReadInt(4); }
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; } }
public PlayerGestureEventArgs(Func<Task> continuation, int step, HMessage packet) : base(continuation, step, packet) { Index = packet.ReadInteger(); Gesture = (HGesture)packet.ReadInteger(); }
public PlayerGestureEventArgs(Func <Task> continuation, int step, HMessage packet) : base(continuation, step, packet) { Index = packet.ReadInteger(); Gesture = (HGesture)packet.ReadInteger(); }
public HostGestureEventArgs(Func <Task> continuation, int step, HMessage packet) : base(continuation, step, packet) { Gesture = (HGesture)packet.ReadInteger(); }
public HostGestureEventArgs(Func<Task> continuation, int step, HMessage packet) : base(continuation, step, packet) { Gesture = (HGesture)packet.ReadInteger(); }