Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Release 2.15.0 (LiteLDev#1333)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox authored Jul 19, 2023
2 parents 62b3942 + 3a1e05f commit 50eb265
Show file tree
Hide file tree
Showing 1,577 changed files with 43,954 additions and 44,198 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ jobs:
with:
prerelease: false
tag: ${{ github.event.inputs.tag }}
bodyFile: RELEASE_NOTES.md
artifacts: |
build/LiteLoaderBDS.zip
build/PDB.zip
Expand All @@ -203,7 +202,6 @@ jobs:
with:
prerelease: true
tag: ${{ github.event.inputs.tag }}
bodyFile: RELEASE_NOTES.md
artifacts: |
build/LiteLoaderBDS.zip
build/PDB.zip
Expand Down
6 changes: 3 additions & 3 deletions LiteLoader/include/liteloader/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
#define LITELOADER_VERSION_RELEASE 2

#define LITELOADER_VERSION_MAJOR 2
#define LITELOADER_VERSION_MINOR 14
#define LITELOADER_VERSION_REVISION 1
#define LITELOADER_VERSION_MINOR 15
#define LITELOADER_VERSION_REVISION 0
#define LITELOADER_VERSION_COMMIT_SHA UNKNOWN
#define LITELOADER_VERSION_STATUS LITELOADER_VERSION_DEV
#define LITELOADER_VERSION_STATUS_VERSION 0

#define TARGET_BDS_PROTOCOL_VERSION 589
#define TARGET_BDS_PROTOCOL_VERSION 594

#define LITELOADER_VERSION ll::getLoaderVersion()

Expand Down
6 changes: 5 additions & 1 deletion LiteLoader/include/llapi/DynamicCommandAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class Player;
bool const*, int const*, float const*, std::string const*, CommandSelector<Actor> const*, \
CommandSelector<Player> const*, CommandPosition const*, CommandPositionFloat const*, CommandRawText const*, \
CommandMessage const*, Json::Value const*, CommandItem const*, CommandBlockName const*, \
MobEffect const* const*, ActorDefinitionIdentifier const* const*, std::unique_ptr<Command> const*
MobEffect const* const*, ActorDefinitionIdentifier const* const*, std::unique_ptr<Command> const*, \
std::vector<class BlockStateCommandParam> const*

/**
* @brief The dynamic command
Expand Down Expand Up @@ -221,6 +222,7 @@ class DynamicCommand : public Command {
ActorType, // ActorDefinitionIdentifier const*
Command, // std::unique_ptr<Command>
WildcardSelector, // WildcardCommandSelector<Actor>
BlockState,

#ifdef ENABLE_PARAMETER_TYPE_POSTFIX
Postfix, // int?
Expand Down Expand Up @@ -466,6 +468,8 @@ class DynamicCommand : public Command {
return std::is_same_v<CommandItem, std::remove_cv_t<_Ty>>;
case ParameterType::Block:
return std::is_same_v<CommandBlockName, std::remove_cv_t<_Ty>>;
case ParameterType::BlockState:
return std::is_same_v<std::vector<BlockStateCommandParam>, std::remove_cv_t<_Ty>>;
case ParameterType::Effect:
return std::is_same_v<MobEffect const*, std::remove_cv_t<_Ty>>;
// case ParameterType::Position:
Expand Down
8 changes: 4 additions & 4 deletions LiteLoader/include/llapi/SendPacketAPI.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#pragma once
#include "llapi/mc/BinaryStream.hpp"
#include "llapi/mc/Packet.hpp"
#include "llapi/mc/ExtendedStreamReadResult.hpp"

template <int pid, bool batching = true, bool compress = true>
class NetworkPacket : public Packet {
Expand All @@ -26,7 +25,8 @@ class NetworkPacket : public Packet {
virtual void write(BinaryStream& bs) const {
bs.getRaw().append(view);
}
virtual struct ExtendedStreamReadResult readExtended(class ReadOnlyBinaryStream &) {

virtual class Bedrock::Result<void, class std::error_code> read(class ReadOnlyBinaryStream&) {
throw("TODO");
}
virtual bool disallowBatching() const {
Expand All @@ -36,8 +36,8 @@ class NetworkPacket : public Packet {
throw("TODO");
}

virtual ExtendedStreamReadResult _read(class ReadOnlyBinaryStream&) override {
virtual class Bedrock::Result<void, class std::error_code> _read(class ReadOnlyBinaryStream&) override {
throw("TODO in MyPkt::_read()");
return ExtendedStreamReadResult{(enum StreamReadResult)0, ""};
//return ExtendedStreamReadResult{(enum StreamReadResult)0, ""};
}
};
35 changes: 0 additions & 35 deletions LiteLoader/include/llapi/mc/AABBShapeComponent.hpp

This file was deleted.

4 changes: 0 additions & 4 deletions LiteLoader/include/llapi/mc/Abilities.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ class Abilities {
* @symbol ?getDefault\@Abilities\@\@SAAEBVAbility\@\@W4AbilitiesIndex\@\@\@Z
*/
MCAPI static class Ability const & getDefault(enum class AbilitiesIndex);
/**
* @symbol ?getDiff\@Abilities\@\@SA?AV?$optional\@V?$basic_string\@DU?$char_traits\@D\@std\@\@V?$allocator\@D\@2\@\@std\@\@\@std\@\@AEBV1\@0\@Z
*/
MCAPI static class std::optional<std::string> getDiff(class Abilities const &, class Abilities const &);
/**
* @symbol ?nameToAbilityIndex\@Abilities\@\@SA?AW4AbilitiesIndex\@\@AEBV?$basic_string\@DU?$char_traits\@D\@std\@\@V?$allocator\@D\@2\@\@std\@\@\@Z
*/
Expand Down
2 changes: 1 addition & 1 deletion LiteLoader/include/llapi/mc/AbilityCommand.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class AbilityCommand : public Command {
*/
virtual void __unk_vfn_0();
/**
* @vftbl 2
* @vftbl 1
* @symbol ?execute\@AbilityCommand\@\@UEBAXAEBVCommandOrigin\@\@AEAVCommandOutput\@\@\@Z
*/
virtual void execute(class CommandOrigin const &, class CommandOutput &) const;
Expand Down
142 changes: 71 additions & 71 deletions LiteLoader/include/llapi/mc/AbstractArrow.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,157 +47,157 @@ class AbstractArrow : public PredictableProjectile {
*/
virtual void __unk_vfn_16();
/**
* @vftbl 40
* @symbol __unk_vfn_40
* @vftbl 35
* @symbol __unk_vfn_35
*/
virtual void __unk_vfn_40();
virtual void __unk_vfn_35();
/**
* @vftbl 46
* @vftbl 41
* @symbol ?lerpMotion\@AbstractArrow\@\@UEAAXAEBVVec3\@\@\@Z
*/
virtual void lerpMotion(class Vec3 const &);
/**
* @vftbl 61
* @symbol __unk_vfn_61
* @vftbl 55
* @symbol __unk_vfn_55
*/
virtual void __unk_vfn_61();
virtual void __unk_vfn_55();
/**
* @vftbl 68
* @symbol __unk_vfn_68
* @vftbl 62
* @symbol __unk_vfn_62
*/
virtual void __unk_vfn_68();
virtual void __unk_vfn_62();
/**
* @vftbl 77
* @vftbl 68
* @symbol ?getShadowHeightOffs\@AbstractArrow\@\@UEAAMXZ
*/
virtual float getShadowHeightOffs();
/**
* @vftbl 78
* @vftbl 69
* @symbol ?getShadowRadius\@AbstractArrow\@\@UEBAMXZ
*/
virtual float getShadowRadius() const;
/**
* @vftbl 80
* @symbol __unk_vfn_80
* @vftbl 71
* @symbol __unk_vfn_71
*/
virtual void __unk_vfn_80();
virtual void __unk_vfn_71();
/**
* @vftbl 86
* @symbol __unk_vfn_86
* @vftbl 77
* @symbol __unk_vfn_77
*/
virtual void __unk_vfn_86();
virtual void __unk_vfn_77();
/**
* @vftbl 87
* @vftbl 78
* @symbol ?playerTouch\@AbstractArrow\@\@UEAAXAEAVPlayer\@\@\@Z
*/
virtual void playerTouch(class Player &);
/**
* @vftbl 94
* @symbol __unk_vfn_94
* @vftbl 83
* @symbol __unk_vfn_83
*/
virtual void __unk_vfn_94();
virtual void __unk_vfn_83();
/**
* @vftbl 97
* @symbol __unk_vfn_97
* @vftbl 86
* @symbol __unk_vfn_86
*/
virtual void __unk_vfn_97();
virtual void __unk_vfn_86();
/**
* @vftbl 104
* @symbol __unk_vfn_104
* @vftbl 93
* @symbol __unk_vfn_93
*/
virtual void __unk_vfn_104();
virtual void __unk_vfn_93();
/**
* @vftbl 106
* @symbol __unk_vfn_106
* @vftbl 95
* @symbol __unk_vfn_95
*/
virtual void __unk_vfn_106();
virtual void __unk_vfn_95();
/**
* @vftbl 107
* @symbol __unk_vfn_107
* @vftbl 96
* @symbol __unk_vfn_96
*/
virtual void __unk_vfn_107();
virtual void __unk_vfn_96();
/**
* @vftbl 109
* @symbol __unk_vfn_109
* @vftbl 98
* @symbol __unk_vfn_98
*/
virtual void __unk_vfn_109();
virtual void __unk_vfn_98();
/**
* @vftbl 167
* @vftbl 155
* @symbol ?getSourceUniqueID\@AbstractArrow\@\@MEBA?AUActorUniqueID\@\@XZ
*/
virtual struct ActorUniqueID getSourceUniqueID() const;
/**
* @vftbl 175
* @vftbl 163
* @symbol ?canChangeDimensionsUsingPortal\@AbstractArrow\@\@UEBA_NXZ
*/
virtual bool canChangeDimensionsUsingPortal() const;
/**
* @vftbl 176
* @symbol __unk_vfn_176
* @vftbl 164
* @symbol __unk_vfn_164
*/
virtual void __unk_vfn_176();
virtual void __unk_vfn_164();
/**
* @vftbl 190
* @symbol __unk_vfn_190
* @vftbl 178
* @symbol __unk_vfn_178
*/
virtual void __unk_vfn_190();
virtual void __unk_vfn_178();
/**
* @vftbl 215
* @symbol __unk_vfn_215
* @vftbl 202
* @symbol __unk_vfn_202
*/
virtual void __unk_vfn_215();
virtual void __unk_vfn_202();
/**
* @vftbl 216
* @symbol __unk_vfn_216
* @vftbl 203
* @symbol __unk_vfn_203
*/
virtual void __unk_vfn_216();
virtual void __unk_vfn_203();
/**
* @vftbl 232
* @symbol __unk_vfn_232
* @vftbl 219
* @symbol __unk_vfn_219
*/
virtual void __unk_vfn_232();
virtual void __unk_vfn_219();
/**
* @vftbl 235
* @symbol __unk_vfn_235
* @vftbl 222
* @symbol __unk_vfn_222
*/
virtual void __unk_vfn_235();
virtual void __unk_vfn_222();
/**
* @vftbl 252
* @symbol __unk_vfn_252
* @vftbl 239
* @symbol __unk_vfn_239
*/
virtual void __unk_vfn_252();
virtual void __unk_vfn_239();
/**
* @vftbl 256
* @vftbl 243
* @symbol ?readAdditionalSaveData\@AbstractArrow\@\@MEAAXAEBVCompoundTag\@\@AEAVDataLoadHelper\@\@\@Z
*/
virtual void readAdditionalSaveData(class CompoundTag const &, class DataLoadHelper &);
/**
* @vftbl 257
* @vftbl 244
* @symbol ?addAdditionalSaveData\@AbstractArrow\@\@MEBAXAEAVCompoundTag\@\@\@Z
*/
virtual void addAdditionalSaveData(class CompoundTag &) const;
/**
* @vftbl 260
* @symbol __unk_vfn_260
* @vftbl 247
* @symbol __unk_vfn_247
*/
virtual void __unk_vfn_260();
virtual void __unk_vfn_247();
/**
* @vftbl 267
* @symbol __unk_vfn_267
* @vftbl 253
* @symbol __unk_vfn_253
*/
virtual void __unk_vfn_267();
virtual void __unk_vfn_253();
/**
* @vftbl 268
* @vftbl 254
* @symbol ?shoot\@AbstractArrow\@\@UEAAXAEBVVec3\@\@MM0\@Z
*/
virtual void shoot(class Vec3 const &, float, float, class Vec3 const &);
/**
* @vftbl 269
* @vftbl 255
* @symbol ?_playPickupSound\@AbstractArrow\@\@MEAAXXZ
*/
virtual void _playPickupSound();
/**
* @vftbl 270
* @vftbl 256
* @symbol ?_getPickupItem\@ThrownTrident\@\@MEBA?AVItemStack\@\@XZ
*/
virtual class ItemStack _getPickupItem() const = 0;
Expand Down
Loading

0 comments on commit 50eb265

Please sign in to comment.