client_plugin_logic_deb 1.4.91

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.
Files changed (32) hide show
  1. package/88b0986a7186d029-atomicfu-js-ir.js +279 -0
  2. package/88b0986a7186d029-atomicfu-js-ir.js.map +1 -0
  3. package/Kodein-kodein-di.js +2572 -0
  4. package/Kodein-kodein-di.js.map +1 -0
  5. package/KosiTypeSystem-kaverit.js +374 -0
  6. package/KosiTypeSystem-kaverit.js.map +1 -0
  7. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js +404 -0
  8. package/Kotlin-DateTime-library-kotlinx-datetime-js-ir.js.map +1 -0
  9. package/Logic_Debertz-client_plugin.d.ts +901 -0
  10. package/Logic_Debertz-client_plugin.js +142 -0
  11. package/Logic_Debertz-client_plugin.js.map +1 -0
  12. package/Logic_Debertz-core.js +5874 -0
  13. package/Logic_Debertz-core.js.map +1 -0
  14. package/Logic_Debertz-engine.js +41313 -0
  15. package/Logic_Debertz-engine.js.map +1 -0
  16. package/Logic_Debertz-game_client.js +14761 -0
  17. package/Logic_Debertz-game_client.js.map +1 -0
  18. package/Logic_Debertz-game_server.js +5322 -0
  19. package/Logic_Debertz-game_server.js.map +1 -0
  20. package/kotlin-kotlin-stdlib-js-ir.js +14202 -0
  21. package/kotlin-kotlin-stdlib-js-ir.js.map +1 -0
  22. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js +15 -0
  23. package/kotlin-kotlinx-atomicfu-runtime-js-ir.js.map +1 -0
  24. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js +6581 -0
  25. package/kotlinx-serialization-kotlinx-serialization-core-js-ir.js.map +1 -0
  26. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js +5070 -0
  27. package/kotlinx-serialization-kotlinx-serialization-json-js-ir.js.map +1 -0
  28. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +12066 -0
  29. package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -0
  30. package/package.json +9 -0
  31. package/uuid-js-ir.js +192 -0
  32. package/uuid-js-ir.js.map +1 -0
@@ -0,0 +1,142 @@
1
+ (function (root, factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib-js-ir.js', './Logic_Debertz-core.js', './Logic_Debertz-engine.js', './Logic_Debertz-game_client.js', './Logic_Debertz-game_server.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib-js-ir.js'), require('./Logic_Debertz-core.js'), require('./Logic_Debertz-engine.js'), require('./Logic_Debertz-game_client.js'), require('./Logic_Debertz-game_server.js'));
6
+ else {
7
+ if (typeof this['kotlin-kotlin-stdlib-js-ir'] === 'undefined') {
8
+ throw new Error("Error loading module 'Logic_Debertz-client_plugin'. Its dependency 'kotlin-kotlin-stdlib-js-ir' was not found. Please, check whether 'kotlin-kotlin-stdlib-js-ir' is loaded prior to 'Logic_Debertz-client_plugin'.");
9
+ }
10
+ if (typeof this['Logic_Debertz-core'] === 'undefined') {
11
+ throw new Error("Error loading module 'Logic_Debertz-client_plugin'. Its dependency 'Logic_Debertz-core' was not found. Please, check whether 'Logic_Debertz-core' is loaded prior to 'Logic_Debertz-client_plugin'.");
12
+ }
13
+ if (typeof this['Logic_Debertz-engine'] === 'undefined') {
14
+ throw new Error("Error loading module 'Logic_Debertz-client_plugin'. Its dependency 'Logic_Debertz-engine' was not found. Please, check whether 'Logic_Debertz-engine' is loaded prior to 'Logic_Debertz-client_plugin'.");
15
+ }
16
+ if (typeof this['Logic_Debertz-game_client'] === 'undefined') {
17
+ throw new Error("Error loading module 'Logic_Debertz-client_plugin'. Its dependency 'Logic_Debertz-game_client' was not found. Please, check whether 'Logic_Debertz-game_client' is loaded prior to 'Logic_Debertz-client_plugin'.");
18
+ }
19
+ if (typeof this['Logic_Debertz-game_server'] === 'undefined') {
20
+ throw new Error("Error loading module 'Logic_Debertz-client_plugin'. Its dependency 'Logic_Debertz-game_server' was not found. Please, check whether 'Logic_Debertz-game_server' is loaded prior to 'Logic_Debertz-client_plugin'.");
21
+ }
22
+ root['Logic_Debertz-client_plugin'] = factory(typeof this['Logic_Debertz-client_plugin'] === 'undefined' ? {} : this['Logic_Debertz-client_plugin'], this['kotlin-kotlin-stdlib-js-ir'], this['Logic_Debertz-core'], this['Logic_Debertz-engine'], this['Logic_Debertz-game_client'], this['Logic_Debertz-game_server']);
23
+ }
24
+ }(this, function (_, kotlin_kotlin, kotlin_com_gamewithcats_game_engine_core, kotlin_com_gamewithcats_game_engine_engine, kotlin_com_gamewithcats_game_engine_game_client, kotlin_com_gamewithcats_game_engine_game_server) {
25
+ 'use strict';
26
+ //region block: imports
27
+ var imul = Math.imul;
28
+ var protoOf = kotlin_kotlin.$_$.ga;
29
+ var interfaceMeta = kotlin_kotlin.$_$.m9;
30
+ var VOID = kotlin_kotlin.$_$.ae;
31
+ var setMetadataFor = kotlin_kotlin.$_$.ha;
32
+ var toString = kotlin_kotlin.$_$.yd;
33
+ var getStringHashCode = kotlin_kotlin.$_$.k9;
34
+ var hashCode = kotlin_kotlin.$_$.l9;
35
+ var THROW_CCE = kotlin_kotlin.$_$.wc;
36
+ var equals = kotlin_kotlin.$_$.g9;
37
+ var classMeta = kotlin_kotlin.$_$.d9;
38
+ //endregion
39
+ //region block: pre-declaration
40
+ setMetadataFor(EngineHandler, 'EngineHandler', interfaceMeta);
41
+ setMetadataFor(EventController, 'EventController', interfaceMeta);
42
+ function success(eventData, $super) {
43
+ eventData = eventData === VOID ? null : eventData;
44
+ return this.v6a(eventData);
45
+ }
46
+ setMetadataFor(MethodController, 'MethodController', interfaceMeta);
47
+ setMetadataFor(PluginError, 'PluginError', classMeta);
48
+ //endregion
49
+ function EngineHandler() {
50
+ }
51
+ function EventController() {
52
+ }
53
+ function MethodController() {
54
+ }
55
+ function PluginError(errorCode, errorMessage, errorDetails) {
56
+ this.errorCode = errorCode;
57
+ this.errorMessage = errorMessage;
58
+ this.errorDetails = errorDetails;
59
+ }
60
+ protoOf(PluginError).w6a = function () {
61
+ return this.errorCode;
62
+ };
63
+ protoOf(PluginError).x6a = function () {
64
+ return this.errorMessage;
65
+ };
66
+ protoOf(PluginError).y6a = function () {
67
+ return this.errorDetails;
68
+ };
69
+ protoOf(PluginError).z3 = function () {
70
+ return this.errorCode;
71
+ };
72
+ protoOf(PluginError).a4 = function () {
73
+ return this.errorMessage;
74
+ };
75
+ protoOf(PluginError).k9 = function () {
76
+ return this.errorDetails;
77
+ };
78
+ protoOf(PluginError).z6a = function (errorCode, errorMessage, errorDetails) {
79
+ return new PluginError(errorCode, errorMessage, errorDetails);
80
+ };
81
+ protoOf(PluginError).copy = function (errorCode, errorMessage, errorDetails, $super) {
82
+ errorCode = errorCode === VOID ? this.errorCode : errorCode;
83
+ errorMessage = errorMessage === VOID ? this.errorMessage : errorMessage;
84
+ errorDetails = errorDetails === VOID ? this.errorDetails : errorDetails;
85
+ return this.z6a(errorCode, errorMessage, errorDetails);
86
+ };
87
+ protoOf(PluginError).toString = function () {
88
+ return 'PluginError(errorCode=' + this.errorCode + ', errorMessage=' + this.errorMessage + ', errorDetails=' + toString(this.errorDetails) + ')';
89
+ };
90
+ protoOf(PluginError).hashCode = function () {
91
+ var result = getStringHashCode(this.errorCode);
92
+ result = imul(result, 31) + (this.errorMessage == null ? 0 : getStringHashCode(this.errorMessage)) | 0;
93
+ result = imul(result, 31) + (this.errorDetails == null ? 0 : hashCode(this.errorDetails)) | 0;
94
+ return result;
95
+ };
96
+ protoOf(PluginError).equals = function (other) {
97
+ if (this === other)
98
+ return true;
99
+ if (!(other instanceof PluginError))
100
+ return false;
101
+ var tmp0_other_with_cast = other instanceof PluginError ? other : THROW_CCE();
102
+ if (!(this.errorCode === tmp0_other_with_cast.errorCode))
103
+ return false;
104
+ if (!(this.errorMessage == tmp0_other_with_cast.errorMessage))
105
+ return false;
106
+ if (!equals(this.errorDetails, tmp0_other_with_cast.errorDetails))
107
+ return false;
108
+ return true;
109
+ };
110
+ //region block: exports
111
+ function $jsExportAll$(_) {
112
+ var $com = _.com || (_.com = {});
113
+ var $com$logic = $com.logic || ($com.logic = {});
114
+ var $com$logic$plugin = $com$logic.plugin || ($com$logic.plugin = {});
115
+ var $com$logic$plugin$handlers = $com$logic$plugin.handlers || ($com$logic$plugin.handlers = {});
116
+ var $com = _.com || (_.com = {});
117
+ var $com$logic = $com.logic || ($com.logic = {});
118
+ var $com$logic$plugin = $com$logic.plugin || ($com$logic.plugin = {});
119
+ var $com$logic$plugin$utils = $com$logic$plugin.utils || ($com$logic$plugin.utils = {});
120
+ var $com$logic$plugin$utils$events = $com$logic$plugin$utils.events || ($com$logic$plugin$utils.events = {});
121
+ var $com = _.com || (_.com = {});
122
+ var $com$logic = $com.logic || ($com.logic = {});
123
+ var $com$logic$plugin = $com$logic.plugin || ($com$logic.plugin = {});
124
+ var $com$logic$plugin$utils = $com$logic$plugin.utils || ($com$logic$plugin.utils = {});
125
+ var $com$logic$plugin$utils$events = $com$logic$plugin$utils.events || ($com$logic$plugin$utils.events = {});
126
+ var $com = _.com || (_.com = {});
127
+ var $com$logic = $com.logic || ($com.logic = {});
128
+ var $com$logic$plugin = $com$logic.plugin || ($com$logic.plugin = {});
129
+ var $com$logic$plugin$utils = $com$logic$plugin.utils || ($com$logic$plugin.utils = {});
130
+ var $com$logic$plugin$utils$events = $com$logic$plugin$utils.events || ($com$logic$plugin$utils.events = {});
131
+ $com$logic$plugin$utils$events.PluginError = PluginError;
132
+ }
133
+ $jsExportAll$(_);
134
+ kotlin_com_gamewithcats_game_engine_core.$jsExportAll$(_);
135
+ kotlin_com_gamewithcats_game_engine_engine.$jsExportAll$(_);
136
+ kotlin_com_gamewithcats_game_engine_game_client.$jsExportAll$(_);
137
+ kotlin_com_gamewithcats_game_engine_game_server.$jsExportAll$(_);
138
+ //endregion
139
+ return _;
140
+ }));
141
+
142
+ //# sourceMappingURL=Logic_Debertz-client_plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../../src/commonMain/kotlin/com.logic.plugin/utils/events/MethodController.kt","../../../../../../src/commonMain/kotlin/com.logic.plugin/utils/events/PluginError.kt"],"sourcesContent":[null,null],"names":["success$default","eventData","<init>","errorCode","errorMessage","errorDetails","<get-errorCode>","<get-errorMessage>","<get-errorDetails>","component1","component2","component3","copy","copy$default","toString","hashCode","result","equals","other"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASIA,CAAYC,S,QAAZD,E;qCAA8B,I;;G;;;;;;;;;;sBCJ7BE,CACDC,S,EACAC,Y,EACAC,YAHCH,EADL;A,IAEI,0B;IACA,gC;IACA,gC;EAJJ,C;sCAEII,CAAAA,EAAA;A,IAAA,qB;EAAoB,C;sCACpBC,CAAAA,EAAA;A,IAAA,wB;EAAwB,C;sCACxBC,CAAAA,EAAA;A,IAAA,wB;EAAqB,C;qCARzBC,CAAAA,EAAA;A,IAAA,qB;EAAA,C;qCAAAC,CAAAA,EAAA;A,IAAA,wB;EAAA,C;qCAAAC,CAAAA,EAAA;A,IAAA,wB;EAAA,C;sCAAAC,CAMIT,S,EACAC,Y,EACAC,YARJO,EAAA;A,IAAA,6D;EAAA,C;uCAAAC,CAMIV,S,EACAC,Y,EACAC,Y,QARJQ,E;qCAAA,I,CAAA,S;2CAAA,I,CAAA,Y;2CAAA,I,CAAA,Y;;G;2CAAAC,CAAAA,EAAA;A,IAAA,gJ;EAAA,C;2CAAAC,CAAAA,EAAA;A,QAAAC,0C;IAAA,sG;IAAA,6F;IAAA,a;EAAA,C;yCAAAC,CAAAC,KAAAD,EAAA;A,IAAA,mB;MAAA,W;IAAA,oC;MAAA,Y;QAAA,yE;IAAA,yD;MAAA,Y;IAAA,8D;MAAA,Y;IAAA,kE;MAAA,Y;IAAA,W;EAAA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}