public static ChannelChangeInfo RecvChannelChange(Packet p) { p.Skip(2); byte something1 = p.ReadByte(); byte something2 = p.ReadByte(); ChannelChangeInfo cci = new ChannelChangeInfo { Something = something1, Something2 = something2 }; return cci; }
public ClientChannelChangeEventArgs(ChannelChangeInfo cci) { this.channelInfo = cci; }