diff --git a/src/app/modules/beteran/component/home.component.ts b/src/app/modules/beteran/component/home.component.ts index 180c47e..55be425 100644 --- a/src/app/modules/beteran/component/home.component.ts +++ b/src/app/modules/beteran/component/home.component.ts @@ -301,5 +301,10 @@ export class HomeComponent implements OnInit { onClickGame(game: Vendor): void { console.log(game.toString()); + window.open( + '/game/?vendor_key=pragmatic_casino&game_key=101', + 'gamepopup', + 'width=1400, height=900, toolbar=no, menubar=no, scrollbars=no, resizable=yes' + ); } } diff --git a/src/app/modules/game/main/main.component.ts b/src/app/modules/game/main/main.component.ts index 524096a..427cd4c 100644 --- a/src/app/modules/game/main/main.component.ts +++ b/src/app/modules/game/main/main.component.ts @@ -1,5 +1,7 @@ import { Component, OnInit, ViewEncapsulation } from '@angular/core'; +import { ActivatedRoute } from '@angular/router'; +import { GameService } from 'app/modules/polyglot/api/services/game.service'; @Component({ selector: 'main', templateUrl: './main.component.html', @@ -9,9 +11,18 @@ export class GameMainComponent implements OnInit { /** * Constructor */ - constructor() {} + constructor( + private __activatedRoute: ActivatedRoute, + private __gameService: GameService + ) {} - ngOnInit(): void {} + ngOnInit(): void { + this.__activatedRoute.queryParams.subscribe((params) => { + console.log(params); // { orderby: "price" } + const vendor_key = params['vendor_key']; + const game_key = params['game_key']; + }); + } /** * Track by function for ngFor loops * diff --git a/src/app/modules/proto/c2se/api/game_pb.d.ts b/src/app/modules/proto/c2se/api/game_pb.d.ts index b59802b..3400f2f 100644 --- a/src/app/modules/proto/c2se/api/game_pb.d.ts +++ b/src/app/modules/proto/c2se/api/game_pb.d.ts @@ -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 }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + 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 }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + 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 }; + static extensionsBinary: { + [key: number]: jspb.ExtensionFieldBinaryInfo; + }; + 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; + }; + } +} diff --git a/src/app/modules/proto/c2se/api/game_pb.js b/src/app/modules/proto/c2se/api/game_pb.js index 1587bb7..4d7d8de 100644 --- a/src/app/modules/proto/c2se/api/game_pb.js +++ b/src/app/modules/proto/c2se/api/game_pb.js @@ -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_, 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_, 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_, 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); diff --git a/src/app/modules/proto/c2se/backend/api/game_pb.d.ts b/src/app/modules/proto/c2se/backend/api/game_pb.d.ts deleted file mode 100644 index addf9b7..0000000 --- a/src/app/modules/proto/c2se/backend/api/game_pb.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -// package: bet.beteran.c2se.backend.api.game -// file: c2se/backend/api/game.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_LIST_GAMES: string; diff --git a/src/app/modules/proto/c2se/backend/api/game_pb.js b/src/app/modules/proto/c2se/backend/api/game_pb.js deleted file mode 100644 index e1c9e98..0000000 --- a/src/app/modules/proto/c2se/backend/api/game_pb.js +++ /dev/null @@ -1,27 +0,0 @@ -// source: c2se/backend/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.backend.api.game", null, global); - -proto.bet.beteran.c2se.backend.api.game = {}; - -proto.bet.beteran.c2se.backend.api.game.SUBJECT_LIST_GAMES = - "bet.beteran.c2se.backend.api.game.ListGames"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.api.game); diff --git a/src/app/modules/proto/c2se/backend/api/vendor_pb.d.ts b/src/app/modules/proto/c2se/backend/api/vendor_pb.d.ts deleted file mode 100644 index 71ecba1..0000000 --- a/src/app/modules/proto/c2se/backend/api/vendor_pb.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -// package: bet.beteran.c2se.backend.api.vendor -// file: c2se/backend/api/vendor.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_LIST_VENDORS: string; diff --git a/src/app/modules/proto/c2se/backend/api/vendor_pb.js b/src/app/modules/proto/c2se/backend/api/vendor_pb.js deleted file mode 100644 index f0a70cf..0000000 --- a/src/app/modules/proto/c2se/backend/api/vendor_pb.js +++ /dev/null @@ -1,27 +0,0 @@ -// source: c2se/backend/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.backend.api.vendor", null, global); - -proto.bet.beteran.c2se.backend.api.vendor = {}; - -proto.bet.beteran.c2se.backend.api.vendor.SUBJECT_LIST_VENDORS = - "bet.beteran.c2se.backend.api.vendor.ListVendors"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.api.vendor); diff --git a/src/app/modules/proto/c2se/backend/bank_pb.d.ts b/src/app/modules/proto/c2se/backend/bank_pb.d.ts deleted file mode 100644 index 2d2d4a0..0000000 --- a/src/app/modules/proto/c2se/backend/bank_pb.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// package: bet.beteran.c2se.backend.bank -// file: c2se/backend/bank.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_BANK: string; -export const SUBJECT_LIST_BANKS: string; -export const SUBJECT_GET_BANK: string; -export const SUBJECT_UPDATE_BANK: string; -export const SUBJECT_DELETE_BANK: string; diff --git a/src/app/modules/proto/c2se/backend/bank_pb.js b/src/app/modules/proto/c2se/backend/bank_pb.js deleted file mode 100644 index 4fb847c..0000000 --- a/src/app/modules/proto/c2se/backend/bank_pb.js +++ /dev/null @@ -1,35 +0,0 @@ -// source: c2se/backend/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.backend.bank", null, global); - -proto.bet.beteran.c2se.backend.bank = {}; - -proto.bet.beteran.c2se.backend.bank.SUBJECT_CREATE_BANK = - "bet.beteran.c2se.backend.bank.CreateBank"; -proto.bet.beteran.c2se.backend.bank.SUBJECT_LIST_BANKS = - "bet.beteran.c2se.backend.bank.ListBanks"; -proto.bet.beteran.c2se.backend.bank.SUBJECT_GET_BANK = - "bet.beteran.c2se.backend.bank.GetBank"; -proto.bet.beteran.c2se.backend.bank.SUBJECT_UPDATE_BANK = - "bet.beteran.c2se.backend.bank.UpdateBank"; -proto.bet.beteran.c2se.backend.bank.SUBJECT_DELETE_BANK = - "bet.beteran.c2se.backend.bank.DeleteBank"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.bank); diff --git a/src/app/modules/proto/c2se/backend/identity_pb.d.ts b/src/app/modules/proto/c2se/backend/identity_pb.d.ts deleted file mode 100644 index 52bc051..0000000 --- a/src/app/modules/proto/c2se/backend/identity_pb.d.ts +++ /dev/null @@ -1,9 +0,0 @@ -// package: bet.beteran.c2se.backend.identity -// file: c2se/backend/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; diff --git a/src/app/modules/proto/c2se/backend/identity_pb.js b/src/app/modules/proto/c2se/backend/identity_pb.js deleted file mode 100644 index b89c76f..0000000 --- a/src/app/modules/proto/c2se/backend/identity_pb.js +++ /dev/null @@ -1,33 +0,0 @@ -// source: c2se/backend/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.backend.identity", null, global); - -proto.bet.beteran.c2se.backend.identity = {}; - -proto.bet.beteran.c2se.backend.identity.SUBJECT_CHECK_USERNAME_FOR_DUPLICATION = - "bet.beteran.c2se.backend.identity.CheckUsernameForDuplication"; -proto.bet.beteran.c2se.backend.identity.SUBJECT_CHECK_NICKNAME_FOR_DUPLICATION = - "bet.beteran.c2se.backend.identity.CheckNicknameForDuplication"; -proto.bet.beteran.c2se.backend.identity.SUBJECT_CAPTCHA = - "bet.beteran.c2se.backend.identity.Captcha"; -proto.bet.beteran.c2se.backend.identity.SUBJECT_SIGNIN = - "bet.beteran.c2se.backend.identity.Signin"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.identity); diff --git a/src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts b/src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts deleted file mode 100644 index 3ab070d..0000000 --- a/src/app/modules/proto/c2se/backend/member_bank_account_pb.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -// package: bet.beteran.c2se.backend.member_bank_account -// file: c2se/backend/member_bank_account.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_MEMBER_BANK_ACCOUNT: string; -export const SUBJECT_LIST_MEMBER_BANK_ACCOUNTS: 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; -export const SUBJECT_DELETE_MEMBER_BANK_ACCOUNT: string; diff --git a/src/app/modules/proto/c2se/backend/member_bank_account_pb.js b/src/app/modules/proto/c2se/backend/member_bank_account_pb.js deleted file mode 100644 index c8e4a41..0000000 --- a/src/app/modules/proto/c2se/backend/member_bank_account_pb.js +++ /dev/null @@ -1,41 +0,0 @@ -// source: c2se/backend/member_member_bank_account_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.backend.member_bank_account", - null, - global -); - -proto.bet.beteran.c2se.backend.member_bank_account = {}; - -proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_CREATE_MEMBER_BANK_ACCOUNT = - "bet.beteran.c2se.backend.member_bank_account.CreateMemberBankAccount"; -proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_LIST_MEMBER_BANK_ACCOUNTS = - "bet.beteran.c2se.backend.member_bank_account.ListMemberBankAccounts"; -proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_GET_MEMBER_BANK_ACCOUNT = - "bet.beteran.c2se.backend.member_bank_account.GetMemberBankAccount"; -proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT = - "bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccount"; -proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_UPDATE_MEMBER_BANK_ACCOUNT_FOR_EXCHANGE_PASSWORD = - "bet.beteran.c2se.backend.member_bank_account.UpdateMemberBankAccountForExchangePassword"; -proto.bet.beteran.c2se.backend.member_bank_account.SUBJECT_DELETE_MEMBER_BANK_ACCOUNT = - "bet.beteran.c2se.backend.member_bank_account.DeleteMemberBankAccount"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_bank_account); diff --git a/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.d.ts b/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.d.ts deleted file mode 100644 index 746ba38..0000000 --- a/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -// package: bet.beteran.c2se.backend.member_bank_deposit -// file: c2se/backend/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_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE: string; -export const SUBJECT_DELETE_MEMBER_BANK_DEPOSIT: string; diff --git a/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js b/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js deleted file mode 100644 index a03cc9e..0000000 --- a/src/app/modules/proto/c2se/backend/member_bank_deposit_pb.js +++ /dev/null @@ -1,41 +0,0 @@ -// source: c2se/backend/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.backend.member_bank_deposit", - null, - global -); - -proto.bet.beteran.c2se.backend.member_bank_deposit = {}; - -proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_CREATE_MEMBER_BANK_DEPOSIT = - "bet.beteran.c2se.backend.member_bank_deposit.CreateMemberBankDeposit"; -proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_LIST_MEMBER_BANK_DEPOSITS = - "bet.beteran.c2se.backend.member_bank_deposit.ListMemberBankDeposits"; -proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_GET_MEMBER_BANK_DEPOSIT = - "bet.beteran.c2se.backend.member_bank_deposit.GetMemberBankDeposit"; -proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT = - "bet.beteran.c2se.backend.member_bank_deposit.UpdateMemberBankDeposit"; -proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_UPDATE_MEMBER_BANK_DEPOSIT_FOR_STATE = - "bet.beteran.c2se.backend.member_bank_deposit.UpdateMemberBankDepositForState"; -proto.bet.beteran.c2se.backend.member_bank_deposit.SUBJECT_DELETE_MEMBER_BANK_DEPOSIT = - "bet.beteran.c2se.backend.member_bank_deposit.DeleteMemberBankDeposit"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_bank_deposit); diff --git a/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.d.ts b/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.d.ts deleted file mode 100644 index a6791a9..0000000 --- a/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -// package: bet.beteran.c2se.backend.member_bank_withdraw -// file: c2se/backend/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_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE: string; -export const SUBJECT_DELETE_MEMBER_BANK_WITHDRAW: string; diff --git a/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.js b/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.js deleted file mode 100644 index 8c304f5..0000000 --- a/src/app/modules/proto/c2se/backend/member_bank_withdraw_pb.js +++ /dev/null @@ -1,44 +0,0 @@ -// source: c2se/backend/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.backend.member_bank_withdraw", - null, - global -); - -proto.bet.beteran.c2se.backend.member_bank_withdraw = {}; - -proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_CREATE_MEMBER_BANK_WITHDRAW = - "bet.beteran.c2se.backend.member_bank_withdraw.CreateMemberBankWithdraw"; -proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_LIST_MEMBER_BANK_WITHDRAWS = - "bet.beteran.c2se.backend.member_bank_withdraw.ListMemberBankWithdraws"; -proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_GET_MEMBER_BANK_WITHDRAW = - "bet.beteran.c2se.backend.member_bank_withdraw.GetMemberBankWithdraw"; -proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW = - "bet.beteran.c2se.backend.member_bank_withdraw.UpdateMemberBankWithdraw"; -proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_UPDATE_MEMBER_BANK_WITHDRAW_FOR_STATE = - "bet.beteran.c2se.backend.member_bank_withdraw.UpdateMemberBankWithdrawForState"; -proto.bet.beteran.c2se.backend.member_bank_withdraw.SUBJECT_DELETE_MEMBER_BANK_WITHDRAW = - "bet.beteran.c2se.backend.member_bank_withdraw.DeleteMemberBankWithdraw"; - -goog.object.extend( - exports, - proto.bet.beteran.c2se.backend.member_bank_withdraw -); diff --git a/src/app/modules/proto/c2se/backend/member_class_pb.d.ts b/src/app/modules/proto/c2se/backend/member_class_pb.d.ts deleted file mode 100644 index e70eb00..0000000 --- a/src/app/modules/proto/c2se/backend/member_class_pb.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// package: bet.beteran.c2se.backend.member_class -// file: c2se/backend/member_class.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_MEMBER_CLASS: string; -export const SUBJECT_LIST_MEMBER_CLASSES: string; -export const SUBJECT_GET_MEMBER_CLASS: string; -export const SUBJECT_UPDATE_MEMBER_CLASS: string; -export const SUBJECT_DELETE_MEMBER_CLASS: string; diff --git a/src/app/modules/proto/c2se/backend/member_class_pb.js b/src/app/modules/proto/c2se/backend/member_class_pb.js deleted file mode 100644 index 0736497..0000000 --- a/src/app/modules/proto/c2se/backend/member_class_pb.js +++ /dev/null @@ -1,35 +0,0 @@ -// source: c2se/backend/member_class.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.backend.member_class", null, global); - -proto.bet.beteran.c2se.backend.member_class = {}; - -proto.bet.beteran.c2se.backend.member_class.SUBJECT_CREATE_MEMBER_CLASS = - "bet.beteran.c2se.backend.member_class.CreateMemberClass"; -proto.bet.beteran.c2se.backend.member_class.SUBJECT_LIST_MEMBER_CLASSES = - "bet.beteran.c2se.backend.member_class.ListMemberClasses"; -proto.bet.beteran.c2se.backend.member_class.SUBJECT_GET_MEMBER_CLASS = - "bet.beteran.c2se.backend.member_class.GetMemberClass"; -proto.bet.beteran.c2se.backend.member_class.SUBJECT_UPDATE_MEMBER_CLASS = - "bet.beteran.c2se.backend.member_class.UpdateMemberClass"; -proto.bet.beteran.c2se.backend.member_class.SUBJECT_DELETE_MEMBER_CLASS = - "bet.beteran.c2se.backend.member_class.DeleteMemberClass"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_class); diff --git a/src/app/modules/proto/c2se/backend/member_game_setting_pb.d.ts b/src/app/modules/proto/c2se/backend/member_game_setting_pb.d.ts deleted file mode 100644 index a543ca2..0000000 --- a/src/app/modules/proto/c2se/backend/member_game_setting_pb.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// package: bet.beteran.c2se.backend.member_game_setting -// file: c2se/backend/member_game_setting.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_MEMBER_GAME_SETTING: string; -export const SUBJECT_LIST_MEMBER_GAME_SETTINGS: string; -export const SUBJECT_GET_MEMBER_GAME_SETTING: string; -export const SUBJECT_UPDATE_MEMBER_GAME_SETTING: string; -export const SUBJECT_DELETE_MEMBER_GAME_SETTING: string; diff --git a/src/app/modules/proto/c2se/backend/member_game_setting_pb.js b/src/app/modules/proto/c2se/backend/member_game_setting_pb.js deleted file mode 100644 index 3b44945..0000000 --- a/src/app/modules/proto/c2se/backend/member_game_setting_pb.js +++ /dev/null @@ -1,39 +0,0 @@ -// source: c2se/backend/member_game_setting.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.backend.member_game_setting", - null, - global -); - -proto.bet.beteran.c2se.backend.member_game_setting = {}; - -proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_CREATE_MEMBER_GAME_SETTING = - "bet.beteran.c2se.backend.member_game_setting.CreateMemberGameSetting"; -proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_LIST_MEMBER_GAME_SETTINGS = - "bet.beteran.c2se.backend.member_game_setting.ListMemberGameSettings"; -proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_GET_MEMBER_GAME_SETTING = - "bet.beteran.c2se.backend.member_game_setting.GetMemberGameSetting"; -proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_UPDATE_MEMBER_GAME_SETTING = - "bet.beteran.c2se.backend.member_game_setting.UpdateMemberGameSetting"; -proto.bet.beteran.c2se.backend.member_game_setting.SUBJECT_DELETE_MEMBER_GAME_SETTING = - "bet.beteran.c2se.backend.member_game_setting.DeleteMemberGameSetting"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_game_setting); diff --git a/src/app/modules/proto/c2se/backend/member_level_pb.d.ts b/src/app/modules/proto/c2se/backend/member_level_pb.d.ts deleted file mode 100644 index 8ed6aa2..0000000 --- a/src/app/modules/proto/c2se/backend/member_level_pb.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// package: bet.beteran.c2se.backend.member_level -// file: c2se/backend/member_level.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_MEMBER_LEVEL: string; -export const SUBJECT_LIST_MEMBER_LEVELS: string; -export const SUBJECT_GET_MEMBER_LEVEL: string; -export const SUBJECT_UPDATE_MEMBER_LEVEL: string; -export const SUBJECT_DELETE_MEMBER_LEVEL: string; diff --git a/src/app/modules/proto/c2se/backend/member_level_pb.js b/src/app/modules/proto/c2se/backend/member_level_pb.js deleted file mode 100644 index 81f93b1..0000000 --- a/src/app/modules/proto/c2se/backend/member_level_pb.js +++ /dev/null @@ -1,35 +0,0 @@ -// source: c2se/backend/member_level.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.backend.member_level", null, global); - -proto.bet.beteran.c2se.backend.member_level = {}; - -proto.bet.beteran.c2se.backend.member_level.SUBJECT_CREATE_MEMBER_LEVEL = - "bet.beteran.c2se.backend.member_level.CreateMemberLevel"; -proto.bet.beteran.c2se.backend.member_level.SUBJECT_LIST_MEMBER_LEVELS = - "bet.beteran.c2se.backend.member_level.ListMemberLevels"; -proto.bet.beteran.c2se.backend.member_level.SUBJECT_GET_MEMBER_LEVEL = - "bet.beteran.c2se.backend.member_level.GetMemberLevel"; -proto.bet.beteran.c2se.backend.member_level.SUBJECT_UPDATE_MEMBER_LEVEL = - "bet.beteran.c2se.backend.member_level.UpdateMemberLevel"; -proto.bet.beteran.c2se.backend.member_level.SUBJECT_DELETE_MEMBER_LEVEL = - "bet.beteran.c2se.backend.member_level.DeleteMemberLevel"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_level); diff --git a/src/app/modules/proto/c2se/backend/member_pb.d.ts b/src/app/modules/proto/c2se/backend/member_pb.d.ts deleted file mode 100644 index 9697e44..0000000 --- a/src/app/modules/proto/c2se/backend/member_pb.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -// package: bet.beteran.c2se.backend.member -// file: c2se/backend/member.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_MEMBER: string; -export const SUBJECT_LIST_MEMBERS: 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_UPDATE_MEMBER_FOR_STATE: string; -export const SUBJECT_DELETE_MEMBER: string; diff --git a/src/app/modules/proto/c2se/backend/member_pb.js b/src/app/modules/proto/c2se/backend/member_pb.js deleted file mode 100644 index abb79af..0000000 --- a/src/app/modules/proto/c2se/backend/member_pb.js +++ /dev/null @@ -1,41 +0,0 @@ -// source: c2se/backend/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.backend.member", null, global); - -proto.bet.beteran.c2se.backend.member = {}; - -proto.bet.beteran.c2se.backend.member.SUBJECT_CREATE_MEMBER = - "bet.beteran.c2se.backend.member.CreateMember"; -proto.bet.beteran.c2se.backend.member.SUBJECT_LIST_MEMBERS = - "bet.beteran.c2se.backend.member.ListMembers"; -proto.bet.beteran.c2se.backend.member.SUBJECT_GET_MEMBER = - "bet.beteran.c2se.backend.member.GetMember"; -proto.bet.beteran.c2se.backend.member.SUBJECT_GET_MEMBER_BY_USERNAME = - "bet.beteran.c2se.backend.member.GetMemberByUsername"; -proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER = - "bet.beteran.c2se.backend.member.UpdateMember"; -proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER_FOR_PASSWORD = - "bet.beteran.c2se.backend.member.UpdateMemberForPassword"; -proto.bet.beteran.c2se.backend.member.SUBJECT_UPDATE_MEMBER_FOR_STATE = - "bet.beteran.c2se.backend.member.UpdateMemberForState"; -proto.bet.beteran.c2se.backend.member.SUBJECT_DELETE_MEMBER = - "bet.beteran.c2se.backend.member.DeleteMember"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.member); diff --git a/src/app/modules/proto/c2se/backend/member_referrer_pb.d.ts b/src/app/modules/proto/c2se/backend/member_referrer_pb.d.ts deleted file mode 100644 index 6cd4a26..0000000 --- a/src/app/modules/proto/c2se/backend/member_referrer_pb.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -// package: bet.beteran.c2se.backend.member_level -// file: c2se/backend/member_level.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_MEMBER_REFERRER: string; -export const SUBJECT_CREATE_MEMBER_REFERRERs: string; -export const SUBJECT_LIST_MEMBER_REFERRERS: string; -export const SUBJECT_GET_MEMBER_REFERRER: string; -export const SUBJECT_GET_MEMBER_REFERRER_BY_CODE: string; -export const SUBJECT_UPDATE_MEMBER_REFERRER: string; -export const SUBJECT_DELETE_MEMBER_REFERRER: string; -export const SUBJECT_DELETE_MEMBER_REFERRERS: string; diff --git a/src/app/modules/proto/c2se/backend/member_referrer_pb.js b/src/app/modules/proto/c2se/backend/member_referrer_pb.js deleted file mode 100644 index 5b47f84..0000000 --- a/src/app/modules/proto/c2se/backend/member_referrer_pb.js +++ /dev/null @@ -1,45 +0,0 @@ -// source: c2se/backend/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.backend.member_referrer", - null, - global -); - -proto.bet.beteran.c2se.backend.member_referrer = {}; - -proto.bet.beteran.c2se.backend.member_referrer.SUBJECT_CREATE_MEMBER_REFERRER = - "bet.beteran.c2se.backend.member_referrer.CreateMemberReferrer"; -proto.bet.beteran.c2se.backend.member_referrer.SUBJECT_CREATE_MEMBER_REFERRERS = - "bet.beteran.c2se.backend.member_referrer.CreateMemberReferrers"; -proto.bet.beteran.c2se.backend.member_referrer.SUBJECT_LIST_MEMBER_REFERRERS = - "bet.beteran.c2se.backend.member_referrer.ListMemberReferrers"; -proto.bet.beteran.c2se.backend.member_referrer.SUBJECT_GET_MEMBER_REFERRER = - "bet.beteran.c2se.backend.member_referrer.GetMemberReferrer"; -proto.bet.beteran.c2se.backend.member_referrer.SUBJECT_GET_MEMBER_REFERRER_BY_CODE = - "bet.beteran.c2se.backend.member_referrer.GetMemberReferrerByCode"; -proto.bet.beteran.c2se.backend.member_referrer.SUBJECT_UPDATE_MEMBER_REFERRER = - "bet.beteran.c2se.backend.member_referrer.UpdateMemberReferrer"; -proto.bet.beteran.c2se.backend.member_referrer.SUBJECT_DELETE_MEMBER_REFERRER = - "bet.beteran.c2se.backend.member_referrer.DeleteMemberReferrer"; -proto.bet.beteran.c2se.backend.member_referrer.SUBJECT_DELETE_MEMBER_REFERRERS = - "bet.beteran.c2se.backend.member_referrer.DeleteMemberReferrers"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.member_referrer); diff --git a/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.d.ts b/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.d.ts deleted file mode 100644 index 16dd915..0000000 --- a/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// package: bet.beteran.c2se.backend.member_settlement_setting -// file: c2se/backend/member_settlement_setting.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING: string; -export const SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS: string; -export const SUBJECT_GET_MEMBER_SETTLEMENT_SETTING: string; -export const SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING: string; -export const SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING: string; diff --git a/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.js b/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.js deleted file mode 100644 index 099d5c2..0000000 --- a/src/app/modules/proto/c2se/backend/member_settlement_setting_pb.js +++ /dev/null @@ -1,42 +0,0 @@ -// source: c2se/backend/member_settlement_setting.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.backend.member_settlement_setting", - null, - global -); - -proto.bet.beteran.c2se.backend.member_settlement_setting = {}; - -proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_CREATE_MEMBER_SETTLEMENT_SETTING = - "bet.beteran.c2se.backend.member_settlement_setting.CreateMemberSettlementSetting"; -proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_LIST_MEMBER_SETTLEMENT_SETTINGS = - "bet.beteran.c2se.backend.member_settlement_setting.ListMemberSettlementSettings"; -proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_GET_MEMBER_SETTLEMENT_SETTING = - "bet.beteran.c2se.backend.member_settlement_setting.GetMemberSettlementSetting"; -proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_UPDATE_MEMBER_SETTLEMENT_SETTING = - "bet.beteran.c2se.backend.member_settlement_setting.UpdateMemberSettlementSetting"; -proto.bet.beteran.c2se.backend.member_settlement_setting.SUBJECT_DELETE_MEMBER_SETTLEMENT_SETTING = - "bet.beteran.c2se.backend.member_settlement_setting.DeleteMemberSettlementSetting"; - -goog.object.extend( - exports, - proto.bet.beteran.c2se.backend.member_settlement_setting -); diff --git a/src/app/modules/proto/c2se/backend/site_pb.d.ts b/src/app/modules/proto/c2se/backend/site_pb.d.ts deleted file mode 100644 index 48ab723..0000000 --- a/src/app/modules/proto/c2se/backend/site_pb.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -// package: bet.beteran.c2se.backend.site -// file: c2se/backend/site.proto - -import * as jspb from 'google-protobuf'; - -export const SUBJECT_CREATE_SITE: string; -export const SUBJECT_LIST_SITES: string; -export const SUBJECT_GET_SITE: string; -export const SUBJECT_UPDATE_SITE: string; -export const SUBJECT_DELETE_SITE: string; diff --git a/src/app/modules/proto/c2se/backend/site_pb.js b/src/app/modules/proto/c2se/backend/site_pb.js deleted file mode 100644 index 6a61e9e..0000000 --- a/src/app/modules/proto/c2se/backend/site_pb.js +++ /dev/null @@ -1,35 +0,0 @@ -// source: c2se/backend/site.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.backend.site", null, global); - -proto.bet.beteran.c2se.backend.site = {}; - -proto.bet.beteran.c2se.backend.site.SUBJECT_CREATE_SITE = - "bet.beteran.c2se.backend.site.CreateSite"; -proto.bet.beteran.c2se.backend.site.SUBJECT_LIST_SITES = - "bet.beteran.c2se.backend.site.ListSites"; -proto.bet.beteran.c2se.backend.site.SUBJECT_GET_SITE = - "bet.beteran.c2se.backend.site.GetSite"; -proto.bet.beteran.c2se.backend.site.SUBJECT_UPDATE_SITE = - "bet.beteran.c2se.backend.site.UpdateSite"; -proto.bet.beteran.c2se.backend.site.SUBJECT_DELETE_SITE = - "bet.beteran.c2se.backend.site.DeleteSite"; - -goog.object.extend(exports, proto.bet.beteran.c2se.backend.site); diff --git a/src/app/modules/proto/c2se/frontend/api/game_pb.d.ts b/src/app/modules/proto/c2se/frontend/api/game_pb.d.ts index ec9df27..72e70a9 100644 --- a/src/app/modules/proto/c2se/frontend/api/game_pb.d.ts +++ b/src/app/modules/proto/c2se/frontend/api/game_pb.d.ts @@ -4,3 +4,4 @@ import * as jspb from 'google-protobuf'; export const SUBJECT_LIST_GAMES: string; +export const SUBJECT_GET_GAME_URL: string; diff --git a/src/app/modules/proto/c2se/frontend/api/game_pb.js b/src/app/modules/proto/c2se/frontend/api/game_pb.js index caa9d57..a127064 100644 --- a/src/app/modules/proto/c2se/frontend/api/game_pb.js +++ b/src/app/modules/proto/c2se/frontend/api/game_pb.js @@ -23,5 +23,7 @@ proto.bet.beteran.c2se.frontend.api.game = {}; proto.bet.beteran.c2se.frontend.api.game.SUBJECT_LIST_GAMES = "bet.beteran.c2se.frontend.api.game.ListGames"; +proto.bet.beteran.c2se.frontend.api.game.SUBJECT_GET_GAME_URL = + "bet.beteran.c2se.frontend.api.game.GetGameUrl"; goog.object.extend(exports, proto.bet.beteran.c2se.frontend.api.game);