Пример #1
0
        public async Task ReadAsync(MinecraftStream stream)
        {
            this.Position = await stream.ReadAbsolutePositionFAsync();

            this.Pitch = await stream.ReadFloatAsync();

            this.Yaw = await stream.ReadFloatAsync();

            this.OnGround = await stream.ReadBooleanAsync();
        }