예제 #1
0
        public HostDanceEventArgs(HMessage packet)
        {
            _packet = packet;
            Header  = _packet.Header;

            Dance = (HDance)_packet.ReadInt(0);
        }
예제 #2
0
        public PlayerDanceEventArgs(HMessage packet)
        {
            _packet = packet;
            Header  = _packet.Header;

            PlayerIndex = _packet.ReadInt(0);
            Dance       = (HDance)_packet.ReadInt(4);
        }
예제 #3
0
 public HostDanceEventArgs(Func<Task> continuation, int step, HMessage packet)
     : base(continuation, step, packet)
 {
     Dance = (HDance)packet.ReadInteger();
 }
예제 #4
0
 public PlayerDanceEventArgs(Func <Task> continuation, int step, HMessage packet)
     : base(continuation, step, packet)
 {
     Index = packet.ReadInteger();
     Dance = (HDance)packet.ReadInteger();
 }
예제 #5
0
 public HostDanceEventArgs(Func <Task> continuation, int step, HMessage packet)
     : base(continuation, step, packet)
 {
     Dance = (HDance)packet.ReadInteger();
 }
예제 #6
0
 public PlayerDanceEventArgs(Func<Task> continuation, int step, HMessage packet)
     : base(continuation, step, packet)
 {
     Index = packet.ReadInteger();
     Dance = (HDance)packet.ReadInteger();
 }