proto is modified

This commit is contained in:
병준 박 2022-08-29 08:14:29 +00:00
parent 390ca7e24d
commit 459bc67020
20 changed files with 784 additions and 386 deletions

View File

@ -180,3 +180,113 @@ export namespace ListGamesResponse {
};
}
}
export class GetGameUrlRequest extends jspb.Message {
getVendorKey(): string;
setVendorKey(value: string): void;
getGameKey(): string;
setGameKey(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetGameUrlRequest.AsObject;
static toObject(
includeInstance: boolean,
msg: GetGameUrlRequest
): GetGameUrlRequest.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: GetGameUrlRequest,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): GetGameUrlRequest;
static deserializeBinaryFromReader(
message: GetGameUrlRequest,
reader: jspb.BinaryReader
): GetGameUrlRequest;
}
export namespace GetGameUrlRequest {
export type AsObject = {
vendorKey: string;
gameKey: string;
};
}
export class GetGameUrlResponse extends jspb.Message {
hasError(): boolean;
clearError(): void;
getError(): protobuf_rpc_pb.Error | undefined;
setError(value?: protobuf_rpc_pb.Error): void;
hasResult(): boolean;
clearResult(): void;
getResult(): GetGameUrlResponse.Result | undefined;
setResult(value?: GetGameUrlResponse.Result): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): GetGameUrlResponse.AsObject;
static toObject(
includeInstance: boolean,
msg: GetGameUrlResponse
): GetGameUrlResponse.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: GetGameUrlResponse,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): GetGameUrlResponse;
static deserializeBinaryFromReader(
message: GetGameUrlResponse,
reader: jspb.BinaryReader
): GetGameUrlResponse;
}
export namespace GetGameUrlResponse {
export type AsObject = {
error?: protobuf_rpc_pb.Error.AsObject;
result?: GetGameUrlResponse.Result.AsObject;
};
export class Result extends jspb.Message {
getUserId(): number;
setUserId(value: number): void;
getBalance(): number;
setBalance(value: number): void;
getUrl(): string;
setUrl(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Result.AsObject;
static toObject(includeInstance: boolean, msg: Result): Result.AsObject;
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> };
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>;
};
static serializeBinaryToWriter(
message: Result,
writer: jspb.BinaryWriter
): void;
static deserializeBinary(bytes: Uint8Array): Result;
static deserializeBinaryFromReader(
message: Result,
reader: jspb.BinaryReader
): Result;
}
export namespace Result {
export type AsObject = {
userId: number;
balance: number;
url: string;
};
}
}

View File

@ -25,6 +25,21 @@ var models_core_network_pb = require("../../models/core/network_pb.js");
goog.object.extend(proto, models_core_network_pb);
var models_api_game_pb = require("../../models/api/game_pb.js");
goog.object.extend(proto, models_api_game_pb);
goog.exportSymbol(
"proto.bet.beteran.c2se.api.game.GetGameUrlRequest",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.api.game.GetGameUrlResponse",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result",
null,
global
);
goog.exportSymbol(
"proto.bet.beteran.c2se.api.game.ListGamesRequest",
null,
@ -153,6 +168,77 @@ if (goog.DEBUG && !COMPILED) {
proto.bet.beteran.c2se.api.game.ListGamesResponse.Result.displayName =
"proto.bet.beteran.c2se.api.game.ListGamesResponse.Result";
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.api.game.GetGameUrlRequest, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.displayName =
"proto.bet.beteran.c2se.api.game.GetGameUrlRequest";
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse = function (opt_data) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(proto.bet.beteran.c2se.api.game.GetGameUrlResponse, jspb.Message);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.displayName =
"proto.bet.beteran.c2se.api.game.GetGameUrlResponse";
}
/**
* Generated by JsPbCodeGenerator.
* @param {Array=} opt_data Optional initial data array, typically from a
* server response, or constructed directly in Javascript. The array is used
* in place and becomes part of the constructed object. It is not cloned.
* If no data is provided, the constructed object will be empty, but still
* valid.
* @extends {jspb.Message}
* @constructor
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result = function (
opt_data
) {
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
};
goog.inherits(
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result,
jspb.Message
);
if (goog.DEBUG && !COMPILED) {
/**
* @public
* @override
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.displayName =
"proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result";
}
/**
* List of repeated fields within this message type.
@ -491,7 +577,7 @@ proto.bet.beteran.c2se.api.game.ListGamesRequest.Search.serializeBinaryToWriter
};
/**
* optional uint64 vendor_id = 1;
* optional uint64 parent_id = 1;
* @return {number}
*/
proto.bet.beteran.c2se.api.game.ListGamesRequest.Search.prototype.getParentId =
@ -1217,4 +1303,591 @@ proto.bet.beteran.c2se.api.game.ListGamesResponse.prototype.hasResult =
return jspb.Message.getField(this, 2) != null;
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.api.game.GetGameUrlRequest.toObject(
opt_includeInstance,
this
);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlRequest} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.toObject = function (
includeInstance,
msg
) {
var f,
obj = {
vendorKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
gameKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlRequest}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.deserializeBinary = function (
bytes
) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.bet.beteran.c2se.api.game.GetGameUrlRequest();
return proto.bet.beteran.c2se.api.game.GetGameUrlRequest.deserializeBinaryFromReader(
msg,
reader
);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlRequest} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlRequest}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {string} */ (reader.readString());
msg.setVendorKey(value);
break;
case 2:
var value = /** @type {string} */ (reader.readString());
msg.setGameKey(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlRequest} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getVendorKey();
if (f.length > 0) {
writer.writeString(1, f);
}
f = message.getGameKey();
if (f.length > 0) {
writer.writeString(2, f);
}
};
/**
* optional string vendor_key = 1;
* @return {string}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.prototype.getVendorKey =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 1, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlRequest} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.prototype.setVendorKey =
function (value) {
return jspb.Message.setProto3StringField(this, 1, value);
};
/**
* optional string game_key = 2;
* @return {string}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.prototype.getGameKey =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 2, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlRequest} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlRequest.prototype.setGameKey =
function (value) {
return jspb.Message.setProto3StringField(this, 2, value);
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.api.game.GetGameUrlResponse.toObject(
opt_includeInstance,
this
);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.toObject = function (
includeInstance,
msg
) {
var f,
obj = {
error:
(f = msg.getError()) &&
protobuf_rpc_pb.Error.toObject(includeInstance, f),
result:
(f = msg.getResult()) &&
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.toObject(
includeInstance,
f
),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.bet.beteran.c2se.api.game.GetGameUrlResponse();
return proto.bet.beteran.c2se.api.game.GetGameUrlResponse.deserializeBinaryFromReader(
msg,
reader
);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = new protobuf_rpc_pb.Error();
reader.readMessage(
value,
protobuf_rpc_pb.Error.deserializeBinaryFromReader
);
msg.setError(value);
break;
case 2:
var value =
new proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result();
reader.readMessage(
value,
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result
.deserializeBinaryFromReader
);
msg.setResult(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getError();
if (f != null) {
writer.writeMessage(1, f, protobuf_rpc_pb.Error.serializeBinaryToWriter);
}
f = message.getResult();
if (f != null) {
writer.writeMessage(
2,
f,
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result
.serializeBinaryToWriter
);
}
};
if (jspb.Message.GENERATE_TO_OBJECT) {
/**
* Creates an object representation of this proto.
* Field names that are reserved in JavaScript and will be renamed to pb_name.
* Optional fields that are not set will be set to undefined.
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
* For the list of reserved names please see:
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
* JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @return {!Object}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.toObject =
function (opt_includeInstance) {
return proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.toObject(
opt_includeInstance,
this
);
};
/**
* Static version of the {@see toObject} method.
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
* the JSPB instance for transitional soy proto support:
* http://goto/soy-param-migration
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result} msg The msg instance to transform.
* @return {!Object}
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.toObject =
function (includeInstance, msg) {
var f,
obj = {
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
balance: jspb.Message.getFieldWithDefault(msg, 2, 0),
url: jspb.Message.getFieldWithDefault(msg, 3, ""),
};
if (includeInstance) {
obj.$jspbMessageInstance = msg;
}
return obj;
};
}
/**
* Deserializes binary data (in protobuf wire format).
* @param {jspb.ByteSource} bytes The bytes to deserialize.
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.deserializeBinary =
function (bytes) {
var reader = new jspb.BinaryReader(bytes);
var msg = new proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result();
return proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.deserializeBinaryFromReader(
msg,
reader
);
};
/**
* Deserializes binary data (in protobuf wire format) from the
* given reader into the given message object.
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result} msg The message object to deserialize into.
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.deserializeBinaryFromReader =
function (msg, reader) {
while (reader.nextField()) {
if (reader.isEndGroup()) {
break;
}
var field = reader.getFieldNumber();
switch (field) {
case 1:
var value = /** @type {number} */ (reader.readUint64());
msg.setUserId(value);
break;
case 2:
var value = /** @type {number} */ (reader.readUint64());
msg.setBalance(value);
break;
case 3:
var value = /** @type {string} */ (reader.readString());
msg.setUrl(value);
break;
default:
reader.skipField();
break;
}
}
return msg;
};
/**
* Serializes the message to binary data (in protobuf wire format).
* @return {!Uint8Array}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.serializeBinary =
function () {
var writer = new jspb.BinaryWriter();
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.serializeBinaryToWriter(
this,
writer
);
return writer.getResultBuffer();
};
/**
* Serializes the given message to binary data (in protobuf wire
* format), writing to the given BinaryWriter.
* @param {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result} message
* @param {!jspb.BinaryWriter} writer
* @suppress {unusedLocalVariables} f is only used for nested messages
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.serializeBinaryToWriter =
function (message, writer) {
var f = undefined;
f = message.getUserId();
if (f !== 0) {
writer.writeUint64(1, f);
}
f = message.getBalance();
if (f !== 0) {
writer.writeUint64(2, f);
}
f = message.getUrl();
if (f.length > 0) {
writer.writeString(3, f);
}
};
/**
* optional uint64 user_id = 1;
* @return {number}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.getUserId =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.setUserId =
function (value) {
return jspb.Message.setProto3IntField(this, 1, value);
};
/**
* optional uint64 balance = 2;
* @return {number}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.getBalance =
function () {
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
};
/**
* @param {number} value
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.setBalance =
function (value) {
return jspb.Message.setProto3IntField(this, 2, value);
};
/**
* optional string url = 3;
* @return {string}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.getUrl =
function () {
return /** @type {string} */ (
jspb.Message.getFieldWithDefault(this, 3, "")
);
};
/**
* @param {string} value
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result.prototype.setUrl =
function (value) {
return jspb.Message.setProto3StringField(this, 3, value);
};
/**
* optional bet.protobuf.rpc.Error error = 1;
* @return {?proto.bet.protobuf.rpc.Error}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.getError =
function () {
return /** @type{?proto.bet.protobuf.rpc.Error} */ (
jspb.Message.getWrapperField(this, protobuf_rpc_pb.Error, 1)
);
};
/**
* @param {?proto.bet.protobuf.rpc.Error|undefined} value
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.setError =
function (value) {
return jspb.Message.setWrapperField(this, 1, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.clearError =
function () {
return this.setError(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.hasError =
function () {
return jspb.Message.getField(this, 1) != null;
};
/**
* optional Result result = 2;
* @return {?proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.getResult =
function () {
return /** @type{?proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result} */ (
jspb.Message.getWrapperField(
this,
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result,
2
)
);
};
/**
* @param {?proto.bet.beteran.c2se.api.game.GetGameUrlResponse.Result|undefined} value
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.setResult =
function (value) {
return jspb.Message.setWrapperField(this, 2, value);
};
/**
* Clears the message field making it undefined.
* @return {!proto.bet.beteran.c2se.api.game.GetGameUrlResponse} returns this
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.clearResult =
function () {
return this.setResult(undefined);
};
/**
* Returns whether this field is set.
* @return {boolean}
*/
proto.bet.beteran.c2se.api.game.GetGameUrlResponse.prototype.hasResult =
function () {
return jspb.Message.getField(this, 2) != null;
};
goog.object.extend(exports, proto.bet.beteran.c2se.api.game);

View File

@ -1,6 +0,0 @@
// package: bet.beteran.c2se.frontend.api.game
// file: c2se/frontend/api/game.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_LIST_GAMES: string;

View File

@ -1,27 +0,0 @@
// source: c2se/frontend/api/game.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol("proto.bet.beteran.c2se.frontend.api.game", null, global);
proto.bet.beteran.c2se.frontend.api.game = {};
proto.bet.beteran.c2se.frontend.api.game.SUBJECT_LIST_GAMES =
"bet.beteran.c2se.frontend.api.game.ListGames";
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.api.game);

View File

@ -1,6 +0,0 @@
// package: bet.beteran.c2se.frontend.api.vendor
// file: c2se/frontend/api/vendor.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_LIST_VENDORS: string;

View File

@ -1,27 +0,0 @@
// source: c2se/frontend/api/vendor.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol("proto.bet.beteran.c2se.frontend.api.vendor", null, global);
proto.bet.beteran.c2se.frontend.api.vendor = {};
proto.bet.beteran.c2se.frontend.api.vendor.SUBJECT_LIST_VENDORS =
"bet.beteran.c2se.frontend.api.vendor.ListVendors";
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.api.vendor);

View File

@ -1,7 +0,0 @@
// package: bet.beteran.c2se.frontend.bank
// file: c2se/frontend/bank.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_LIST_BANKS: string;
export const SUBJECT_GET_BANK: string;

View File

@ -1,29 +0,0 @@
// source: c2se/frontend/bank.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol("proto.bet.beteran.c2se.frontend.bank", null, global);
proto.bet.beteran.c2se.frontend.bank = {};
proto.bet.beteran.c2se.frontend.bank.SUBJECT_LIST_BANKS =
"bet.beteran.c2se.frontend.bank.ListBanks";
proto.bet.beteran.c2se.frontend.bank.SUBJECT_GET_BANK =
"bet.beteran.c2se.frontend.bank.GetBank";
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.bank);

View File

@ -1,10 +0,0 @@
// package: bet.beteran.c2se.frontend.identity
// file: c2se/frontend/identity.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_CHECK_USERNAME_FOR_DUPLICATION: string;
export const SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION: string;
export const SUBJECT_CAPTCHA: string;
export const SUBJECT_SIGNIN: string;
export const SUBJECT_SIGNIN_WITHOUT_SECURITY_CODE: string;

View File

@ -1,35 +0,0 @@
// source: c2se/frontend/identity.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol("proto.bet.beteran.c2se.frontend.identity", null, global);
proto.bet.beteran.c2se.frontend.identity = {};
proto.bet.beteran.c2se.frontend.identity.SUBJECT_CHECK_USERNAME_FOR_DUPLICATION =
"bet.beteran.c2se.frontend.identity.CheckUsernameForDuplication";
proto.bet.beteran.c2se.frontend.identity.SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION =
"bet.beteran.c2se.frontend.identity.CheckNicknameForDuplication";
proto.bet.beteran.c2se.frontend.identity.SUBJECT_CAPTCHA =
"bet.beteran.c2se.frontend.identity.Captcha";
proto.bet.beteran.c2se.frontend.identity.SUBJECT_SIGNIN =
"bet.beteran.c2se.frontend.identity.Signin";
proto.bet.beteran.c2se.frontend.identity.SUBJECT_SIGNIN_WITHOUT_SECURITY_CODE =
"bet.beteran.c2se.frontend.identity.SigninWithoutSecurityCode";
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.identity);

View File

@ -1,9 +0,0 @@
// package: bet.beteran.c2se.frontend.member_bank_account
// file: c2se/frontend/member_bank_account.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: string;
export const SUBJECT_GET_MEMBER_BANK_ACCOUNT: string;
export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT: string;
export const SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD: string;

View File

@ -1,40 +0,0 @@
// source: c2se/frontend/member_bank_account.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol(
"proto.bet.beteran.c2se.frontend.member_bank_account",
null,
global
);
proto.bet.beteran.c2se.frontend.member_bank_account = {};
proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_CREATE_MEMBER_BANK_ACCOUNT =
"bet.beteran.c2se.frontend.member_bank_account.CreateMemberBankAccount";
proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_GET_MEMBER_BANK_ACCOUNT =
"bet.beteran.c2se.frontend.member_bank_account.GetMemberBankAccount";
proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT =
"bet.beteran.c2se.frontend.member_bank_account.UpdateMemberBankAccount";
proto.bet.beteran.c2se.frontend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD =
"bet.beteran.c2se.frontend.member_bank_account.UpdateMemberBankAccountForExchangePassword";
goog.object.extend(
exports,
proto.bet.beteran.c2se.frontend.member_bank_account
);

View File

@ -1,10 +0,0 @@
// package: bet.beteran.c2se.frontend.member_bank_deposit
// file: c2se/frontend/member_bank_deposit.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_CREATE_MEMBER_BANK_DEPOSIT: string;
export const SUBJECT_LIST_MEMBER_BANK_DEPOSITS: string;
export const SUBJECT_GET_MEMBER_BANK_DEPOSIT: string;
export const SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT: string;
export const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: string;

View File

@ -1,42 +0,0 @@
// source: c2se/frontend/member_bank_deposit.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol(
"proto.bet.beteran.c2se.frontend.member_bank_deposit",
null,
global
);
proto.bet.beteran.c2se.frontend.member_bank_deposit = {};
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT =
"bet.beteran.c2se.frontend.member_bank_deposit.CreateMemberBankDeposit";
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_LIST_MEMBER_BANK_DEPOSITS =
"bet.beteran.c2se.frontend.member_bank_deposit.ListMemberBankDeposits";
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_GET_MEMBER_BANK_DEPOSIT =
"bet.beteran.c2se.frontend.member_bank_deposit.GetMemberBankDeposit";
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT =
"bet.beteran.c2se.frontend.member_bank_deposit.UpdateMemberBankDeposit";
proto.bet.beteran.c2se.frontend.member_bank_deposit.SUBJECT_DELETE_MEMBER_BANK_DEPOSIT =
"bet.beteran.c2se.frontend.member_bank_deposit.DeleteMemberBankDeposit";
goog.object.extend(
exports,
proto.bet.beteran.c2se.frontend.member_bank_deposit
);

View File

@ -1,10 +0,0 @@
// package: bet.beteran.c2se.frontend.member_bank_withdraw
// file: c2se/frontend/member_bank_withdraw.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_CREATE_MEMBER_BANK_WITHDRAW: string;
export const SUBJECT_LIST_MEMBER_BANK_WITHDRAWS: string;
export const SUBJECT_GET_MEMBER_BANK_WITHDRAW: string;
export const SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW: string;
export const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: string;

View File

@ -1,42 +0,0 @@
// source: c2se/frontend/member_bank_withdraw.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol(
"proto.bet.beteran.c2se.frontend.member_bank_deposit",
null,
global
);
proto.bet.beteran.c2se.frontend.member_bank_withdraw = {};
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW =
"bet.beteran.c2se.frontend.member_bank_withdraw.CreateMemberBankWithdraw";
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_LIST_MEMBER_BANK_WITHDRAWS =
"bet.beteran.c2se.frontend.member_bank_withdraw.ListMemberBankWithdraws";
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_GET_MEMBER_BANK_WITHDRAW =
"bet.beteran.c2se.frontend.member_bank_withdraw.GetMemberBankWithdraw";
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW =
"bet.beteran.c2se.frontend.member_bank_withdraw.UpdateMemberBankWithdraw";
proto.bet.beteran.c2se.frontend.member_bank_withdraw.SUBJECT_DELETE_MEMBER_BANK_WITHDRAW =
"bet.beteran.c2se.frontend.member_bank_withdraw.DeleteMemberBankWithdraw";
goog.object.extend(
exports,
proto.bet.beteran.c2se.frontend.member_bank_withdraw
);

View File

@ -1,11 +0,0 @@
// package: bet.beteran.c2se.frontend.member
// file: c2se/frontend/member.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_CREATE_MEMBER: string;
export const SUBJECT_GET_MEMBER: string;
export const SUBJECT_GET_MEMBER_BY_USERNAME: string;
export const SUBJECT_UPDATE_MEMBER: string;
export const SUBJECT_UPDATE_MEMBER_FOR_PASSWORD: string;
export const SUBJECT_DELETE_MEMBER: string;

View File

@ -1,37 +0,0 @@
// source: c2se/frontend/member.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol("proto.bet.beteran.c2se.frontend.member", null, global);
proto.bet.beteran.c2se.frontend.member = {};
proto.bet.beteran.c2se.frontend.member.SUBJECT_CREATE_MEMBER =
"bet.beteran.c2se.frontend.member.CreateMember";
proto.bet.beteran.c2se.frontend.member.SUBJECT_GET_MEMBER =
"bet.beteran.c2se.frontend.member.GetMember";
proto.bet.beteran.c2se.frontend.member.SUBJECT_GET_MEMBER_BY_USERNAME =
"bet.beteran.c2se.frontend.member.GetMemberByUsername";
proto.bet.beteran.c2se.frontend.member.SUBJECT_UPDATE_MEMBER =
"bet.beteran.c2se.frontend.member.UpdateMember";
proto.bet.beteran.c2se.frontend.member.SUBJECT_UPDATE_MEMBER_FOR_PASSWORD =
"bet.beteran.c2se.frontend.member.UpdateMemberForPassword";
proto.bet.beteran.c2se.frontend.member.SUBJECT_DELETE_MEMBER =
"bet.beteran.c2se.frontend.member.DeleteMember";
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.member);

View File

@ -1,6 +0,0 @@
// package: bet.beteran.c2se.frontend.member_referrer
// file: c2se/frontend/member_referrer.proto
import * as jspb from 'google-protobuf';
export const SUBJECT_GET_MEMBER_REFERRER_BY_CODE: string;

View File

@ -1,31 +0,0 @@
// source: c2se/frontend/member_referrer.proto
/**
* @fileoverview
* @enhanceable
* @suppress {missingRequire} reports error on implicit type usages.
* @suppress {messageConventions} JS Compiler reports an error if a variable or
* field starts with 'MSG_' and isn't a translatable message.
* @public
*/
// GENERATED CODE -- DO NOT EDIT!
/* eslint-disable */
// @ts-nocheck
var jspb = require("google-protobuf");
var goog = jspb;
var global = function () {
return this || window || global || self || Function("return this")();
}.call(null);
goog.exportSymbol(
"proto.bet.beteran.c2se.frontend.member_referrer",
null,
global
);
proto.bet.beteran.c2se.frontend.member_referrer = {};
proto.bet.beteran.c2se.frontend.member_referrer.SUBJECT_GET_MEMBER_REFERRER_BY_CODE =
"bet.beteran.c2se.frontend.member_referrer.GetMemberReferrerByCode";
goog.object.extend(exports, proto.bet.beteran.c2se.frontend.member_referrer);