raspberry_games_engine_helpers 1.8.390 → 1.8.391

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.h1c(structure);
382
382
  }
383
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
383
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
384
384
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
385
385
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
386
386
  function set_fractionOfSecond(value) {
@@ -216,7 +216,7 @@
216
216
  initMetadataForClass(LoggerOutputDataDto, 'LoggerOutputDataDto', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
217
217
  //endregion
218
218
  function GameEngineConfig() {
219
- this.version = '1.8.390';
219
+ this.version = '1.8.391';
220
220
  }
221
221
  protoOf(GameEngineConfig).k17 = function () {
222
222
  return this.version;
@@ -809,16 +809,16 @@
809
809
  initMetadataForClass(FinishingGameMechanicAction, 'FinishingGameMechanicAction', VOID, MechanicAction, [MechanicAction, TerminatedAction, NotValidateIfGameFinishing]);
810
810
  initMetadataForClass(FinishGameMechanicAction, 'FinishGameMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinishing, TerminatedAction]);
811
811
  initMetadataForInterface(NavigationMechanicAction, 'NavigationMechanicAction', VOID, VOID, [Action]);
812
- initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract, NotValidateIfGameFinished]);
812
+ initMetadataForClass(SceneMechanicAction, 'SceneMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action, PlayerIdContract, NotValidateIfGameFinished]);
813
813
  initMetadataForClass(PlayerConnectionChangedMechanicAction, 'PlayerConnectionChangedMechanicAction', VOID, MechanicAction, [MechanicAction, NotValidateIfGameFinished]);
814
814
  initMetadataForClass(ContinueGameMechanicAction, 'ContinueGameMechanicAction', VOID, MechanicAction, [MechanicAction, FirstMechanicAction, NotValidateIfGameFinished]);
815
815
  initMetadataForClass(RestartGameMechanicAction, 'RestartGameMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
816
- initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, Action, ReleaseBufferTriggerAction]);
816
+ initMetadataForClass(SceneActMechanicAction, 'SceneActMechanicAction', VOID, MechanicAction, [MechanicAction, NavigationMechanicAction, ReleaseBufferTriggerAction, Action]);
817
817
  initMetadataForClass(TeamsDataMechanicAction, 'TeamsDataMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction, PlayerOrderChangeMechanicAction]);
818
- initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
819
- initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
820
- initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction, BufferedAction]);
821
- initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, PlayerIdContract, ReleaseBufferTriggerAction]);
818
+ initMetadataForClass(PlayerReadyMechanicAction, 'PlayerReadyMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
819
+ initMetadataForClass(SuitChoiceMechanicAction, 'SuitChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
820
+ initMetadataForClass(CombinationChoiceMechanicAction, 'CombinationChoiceMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract, BufferedAction]);
821
+ initMetadataForClass(PutCardMechanicAction, 'PutCardMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, PlayerIdContract]);
822
822
  initMetadataForClass(TrumpMechanicAction, 'TrumpMechanicAction', VOID, MechanicAction, [MechanicAction, Action, BufferedAction]);
823
823
  initMetadataForClass(PickUpBribeMechanicAction, 'PickUpBribeMechanicAction', VOID, MechanicAction, [MechanicAction, Action, ReleaseBufferTriggerAction, BufferedAction]);
824
824
  initMetadataForClass(WinnerCombinationsMechanicAction, 'WinnerCombinationsMechanicAction', VOID, MechanicAction, [MechanicAction, BufferedAction]);
@@ -57,12 +57,6 @@ if (typeof Math.clz32 === 'undefined') {
57
57
  };
58
58
  }(Math.log, Math.LN2);
59
59
  }
60
- if (typeof String.prototype.startsWith === 'undefined') {
61
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
62
- position = position || 0;
63
- return this.lastIndexOf(searchString, position) === position;
64
- }});
65
- }
66
60
  if (typeof String.prototype.endsWith === 'undefined') {
67
61
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
68
62
  var subjectString = this.toString();
@@ -74,6 +68,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
74
68
  return lastIndex !== -1 && lastIndex === position;
75
69
  }});
76
70
  }
71
+ if (typeof String.prototype.startsWith === 'undefined') {
72
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
73
+ position = position || 0;
74
+ return this.lastIndexOf(searchString, position) === position;
75
+ }});
76
+ }
77
77
  //endregion
78
78
  (function (factory) {
79
79
  if (typeof define === 'function' && define.amd)