client_plugin_logic_deb 1.8.390 → 1.8.392

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -380,7 +380,7 @@
380
380
  function addFormatStructureForTime(structure) {
381
381
  this.s5z(structure);
382
382
  }
383
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
383
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
384
384
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
385
385
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
386
386
  function set_fractionOfSecond(value) {
@@ -3104,7 +3104,7 @@ export declare namespace games.jass.logic.server.data.models.state {
3104
3104
  }
3105
3105
  export declare namespace games.jass.logic.server.domain {
3106
3106
  interface ServerGameEngineContract extends games.jass.logic.GameStoreContract {
3107
- metadata: any;
3107
+ readonly metadata: games.jass.logic.server.data.models.RoomMetadata;
3108
3108
  roomOnCreate(roomId: string, gameCreatorId: string, config: games.jass.logic.data.models.table.config.Config, usersArray: Array<com.logic.data.models.player.GameUserInfo>, transition?: Nullable<games.jass.logic.redux.actions.mechanic.GameTransition>, spectators?: Array<com.logic.data.models.player.GameUserInfo>): void;
3109
3109
  roomOnContinueFromState(roomId: string, state: games.jass.logic.data.models.table.TableStateWithActions): void;
3110
3110
  roomOnContinueFromRound(roomId: string, tableLite: games.jass.logic.data.models.table.JassTableLite): void;
@@ -3130,9 +3130,10 @@ export declare namespace games.jass.logic.server.domain {
3130
3130
  }
3131
3131
  export declare namespace games.jass.logic.server.redux.state {
3132
3132
  class ServerStatePayload implements games.jass.logic.redux.AppStatePayload {
3133
- constructor(config: games.jass.logic.server.data.models.config.ServerConfig);
3133
+ constructor(config: games.jass.logic.server.data.models.config.ServerConfig, metadata: games.jass.logic.server.data.models.RoomMetadata);
3134
3134
  get config(): games.jass.logic.server.data.models.config.ServerConfig;
3135
- copy(config?: games.jass.logic.server.data.models.config.ServerConfig): games.jass.logic.server.redux.state.ServerStatePayload;
3135
+ get metadata(): games.jass.logic.server.data.models.RoomMetadata;
3136
+ copy(config?: games.jass.logic.server.data.models.config.ServerConfig, metadata?: games.jass.logic.server.data.models.RoomMetadata): games.jass.logic.server.redux.state.ServerStatePayload;
3136
3137
  toString(): string;
3137
3138
  hashCode(): number;
3138
3139
  equals(other: Nullable<any>): boolean;
@@ -3149,7 +3150,7 @@ export declare namespace games.jass.logic.server.redux.state {
3149
3150
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
3150
3151
  namespace Companion.$metadata$ {
3151
3152
  abstract class constructor {
3152
- initial(config?: games.jass.logic.server.data.models.config.ServerConfig): games.jass.logic.server.redux.state.ServerStatePayload;
3153
+ initial(config?: games.jass.logic.server.data.models.config.ServerConfig, metadata?: games.jass.logic.server.data.models.RoomMetadata): games.jass.logic.server.redux.state.ServerStatePayload;
3153
3154
  private constructor();
3154
3155
  }
3155
3156
  }
@@ -3184,6 +3185,28 @@ export declare interface TestHelper {
3184
3185
  readonly TestHelper: unique symbol;
3185
3186
  };
3186
3187
  }
3188
+ export declare namespace games.jass.logic.server.data.models {
3189
+ class RoomMetadata {
3190
+ constructor();
3191
+ get extras(): any;
3192
+ get extras(): kotlin.collections.KtMap<string, games.jass.logic.server.data.models.GameMetadata>;
3193
+ getGame(gameId: string): games.jass.logic.server.data.models.GameMetadata;
3194
+ addGame(gameId: string, game: games.jass.logic.server.data.models.GameMetadata): void;
3195
+ }
3196
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
3197
+ namespace RoomMetadata.$metadata$ {
3198
+ const constructor: abstract new () => RoomMetadata;
3199
+ }
3200
+ class GameMetadata {
3201
+ constructor(gameId: string);
3202
+ get gameId(): string;
3203
+ get extras(): any;
3204
+ }
3205
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
3206
+ namespace GameMetadata.$metadata$ {
3207
+ const constructor: abstract new () => GameMetadata;
3208
+ }
3209
+ }
3187
3210
  export declare namespace com.logic.plugin.utils.events {
3188
3211
  interface EventSubscriptionCallback {
3189
3212
  onListen(sink: com.logic.plugin.utils.events.EventController, argument?: Nullable<any>): void;
@@ -425,7 +425,7 @@
425
425
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
426
426
  //endregion
427
427
  function GameEngineConfig() {
428
- this.version = '1.8.390';
428
+ this.version = '1.8.392';
429
429
  }
430
430
  protoOf(GameEngineConfig).g3y = function () {
431
431
  return this.version;
@@ -1044,7 +1044,7 @@
1044
1044
  initMetadataForClass(ObserverStrategy, 'ObserverStrategy', VOID, Enum);
1045
1045
  initMetadataForInterface(TradeScene, 'TradeScene', VOID, VOID, [SceneActionsContract, ExpectantContract, TradeSceneContract]);
1046
1046
  initMetadataForInterface(EarnPointsScene, 'EarnPointsScene', VOID, VOID, [SceneActionsContract, ExpectantContract, EarnPointsSceneContract]);
1047
- initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [ExpectantContract, ControlsContract, SceneActionsContract]);
1047
+ initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [ControlsContract, ExpectantContract, SceneActionsContract]);
1048
1048
  initMetadataForClass(EarnPointsSceneImpl, 'EarnPointsSceneImpl', VOID, VOID, [EarnPointsSceneContract, ExpectantContract, SceneActionsContract, PlayersSceneContract, EarnPointsScene, GameEngineSceneContract]);
1049
1049
  initMetadataForLambda(TableSceneImpl$observeControlsMode$o$collect$slambda, CoroutineImpl, VOID, [1]);
1050
1050
  initMetadataForCoroutine($collectCOROUTINE$_41, CoroutineImpl);