Skip to content

Commit

Permalink
chore: update some config
Browse files Browse the repository at this point in the history
  • Loading branch information
OEOTYAN committed Jan 3, 2025
1 parent fdfc731 commit 888ca7a
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 44 deletions.
8 changes: 4 additions & 4 deletions src/mc/external/webrtc/webrtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@ namespace webrtc { struct SsrcInfo; }
namespace webrtc {
// inner types
enum : int {
KRtpCsrcSize = 15,
KMaxSpatialLayers = 5,
};

enum : int {
KMaxPreferredPixelFormats = 5,
KMaxSimulcastStreams = 3,
};

enum : int {
KMaxSimulcastStreams = 3,
KRtpCsrcSize = 15,
};

enum : int {
KMaxSpatialLayers = 5,
KMaxPreferredPixelFormats = 5,
};

enum : int {
Expand Down
31 changes: 14 additions & 17 deletions src/mc/world/redstone/circuit/ChunkCircuitComponentList.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

#include "mc/_HeaderOutputPredefine.h"

// auto generated inclusion list
#include "mc/world/redstone/circuit/components/RedstoneLogicExecutionFlags.h"

// auto generated forward declare list
// clang-format off
class BaseCircuitComponent;
class BlockPos;
// clang-format on

struct ChunkCircuitComponentList {
public:
// ChunkCircuitComponentList inner types declare
Expand All @@ -14,31 +23,19 @@ struct ChunkCircuitComponentList {
public:
// member variables
// NOLINTBEGIN
::ll::UntypedStorage<8, 8> mUnk70d17e;
::ll::UntypedStorage<4, 12> mUnkea06a3;
::ll::UntypedStorage<1, 1> mUnk549a24;
::ll::TypedStorage<8, 8, ::BaseCircuitComponent*> mComponent;
::ll::TypedStorage<4, 12, ::BlockPos> mPos;
::ll::TypedStorage<1, 1, ::RedstoneLogicExecutionFlags> cachedExecutionFlags;
// NOLINTEND

public:
// prevent constructor by default
Item& operator=(Item const&);
Item(Item const&);
Item();
};

public:
// member variables
// NOLINTBEGIN
::ll::UntypedStorage<1, 1> mUnkaf6a6f;
::ll::UntypedStorage<8, 24> mUnk27b3c9;
::ll::TypedStorage<1, 1, bool> bShouldEvaluate;
::ll::TypedStorage<8, 24, ::std::vector<::ChunkCircuitComponentList::Item>> mComponents;
// NOLINTEND

public:
// prevent constructor by default
ChunkCircuitComponentList& operator=(ChunkCircuitComponentList const&);
ChunkCircuitComponentList(ChunkCircuitComponentList const&);
ChunkCircuitComponentList();

public:
// member functions
// NOLINTBEGIN
Expand Down
8 changes: 1 addition & 7 deletions src/mc/world/redstone/circuit/CircuitSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,8 @@ class CircuitSystem {
public:
// member variables
// NOLINTBEGIN
::ll::UntypedStorage<4, 12> mUnk167359;
::ll::TypedStorage<4, 12, ::BlockPos> mChunkPos;
// NOLINTEND

public:
// prevent constructor by default
LevelChunkTracking& operator=(LevelChunkTracking const&);
LevelChunkTracking(LevelChunkTracking const&);
LevelChunkTracking();
};

public:
Expand Down
17 changes: 7 additions & 10 deletions src/mc/world/redstone/circuit/CircuitTrackingInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

#include "mc/_HeaderOutputPredefine.h"

// auto generated inclusion list
#include "mc/world/redstone/circuit/components/CircuitComponentType.h"

// auto generated forward declare list
// clang-format off
class BaseCircuitComponent;
Expand All @@ -20,17 +23,11 @@ class CircuitTrackingInfo {
public:
// member variables
// NOLINTBEGIN
::ll::UntypedStorage<8, 8> mUnk106ebf;
::ll::UntypedStorage<4, 12> mUnk79e265;
::ll::UntypedStorage<1, 1> mUnkd64ed2;
::ll::UntypedStorage<8, 8> mUnk8146c8;
::ll::TypedStorage<8, 8, ::BaseCircuitComponent*> mComponent;
::ll::TypedStorage<4, 12, ::BlockPos> mPos;
::ll::TypedStorage<1, 1, uchar> mDirection;
::ll::TypedStorage<8, 8, ::CircuitComponentType> mTypeID;
// NOLINTEND

public:
// prevent constructor by default
Entry& operator=(Entry const&);
Entry(Entry const&);
Entry();
};

public:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,16 @@ class CircuitTrackingInfo;
// clang-format on

class DirectionalProducerComponent : public ::ProducerComponent {
public:
// DirectionalProducerComponent inner types define
using AllowedConnections = ::std::bitset<6>;

public:
// member variables
// NOLINTBEGIN
::ll::UntypedStorage<4, 4> mUnk3b898d;
::ll::TypedStorage<4, 4, ::std::bitset<6>> mAllowedConnections;
// NOLINTEND

public:
// prevent constructor by default
DirectionalProducerComponent& operator=(DirectionalProducerComponent const&);
DirectionalProducerComponent(DirectionalProducerComponent const&);

public:
// virtual functions
// NOLINTBEGIN
Expand Down

0 comments on commit 888ca7a

Please sign in to comment.