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

Commit

Permalink
prepare for 0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Feb 11, 2021
1 parent f3f1c7d commit ff5bf77
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion headers/liteloader.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#pragma once
#define LIAPI __declspec(dllexport)
typedef unsigned char uchar;
#define LiteLoaderVersion "0.1.3"
#define LiteLoaderVersion "0.1.4"
4 changes: 4 additions & 0 deletions headers/mc/Core.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class BlockPos {
inline bool operator!=(BlockPos const& rv)const {
return x != rv.x || y != rv.y || z != rv.z;
}
inline std::string toString() {
return std::to_string(x) + "," + std::to_string(y) + "," + std::to_string(z);
}
//template<typename _TP>
/*void pack(WBStreamImpl<_TP>& ws) const {
ws.apply(x, y, z);
Expand All @@ -47,6 +50,7 @@ class BlockPos {
rs.apply(x, y, z);
}*/
};

struct IVec2 {
int x, z;
IVec2(Vec3 l) {
Expand Down
2 changes: 2 additions & 0 deletions headers/mc/Item.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once
#include "Core.h"
#include <vector>

class ItemStackBase {
char filler[136];

Expand Down

0 comments on commit ff5bf77

Please # to comment.