コード例 #1
0
        public async Task ReadAsync(MinecraftStream stream)
        {
            this.Position = await stream.ReadAbsolutePositionAsync();

            this.Pitch = await stream.ReadFloatAsync();

            this.Yaw = await stream.ReadFloatAsync();

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