Beispiel #1
0
        public DCBWM(KrakenXChannel Channel, bool IsForward, bool WithMovement)
        {
            this.Channel = Channel;
            if (this.Channel.ChannelByte != 2)
            {
                throw new InvalidParamException("ChannelBytes for DCBWM param must be 0x02." +
                                                "Alternating effect can only be applied to ring.");
            }

            this.IsForward    = IsForward;
            this.WithMovement = WithMovement;
        }
Beispiel #2
0
 /// <summary>
 /// Constructs a <see cref="DCB"/> instance.
 /// </summary>
 /// <param name="Channel">The <see cref="KrakenXChannel"/> to construct the param for.</param>
 /// <param name="IsForward">Whether or not the effect is moving forward.</param>
 public DCB(KrakenXChannel Channel, bool IsForward)
 {
     this.Channel    = Channel;
     this._IsForward = IsForward;
 }