Example #1
0
        public async override Task PopulateAsync()
        {
            using (var stream = new MinecraftStream(this.PacketData))
            {
                this.Channel = await stream.ReadIdentifierAsync();

                await Handlers.First(h => h.Channel == this.Channel).HandleAsync(stream);
            }
        }