mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-05-09 05:25:55 +08:00
* Remove more scene synchronized * Fix worktop options not appearing * Format code [skip actions] * Fix delay with server tasks * Format code [skip actions] * Fully fix fairy clock (#2146) * Fix scene transition * fully fix fairy clock * Re-add call to `Player#updatePlayerGameTime` * Format code [skip actions] * Initialize the script loader in `ResourceLoader#loadAll` * Fix region removal checking * Format code [skip actions] * Use Lombok's `EqualsAndHashCode` for comparing scene regions * Format code [skip actions] * Move 'invalid gather object' to `trace` * Add more information to the 'unknown condition handler' message * Move invalid ability action to trace * Make `KcpTunnel` public * Validate the NPC being talked to * Format code [skip actions] * NPCs are not spawned server side; change logic to handle it * Format code [skip actions] * unload scene when there are no players (#2147) * unload scene when there are no players * Update src/main/java/emu/grasscutter/game/world/Scene.java Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> --------- Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> * Check if a command should be copied or HTTP should be used * Lint Code [skip actions] * Fix character names rendering incorrectly * Add basic troubleshooting command * Implement handbook teleporting also a few formatting changes and sort data by logical sense * Fix listener `ConcurrentModificationException` issue * Add color change to `Join the Community!` * Lint Code [skip actions] * Make clickable buttons appear clickable * Remove 'Mechanicus' entities from the list of entities * Format code [skip actions] * Fix going back returning a blank screen * Implement entity spawning * Add setting level to entity card * Add support for 'plain text' mode * Make descriptions of objects scrollable * Lint Code [skip actions] * Format code [skip actions] * Change the way existing hooks work * Format code [skip actions] * Upgrade Javalin to 5.5.0 & Fix project warnings * Upgrade logging libraries * Fix gacha mappings static file issue * Add temporary backwards compatability for `ServerHelper` * Format code [skip actions] * Remove artifact signatures from VCS * Fix forge queue data protocol definition * Run `spotlessApply` * Format code [skip actions] * Download data required for building artifacts * Add call for Facebook logins * Add the wiki page as a submodule * Format code [skip actions] * Update translation (#2150) * Update translation * Update translation * Separate the dispatch and game servers (pt. 1) gacha is still broken, handbook still needs to be done * Format code [skip actions] * Separate the dispatch and game servers (pt. 2) this commit fixes the gacha page * Add description for '/troubleshoot' * Set default avatar talent level to 10 * Separate the dispatch and game servers (pt. 3) implement handbook across servers! * Format code [skip actions] * Update GitHub Actions to use 'download-file' over 'wget' * Gm handbook lmao (#2149) * Fix font issue * Fix avatars * Fix text overflow in commands * Fix virtualized lists and items page 😭😭 * magix why 💀 * use hover style in all minicards * button * remove console.log * lint * Add icons * magix asked * Fix overflow padding issue * Fix achievement text overflow * remove icons from repo * Change command icon * Add the wiki page as a submodule * total magix moment * fix text overflow in commands * Fix discord button * Make text scale on Minicard * import icons and font from another source * Add hover effects to siebar buttons * move font and readme to submodule repo * Make data folder a submodule * import icons and font from data submodule * Update README.md * total magix moment * magix moment v2 * submodule change * Import `.webp` files * Resize `HomeButton` * Fix 'Copy Command' reappearing after changing pages --------- Co-authored-by: KingRainbow44 <kobedo11@gmail.com> * Lint Code [skip actions] * Download data for the build, not for the lint * format imports this is really just to see if build handbook works kek * Implement proper handbook authentication (pt. 1) * Implement proper handbook authentication (pt. 2) * Format code [skip actions] * Add quest data dumping for the handbook * Change colors to fit _something suitable_ * Format code [skip actions] * Fix force pushing to branches after linting * Fix logic of `SetPlayerPropReq` * Move more group loading to `trace` * Add handbook IP authentication in hybrid mode * Fix player level up not displaying on the client properly * Format code [skip actions] * Fix game time locking * Format code [skip actions] * Update player properties * Format code [skip actions] * Move `warn`s for groups to `debug` * Fix player pausing * Move more logs to `trace` * Use `removeItemById` for deleting items via quests * Clean up logger more * Pause in-game time when the world is paused * Format code [skip actions] * More player property documentation * Multi-threaded resource loading * Format code [skip actions] * Add quest widgets * Add quests page (basic impl.) * Add/fix colors also fix tailwind * Remove banned packets client modifications already perform the job of blocking malicious packets from being executed, no point in having this if self-windy is wanted * Re-add `BeginCameraSceneLookNotify` * Fix being unable to attack (#2157) * Add `PlayerOpenChestEvent` * Add methods to get players from the server * Add static methods to register an event handler * Add `PlayerEnterDungeonEvent` * Remove legacy documentation from `PlayerMoveEvent` * Add `PlayerChatEvent` * Add defaults to `Position` * Clean up `.utils` * Revert `Multi-threaded resource loading` * Fix changing target UID when talking to the server * Lint Code [skip actions] * Format code [skip actions] * fix NPC talk triggering main quest in 46101 (#2158) Make it so that only talks where the param matches the talkId are checked. * Format code [skip actions] * Partially fix Chasing Shadows (#2159) * Partially fix Chasing Shadows * Go ahead and move it before the return before Magix tells me to. * Format code [skip actions] * Bring back period lol (#2160) * Disable SNI for the HTTPS server * Add `EntityCreationEvent` * Add initial startup message this is so the server appears like its preparing to start * Format code [skip actions] * Enable debug mode for plugin loggers if enabled for the primary logger * Add documentation about `WorldAreaConfigData` * Make more fields in excels accessible * Remove deprecated fields from `GetShopRsp` * Run `spotlessApply` on definitions * Add `PlayerEnterAreaEvent` * Optimize event calls * Fix event invokes * Format code [skip actions] * Remove manual autofinish for main quests. (#2162) * Add world areas to the textmap cache * Format code [skip actions] * Don't overdefine variables in extended classes (#2163) * Add dumper for world areas * Format code [skip actions] * instantiate personalLineList (#2165) * Fix protocol definitions thank you Nazrin! (+ hiro for raw definitions) * Fix the background color leaking from the character widget * Change HTML spacing to 2 spaces * Implement hiding widgets * Change scrollbar to a vibrant color * Add _some_ scaling to the home buttons and its text * Build the handbook with Gradle * Fix the 'finer details' with the handbook UI * Lint Code [skip actions] * Fix target destination for the Gradle-built handbook * Implement fetching a player across servers & Add a chainable JsonObject useful for plugins! might be used in grasscutter eventually * Fix GitHub actions * Fix event calling & canceling * Run `spotlessApply` * Rename fields (might be wrong) * Add/update all/more protocol definitions * Add/update all/more protocol definitions * Remove outdated packet * Fix protocol definitions * Format code [skip actions] * Implement some lua variables for less console spam (#2172) * Implement some lua variables for less console spam * Add GetHostQuestState This fixes some chapter 3 stuff. * Format code [skip actions] * Fix merge import * Format code [skip actions] * Fully fix fairy clock for real this time (#2167) * Fully fix fairy clock For real this time * Make it so relogging keeps the time lock state. * Refactor out questLockTime * Per Hartie, the client packet needs to be changed too * Update src/main/java/emu/grasscutter/game/world/World.java Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> * Update src/main/java/emu/grasscutter/server/packet/recv/HandlerClientLockGameTimeNotify.java * Remove all code not needed to get clock working --------- Co-authored-by: Magix <27646710+KingRainbow44@users.noreply.github.com> * Implement a proper ability system (#2166) * Apply fix `21dec2fe` * Apply fix `89d01d5f` * Apply fix `d900f154` this one was already implemented; updated to use call from previous commit * Ability changing commit TODO: change info to debug * Remove use of deprecated methods/fields * Temp commit v2 (Adding LoseHP and some fixes) * Oopsie * Probably fix monster battle * Fix issue with reflecting into fields * Fix some things * Fix ability names for 3.6 resources * Improve logging --------- Co-authored-by: StartForKiller <jesussanz2003@gmail.com> * Format code [skip actions] * Add system for sending messages between servers * Format some code * Remove protocol definitions from Spotless * Default debug to false; enable with `-debug` * Implement completely useless global value copying * HACK: Return the avatar which holds the weapon when the weapon is referred to by ID * Add properties to `AbilityModifier` * Change the way HTML is served after authentication * Use thread executors to speed up the database loading process * Format code [skip actions] * Add system for setting handbook address and port * Lint Code [skip actions] * Format code [skip actions] * Fix game-related data not saving * Format code [skip actions] * Fix handbook server details * Lint Code [skip actions] * Format code [skip actions] * Use the headers provided by a context to get the IP address should acknowledge #1975 * Format code [skip actions] * Move more logs to `trace` * Format code [skip actions] * more trace * Fix something and implement weapon entities * Format code [skip actions] * Fix `EntityWeapon` * Remove deprecated API & Fix resource checking * Fix unnecessary warning for first-time setup * Implement handbook request limiting * Format code [skip actions] * Fix new avatar weapons being null * Format code [skip actions] * Fix issue with 35303 being un-completable & Try to fix fulfilled quest conditions being met * Load activity config on server startup * Require plugins to specify an API version and match with the server * Add default open state ignore list * Format code [skip actions] * Quick fix for questing, needs more investigation This would make the questing work again * Remove existing hack for 35303 * Fix ignored open states from being set * Format code [skip actions] * fix the stupidest bug ive ever seen * Optimize player kicking on server close * Format code [skip actions] * Re-add hack to fix 35303 * Update GitHub actions * Format code [skip actions] * Potentially fix issues with regions * Download additional handbook data * Revert "Potentially fix issues with regions" This reverts commit 84e3823695a0e1ee761f486bf2e5a8d089aace82. --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: scooterboo <lewasite@yahoo.com> Co-authored-by: Tesutarin <105267106+Tesutarin@users.noreply.github.com> Co-authored-by: Scald <104459145+Arikatsu@users.noreply.github.com> Co-authored-by: StartForKiller <jesussanz2003@gmail.com>
1765 lines
63 KiB
Java
1765 lines
63 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: HAFFINEEMDH.proto
|
|
|
|
package emu.grasscutter.net.proto;
|
|
|
|
public final class HAFFINEEMDHOuterClass {
|
|
private HAFFINEEMDHOuterClass() {}
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistryLite registry) {
|
|
}
|
|
|
|
public static void registerAllExtensions(
|
|
com.google.protobuf.ExtensionRegistry registry) {
|
|
registerAllExtensions(
|
|
(com.google.protobuf.ExtensionRegistryLite) registry);
|
|
}
|
|
public interface HAFFINEEMDHOrBuilder extends
|
|
// @@protoc_insertion_point(interface_extends:HAFFINEEMDH)
|
|
com.google.protobuf.MessageOrBuilder {
|
|
|
|
/**
|
|
* <code>uint32 group_id = 11;</code>
|
|
* @return The groupId.
|
|
*/
|
|
int getGroupId();
|
|
|
|
/**
|
|
* <code>uint32 shape = 3;</code>
|
|
* @return The shape.
|
|
*/
|
|
int getShape();
|
|
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
* @return Whether the pos field is set.
|
|
*/
|
|
boolean hasPos();
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
* @return The pos.
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector getPos();
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder();
|
|
|
|
/**
|
|
* <code>uint32 config_id = 14;</code>
|
|
* @return The configId.
|
|
*/
|
|
int getConfigId();
|
|
|
|
/**
|
|
* <code>float sphere_radius = 1992;</code>
|
|
* @return Whether the sphereRadius field is set.
|
|
*/
|
|
boolean hasSphereRadius();
|
|
/**
|
|
* <code>float sphere_radius = 1992;</code>
|
|
* @return The sphereRadius.
|
|
*/
|
|
float getSphereRadius();
|
|
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
* @return Whether the cubicSize field is set.
|
|
*/
|
|
boolean hasCubicSize();
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
* @return The cubicSize.
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector getCubicSize();
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCubicSizeOrBuilder();
|
|
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
* @return Whether the cylinderSize field is set.
|
|
*/
|
|
boolean hasCylinderSize();
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
* @return The cylinderSize.
|
|
*/
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize getCylinderSize();
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSizeOrBuilder getCylinderSizeOrBuilder();
|
|
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
* @return Whether the polygonSize field is set.
|
|
*/
|
|
boolean hasPolygonSize();
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
* @return The polygonSize.
|
|
*/
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize getPolygonSize();
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSizeOrBuilder getPolygonSizeOrBuilder();
|
|
|
|
public emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH.EFOLIOJOIFDCase getEFOLIOJOIFDCase();
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 3125
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code HAFFINEEMDH}
|
|
*/
|
|
public static final class HAFFINEEMDH extends
|
|
com.google.protobuf.GeneratedMessageV3 implements
|
|
// @@protoc_insertion_point(message_implements:HAFFINEEMDH)
|
|
HAFFINEEMDHOrBuilder {
|
|
private static final long serialVersionUID = 0L;
|
|
// Use HAFFINEEMDH.newBuilder() to construct.
|
|
private HAFFINEEMDH(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
|
|
super(builder);
|
|
}
|
|
private HAFFINEEMDH() {
|
|
}
|
|
|
|
@java.lang.Override
|
|
@SuppressWarnings({"unused"})
|
|
protected java.lang.Object newInstance(
|
|
UnusedPrivateParameter unused) {
|
|
return new HAFFINEEMDH();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final com.google.protobuf.UnknownFieldSet
|
|
getUnknownFields() {
|
|
return this.unknownFields;
|
|
}
|
|
private HAFFINEEMDH(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
this();
|
|
if (extensionRegistry == null) {
|
|
throw new java.lang.NullPointerException();
|
|
}
|
|
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
|
|
com.google.protobuf.UnknownFieldSet.newBuilder();
|
|
try {
|
|
boolean done = false;
|
|
while (!done) {
|
|
int tag = input.readTag();
|
|
switch (tag) {
|
|
case 0:
|
|
done = true;
|
|
break;
|
|
case 24: {
|
|
|
|
shape_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 82: {
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
|
|
if (pos_ != null) {
|
|
subBuilder = pos_.toBuilder();
|
|
}
|
|
pos_ = input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom(pos_);
|
|
pos_ = subBuilder.buildPartial();
|
|
}
|
|
|
|
break;
|
|
}
|
|
case 88: {
|
|
|
|
groupId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 112: {
|
|
|
|
configId_ = input.readUInt32();
|
|
break;
|
|
}
|
|
case 6546: {
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.Builder subBuilder = null;
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
subBuilder = ((emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_).toBuilder();
|
|
}
|
|
eFOLIOJOIFD_ =
|
|
input.readMessage(emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom((emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_);
|
|
eFOLIOJOIFD_ = subBuilder.buildPartial();
|
|
}
|
|
eFOLIOJOIFDCase_ = 818;
|
|
break;
|
|
}
|
|
case 9610: {
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.Builder subBuilder = null;
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
subBuilder = ((emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_).toBuilder();
|
|
}
|
|
eFOLIOJOIFD_ =
|
|
input.readMessage(emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom((emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_);
|
|
eFOLIOJOIFD_ = subBuilder.buildPartial();
|
|
}
|
|
eFOLIOJOIFDCase_ = 1201;
|
|
break;
|
|
}
|
|
case 10258: {
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder subBuilder = null;
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
subBuilder = ((emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_).toBuilder();
|
|
}
|
|
eFOLIOJOIFD_ =
|
|
input.readMessage(emu.grasscutter.net.proto.VectorOuterClass.Vector.parser(), extensionRegistry);
|
|
if (subBuilder != null) {
|
|
subBuilder.mergeFrom((emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_);
|
|
eFOLIOJOIFD_ = subBuilder.buildPartial();
|
|
}
|
|
eFOLIOJOIFDCase_ = 1282;
|
|
break;
|
|
}
|
|
case 15941: {
|
|
eFOLIOJOIFDCase_ = 1992;
|
|
eFOLIOJOIFD_ = input.readFloat();
|
|
break;
|
|
}
|
|
default: {
|
|
if (!parseUnknownField(
|
|
input, unknownFields, extensionRegistry, tag)) {
|
|
done = true;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
throw e.setUnfinishedMessage(this);
|
|
} catch (java.io.IOException e) {
|
|
throw new com.google.protobuf.InvalidProtocolBufferException(
|
|
e).setUnfinishedMessage(this);
|
|
} finally {
|
|
this.unknownFields = unknownFields.build();
|
|
makeExtensionsImmutable();
|
|
}
|
|
}
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.internal_static_HAFFINEEMDH_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.internal_static_HAFFINEEMDH_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH.class, emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH.Builder.class);
|
|
}
|
|
|
|
private int eFOLIOJOIFDCase_ = 0;
|
|
private java.lang.Object eFOLIOJOIFD_;
|
|
public enum EFOLIOJOIFDCase
|
|
implements com.google.protobuf.Internal.EnumLite,
|
|
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
|
|
SPHERE_RADIUS(1992),
|
|
CUBIC_SIZE(1282),
|
|
CYLINDER_SIZE(1201),
|
|
POLYGON_SIZE(818),
|
|
EFOLIOJOIFD_NOT_SET(0);
|
|
private final int value;
|
|
private EFOLIOJOIFDCase(int value) {
|
|
this.value = value;
|
|
}
|
|
/**
|
|
* @param value The number of the enum to look for.
|
|
* @return The enum associated with the given number.
|
|
* @deprecated Use {@link #forNumber(int)} instead.
|
|
*/
|
|
@java.lang.Deprecated
|
|
public static EFOLIOJOIFDCase valueOf(int value) {
|
|
return forNumber(value);
|
|
}
|
|
|
|
public static EFOLIOJOIFDCase forNumber(int value) {
|
|
switch (value) {
|
|
case 1992: return SPHERE_RADIUS;
|
|
case 1282: return CUBIC_SIZE;
|
|
case 1201: return CYLINDER_SIZE;
|
|
case 818: return POLYGON_SIZE;
|
|
case 0: return EFOLIOJOIFD_NOT_SET;
|
|
default: return null;
|
|
}
|
|
}
|
|
public int getNumber() {
|
|
return this.value;
|
|
}
|
|
};
|
|
|
|
public EFOLIOJOIFDCase
|
|
getEFOLIOJOIFDCase() {
|
|
return EFOLIOJOIFDCase.forNumber(
|
|
eFOLIOJOIFDCase_);
|
|
}
|
|
|
|
public static final int GROUP_ID_FIELD_NUMBER = 11;
|
|
private int groupId_;
|
|
/**
|
|
* <code>uint32 group_id = 11;</code>
|
|
* @return The groupId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getGroupId() {
|
|
return groupId_;
|
|
}
|
|
|
|
public static final int SHAPE_FIELD_NUMBER = 3;
|
|
private int shape_;
|
|
/**
|
|
* <code>uint32 shape = 3;</code>
|
|
* @return The shape.
|
|
*/
|
|
@java.lang.Override
|
|
public int getShape() {
|
|
return shape_;
|
|
}
|
|
|
|
public static final int POS_FIELD_NUMBER = 10;
|
|
private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
* @return Whether the pos field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasPos() {
|
|
return pos_ != null;
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
* @return The pos.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() {
|
|
return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
|
|
return getPos();
|
|
}
|
|
|
|
public static final int CONFIG_ID_FIELD_NUMBER = 14;
|
|
private int configId_;
|
|
/**
|
|
* <code>uint32 config_id = 14;</code>
|
|
* @return The configId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getConfigId() {
|
|
return configId_;
|
|
}
|
|
|
|
public static final int SPHERE_RADIUS_FIELD_NUMBER = 1992;
|
|
/**
|
|
* <code>float sphere_radius = 1992;</code>
|
|
* @return Whether the sphereRadius field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasSphereRadius() {
|
|
return eFOLIOJOIFDCase_ == 1992;
|
|
}
|
|
/**
|
|
* <code>float sphere_radius = 1992;</code>
|
|
* @return The sphereRadius.
|
|
*/
|
|
@java.lang.Override
|
|
public float getSphereRadius() {
|
|
if (eFOLIOJOIFDCase_ == 1992) {
|
|
return (java.lang.Float) eFOLIOJOIFD_;
|
|
}
|
|
return 0F;
|
|
}
|
|
|
|
public static final int CUBIC_SIZE_FIELD_NUMBER = 1282;
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
* @return Whether the cubicSize field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasCubicSize() {
|
|
return eFOLIOJOIFDCase_ == 1282;
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
* @return The cubicSize.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getCubicSize() {
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
return (emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCubicSizeOrBuilder() {
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
return (emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
|
|
public static final int CYLINDER_SIZE_FIELD_NUMBER = 1201;
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
* @return Whether the cylinderSize field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasCylinderSize() {
|
|
return eFOLIOJOIFDCase_ == 1201;
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
* @return The cylinderSize.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize getCylinderSize() {
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
return (emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.getDefaultInstance();
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSizeOrBuilder getCylinderSizeOrBuilder() {
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
return (emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.getDefaultInstance();
|
|
}
|
|
|
|
public static final int POLYGON_SIZE_FIELD_NUMBER = 818;
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
* @return Whether the polygonSize field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasPolygonSize() {
|
|
return eFOLIOJOIFDCase_ == 818;
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
* @return The polygonSize.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize getPolygonSize() {
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
return (emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.getDefaultInstance();
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSizeOrBuilder getPolygonSizeOrBuilder() {
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
return (emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.getDefaultInstance();
|
|
}
|
|
|
|
private byte memoizedIsInitialized = -1;
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
byte isInitialized = memoizedIsInitialized;
|
|
if (isInitialized == 1) return true;
|
|
if (isInitialized == 0) return false;
|
|
|
|
memoizedIsInitialized = 1;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
|
throws java.io.IOException {
|
|
if (shape_ != 0) {
|
|
output.writeUInt32(3, shape_);
|
|
}
|
|
if (pos_ != null) {
|
|
output.writeMessage(10, getPos());
|
|
}
|
|
if (groupId_ != 0) {
|
|
output.writeUInt32(11, groupId_);
|
|
}
|
|
if (configId_ != 0) {
|
|
output.writeUInt32(14, configId_);
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
output.writeMessage(818, (emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_);
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
output.writeMessage(1201, (emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_);
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
output.writeMessage(1282, (emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_);
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 1992) {
|
|
output.writeFloat(
|
|
1992, (float)((java.lang.Float) eFOLIOJOIFD_));
|
|
}
|
|
unknownFields.writeTo(output);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int getSerializedSize() {
|
|
int size = memoizedSize;
|
|
if (size != -1) return size;
|
|
|
|
size = 0;
|
|
if (shape_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(3, shape_);
|
|
}
|
|
if (pos_ != null) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(10, getPos());
|
|
}
|
|
if (groupId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(11, groupId_);
|
|
}
|
|
if (configId_ != 0) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeUInt32Size(14, configId_);
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(818, (emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_);
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(1201, (emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_);
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeMessageSize(1282, (emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_);
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 1992) {
|
|
size += com.google.protobuf.CodedOutputStream
|
|
.computeFloatSize(
|
|
1992, (float)((java.lang.Float) eFOLIOJOIFD_));
|
|
}
|
|
size += unknownFields.getSerializedSize();
|
|
memoizedSize = size;
|
|
return size;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public boolean equals(final java.lang.Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH)) {
|
|
return super.equals(obj);
|
|
}
|
|
emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH other = (emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH) obj;
|
|
|
|
if (getGroupId()
|
|
!= other.getGroupId()) return false;
|
|
if (getShape()
|
|
!= other.getShape()) return false;
|
|
if (hasPos() != other.hasPos()) return false;
|
|
if (hasPos()) {
|
|
if (!getPos()
|
|
.equals(other.getPos())) return false;
|
|
}
|
|
if (getConfigId()
|
|
!= other.getConfigId()) return false;
|
|
if (!getEFOLIOJOIFDCase().equals(other.getEFOLIOJOIFDCase())) return false;
|
|
switch (eFOLIOJOIFDCase_) {
|
|
case 1992:
|
|
if (java.lang.Float.floatToIntBits(getSphereRadius())
|
|
!= java.lang.Float.floatToIntBits(
|
|
other.getSphereRadius())) return false;
|
|
break;
|
|
case 1282:
|
|
if (!getCubicSize()
|
|
.equals(other.getCubicSize())) return false;
|
|
break;
|
|
case 1201:
|
|
if (!getCylinderSize()
|
|
.equals(other.getCylinderSize())) return false;
|
|
break;
|
|
case 818:
|
|
if (!getPolygonSize()
|
|
.equals(other.getPolygonSize())) return false;
|
|
break;
|
|
case 0:
|
|
default:
|
|
}
|
|
if (!unknownFields.equals(other.unknownFields)) return false;
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public int hashCode() {
|
|
if (memoizedHashCode != 0) {
|
|
return memoizedHashCode;
|
|
}
|
|
int hash = 41;
|
|
hash = (19 * hash) + getDescriptor().hashCode();
|
|
hash = (37 * hash) + GROUP_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getGroupId();
|
|
hash = (37 * hash) + SHAPE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getShape();
|
|
if (hasPos()) {
|
|
hash = (37 * hash) + POS_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPos().hashCode();
|
|
}
|
|
hash = (37 * hash) + CONFIG_ID_FIELD_NUMBER;
|
|
hash = (53 * hash) + getConfigId();
|
|
switch (eFOLIOJOIFDCase_) {
|
|
case 1992:
|
|
hash = (37 * hash) + SPHERE_RADIUS_FIELD_NUMBER;
|
|
hash = (53 * hash) + java.lang.Float.floatToIntBits(
|
|
getSphereRadius());
|
|
break;
|
|
case 1282:
|
|
hash = (37 * hash) + CUBIC_SIZE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCubicSize().hashCode();
|
|
break;
|
|
case 1201:
|
|
hash = (37 * hash) + CYLINDER_SIZE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getCylinderSize().hashCode();
|
|
break;
|
|
case 818:
|
|
hash = (37 * hash) + POLYGON_SIZE_FIELD_NUMBER;
|
|
hash = (53 * hash) + getPolygonSize().hashCode();
|
|
break;
|
|
case 0:
|
|
default:
|
|
}
|
|
hash = (29 * hash) + unknownFields.hashCode();
|
|
memoizedHashCode = hash;
|
|
return hash;
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(
|
|
java.nio.ByteBuffer data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(
|
|
java.nio.ByteBuffer data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(
|
|
com.google.protobuf.ByteString data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(
|
|
com.google.protobuf.ByteString data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(byte[] data)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(
|
|
byte[] data,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return PARSER.parseFrom(data, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseDelimitedFrom(java.io.InputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseDelimitedFrom(
|
|
java.io.InputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(
|
|
com.google.protobuf.CodedInputStream input)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input);
|
|
}
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parseFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
return com.google.protobuf.GeneratedMessageV3
|
|
.parseWithIOException(PARSER, input, extensionRegistry);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder newBuilderForType() { return newBuilder(); }
|
|
public static Builder newBuilder() {
|
|
return DEFAULT_INSTANCE.toBuilder();
|
|
}
|
|
public static Builder newBuilder(emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH prototype) {
|
|
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
|
|
}
|
|
@java.lang.Override
|
|
public Builder toBuilder() {
|
|
return this == DEFAULT_INSTANCE
|
|
? new Builder() : new Builder().mergeFrom(this);
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected Builder newBuilderForType(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
Builder builder = new Builder(parent);
|
|
return builder;
|
|
}
|
|
/**
|
|
* <pre>
|
|
* CmdId: 3125
|
|
* </pre>
|
|
*
|
|
* Protobuf type {@code HAFFINEEMDH}
|
|
*/
|
|
public static final class Builder extends
|
|
com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
|
|
// @@protoc_insertion_point(builder_implements:HAFFINEEMDH)
|
|
emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDHOrBuilder {
|
|
public static final com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptor() {
|
|
return emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.internal_static_HAFFINEEMDH_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internalGetFieldAccessorTable() {
|
|
return emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.internal_static_HAFFINEEMDH_fieldAccessorTable
|
|
.ensureFieldAccessorsInitialized(
|
|
emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH.class, emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH.Builder.class);
|
|
}
|
|
|
|
// Construct using emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH.newBuilder()
|
|
private Builder() {
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
|
|
private Builder(
|
|
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
|
|
super(parent);
|
|
maybeForceBuilderInitialization();
|
|
}
|
|
private void maybeForceBuilderInitialization() {
|
|
if (com.google.protobuf.GeneratedMessageV3
|
|
.alwaysUseFieldBuilders) {
|
|
}
|
|
}
|
|
@java.lang.Override
|
|
public Builder clear() {
|
|
super.clear();
|
|
groupId_ = 0;
|
|
|
|
shape_ = 0;
|
|
|
|
if (posBuilder_ == null) {
|
|
pos_ = null;
|
|
} else {
|
|
pos_ = null;
|
|
posBuilder_ = null;
|
|
}
|
|
configId_ = 0;
|
|
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Descriptors.Descriptor
|
|
getDescriptorForType() {
|
|
return emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.internal_static_HAFFINEEMDH_descriptor;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH getDefaultInstanceForType() {
|
|
return emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH.getDefaultInstance();
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH build() {
|
|
emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH result = buildPartial();
|
|
if (!result.isInitialized()) {
|
|
throw newUninitializedMessageException(result);
|
|
}
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH buildPartial() {
|
|
emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH result = new emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH(this);
|
|
result.groupId_ = groupId_;
|
|
result.shape_ = shape_;
|
|
if (posBuilder_ == null) {
|
|
result.pos_ = pos_;
|
|
} else {
|
|
result.pos_ = posBuilder_.build();
|
|
}
|
|
result.configId_ = configId_;
|
|
if (eFOLIOJOIFDCase_ == 1992) {
|
|
result.eFOLIOJOIFD_ = eFOLIOJOIFD_;
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
if (cubicSizeBuilder_ == null) {
|
|
result.eFOLIOJOIFD_ = eFOLIOJOIFD_;
|
|
} else {
|
|
result.eFOLIOJOIFD_ = cubicSizeBuilder_.build();
|
|
}
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
if (cylinderSizeBuilder_ == null) {
|
|
result.eFOLIOJOIFD_ = eFOLIOJOIFD_;
|
|
} else {
|
|
result.eFOLIOJOIFD_ = cylinderSizeBuilder_.build();
|
|
}
|
|
}
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
if (polygonSizeBuilder_ == null) {
|
|
result.eFOLIOJOIFD_ = eFOLIOJOIFD_;
|
|
} else {
|
|
result.eFOLIOJOIFD_ = polygonSizeBuilder_.build();
|
|
}
|
|
}
|
|
result.eFOLIOJOIFDCase_ = eFOLIOJOIFDCase_;
|
|
onBuilt();
|
|
return result;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder clone() {
|
|
return super.clone();
|
|
}
|
|
@java.lang.Override
|
|
public Builder setField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.setField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field) {
|
|
return super.clearField(field);
|
|
}
|
|
@java.lang.Override
|
|
public Builder clearOneof(
|
|
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
|
|
return super.clearOneof(oneof);
|
|
}
|
|
@java.lang.Override
|
|
public Builder setRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
int index, java.lang.Object value) {
|
|
return super.setRepeatedField(field, index, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder addRepeatedField(
|
|
com.google.protobuf.Descriptors.FieldDescriptor field,
|
|
java.lang.Object value) {
|
|
return super.addRepeatedField(field, value);
|
|
}
|
|
@java.lang.Override
|
|
public Builder mergeFrom(com.google.protobuf.Message other) {
|
|
if (other instanceof emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH) {
|
|
return mergeFrom((emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH)other);
|
|
} else {
|
|
super.mergeFrom(other);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
public Builder mergeFrom(emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH other) {
|
|
if (other == emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH.getDefaultInstance()) return this;
|
|
if (other.getGroupId() != 0) {
|
|
setGroupId(other.getGroupId());
|
|
}
|
|
if (other.getShape() != 0) {
|
|
setShape(other.getShape());
|
|
}
|
|
if (other.hasPos()) {
|
|
mergePos(other.getPos());
|
|
}
|
|
if (other.getConfigId() != 0) {
|
|
setConfigId(other.getConfigId());
|
|
}
|
|
switch (other.getEFOLIOJOIFDCase()) {
|
|
case SPHERE_RADIUS: {
|
|
setSphereRadius(other.getSphereRadius());
|
|
break;
|
|
}
|
|
case CUBIC_SIZE: {
|
|
mergeCubicSize(other.getCubicSize());
|
|
break;
|
|
}
|
|
case CYLINDER_SIZE: {
|
|
mergeCylinderSize(other.getCylinderSize());
|
|
break;
|
|
}
|
|
case POLYGON_SIZE: {
|
|
mergePolygonSize(other.getPolygonSize());
|
|
break;
|
|
}
|
|
case EFOLIOJOIFD_NOT_SET: {
|
|
break;
|
|
}
|
|
}
|
|
this.mergeUnknownFields(other.unknownFields);
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final boolean isInitialized() {
|
|
return true;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public Builder mergeFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws java.io.IOException {
|
|
emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH parsedMessage = null;
|
|
try {
|
|
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
|
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
|
parsedMessage = (emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH) e.getUnfinishedMessage();
|
|
throw e.unwrapIOException();
|
|
} finally {
|
|
if (parsedMessage != null) {
|
|
mergeFrom(parsedMessage);
|
|
}
|
|
}
|
|
return this;
|
|
}
|
|
private int eFOLIOJOIFDCase_ = 0;
|
|
private java.lang.Object eFOLIOJOIFD_;
|
|
public EFOLIOJOIFDCase
|
|
getEFOLIOJOIFDCase() {
|
|
return EFOLIOJOIFDCase.forNumber(
|
|
eFOLIOJOIFDCase_);
|
|
}
|
|
|
|
public Builder clearEFOLIOJOIFD() {
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
|
|
private int groupId_ ;
|
|
/**
|
|
* <code>uint32 group_id = 11;</code>
|
|
* @return The groupId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getGroupId() {
|
|
return groupId_;
|
|
}
|
|
/**
|
|
* <code>uint32 group_id = 11;</code>
|
|
* @param value The groupId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setGroupId(int value) {
|
|
|
|
groupId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 group_id = 11;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearGroupId() {
|
|
|
|
groupId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private int shape_ ;
|
|
/**
|
|
* <code>uint32 shape = 3;</code>
|
|
* @return The shape.
|
|
*/
|
|
@java.lang.Override
|
|
public int getShape() {
|
|
return shape_;
|
|
}
|
|
/**
|
|
* <code>uint32 shape = 3;</code>
|
|
* @param value The shape to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setShape(int value) {
|
|
|
|
shape_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 shape = 3;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearShape() {
|
|
|
|
shape_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
private emu.grasscutter.net.proto.VectorOuterClass.Vector pos_;
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> posBuilder_;
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
* @return Whether the pos field is set.
|
|
*/
|
|
public boolean hasPos() {
|
|
return posBuilder_ != null || pos_ != null;
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
* @return The pos.
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getPos() {
|
|
if (posBuilder_ == null) {
|
|
return pos_ == null ? emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
|
|
} else {
|
|
return posBuilder_.getMessage();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
public Builder setPos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (posBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
pos_ = value;
|
|
onChanged();
|
|
} else {
|
|
posBuilder_.setMessage(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
public Builder setPos(
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
|
|
if (posBuilder_ == null) {
|
|
pos_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
posBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
public Builder mergePos(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (posBuilder_ == null) {
|
|
if (pos_ != null) {
|
|
pos_ =
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder(pos_).mergeFrom(value).buildPartial();
|
|
} else {
|
|
pos_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
posBuilder_.mergeFrom(value);
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
public Builder clearPos() {
|
|
if (posBuilder_ == null) {
|
|
pos_ = null;
|
|
onChanged();
|
|
} else {
|
|
pos_ = null;
|
|
posBuilder_ = null;
|
|
}
|
|
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getPosBuilder() {
|
|
|
|
onChanged();
|
|
return getPosFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getPosOrBuilder() {
|
|
if (posBuilder_ != null) {
|
|
return posBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
return pos_ == null ?
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance() : pos_;
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector pos = 10;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
|
|
getPosFieldBuilder() {
|
|
if (posBuilder_ == null) {
|
|
posBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
|
|
getPos(),
|
|
getParentForChildren(),
|
|
isClean());
|
|
pos_ = null;
|
|
}
|
|
return posBuilder_;
|
|
}
|
|
|
|
private int configId_ ;
|
|
/**
|
|
* <code>uint32 config_id = 14;</code>
|
|
* @return The configId.
|
|
*/
|
|
@java.lang.Override
|
|
public int getConfigId() {
|
|
return configId_;
|
|
}
|
|
/**
|
|
* <code>uint32 config_id = 14;</code>
|
|
* @param value The configId to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setConfigId(int value) {
|
|
|
|
configId_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>uint32 config_id = 14;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearConfigId() {
|
|
|
|
configId_ = 0;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
|
|
/**
|
|
* <code>float sphere_radius = 1992;</code>
|
|
* @return Whether the sphereRadius field is set.
|
|
*/
|
|
public boolean hasSphereRadius() {
|
|
return eFOLIOJOIFDCase_ == 1992;
|
|
}
|
|
/**
|
|
* <code>float sphere_radius = 1992;</code>
|
|
* @return The sphereRadius.
|
|
*/
|
|
public float getSphereRadius() {
|
|
if (eFOLIOJOIFDCase_ == 1992) {
|
|
return (java.lang.Float) eFOLIOJOIFD_;
|
|
}
|
|
return 0F;
|
|
}
|
|
/**
|
|
* <code>float sphere_radius = 1992;</code>
|
|
* @param value The sphereRadius to set.
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder setSphereRadius(float value) {
|
|
eFOLIOJOIFDCase_ = 1992;
|
|
eFOLIOJOIFD_ = value;
|
|
onChanged();
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>float sphere_radius = 1992;</code>
|
|
* @return This builder for chaining.
|
|
*/
|
|
public Builder clearSphereRadius() {
|
|
if (eFOLIOJOIFDCase_ == 1992) {
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
onChanged();
|
|
}
|
|
return this;
|
|
}
|
|
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder> cubicSizeBuilder_;
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
* @return Whether the cubicSize field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasCubicSize() {
|
|
return eFOLIOJOIFDCase_ == 1282;
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
* @return The cubicSize.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector getCubicSize() {
|
|
if (cubicSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
return (emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
return cubicSizeBuilder_.getMessage();
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
public Builder setCubicSize(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (cubicSizeBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
eFOLIOJOIFD_ = value;
|
|
onChanged();
|
|
} else {
|
|
cubicSizeBuilder_.setMessage(value);
|
|
}
|
|
eFOLIOJOIFDCase_ = 1282;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
public Builder setCubicSize(
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder builderForValue) {
|
|
if (cubicSizeBuilder_ == null) {
|
|
eFOLIOJOIFD_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
cubicSizeBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
eFOLIOJOIFDCase_ = 1282;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
public Builder mergeCubicSize(emu.grasscutter.net.proto.VectorOuterClass.Vector value) {
|
|
if (cubicSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 1282 &&
|
|
eFOLIOJOIFD_ != emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance()) {
|
|
eFOLIOJOIFD_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.newBuilder((emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_)
|
|
.mergeFrom(value).buildPartial();
|
|
} else {
|
|
eFOLIOJOIFD_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
cubicSizeBuilder_.mergeFrom(value);
|
|
}
|
|
cubicSizeBuilder_.setMessage(value);
|
|
}
|
|
eFOLIOJOIFDCase_ = 1282;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
public Builder clearCubicSize() {
|
|
if (cubicSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
}
|
|
cubicSizeBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder getCubicSizeBuilder() {
|
|
return getCubicSizeFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder getCubicSizeOrBuilder() {
|
|
if ((eFOLIOJOIFDCase_ == 1282) && (cubicSizeBuilder_ != null)) {
|
|
return cubicSizeBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 1282) {
|
|
return (emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.Vector cubic_size = 1282;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>
|
|
getCubicSizeFieldBuilder() {
|
|
if (cubicSizeBuilder_ == null) {
|
|
if (!(eFOLIOJOIFDCase_ == 1282)) {
|
|
eFOLIOJOIFD_ = emu.grasscutter.net.proto.VectorOuterClass.Vector.getDefaultInstance();
|
|
}
|
|
cubicSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.VectorOuterClass.Vector, emu.grasscutter.net.proto.VectorOuterClass.Vector.Builder, emu.grasscutter.net.proto.VectorOuterClass.VectorOrBuilder>(
|
|
(emu.grasscutter.net.proto.VectorOuterClass.Vector) eFOLIOJOIFD_,
|
|
getParentForChildren(),
|
|
isClean());
|
|
eFOLIOJOIFD_ = null;
|
|
}
|
|
eFOLIOJOIFDCase_ = 1282;
|
|
onChanged();;
|
|
return cubicSizeBuilder_;
|
|
}
|
|
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize, emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.Builder, emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSizeOrBuilder> cylinderSizeBuilder_;
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
* @return Whether the cylinderSize field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasCylinderSize() {
|
|
return eFOLIOJOIFDCase_ == 1201;
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
* @return The cylinderSize.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize getCylinderSize() {
|
|
if (cylinderSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
return (emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.getDefaultInstance();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
return cylinderSizeBuilder_.getMessage();
|
|
}
|
|
return emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
public Builder setCylinderSize(emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize value) {
|
|
if (cylinderSizeBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
eFOLIOJOIFD_ = value;
|
|
onChanged();
|
|
} else {
|
|
cylinderSizeBuilder_.setMessage(value);
|
|
}
|
|
eFOLIOJOIFDCase_ = 1201;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
public Builder setCylinderSize(
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.Builder builderForValue) {
|
|
if (cylinderSizeBuilder_ == null) {
|
|
eFOLIOJOIFD_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
cylinderSizeBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
eFOLIOJOIFDCase_ = 1201;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
public Builder mergeCylinderSize(emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize value) {
|
|
if (cylinderSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 1201 &&
|
|
eFOLIOJOIFD_ != emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.getDefaultInstance()) {
|
|
eFOLIOJOIFD_ = emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.newBuilder((emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_)
|
|
.mergeFrom(value).buildPartial();
|
|
} else {
|
|
eFOLIOJOIFD_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
cylinderSizeBuilder_.mergeFrom(value);
|
|
}
|
|
cylinderSizeBuilder_.setMessage(value);
|
|
}
|
|
eFOLIOJOIFDCase_ = 1201;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
public Builder clearCylinderSize() {
|
|
if (cylinderSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
}
|
|
cylinderSizeBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.Builder getCylinderSizeBuilder() {
|
|
return getCylinderSizeFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSizeOrBuilder getCylinderSizeOrBuilder() {
|
|
if ((eFOLIOJOIFDCase_ == 1201) && (cylinderSizeBuilder_ != null)) {
|
|
return cylinderSizeBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 1201) {
|
|
return (emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.CylinderRegionSize cylinder_size = 1201;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize, emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.Builder, emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSizeOrBuilder>
|
|
getCylinderSizeFieldBuilder() {
|
|
if (cylinderSizeBuilder_ == null) {
|
|
if (!(eFOLIOJOIFDCase_ == 1201)) {
|
|
eFOLIOJOIFD_ = emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.getDefaultInstance();
|
|
}
|
|
cylinderSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize, emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize.Builder, emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSizeOrBuilder>(
|
|
(emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.CylinderRegionSize) eFOLIOJOIFD_,
|
|
getParentForChildren(),
|
|
isClean());
|
|
eFOLIOJOIFD_ = null;
|
|
}
|
|
eFOLIOJOIFDCase_ = 1201;
|
|
onChanged();;
|
|
return cylinderSizeBuilder_;
|
|
}
|
|
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize, emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.Builder, emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSizeOrBuilder> polygonSizeBuilder_;
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
* @return Whether the polygonSize field is set.
|
|
*/
|
|
@java.lang.Override
|
|
public boolean hasPolygonSize() {
|
|
return eFOLIOJOIFDCase_ == 818;
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
* @return The polygonSize.
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize getPolygonSize() {
|
|
if (polygonSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
return (emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.getDefaultInstance();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
return polygonSizeBuilder_.getMessage();
|
|
}
|
|
return emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
public Builder setPolygonSize(emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize value) {
|
|
if (polygonSizeBuilder_ == null) {
|
|
if (value == null) {
|
|
throw new NullPointerException();
|
|
}
|
|
eFOLIOJOIFD_ = value;
|
|
onChanged();
|
|
} else {
|
|
polygonSizeBuilder_.setMessage(value);
|
|
}
|
|
eFOLIOJOIFDCase_ = 818;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
public Builder setPolygonSize(
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.Builder builderForValue) {
|
|
if (polygonSizeBuilder_ == null) {
|
|
eFOLIOJOIFD_ = builderForValue.build();
|
|
onChanged();
|
|
} else {
|
|
polygonSizeBuilder_.setMessage(builderForValue.build());
|
|
}
|
|
eFOLIOJOIFDCase_ = 818;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
public Builder mergePolygonSize(emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize value) {
|
|
if (polygonSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 818 &&
|
|
eFOLIOJOIFD_ != emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.getDefaultInstance()) {
|
|
eFOLIOJOIFD_ = emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.newBuilder((emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_)
|
|
.mergeFrom(value).buildPartial();
|
|
} else {
|
|
eFOLIOJOIFD_ = value;
|
|
}
|
|
onChanged();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
polygonSizeBuilder_.mergeFrom(value);
|
|
}
|
|
polygonSizeBuilder_.setMessage(value);
|
|
}
|
|
eFOLIOJOIFDCase_ = 818;
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
public Builder clearPolygonSize() {
|
|
if (polygonSizeBuilder_ == null) {
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
onChanged();
|
|
}
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
eFOLIOJOIFDCase_ = 0;
|
|
eFOLIOJOIFD_ = null;
|
|
}
|
|
polygonSizeBuilder_.clear();
|
|
}
|
|
return this;
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
public emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.Builder getPolygonSizeBuilder() {
|
|
return getPolygonSizeFieldBuilder().getBuilder();
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSizeOrBuilder getPolygonSizeOrBuilder() {
|
|
if ((eFOLIOJOIFDCase_ == 818) && (polygonSizeBuilder_ != null)) {
|
|
return polygonSizeBuilder_.getMessageOrBuilder();
|
|
} else {
|
|
if (eFOLIOJOIFDCase_ == 818) {
|
|
return (emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_;
|
|
}
|
|
return emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.getDefaultInstance();
|
|
}
|
|
}
|
|
/**
|
|
* <code>.PolygonRegionSize polygon_size = 818;</code>
|
|
*/
|
|
private com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize, emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.Builder, emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSizeOrBuilder>
|
|
getPolygonSizeFieldBuilder() {
|
|
if (polygonSizeBuilder_ == null) {
|
|
if (!(eFOLIOJOIFDCase_ == 818)) {
|
|
eFOLIOJOIFD_ = emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.getDefaultInstance();
|
|
}
|
|
polygonSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize, emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize.Builder, emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSizeOrBuilder>(
|
|
(emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.PolygonRegionSize) eFOLIOJOIFD_,
|
|
getParentForChildren(),
|
|
isClean());
|
|
eFOLIOJOIFD_ = null;
|
|
}
|
|
eFOLIOJOIFDCase_ = 818;
|
|
onChanged();;
|
|
return polygonSizeBuilder_;
|
|
}
|
|
@java.lang.Override
|
|
public final Builder setUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.setUnknownFields(unknownFields);
|
|
}
|
|
|
|
@java.lang.Override
|
|
public final Builder mergeUnknownFields(
|
|
final com.google.protobuf.UnknownFieldSet unknownFields) {
|
|
return super.mergeUnknownFields(unknownFields);
|
|
}
|
|
|
|
|
|
// @@protoc_insertion_point(builder_scope:HAFFINEEMDH)
|
|
}
|
|
|
|
// @@protoc_insertion_point(class_scope:HAFFINEEMDH)
|
|
private static final emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH DEFAULT_INSTANCE;
|
|
static {
|
|
DEFAULT_INSTANCE = new emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH();
|
|
}
|
|
|
|
public static emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
private static final com.google.protobuf.Parser<HAFFINEEMDH>
|
|
PARSER = new com.google.protobuf.AbstractParser<HAFFINEEMDH>() {
|
|
@java.lang.Override
|
|
public HAFFINEEMDH parsePartialFrom(
|
|
com.google.protobuf.CodedInputStream input,
|
|
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
|
throws com.google.protobuf.InvalidProtocolBufferException {
|
|
return new HAFFINEEMDH(input, extensionRegistry);
|
|
}
|
|
};
|
|
|
|
public static com.google.protobuf.Parser<HAFFINEEMDH> parser() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public com.google.protobuf.Parser<HAFFINEEMDH> getParserForType() {
|
|
return PARSER;
|
|
}
|
|
|
|
@java.lang.Override
|
|
public emu.grasscutter.net.proto.HAFFINEEMDHOuterClass.HAFFINEEMDH getDefaultInstanceForType() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
}
|
|
|
|
private static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_HAFFINEEMDH_descriptor;
|
|
private static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_HAFFINEEMDH_fieldAccessorTable;
|
|
|
|
public static com.google.protobuf.Descriptors.FileDescriptor
|
|
getDescriptor() {
|
|
return descriptor;
|
|
}
|
|
private static com.google.protobuf.Descriptors.FileDescriptor
|
|
descriptor;
|
|
static {
|
|
java.lang.String[] descriptorData = {
|
|
"\n\021HAFFINEEMDH.proto\032\014Vector.proto\032\030Cylin" +
|
|
"derRegionSize.proto\032\027PolygonRegionSize.p" +
|
|
"roto\"\374\001\n\013HAFFINEEMDH\022\020\n\010group_id\030\013 \001(\r\022\r" +
|
|
"\n\005shape\030\003 \001(\r\022\024\n\003pos\030\n \001(\0132\007.Vector\022\021\n\tc" +
|
|
"onfig_id\030\016 \001(\r\022\030\n\rsphere_radius\030\310\017 \001(\002H\000" +
|
|
"\022\036\n\ncubic_size\030\202\n \001(\0132\007.VectorH\000\022-\n\rcyli" +
|
|
"nder_size\030\261\t \001(\0132\023.CylinderRegionSizeH\000\022" +
|
|
"+\n\014polygon_size\030\262\006 \001(\0132\022.PolygonRegionSi" +
|
|
"zeH\000B\r\n\013EFOLIOJOIFDB\033\n\031emu.grasscutter.n" +
|
|
"et.protob\006proto3"
|
|
};
|
|
descriptor = com.google.protobuf.Descriptors.FileDescriptor
|
|
.internalBuildGeneratedFileFrom(descriptorData,
|
|
new com.google.protobuf.Descriptors.FileDescriptor[] {
|
|
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.getDescriptor(),
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.getDescriptor(),
|
|
});
|
|
internal_static_HAFFINEEMDH_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_HAFFINEEMDH_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_HAFFINEEMDH_descriptor,
|
|
new java.lang.String[] { "GroupId", "Shape", "Pos", "ConfigId", "SphereRadius", "CubicSize", "CylinderSize", "PolygonSize", "EFOLIOJOIFD", });
|
|
emu.grasscutter.net.proto.VectorOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.CylinderRegionSizeOuterClass.getDescriptor();
|
|
emu.grasscutter.net.proto.PolygonRegionSizeOuterClass.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|