Skip to content

Commit

Permalink
Fix SU blessing selector and menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Melledy committed Jun 24, 2024
1 parent ca1542e commit b4addcc
Show file tree
Hide file tree
Showing 10 changed files with 558 additions and 637 deletions.
284 changes: 142 additions & 142 deletions src/generated/main/emu/lunarcore/proto/BuffInfoOuterClass.java

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static final class RogueBonusSelectResult extends ProtoMessage<RogueBonus
private static final long serialVersionUID = 0L;

/**
* <code>optional uint32 bonus_id = 14;</code>
* <code>optional uint32 bonus_id = 2;</code>
*/
private int bonusId;

Expand All @@ -34,15 +34,15 @@ public static RogueBonusSelectResult newInstance() {
}

/**
* <code>optional uint32 bonus_id = 14;</code>
* <code>optional uint32 bonus_id = 2;</code>
* @return whether the bonusId field is set
*/
public boolean hasBonusId() {
return (bitField0_ & 0x00000001) != 0;
}

/**
* <code>optional uint32 bonus_id = 14;</code>
* <code>optional uint32 bonus_id = 2;</code>
* @return this
*/
public RogueBonusSelectResult clearBonusId() {
Expand All @@ -52,15 +52,15 @@ public RogueBonusSelectResult clearBonusId() {
}

/**
* <code>optional uint32 bonus_id = 14;</code>
* <code>optional uint32 bonus_id = 2;</code>
* @return the bonusId
*/
public int getBonusId() {
return bonusId;
}

/**
* <code>optional uint32 bonus_id = 14;</code>
* <code>optional uint32 bonus_id = 2;</code>
* @param value the bonusId to set
* @return this
*/
Expand Down Expand Up @@ -129,7 +129,7 @@ public boolean equals(Object o) {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 112);
output.writeRawByte((byte) 16);
output.writeUInt32NoTag(bonusId);
}
}
Expand All @@ -150,7 +150,7 @@ public RogueBonusSelectResult mergeFrom(final ProtoSource input) throws IOExcept
int tag = input.readTag();
while (true) {
switch (tag) {
case 112: {
case 16: {
// bonusId
bonusId = input.readUInt32();
bitField0_ |= 0x00000001;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public static final class RogueCommonBuffSelectResult extends ProtoMessage<Rogue
private static final long serialVersionUID = 0L;

/**
* <code>optional uint32 buff_id = 4;</code>
* <code>optional uint32 buff_id = 15;</code>
*/
private int buffId;

Expand All @@ -34,15 +34,15 @@ public static RogueCommonBuffSelectResult newInstance() {
}

/**
* <code>optional uint32 buff_id = 4;</code>
* <code>optional uint32 buff_id = 15;</code>
* @return whether the buffId field is set
*/
public boolean hasBuffId() {
return (bitField0_ & 0x00000001) != 0;
}

/**
* <code>optional uint32 buff_id = 4;</code>
* <code>optional uint32 buff_id = 15;</code>
* @return this
*/
public RogueCommonBuffSelectResult clearBuffId() {
Expand All @@ -52,15 +52,15 @@ public RogueCommonBuffSelectResult clearBuffId() {
}

/**
* <code>optional uint32 buff_id = 4;</code>
* <code>optional uint32 buff_id = 15;</code>
* @return the buffId
*/
public int getBuffId() {
return buffId;
}

/**
* <code>optional uint32 buff_id = 4;</code>
* <code>optional uint32 buff_id = 15;</code>
* @param value the buffId to set
* @return this
*/
Expand Down Expand Up @@ -129,7 +129,7 @@ public boolean equals(Object o) {
@Override
public void writeTo(final ProtoSink output) throws IOException {
if ((bitField0_ & 0x00000001) != 0) {
output.writeRawByte((byte) 32);
output.writeRawByte((byte) 120);
output.writeUInt32NoTag(buffId);
}
}
Expand All @@ -150,7 +150,7 @@ public RogueCommonBuffSelectResult mergeFrom(final ProtoSource input) throws IOE
int tag = input.readTag();
while (true) {
switch (tag) {
case 32: {
case 120: {
// buffId
buffId = input.readUInt32();
bitField0_ |= 0x00000001;
Expand Down
Loading

0 comments on commit b4addcc

Please sign in to comment.