|
|
GameMode & | operator= (GameMode const &) |
| |
|
| GameMode (GameMode const &) |
| |
|
virtual bool | startDestroyBlock (::BlockPos const &pos, uchar face, bool &hasDestroyedBlock) |
| |
|
virtual bool | destroyBlock (::BlockPos const &pos, uchar face) |
| |
|
virtual bool | continueDestroyBlock (::BlockPos const &pos, uchar face, ::Vec3 const &playerPos, bool &hasDestroyedBlock) |
| |
|
virtual void | stopDestroyBlock (::BlockPos const &pos) |
| |
|
virtual void | startBuildBlock (::BlockPos const &pos, uchar face) |
| |
|
virtual bool | buildBlock (::BlockPos const &pos, uchar face, bool const isSimTick) |
| |
|
virtual void | continueBuildBlock (::BlockPos const &pos, uchar face) |
| |
|
virtual void | stopBuildBlock () |
| |
|
virtual void | tick () |
| |
|
virtual float | getPickRange (::InputMode const ¤tInputMode) |
| |
|
virtual bool | useItem (::ItemStack &item) |
| |
|
virtual bool | useItemAsAttack (::ItemStack &item) |
| |
|
virtual::InteractionResult | useItemOn (::ItemStack &item, ::BlockPos const &at, uchar face, ::Vec3 const &hit, ::Block const *targetBlock, bool isFirstEvent) |
| |
|
virtual bool | interact (::Actor &entity, ::Vec3 const &location) |
| |
|
virtual bool | attack (::Actor &entity) |
| |
|
virtual void | releaseUsingItem () |
| |
|
virtual void | setTrialMode (bool) |
| |
|
virtual bool | isInTrialMode () |
| |
|
virtual void | registerUpsellScreenCallback (::std::function< void(bool)>) |
| |
|
MCAPI | GameMode (::Player &player, ::std::unique_ptr<::IGameModeTimer > timer, ::std::unique_ptr<::IGameModeMessenger > messenger) |
| |
|
MCAPI bool | _attack (::Actor &entity, bool playPredictiveSound) |
| |
|
MCAPI::BlockPos | _calculatePlacePos (::ItemStack &heldStack, ::BlockPos const &pos, uchar &face) const |
| |
|
MCAPI bool | _canDestroy (::BlockPos const &pos, uchar) |
| |
|
MCAPI bool | _canUseBlock (::Block const &block) |
| |
|
MCAPI bool | _creativeDestroyBlock (::BlockPos const &pos, uchar face) |
| |
|
MCAPI bool | _enableBlockBreakDelay () const |
| |
|
MCAPI void | _sendPlayerInteractWithBlockAfterEvent (::ItemStack const &beforeItem, ::ItemStack const &afterItem, ::Player &player, ::BlockPos const &at, uchar face, ::Vec3 const &hit, bool isFirstEvent) |
| |
|
MCAPI void | _sendPlayerInteractWithEntityAfterEvent (::ItemStack const &beforeItem, ::ItemStack const &afterItem, ::Player &player, ::Actor const &entity) |
| |
|
MCAPI ::std::optional<::ItemStack > | _sendTryDestroyBlockEvent (::Block const &block, ::BlockPos const &pos, ::ItemStack itemBeforeEvent) const |
| |
|
MCAPI::InteractionResult | _sendUseItemOnEvents (::ItemStack &item, ::BlockPos const &at, uchar face, ::Vec3 const &hit, bool isFirstEvent) const |
| |
|
MCAPI bool | baseUseItem (::ItemStack &item) |
| |
|
MCAPI bool | baseUseItemAsAttack (::ItemStack &item) |
| |
|
MCAPI void | continueBuildBlockAction (::Player const &player, ::HitResult const &hr) |
| |
|
MCAPI float | getDestroyRate (::Block const &block) |
| |
|
MCAPI float | getMaxPickRange () |
| |
|
MCAPI void * | $ctor (::Player &player, ::std::unique_ptr<::IGameModeTimer > timer, ::std::unique_ptr<::IGameModeMessenger > messenger) |
| |
|
MCAPI bool | $startDestroyBlock (::BlockPos const &pos, uchar face, bool &hasDestroyedBlock) |
| |
|
MCAPI bool | $destroyBlock (::BlockPos const &pos, uchar face) |
| |
|
MCAPI bool | $continueDestroyBlock (::BlockPos const &pos, uchar face, ::Vec3 const &playerPos, bool &hasDestroyedBlock) |
| |
|
MCAPI void | $stopDestroyBlock (::BlockPos const &pos) |
| |
|
MCAPI void | $startBuildBlock (::BlockPos const &pos, uchar face) |
| |
|
MCAPI bool | $buildBlock (::BlockPos const &pos, uchar face, bool const isSimTick) |
| |
|
MCAPI void | $continueBuildBlock (::BlockPos const &pos, uchar face) |
| |
|
MCAPI void | $stopBuildBlock () |
| |
|
MCAPI void | $tick () |
| |
|
MCAPI float | $getPickRange (::InputMode const ¤tInputMode) |
| |
|
MCAPI bool | $useItem (::ItemStack &item) |
| |
|
MCAPI bool | $useItemAsAttack (::ItemStack &item) |
| |
|
MCAPI::InteractionResult | $useItemOn (::ItemStack &item, ::BlockPos const &at, uchar face, ::Vec3 const &hit, ::Block const *targetBlock, bool isFirstEvent) |
| |
|
MCAPI bool | $interact (::Actor &entity, ::Vec3 const &location) |
| |
|
MCAPI bool | $attack (::Actor &entity) |
| |
|
MCAPI void | $releaseUsingItem () |
| |
|
MCFOLD void | $setTrialMode (bool) |
| |
|
MCFOLD bool | $isInTrialMode () |
| |
|
MCFOLD void | $registerUpsellScreenCallback (::std::function< void(bool)>) |
| |
|
|
::ll::TypedStorage< 8, 8, ::Player & > | mPlayer |
| |
|
::ll::TypedStorage< 4, 12, ::BlockPos > | mDestroyBlockPos |
| |
|
::ll::TypedStorage< 1, 1, uchar > | mDestroyBlockFace |
| |
|
::ll::TypedStorage< 4, 4, float > | mOldDestroyProgress |
| |
|
::ll::TypedStorage< 4, 4, float > | mDestroyProgress |
| |
|
::ll::TypedStorage< 8, 8, double > | mLastDestroyTime |
| |
|
::ll::TypedStorage< 4, 4, float > | mDistanceTravelled |
| |
|
::ll::TypedStorage< 4, 12, ::Vec3 > | mPlayerLastPosition |
| |
|
::ll::TypedStorage< 4, 56, ::GameMode::BuildContext > | mBuildContext |
| |
|
::ll::TypedStorage< 4, 4, float > | mMinPlayerSpeed |
| |
|
::ll::TypedStorage< 4, 4, int > | mContinueBreakBlockCount |
| |
|
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > | mLastBuildTime |
| |
|
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > | mNoDestroyUntil |
| |
|
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > | mNoDestroySoundUntil |
| |
|
::ll::TypedStorage< 8, 8, ::std::chrono::milliseconds > | creativeDestructionTickDelay |
| |
|
::ll::TypedStorage< 8, 8, ::std::chrono::milliseconds > | buildingTickDelay |
| |
|
::ll::TypedStorage< 8, 8, ::std::chrono::milliseconds > | destroySoundDelay |
| |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IGameModeTimer > > | mTimer |
| |
|
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IGameModeMessenger > > | mMessenger |
| |