back_recharge
parent
ec9b9a67e4
commit
8bbf0233fa
File diff suppressed because it is too large
Load Diff
|
@ -93188,6 +93188,680 @@ public final class PlayerInfoProto {
|
|||
// @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.SexChangeResponse)
|
||||
}
|
||||
|
||||
public interface PrivilegeIndicationOrBuilder
|
||||
extends com.google.protobuf.MessageOrBuilder {
|
||||
|
||||
// repeated .com.ljsd.jieling.protocols.Privilege infos = 1;
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
java.util.List<com.ljsd.jieling.protocols.CommonProto.Privilege>
|
||||
getInfosList();
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
com.ljsd.jieling.protocols.CommonProto.Privilege getInfos(int index);
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
int getInfosCount();
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
java.util.List<? extends com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder>
|
||||
getInfosOrBuilderList();
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder getInfosOrBuilder(
|
||||
int index);
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code com.ljsd.jieling.protocols.PrivilegeIndication}
|
||||
*/
|
||||
public static final class PrivilegeIndication extends
|
||||
com.google.protobuf.GeneratedMessage
|
||||
implements PrivilegeIndicationOrBuilder {
|
||||
// Use PrivilegeIndication.newBuilder() to construct.
|
||||
private PrivilegeIndication(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
|
||||
super(builder);
|
||||
this.unknownFields = builder.getUnknownFields();
|
||||
}
|
||||
private PrivilegeIndication(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
|
||||
|
||||
private static final PrivilegeIndication defaultInstance;
|
||||
public static PrivilegeIndication getDefaultInstance() {
|
||||
return defaultInstance;
|
||||
}
|
||||
|
||||
public PrivilegeIndication getDefaultInstanceForType() {
|
||||
return defaultInstance;
|
||||
}
|
||||
|
||||
private final com.google.protobuf.UnknownFieldSet unknownFields;
|
||||
@java.lang.Override
|
||||
public final com.google.protobuf.UnknownFieldSet
|
||||
getUnknownFields() {
|
||||
return this.unknownFields;
|
||||
}
|
||||
private PrivilegeIndication(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
initFields();
|
||||
int mutable_bitField0_ = 0;
|
||||
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;
|
||||
default: {
|
||||
if (!parseUnknownField(input, unknownFields,
|
||||
extensionRegistry, tag)) {
|
||||
done = true;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
infos_ = new java.util.ArrayList<com.ljsd.jieling.protocols.CommonProto.Privilege>();
|
||||
mutable_bitField0_ |= 0x00000001;
|
||||
}
|
||||
infos_.add(input.readMessage(com.ljsd.jieling.protocols.CommonProto.Privilege.PARSER, extensionRegistry));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
throw e.setUnfinishedMessage(this);
|
||||
} catch (java.io.IOException e) {
|
||||
throw new com.google.protobuf.InvalidProtocolBufferException(
|
||||
e.getMessage()).setUnfinishedMessage(this);
|
||||
} finally {
|
||||
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
infos_ = java.util.Collections.unmodifiableList(infos_);
|
||||
}
|
||||
this.unknownFields = unknownFields.build();
|
||||
makeExtensionsImmutable();
|
||||
}
|
||||
}
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.ljsd.jieling.protocols.PlayerInfoProto.internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.ljsd.jieling.protocols.PlayerInfoProto.internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication.class, com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication.Builder.class);
|
||||
}
|
||||
|
||||
public static com.google.protobuf.Parser<PrivilegeIndication> PARSER =
|
||||
new com.google.protobuf.AbstractParser<PrivilegeIndication>() {
|
||||
public PrivilegeIndication parsePartialFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return new PrivilegeIndication(input, extensionRegistry);
|
||||
}
|
||||
};
|
||||
|
||||
@java.lang.Override
|
||||
public com.google.protobuf.Parser<PrivilegeIndication> getParserForType() {
|
||||
return PARSER;
|
||||
}
|
||||
|
||||
// repeated .com.ljsd.jieling.protocols.Privilege infos = 1;
|
||||
public static final int INFOS_FIELD_NUMBER = 1;
|
||||
private java.util.List<com.ljsd.jieling.protocols.CommonProto.Privilege> infos_;
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public java.util.List<com.ljsd.jieling.protocols.CommonProto.Privilege> getInfosList() {
|
||||
return infos_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public java.util.List<? extends com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder>
|
||||
getInfosOrBuilderList() {
|
||||
return infos_;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public int getInfosCount() {
|
||||
return infos_.size();
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public com.ljsd.jieling.protocols.CommonProto.Privilege getInfos(int index) {
|
||||
return infos_.get(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder getInfosOrBuilder(
|
||||
int index) {
|
||||
return infos_.get(index);
|
||||
}
|
||||
|
||||
private void initFields() {
|
||||
infos_ = java.util.Collections.emptyList();
|
||||
}
|
||||
private byte memoizedIsInitialized = -1;
|
||||
public final boolean isInitialized() {
|
||||
byte isInitialized = memoizedIsInitialized;
|
||||
if (isInitialized != -1) return isInitialized == 1;
|
||||
|
||||
memoizedIsInitialized = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
public void writeTo(com.google.protobuf.CodedOutputStream output)
|
||||
throws java.io.IOException {
|
||||
getSerializedSize();
|
||||
for (int i = 0; i < infos_.size(); i++) {
|
||||
output.writeMessage(1, infos_.get(i));
|
||||
}
|
||||
getUnknownFields().writeTo(output);
|
||||
}
|
||||
|
||||
private int memoizedSerializedSize = -1;
|
||||
public int getSerializedSize() {
|
||||
int size = memoizedSerializedSize;
|
||||
if (size != -1) return size;
|
||||
|
||||
size = 0;
|
||||
for (int i = 0; i < infos_.size(); i++) {
|
||||
size += com.google.protobuf.CodedOutputStream
|
||||
.computeMessageSize(1, infos_.get(i));
|
||||
}
|
||||
size += getUnknownFields().getSerializedSize();
|
||||
memoizedSerializedSize = size;
|
||||
return size;
|
||||
}
|
||||
|
||||
private static final long serialVersionUID = 0L;
|
||||
@java.lang.Override
|
||||
protected java.lang.Object writeReplace()
|
||||
throws java.io.ObjectStreamException {
|
||||
return super.writeReplace();
|
||||
}
|
||||
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseFrom(
|
||||
com.google.protobuf.ByteString data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseFrom(
|
||||
com.google.protobuf.ByteString data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseFrom(byte[] data)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseFrom(
|
||||
byte[] data,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws com.google.protobuf.InvalidProtocolBufferException {
|
||||
return PARSER.parseFrom(data, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseDelimitedFrom(java.io.InputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseDelimitedFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseDelimitedFrom(
|
||||
java.io.InputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseDelimitedFrom(input, extensionRegistry);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseFrom(
|
||||
com.google.protobuf.CodedInputStream input)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input);
|
||||
}
|
||||
public static com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parseFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
return PARSER.parseFrom(input, extensionRegistry);
|
||||
}
|
||||
|
||||
public static Builder newBuilder() { return Builder.create(); }
|
||||
public Builder newBuilderForType() { return newBuilder(); }
|
||||
public static Builder newBuilder(com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication prototype) {
|
||||
return newBuilder().mergeFrom(prototype);
|
||||
}
|
||||
public Builder toBuilder() { return newBuilder(this); }
|
||||
|
||||
@java.lang.Override
|
||||
protected Builder newBuilderForType(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
Builder builder = new Builder(parent);
|
||||
return builder;
|
||||
}
|
||||
/**
|
||||
* Protobuf type {@code com.ljsd.jieling.protocols.PrivilegeIndication}
|
||||
*/
|
||||
public static final class Builder extends
|
||||
com.google.protobuf.GeneratedMessage.Builder<Builder>
|
||||
implements com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndicationOrBuilder {
|
||||
public static final com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptor() {
|
||||
return com.ljsd.jieling.protocols.PlayerInfoProto.internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_descriptor;
|
||||
}
|
||||
|
||||
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internalGetFieldAccessorTable() {
|
||||
return com.ljsd.jieling.protocols.PlayerInfoProto.internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_fieldAccessorTable
|
||||
.ensureFieldAccessorsInitialized(
|
||||
com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication.class, com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication.Builder.class);
|
||||
}
|
||||
|
||||
// Construct using com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication.newBuilder()
|
||||
private Builder() {
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
|
||||
private Builder(
|
||||
com.google.protobuf.GeneratedMessage.BuilderParent parent) {
|
||||
super(parent);
|
||||
maybeForceBuilderInitialization();
|
||||
}
|
||||
private void maybeForceBuilderInitialization() {
|
||||
if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
|
||||
getInfosFieldBuilder();
|
||||
}
|
||||
}
|
||||
private static Builder create() {
|
||||
return new Builder();
|
||||
}
|
||||
|
||||
public Builder clear() {
|
||||
super.clear();
|
||||
if (infosBuilder_ == null) {
|
||||
infos_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
infosBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clone() {
|
||||
return create().mergeFrom(buildPartial());
|
||||
}
|
||||
|
||||
public com.google.protobuf.Descriptors.Descriptor
|
||||
getDescriptorForType() {
|
||||
return com.ljsd.jieling.protocols.PlayerInfoProto.internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_descriptor;
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication getDefaultInstanceForType() {
|
||||
return com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication.getDefaultInstance();
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication build() {
|
||||
com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication result = buildPartial();
|
||||
if (!result.isInitialized()) {
|
||||
throw newUninitializedMessageException(result);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
public com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication buildPartial() {
|
||||
com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication result = new com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication(this);
|
||||
int from_bitField0_ = bitField0_;
|
||||
if (infosBuilder_ == null) {
|
||||
if (((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
infos_ = java.util.Collections.unmodifiableList(infos_);
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
}
|
||||
result.infos_ = infos_;
|
||||
} else {
|
||||
result.infos_ = infosBuilder_.build();
|
||||
}
|
||||
onBuilt();
|
||||
return result;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.google.protobuf.Message other) {
|
||||
if (other instanceof com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication) {
|
||||
return mergeFrom((com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication)other);
|
||||
} else {
|
||||
super.mergeFrom(other);
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
||||
public Builder mergeFrom(com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication other) {
|
||||
if (other == com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication.getDefaultInstance()) return this;
|
||||
if (infosBuilder_ == null) {
|
||||
if (!other.infos_.isEmpty()) {
|
||||
if (infos_.isEmpty()) {
|
||||
infos_ = other.infos_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
} else {
|
||||
ensureInfosIsMutable();
|
||||
infos_.addAll(other.infos_);
|
||||
}
|
||||
onChanged();
|
||||
}
|
||||
} else {
|
||||
if (!other.infos_.isEmpty()) {
|
||||
if (infosBuilder_.isEmpty()) {
|
||||
infosBuilder_.dispose();
|
||||
infosBuilder_ = null;
|
||||
infos_ = other.infos_;
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
infosBuilder_ =
|
||||
com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
|
||||
getInfosFieldBuilder() : null;
|
||||
} else {
|
||||
infosBuilder_.addAllMessages(other.infos_);
|
||||
}
|
||||
}
|
||||
}
|
||||
this.mergeUnknownFields(other.getUnknownFields());
|
||||
return this;
|
||||
}
|
||||
|
||||
public final boolean isInitialized() {
|
||||
return true;
|
||||
}
|
||||
|
||||
public Builder mergeFrom(
|
||||
com.google.protobuf.CodedInputStream input,
|
||||
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
||||
throws java.io.IOException {
|
||||
com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication parsedMessage = null;
|
||||
try {
|
||||
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
|
||||
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
|
||||
parsedMessage = (com.ljsd.jieling.protocols.PlayerInfoProto.PrivilegeIndication) e.getUnfinishedMessage();
|
||||
throw e;
|
||||
} finally {
|
||||
if (parsedMessage != null) {
|
||||
mergeFrom(parsedMessage);
|
||||
}
|
||||
}
|
||||
return this;
|
||||
}
|
||||
private int bitField0_;
|
||||
|
||||
// repeated .com.ljsd.jieling.protocols.Privilege infos = 1;
|
||||
private java.util.List<com.ljsd.jieling.protocols.CommonProto.Privilege> infos_ =
|
||||
java.util.Collections.emptyList();
|
||||
private void ensureInfosIsMutable() {
|
||||
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
|
||||
infos_ = new java.util.ArrayList<com.ljsd.jieling.protocols.CommonProto.Privilege>(infos_);
|
||||
bitField0_ |= 0x00000001;
|
||||
}
|
||||
}
|
||||
|
||||
private com.google.protobuf.RepeatedFieldBuilder<
|
||||
com.ljsd.jieling.protocols.CommonProto.Privilege, com.ljsd.jieling.protocols.CommonProto.Privilege.Builder, com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder> infosBuilder_;
|
||||
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public java.util.List<com.ljsd.jieling.protocols.CommonProto.Privilege> getInfosList() {
|
||||
if (infosBuilder_ == null) {
|
||||
return java.util.Collections.unmodifiableList(infos_);
|
||||
} else {
|
||||
return infosBuilder_.getMessageList();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public int getInfosCount() {
|
||||
if (infosBuilder_ == null) {
|
||||
return infos_.size();
|
||||
} else {
|
||||
return infosBuilder_.getCount();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public com.ljsd.jieling.protocols.CommonProto.Privilege getInfos(int index) {
|
||||
if (infosBuilder_ == null) {
|
||||
return infos_.get(index);
|
||||
} else {
|
||||
return infosBuilder_.getMessage(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder setInfos(
|
||||
int index, com.ljsd.jieling.protocols.CommonProto.Privilege value) {
|
||||
if (infosBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureInfosIsMutable();
|
||||
infos_.set(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.setMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder setInfos(
|
||||
int index, com.ljsd.jieling.protocols.CommonProto.Privilege.Builder builderForValue) {
|
||||
if (infosBuilder_ == null) {
|
||||
ensureInfosIsMutable();
|
||||
infos_.set(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.setMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder addInfos(com.ljsd.jieling.protocols.CommonProto.Privilege value) {
|
||||
if (infosBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureInfosIsMutable();
|
||||
infos_.add(value);
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.addMessage(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder addInfos(
|
||||
int index, com.ljsd.jieling.protocols.CommonProto.Privilege value) {
|
||||
if (infosBuilder_ == null) {
|
||||
if (value == null) {
|
||||
throw new NullPointerException();
|
||||
}
|
||||
ensureInfosIsMutable();
|
||||
infos_.add(index, value);
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.addMessage(index, value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder addInfos(
|
||||
com.ljsd.jieling.protocols.CommonProto.Privilege.Builder builderForValue) {
|
||||
if (infosBuilder_ == null) {
|
||||
ensureInfosIsMutable();
|
||||
infos_.add(builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.addMessage(builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder addInfos(
|
||||
int index, com.ljsd.jieling.protocols.CommonProto.Privilege.Builder builderForValue) {
|
||||
if (infosBuilder_ == null) {
|
||||
ensureInfosIsMutable();
|
||||
infos_.add(index, builderForValue.build());
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.addMessage(index, builderForValue.build());
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder addAllInfos(
|
||||
java.lang.Iterable<? extends com.ljsd.jieling.protocols.CommonProto.Privilege> values) {
|
||||
if (infosBuilder_ == null) {
|
||||
ensureInfosIsMutable();
|
||||
super.addAll(values, infos_);
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.addAllMessages(values);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder clearInfos() {
|
||||
if (infosBuilder_ == null) {
|
||||
infos_ = java.util.Collections.emptyList();
|
||||
bitField0_ = (bitField0_ & ~0x00000001);
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.clear();
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public Builder removeInfos(int index) {
|
||||
if (infosBuilder_ == null) {
|
||||
ensureInfosIsMutable();
|
||||
infos_.remove(index);
|
||||
onChanged();
|
||||
} else {
|
||||
infosBuilder_.remove(index);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public com.ljsd.jieling.protocols.CommonProto.Privilege.Builder getInfosBuilder(
|
||||
int index) {
|
||||
return getInfosFieldBuilder().getBuilder(index);
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder getInfosOrBuilder(
|
||||
int index) {
|
||||
if (infosBuilder_ == null) {
|
||||
return infos_.get(index); } else {
|
||||
return infosBuilder_.getMessageOrBuilder(index);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public java.util.List<? extends com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder>
|
||||
getInfosOrBuilderList() {
|
||||
if (infosBuilder_ != null) {
|
||||
return infosBuilder_.getMessageOrBuilderList();
|
||||
} else {
|
||||
return java.util.Collections.unmodifiableList(infos_);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public com.ljsd.jieling.protocols.CommonProto.Privilege.Builder addInfosBuilder() {
|
||||
return getInfosFieldBuilder().addBuilder(
|
||||
com.ljsd.jieling.protocols.CommonProto.Privilege.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public com.ljsd.jieling.protocols.CommonProto.Privilege.Builder addInfosBuilder(
|
||||
int index) {
|
||||
return getInfosFieldBuilder().addBuilder(
|
||||
index, com.ljsd.jieling.protocols.CommonProto.Privilege.getDefaultInstance());
|
||||
}
|
||||
/**
|
||||
* <code>repeated .com.ljsd.jieling.protocols.Privilege infos = 1;</code>
|
||||
*/
|
||||
public java.util.List<com.ljsd.jieling.protocols.CommonProto.Privilege.Builder>
|
||||
getInfosBuilderList() {
|
||||
return getInfosFieldBuilder().getBuilderList();
|
||||
}
|
||||
private com.google.protobuf.RepeatedFieldBuilder<
|
||||
com.ljsd.jieling.protocols.CommonProto.Privilege, com.ljsd.jieling.protocols.CommonProto.Privilege.Builder, com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder>
|
||||
getInfosFieldBuilder() {
|
||||
if (infosBuilder_ == null) {
|
||||
infosBuilder_ = new com.google.protobuf.RepeatedFieldBuilder<
|
||||
com.ljsd.jieling.protocols.CommonProto.Privilege, com.ljsd.jieling.protocols.CommonProto.Privilege.Builder, com.ljsd.jieling.protocols.CommonProto.PrivilegeOrBuilder>(
|
||||
infos_,
|
||||
((bitField0_ & 0x00000001) == 0x00000001),
|
||||
getParentForChildren(),
|
||||
isClean());
|
||||
infos_ = null;
|
||||
}
|
||||
return infosBuilder_;
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(builder_scope:com.ljsd.jieling.protocols.PrivilegeIndication)
|
||||
}
|
||||
|
||||
static {
|
||||
defaultInstance = new PrivilegeIndication(true);
|
||||
defaultInstance.initFields();
|
||||
}
|
||||
|
||||
// @@protoc_insertion_point(class_scope:com.ljsd.jieling.protocols.PrivilegeIndication)
|
||||
}
|
||||
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_com_ljsd_jieling_protocols_ErrorMsgResponse_descriptor;
|
||||
private static
|
||||
|
@ -93868,6 +94542,11 @@ public final class PlayerInfoProto {
|
|||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_com_ljsd_jieling_protocols_SexChangeResponse_fieldAccessorTable;
|
||||
private static com.google.protobuf.Descriptors.Descriptor
|
||||
internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_descriptor;
|
||||
private static
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable
|
||||
internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_fieldAccessorTable;
|
||||
|
||||
public static com.google.protobuf.Descriptors.FileDescriptor
|
||||
getDescriptor() {
|
||||
|
@ -94169,7 +94848,9 @@ public final class PlayerInfoProto {
|
|||
"endHeroRequest\022\017\n\007heroIds\030\001 \003(\t\022\021\n\tmissi",
|
||||
"onId\030\002 \001(\005\"1\n\034MissingRoomAccelerateReque" +
|
||||
"st\022\021\n\tmissionId\030\001 \001(\005\"\037\n\020SexChangeReques" +
|
||||
"t\022\013\n\003sex\030\001 \001(\005\"\023\n\021SexChangeResponseB\002H\001"
|
||||
"t\022\013\n\003sex\030\001 \001(\005\"\023\n\021SexChangeResponse\"K\n\023P" +
|
||||
"rivilegeIndication\0224\n\005infos\030\001 \003(\0132%.com." +
|
||||
"ljsd.jieling.protocols.PrivilegeB\002H\001"
|
||||
};
|
||||
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
|
||||
new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
|
||||
|
@ -94992,6 +95673,12 @@ public final class PlayerInfoProto {
|
|||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_com_ljsd_jieling_protocols_SexChangeResponse_descriptor,
|
||||
new java.lang.String[] { });
|
||||
internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_descriptor =
|
||||
getDescriptor().getMessageTypes().get(136);
|
||||
internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_fieldAccessorTable = new
|
||||
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
|
||||
internal_static_com_ljsd_jieling_protocols_PrivilegeIndication_descriptor,
|
||||
new java.lang.String[] { "Infos", });
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
|
|
@ -336,28 +336,27 @@ public class HeroLogic{
|
|||
private int getSpecialPoolByRandcount(SLotterySetting sLotterySetting, int randCount,int poolCount) {
|
||||
int id = sLotterySetting.getId();
|
||||
List<SLotterySpecialConfig> list = SLotterySpecialConfig.getLotterySpecialConfigListByType(1,id);
|
||||
boolean isMergePool = false;
|
||||
|
||||
if (list == null) {
|
||||
list = SLotterySpecialConfig.getLotterySpecialConfigListByType(2,sLotterySetting.getMergePool());
|
||||
if(list == null){
|
||||
return 0;
|
||||
}
|
||||
isMergePool = true;
|
||||
|
||||
}
|
||||
int poolId = 0;
|
||||
for (SLotterySpecialConfig data : list) {
|
||||
if(data.getDifferentType() == 2 && poolCount==data.getCount()){
|
||||
poolId = data.getpool_id();
|
||||
break;
|
||||
int n ;
|
||||
if(data.getDifferentType() == 2 ){
|
||||
if(poolCount%data.getCount()!=0){
|
||||
continue;
|
||||
}
|
||||
n = poolCount / data.getCount();
|
||||
}else{
|
||||
if (randCount % data.getCount() != 0) {
|
||||
continue;
|
||||
}
|
||||
n = randCount / data.getCount();
|
||||
}
|
||||
if(isMergePool){
|
||||
continue;
|
||||
}
|
||||
if (randCount % data.getCount() != 0) {
|
||||
continue;
|
||||
}
|
||||
int n = randCount / data.getCount();
|
||||
if (n < data.getMin_num()) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue