コード例 #1
0
        public IPacket ReadPacket(IMinecraftDataReader reader)
        {
            Vector3 = Vector3.FromReaderDouble(reader);
            Yaw     = reader.ReadFloat();
            Pitch   = reader.ReadFloat();
            Flags   = (PlayerPositionAndLookFlags)reader.ReadSByte();

            return(this);
        }
コード例 #2
0
        public IPacket ReadPacket(IMinecraftDataReader reader)
        {
            Vector3 = Vector3.FromReaderDouble(reader);
            Yaw = reader.ReadFloat();
            Pitch = reader.ReadFloat();
            Flags = (PlayerPositionAndLookFlags) reader.ReadSByte();

            return this;
        }