client_plugin_logic_deb 1.4.91 → 1.4.93

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.
@@ -194,6 +194,16 @@ export declare namespace com.logic.redux.actions.validation {
194
194
  };
195
195
  }
196
196
  }
197
+ export declare namespace com.logic.utils.logger.game {
198
+ interface GameLogger extends com.logic.utils.logger.outputs.LoggerOutput {
199
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
200
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
201
+ w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
202
+ readonly __doNotUseOrImplementIt: {
203
+ readonly "com.logic.utils.logger.game.GameLogger": unique symbol;
204
+ } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
205
+ }
206
+ }
197
207
  export declare namespace com.logic.utils.logger.game {
198
208
  interface LoggerPayload {
199
209
  readonly __doNotUseOrImplementIt: {
@@ -201,6 +211,80 @@ export declare namespace com.logic.utils.logger.game {
201
211
  };
202
212
  }
203
213
  }
214
+ export declare namespace com.logic.utils.logger.outputs {
215
+ abstract class LogType {
216
+ private constructor();
217
+ static get DEBUG(): com.logic.utils.logger.outputs.LogType & {
218
+ get name(): "DEBUG";
219
+ get ordinal(): 0;
220
+ };
221
+ static get ERROR(): com.logic.utils.logger.outputs.LogType & {
222
+ get name(): "ERROR";
223
+ get ordinal(): 1;
224
+ };
225
+ static get WARN(): com.logic.utils.logger.outputs.LogType & {
226
+ get name(): "WARN";
227
+ get ordinal(): 2;
228
+ };
229
+ static values(): Array<com.logic.utils.logger.outputs.LogType>;
230
+ static valueOf(value: string): com.logic.utils.logger.outputs.LogType;
231
+ get name(): "DEBUG" | "ERROR" | "WARN";
232
+ get ordinal(): 0 | 1 | 2;
233
+ static get Companion(): {
234
+ serializer(): any/* kotlinx.serialization.KSerializer<com.logic.utils.logger.outputs.LogType> */;
235
+ } & any/* kotlinx.serialization.internal.SerializerFactory */;
236
+ }
237
+ }
238
+ export declare namespace com.logic.utils.logger.outputs {
239
+ interface LoggerEnabledTrigger extends com.logic.utils.logger.game.GameLogger {
240
+ enabled: boolean;
241
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
242
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
243
+ w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
244
+ readonly __doNotUseOrImplementIt: {
245
+ readonly "com.logic.utils.logger.outputs.LoggerEnabledTrigger": unique symbol;
246
+ } & com.logic.utils.logger.game.GameLogger["__doNotUseOrImplementIt"];
247
+ }
248
+ }
249
+ export declare namespace com.logic.utils.logger.outputs {
250
+ interface LoggerOutput {
251
+ d(tag?: Nullable<string>, message: string, payload?: Nullable<any>): void;
252
+ e(tag?: Nullable<string>, message?: Nullable<string>, exception?: Nullable<Error>, payload?: Nullable<any>): void;
253
+ w(tag?: Nullable<string>, message: string, payload?: Nullable<any>): void;
254
+ readonly __doNotUseOrImplementIt: {
255
+ readonly "com.logic.utils.logger.outputs.LoggerOutput": unique symbol;
256
+ };
257
+ }
258
+ }
259
+ export declare namespace com.logic.utils.logger.outputs {
260
+ interface ObservableLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput, com.logic.utils.logger.outputs.LoggerEnabledTrigger {
261
+ observe(types?: Array<com.logic.utils.logger.outputs.LogType>): any/* kotlinx.coroutines.flow.Flow<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
262
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
263
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
264
+ w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
265
+ enabled: boolean;
266
+ readonly __doNotUseOrImplementIt: {
267
+ readonly "com.logic.utils.logger.outputs.ObservableLoggerOutput": unique symbol;
268
+ } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"] & com.logic.utils.logger.outputs.LoggerEnabledTrigger["__doNotUseOrImplementIt"];
269
+ }
270
+ class LoggerOutputDataDto {
271
+ constructor(type: com.logic.utils.logger.outputs.LogType, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>);
272
+ get type(): com.logic.utils.logger.outputs.LogType;
273
+ get tag(): Nullable<string>;
274
+ get message(): Nullable<string>;
275
+ get stackTrace(): Nullable<string>;
276
+ copy(type?: com.logic.utils.logger.outputs.LogType, tag?: Nullable<string>, message?: Nullable<string>, stackTrace?: Nullable<string>): com.logic.utils.logger.outputs.LoggerOutputDataDto;
277
+ toString(): string;
278
+ hashCode(): number;
279
+ equals(other: Nullable<any>): boolean;
280
+ static LoggerOutputDataDto_init_$Create$(seen1: number, type: Nullable<com.logic.utils.logger.outputs.LogType>, tag: Nullable<string>, message: Nullable<string>, stackTrace: Nullable<string>, serializationConstructorMarker: Nullable<any>/* Nullable<kotlinx.serialization.internal.SerializationConstructorMarker> */): com.logic.utils.logger.outputs.LoggerOutputDataDto;
281
+ static get Companion(): {
282
+ serializer(): any/* kotlinx.serialization.KSerializer<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
283
+ };
284
+ static get $serializer(): {
285
+ } & any/* kotlinx.serialization.internal.GeneratedSerializer<com.logic.utils.logger.outputs.LoggerOutputDataDto> */;
286
+ }
287
+ }
204
288
  export declare namespace com.debertz.logic {
205
289
  interface GameStoreContract {
206
290
  readonly id: string;
@@ -772,6 +856,18 @@ export declare namespace com.debertz.logic.client.redux.state {
772
856
  equals(other: Nullable<any>): boolean;
773
857
  }
774
858
  }
859
+ export declare namespace com.debertz.logic.client.utils {
860
+ interface ShowClientErrorLoggerOutput extends com.logic.utils.logger.outputs.LoggerOutput {
861
+ skipWarnings: boolean;
862
+ gameClientProvider: Nullable<() => any/* com.debertz.logic.client.GameClient */>;
863
+ d(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
864
+ e(tag: Nullable<string>, message: Nullable<string>, exception: Nullable<Error>, payload: Nullable<any>): void;
865
+ w(tag: Nullable<string>, message: string, payload: Nullable<any>): void;
866
+ readonly __doNotUseOrImplementIt: {
867
+ readonly "com.debertz.logic.client.utils.ShowClientErrorLoggerOutput": unique symbol;
868
+ } & com.logic.utils.logger.outputs.LoggerOutput["__doNotUseOrImplementIt"];
869
+ }
870
+ }
775
871
  export declare interface GameClientEngineController {
776
872
  readonly parser: ParserHelper;
777
873
  setEnableLogger(enabled: boolean): void;
@@ -852,21 +948,16 @@ export declare interface TestHelper {
852
948
  readonly TestHelper: unique symbol;
853
949
  };
854
950
  }
855
- export declare namespace com.logic.plugin.handlers {
856
- interface EngineHandler {
857
- attach(): void;
858
- detach(): void;
859
- onMethodCall(controller: com.logic.plugin.utils.events.MethodController): void;
860
- onListen(eventSink: com.logic.plugin.utils.events.EventController): void;
861
- onCancel(): void;
951
+ export declare namespace com.logic.plugin.utils.events {
952
+ interface EventSubscriptionCallback {
953
+ onListen(sink: com.logic.plugin.utils.events.EventController, argument?: Nullable<any>): void;
954
+ onCancel(argument?: Nullable<any>): void;
862
955
  readonly __doNotUseOrImplementIt: {
863
- readonly "com.logic.plugin.handlers.EngineHandler": unique symbol;
956
+ readonly "com.logic.plugin.utils.events.EventSubscriptionCallback": unique symbol;
864
957
  };
865
958
  }
866
- }
867
- export declare namespace com.logic.plugin.utils.events {
868
959
  interface EventController {
869
- error(error: com.logic.plugin.utils.events.PluginError): void;
960
+ error(error: Error): void;
870
961
  success(data: Nullable<any>): void;
871
962
  endOfStream(): void;
872
963
  readonly __doNotUseOrImplementIt: {
@@ -878,7 +969,7 @@ export declare namespace com.logic.plugin.utils.events {
878
969
  interface MethodController {
879
970
  getMethodName(): string;
880
971
  getArguments(): Nullable<any>;
881
- error(error: com.logic.plugin.utils.events.PluginError): void;
972
+ error(error: Error): void;
882
973
  success(eventData?: Nullable<any>): void;
883
974
  notImplemented(): void;
884
975
  readonly __doNotUseOrImplementIt: {
@@ -898,4 +989,14 @@ export declare namespace com.logic.plugin.utils.events {
898
989
  equals(other: Nullable<any>): boolean;
899
990
  }
900
991
  }
992
+ export declare interface EnginesControllerWeb {
993
+ attach(): void;
994
+ detach(): void;
995
+ onListenEvents(onSuccess: (p0: Nullable<any>) => void, onError: (p0: Error) => void, onComplete: () => void): void;
996
+ onMethodCall(name: string, arguments: Nullable<any>): Promise<Nullable<any>>;
997
+ readonly __doNotUseOrImplementIt: {
998
+ readonly EnginesControllerWeb: unique symbol;
999
+ };
1000
+ }
1001
+ export declare function createEnginesControllerWeb(): EnginesControllerWeb;
901
1002
  export as namespace Logic_Debertz_client_plugin;