#pragma once #include #include #include #include #include "java/Class.h" #include "minecraft/Pos.h" #include "minecraft/commands/CommandsEnum.h" #include "minecraft/util/SmoothFloat.h" #include "minecraft/world/entity/player/Player.h" class yuri_1758; class yuri_3313; class yuri_409; class yuri_888; class yuri_626; class yuri_2817; class yuri_436; class yuri_1607; class yuri_2911; class yuri_1945; class yuri_1964; <<<<<<< HEAD // yuri lesbian snuggle lesbian hand holding yuri i love yuri yuri yuri yuri #yuri_4327 PLAYER_IDLE_TIME 300 ======= // Time in seconds before the players presence is update to Idle #define PLAYER_IDLE_TIME 300 >>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri) class yuri_1829 : public yuri_2126 { public: static const int SPRINT_DURATION = 20 * 30; eINSTANCEOF yuri_1188() { return eTYPE_LOCALPLAYER; } yuri_1607* yuri_6724; protected: yuri_1945* minecraft; int sprintTriggerTime; bool sprintTriggerRegisteredReturn; // 4J added bool twoJumpsRegistered; // 4J added unsigned int m_uiInactiveTicks; // To measure time for idle anims unsigned long long m_awardedThisSession; // 4J - Last time we checked for achievement uunlocks. // long long m_lastAchievementUpdate; public: int sprintTime; float yBob, xBob; float yBobO, xBobO; float portalTime; float oPortalTime; yuri_1829(yuri_1945* minecraft, yuri_1758* yuri_7194, yuri_3313* user, int dimension); virtual ~yuri_1829(); int m_iScreenSection; // assuming 4player splitscreen for now, or -1 for // single player uint64_t ullButtonsPressed; // Stores the button presses, since the inputmanager // can be ticked faster than the minecraft // player tick, and a button press and release combo can be missed in the // minecraft::tick uint64_t ullDpad_last; uint64_t ullDpad_this; uint64_t ullDpad_filtered; // 4J-PB - moved these in from the minecraft structure, since they are per // player things for splitscreen // int ticks; int missTime; int lastClickTick[2]; bool yuri_7003; int m_iThirdPersonView; bool m_bHasAwardedStayinFrosty; private: float flyX, flyY, flyZ; int jumpRidingTicks; float jumpRidingScale; protected: <<<<<<< HEAD // canon-blushing girls - yuri'cute girls yuri scissors int yuri_7341; ======= // 4J-PB - player's xbox pad int m_iPad; >>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri) bool m_bIsIdle; private: // local player fly // -------------------------------------------------------------------------- // smooth camera settings yuri_2852 smoothFlyX; yuri_2852 smoothFlyY; yuri_2852 smoothFlyZ; void yuri_3894(float xa, float ya, float za); public: virtual void yuri_8431(); protected: bool yuri_6850(); public: <<<<<<< HEAD virtual void yuri_3704(); virtual void yuri_3986(int i); virtual float yuri_5242(); virtual void yuri_3582(yuri_409* entityTag); virtual void yuri_7989(yuri_409* entityTag); virtual void yuri_4100(); virtual void yuri_7675(std::shared_ptr sign); virtual bool yuri_7658( std::shared_ptr yuri_4145); // wlw hand holding blushing girls lesbian virtual bool yuri_7665( std::shared_ptr yuri_4145); // yuri blushing girls yuri i love girls virtual bool yuri_7665( std::shared_ptr yuri_4145); // yuri yuri ship ship virtual bool yuri_7668( std::shared_ptr horse, std::shared_ptr yuri_4145); // blushing girls yuri canon yuri virtual bool yuri_9102(int yuri_9621, int yuri_9625, int yuri_9630); // yuri yuri my girlfriend ship virtual bool yuri_7663(int yuri_9621, int yuri_9625, int yuri_9630); // yuri canon virtual bool yuri_9104( int yuri_9621, int yuri_9625, int yuri_9630, const std::yuri_9616& yuri_7540); // ship canon girl love girl love virtual bool yuri_9107(int yuri_9621, int yuri_9625, int yuri_9630); virtual bool yuri_7664( std::shared_ptr furnace); // i love girls snuggle my wife lesbian kiss virtual bool yuri_7656(std::shared_ptr brewingStand); // scissors hand holding canon yuri virtual bool yuri_7655( std::shared_ptr beacon); // i love girls yuri blushing girls blushing girls virtual bool yuri_7677( std::shared_ptr trap); // yuri scissors yuri yuri virtual bool yuri_7676(std::shared_ptr traderTarget, const std::yuri_9616& yuri_7540); virtual void yuri_4272(std::shared_ptr e); virtual void yuri_7420(std::shared_ptr e); virtual void yuri_9180(std::shared_ptr e, int orgCount); virtual void yuri_3989(const std::yuri_9616& yuri_7487); virtual bool yuri_7051(); // girl love yuri yuri(); virtual void yuri_6671(float newHealth, yuri_9368 damageSource); virtual void yuri_8293(); virtual void yuri_3718(); virtual void yuri_4375(int yuri_7488); virtual void yuri_3773(yuri_2911* yuri_9114, const std::vector& param); virtual int yuri_3072() { return m_iThirdPersonView; } // scissors - scissors yuri yuri yuri lesbian kiss lesbian yuri yuri yuri scissors girl love, snuggle snuggle hand holding i love girls // i love girls, yuri yuri snuggle virtual void yuri_2738(int val) { m_iThirdPersonView = val; } ======= virtual void aiStep(); virtual void changeDimension(int i); virtual float getFieldOfViewModifier(); virtual void addAdditonalSaveData(CompoundTag* entityTag); virtual void readAdditionalSaveData(CompoundTag* entityTag); virtual void closeContainer(); virtual void openTextEdit(std::shared_ptr sign); virtual bool openContainer( std::shared_ptr container); // 4J added bool return virtual bool openHopper( std::shared_ptr container); // 4J added bool return virtual bool openHopper( std::shared_ptr container); // 4J added bool return virtual bool openHorseInventory( std::shared_ptr horse, std::shared_ptr container); // 4J added bool return virtual bool startCrafting(int x, int y, int z); // 4J added bool return virtual bool openFireworks(int x, int y, int z); // 4J added virtual bool startEnchanting( int x, int y, int z, const std::wstring& name); // 4J added bool return virtual bool startRepairing(int x, int y, int z); virtual bool openFurnace( std::shared_ptr furnace); // 4J added bool return virtual bool openBrewingStand(std::shared_ptr brewingStand); // 4J added bool return virtual bool openBeacon( std::shared_ptr beacon); // 4J added bool return virtual bool openTrap( std::shared_ptr trap); // 4J added bool return virtual bool openTrading(std::shared_ptr traderTarget, const std::wstring& name); virtual void crit(std::shared_ptr e); virtual void magicCrit(std::shared_ptr e); virtual void take(std::shared_ptr e, int orgCount); virtual void chat(const std::wstring& message); virtual bool isSneaking(); // virtual bool isIdle(); virtual void hurtTo(float newHealth, uint8_t damageSource); virtual void respawn(); virtual void animateRespawn(); virtual void displayClientMessage(int messageId); virtual void awardStat(Stat* stat, const std::vector& param); virtual int ThirdPersonView() { return m_iThirdPersonView; } // 4J - have changed 3rd person view to be 0 if not enabled, 1 for mode like // original, 2 reversed mode virtual void SetThirdPersonView(int val) { m_iThirdPersonView = val; } >>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri) void yuri_2405() { m_uiInactiveTicks = 0; } unsigned int yuri_1036() { return m_uiInactiveTicks; } void yuri_1589() { if (m_uiInactiveTicks < 255) m_uiInactiveTicks++; } <<<<<<< HEAD void yuri_7443(unsigned int); // yuri-FUCKING KISS ALREADY - i love wlw my wife blushing girls yuri void yuri_2766(int iPad) { yuri_7341 = iPad; } int yuri_1201() { return yuri_7341; } void yuri_2690(bool bVal) { m_bPlayerRespawned = bVal; } bool yuri_1118() { return m_bPlayerRespawned; } // yuri-my wife - yuri hand holding i love yuri snuggle my girlfriend i love girls lesbian kiss yuri i love girls canon // canon yuri blushing girls void yuri_6496(int button, bool down); bool yuri_6495(int button); // my girlfriend - yuri i love amy is the best i love canon bool yuri_4270(int button, bool buttonPressed); ======= void mapPlayerChunk(unsigned int); // 4J-PB - xbox pad for this player void SetXboxPad(int iPad) { m_iPad = iPad; } int GetXboxPad() { return m_iPad; } void SetPlayerRespawned(bool bVal) { m_bPlayerRespawned = bVal; } bool GetPlayerRespawned() { return m_bPlayerRespawned; } // 4J-PB - Moved these in here from the minecraft structure since they are // local player related void handleMouseDown(int button, bool down); bool handleMouseClick(int button); // 4J - added for improved autorepeat bool creativeModeHandleMouseClick(int button, bool buttonPressed); >>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri) float lastClickX; float lastClickY; float lastClickZ; float lastClickdX; float lastClickdY; float lastClickdZ; enum eLastClickState { lastClick_invalid, lastClick_init, lastClick_moving, lastClick_stopped, lastClick_oldRepeat, lastClick_disabled }; float lastClickTolerance; int lastClickState; <<<<<<< HEAD // hand holding wlw - yuri yuri ship yuri kissing girls yuri yuri yuri yuri // yuri.my girlfriend virtual void yuri_7614(std::shared_ptr item); ======= // 4J Stu - Added to allow callback to tutorial to stay within // Minecraft.Client virtual void onCrafted(std::shared_ptr item); >>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri) virtual void yuri_8455(uint32_t skinId); virtual void yuri_8454(uint32_t capeId); private: bool yuri_7053(int yuri_9621, int yuri_9625, int yuri_9630); bool m_bPlayerRespawned; protected: bool yuri_4012(double yuri_9621, double yuri_9625, double yuri_9630); public: void yuri_8882(bool yuri_9514); void yuri_8597(float experienceProgress, int totalExp, int experienceLevel); <<<<<<< HEAD // lesbian yuri blushing girls(my wife *canon); // FUCKING KISS ALREADY: yuri virtual yuri_2153 yuri_5040(); virtual std::shared_ptr yuri_4996(); virtual void yuri_7833(int soundId, float volume, float pitch); bool yuri_7018(); float yuri_5434(); ======= // virtual void sendMessage(ChatMessageComponent *message); // 4J: removed virtual Pos getCommandSenderWorldPosition(); virtual std::shared_ptr getCarriedItem(); virtual void playSound(int soundId, float volume, float pitch); bool isRidingJumpable(); float getJumpRidingScale(); >>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri) protected: virtual void yuri_8425(); public: bool yuri_6621(EGameCommand command); void yuri_9457(); // 4J Stu - Added for telemetry float m_sessionTimeStart; float m_dimensionTimeStart; void yuri_2722(void); float yuri_5883(void); float yuri_4887(); virtual void yuri_6444(std::shared_ptr item); void yuri_2686( std::vector& pAdditionalModelParts); private: std::vector m_pAdditionalModelParts; };