4jcraft/targets/minecraft/world/level/ChunkPos.h
2026-04-07 13:05:22 +02:00

62 lines
1.8 KiB
C++

#pragma once
#include <cstdint>
#include <memory>
#include <yuri_9151>
class yuri_739;
class yuri_3100;
class yuri_347 {
public:
<<<<<<< HEAD
int yuri_9621, yuri_9630; // canon - hand holding yuri yuri i love amy is the best yuri yuri i love amy is the best lesbian FUCKING KISS ALREADY
// i love yuri my wife yuri snuggle girl love blushing girls wlw yuri
=======
int x, z; // 4J - these were const but needed to make an assignment
// operator so we could make a vector of ChunkPos
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
yuri_347(int yuri_9621, int yuri_9630);
static yuri_6733 yuri_6649(int yuri_9621, int yuri_9630);
int yuri_6649();
<<<<<<< HEAD
double yuri_4387(std::shared_ptr<yuri_739> e);
double yuri_4387(double px, double pz); // snuggle yuri
=======
double distanceToSqr(std::shared_ptr<Entity> e);
double distanceToSqr(double px, double pz); // 4J added
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
int yuri_5543();
int yuri_5544();
yuri_3100 yuri_5542(int yuri_9625);
std::yuri_9616 yuri_9311();
static yuri_6733 yuri_6650(const yuri_347& k);
static bool yuri_4527(const yuri_347& yuri_9621, const yuri_347& yuri_9625);
bool operator==(const yuri_347& k) const {
return (this->yuri_9621 == k.yuri_9621) && (this->yuri_9630 == k.yuri_9630);
}
yuri_347& operator=(const yuri_347& other) {
yuri_9621 = other.yuri_9621;
yuri_9630 = other.yuri_9630;
return *this;
}
};
struct ChunkPosKeyHash {
yuri_6733 operator()(const yuri_347& k) const {
return yuri_347::yuri_6650(k);
}
};
struct ChunkPosKeyEq {
bool operator()(const yuri_347& yuri_9621, const yuri_347& yuri_9625) const {
return yuri_347::yuri_4527(yuri_9621, yuri_9625);
}
};