raspberry_games_server_game_logic 1.8.415 → 1.8.417
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.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-ai_module.js +350 -548
- package/Logic_Debertz-ai_module.js.map +1 -1
- package/Logic_Debertz-core.js +677 -674
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +13714 -12904
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_server.d.ts +88 -3
- package/Logic_Debertz-game_server.js +1234 -1110
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +9 -9
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -1073,6 +1073,50 @@ export declare namespace games.jass.logic.data.models.leagues {
|
|
|
1073
1073
|
const constructor: abstract new () => LeagueInfo;
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
1076
|
+
export declare namespace games.jass.logic.data.models.messages {
|
|
1077
|
+
interface Message {
|
|
1078
|
+
readonly id: string;
|
|
1079
|
+
readonly isShowing: boolean;
|
|
1080
|
+
readonly createdAt: any/* kotlin.time.Instant */;
|
|
1081
|
+
readonly lifecycle: any/* games.jass.logic.data.models.messages.MessageLifecycle */;
|
|
1082
|
+
isItemSame(other: games.jass.logic.data.models.messages.Message): boolean;
|
|
1083
|
+
readonly createdAtString: string;
|
|
1084
|
+
readonly __doNotUseOrImplementIt: {
|
|
1085
|
+
readonly "games.jass.logic.data.models.messages.Message": unique symbol;
|
|
1086
|
+
};
|
|
1087
|
+
}
|
|
1088
|
+
abstract class Message extends KtSingleton<Message.$metadata$.constructor>() {
|
|
1089
|
+
private constructor();
|
|
1090
|
+
}
|
|
1091
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1092
|
+
namespace Message.$metadata$ {
|
|
1093
|
+
abstract class constructor {
|
|
1094
|
+
get WHO_SHUFFLE_CARDS_TYPE(): string;
|
|
1095
|
+
get PHRASE_MESSAGE_TYPE(): string;
|
|
1096
|
+
get STICKER_MESSAGE_TYPE(): string;
|
|
1097
|
+
get COMBINATIONS_MESSAGE_TYPE(): string;
|
|
1098
|
+
get POINTS_MESSAGE_TYPE(): string;
|
|
1099
|
+
get TEXT_MESSAGE_TYPE(): string;
|
|
1100
|
+
get WINNER_COMBINATIONS_MESSAGE_TYPE(): string;
|
|
1101
|
+
get VALIDATION_MESSAGE_TYPE(): string;
|
|
1102
|
+
get EVENT_MESSAGE_TYPE(): string;
|
|
1103
|
+
get RANDOM_SIGNATURE_MESSAGE_TYPE(): string;
|
|
1104
|
+
private constructor();
|
|
1105
|
+
}
|
|
1106
|
+
}
|
|
1107
|
+
}
|
|
1108
|
+
export declare namespace games.jass.logic.data.models.messages {
|
|
1109
|
+
interface UserMessage extends games.jass.logic.data.models.messages.Message, com.logic.data.models.player.PlayerIdContract {
|
|
1110
|
+
readonly userInfo: com.logic.data.models.player.GameUserInfo;
|
|
1111
|
+
readonly playerId: string;
|
|
1112
|
+
readonly validateVoiceCount: boolean;
|
|
1113
|
+
isItemSame(other: games.jass.logic.data.models.messages.Message): boolean;
|
|
1114
|
+
readonly isGenerated: boolean;
|
|
1115
|
+
readonly __doNotUseOrImplementIt: {
|
|
1116
|
+
readonly "games.jass.logic.data.models.messages.UserMessage": unique symbol;
|
|
1117
|
+
} & games.jass.logic.data.models.messages.Message["__doNotUseOrImplementIt"] & com.logic.data.models.player.PlayerIdContract["__doNotUseOrImplementIt"];
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1076
1120
|
export declare namespace games.jass.logic.data.models.messages.combinatios {
|
|
1077
1121
|
abstract class CombinationReason /* implements kotlin.Comparable<games.jass.logic.data.models.messages.combinatios.CombinationReason> */ {
|
|
1078
1122
|
private constructor();
|
|
@@ -1114,6 +1158,31 @@ export declare namespace games.jass.logic.data.models.messages.combinatios {
|
|
|
1114
1158
|
const constructor: abstract new () => CombinationReason;
|
|
1115
1159
|
}
|
|
1116
1160
|
}
|
|
1161
|
+
export declare namespace games.jass.logic.data.models.messages.text {
|
|
1162
|
+
class TextMessage implements games.jass.logic.data.models.messages.UserMessage {
|
|
1163
|
+
constructor(message: string, id: string, userInfo: com.logic.data.models.player.GameUserInfo, isShowing: boolean, createdAt: any/* kotlin.time.Instant */);
|
|
1164
|
+
get message(): string;
|
|
1165
|
+
get id(): string;
|
|
1166
|
+
get userInfo(): com.logic.data.models.player.GameUserInfo;
|
|
1167
|
+
get isShowing(): boolean;
|
|
1168
|
+
get createdAt(): any/* kotlin.time.Instant */;
|
|
1169
|
+
isItemSame(other: games.jass.logic.data.models.messages.Message): boolean;
|
|
1170
|
+
get lifecycle(): any/* games.jass.logic.data.models.messages.MessageLifecycle */;
|
|
1171
|
+
get validateVoiceCount(): boolean;
|
|
1172
|
+
get isGenerated(): boolean;
|
|
1173
|
+
copy(message?: string, id?: string, userInfo?: com.logic.data.models.player.GameUserInfo, isShowing?: boolean, createdAt?: any/* kotlin.time.Instant */): games.jass.logic.data.models.messages.text.TextMessage;
|
|
1174
|
+
toString(): string;
|
|
1175
|
+
hashCode(): number;
|
|
1176
|
+
equals(other: Nullable<any>): boolean;
|
|
1177
|
+
get playerId(): string;
|
|
1178
|
+
get createdAtString(): string;
|
|
1179
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.data.models.messages.UserMessage["__doNotUseOrImplementIt"];
|
|
1180
|
+
}
|
|
1181
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
1182
|
+
namespace TextMessage.$metadata$ {
|
|
1183
|
+
const constructor: abstract new () => TextMessage;
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1117
1186
|
export declare namespace games.jass.logic.data.models.player {
|
|
1118
1187
|
class JassPlayerLite {
|
|
1119
1188
|
constructor(userInfo: com.logic.data.models.player.GameUserInfo, options: any/* games.jass.logic.data.models.player.options.PlayerOptions */, points: any/* games.jass.logic.data.models.player.points.PlayerPoints */);
|
|
@@ -2614,7 +2683,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2614
2683
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
|
|
2615
2684
|
}
|
|
2616
2685
|
interface PlayerOrderChangeMechanicAction extends com.logic.redux.store.definitions.Action {
|
|
2617
|
-
readonly usersOrder:
|
|
2686
|
+
readonly usersOrder: Array<string>;
|
|
2618
2687
|
readonly __doNotUseOrImplementIt: {
|
|
2619
2688
|
readonly "games.jass.logic.redux.actions.mechanic.PlayerOrderChangeMechanicAction": unique symbol;
|
|
2620
2689
|
} & com.logic.redux.store.definitions.Action["__doNotUseOrImplementIt"];
|
|
@@ -2628,7 +2697,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2628
2697
|
get users(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
2629
2698
|
get aid(): Nullable<string>;
|
|
2630
2699
|
get spectators(): kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>;
|
|
2631
|
-
get usersOrder():
|
|
2700
|
+
get usersOrder(): Array<string>;
|
|
2632
2701
|
copy(config?: games.jass.logic.data.models.table.config.Config, roomId?: string, version?: string, gameCreatorPlayerId?: string, users?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>, aid?: Nullable<string>, spectators?: kotlin.collections.KtList<com.logic.data.models.player.GameUserInfo>): games.jass.logic.redux.actions.mechanic.StartGameMechanicAction;
|
|
2633
2702
|
toString(): string;
|
|
2634
2703
|
hashCode(): number;
|
|
@@ -2748,7 +2817,7 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2748
2817
|
get team1(): com.logic.data.models.player.Team;
|
|
2749
2818
|
get team2(): com.logic.data.models.player.Team;
|
|
2750
2819
|
get aid(): Nullable<string>;
|
|
2751
|
-
get usersOrder():
|
|
2820
|
+
get usersOrder(): Array<string>;
|
|
2752
2821
|
getSelectedPlayerId(gameCreatorPlayerId: string): string;
|
|
2753
2822
|
copy(team1?: com.logic.data.models.player.Team, team2?: com.logic.data.models.player.Team, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.TeamsDataMechanicAction;
|
|
2754
2823
|
toString(): string;
|
|
@@ -2783,6 +2852,21 @@ export declare namespace games.jass.logic.redux.actions.mechanic {
|
|
|
2783
2852
|
namespace PlayerConnectionChangedMechanicAction.$metadata$ {
|
|
2784
2853
|
const constructor: abstract new () => PlayerConnectionChangedMechanicAction;
|
|
2785
2854
|
}
|
|
2855
|
+
class MessageMechanicAction extends games.jass.logic.redux.actions.mechanic.MechanicAction.$metadata$.constructor implements com.logic.redux.actions.IgnoreBufferForAction {
|
|
2856
|
+
constructor(message: games.jass.logic.data.models.messages.Message, aid?: Nullable<string>);
|
|
2857
|
+
get message(): games.jass.logic.data.models.messages.Message;
|
|
2858
|
+
get aid(): Nullable<string>;
|
|
2859
|
+
copy(message?: games.jass.logic.data.models.messages.Message, aid?: Nullable<string>): games.jass.logic.redux.actions.mechanic.MessageMechanicAction;
|
|
2860
|
+
toString(): string;
|
|
2861
|
+
hashCode(): number;
|
|
2862
|
+
equals(other: Nullable<any>): boolean;
|
|
2863
|
+
get actionTag(): string;
|
|
2864
|
+
readonly __doNotUseOrImplementIt: games.jass.logic.redux.actions.mechanic.MechanicAction["__doNotUseOrImplementIt"] & com.logic.redux.actions.IgnoreBufferForAction["__doNotUseOrImplementIt"];
|
|
2865
|
+
}
|
|
2866
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
2867
|
+
namespace MessageMechanicAction.$metadata$ {
|
|
2868
|
+
const constructor: abstract new () => MessageMechanicAction;
|
|
2869
|
+
}
|
|
2786
2870
|
}
|
|
2787
2871
|
export declare interface GameHelper {
|
|
2788
2872
|
filterLivePlayers(store: com.logic.redux.store.definitions.Store<any/* games.jass.logic.redux.AppState */>, playerIds: Array<string>, includeBots?: boolean): Array<string>;
|
|
@@ -3015,6 +3099,7 @@ export declare namespace games.jass.logic.server.domain {
|
|
|
3015
3099
|
clear(): void;
|
|
3016
3100
|
setCanStartNewGameEnabled(enabled: boolean): void;
|
|
3017
3101
|
shutdown(reason: string, roomId?: Nullable<string>): void;
|
|
3102
|
+
handlePlayerMessage(message: string, fromPlayerId: string, onMessageGenerated: (p0: games.jass.logic.data.models.messages.text.TextMessage) => void): void;
|
|
3018
3103
|
readonly __doNotUseOrImplementIt: {
|
|
3019
3104
|
readonly "games.jass.logic.server.domain.ServerGameEngineContract": unique symbol;
|
|
3020
3105
|
} & games.jass.logic.GameStoreContract["__doNotUseOrImplementIt"];
|