@shimotsuki/core 3.0.32 → 3.0.33
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/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -643,7 +643,8 @@ declare class WrapperSocialGameClient extends SocialGameClient {
|
|
|
643
643
|
ignore: (route: string) => boolean;
|
|
644
644
|
constructor(name: string, opts: Partial<SocialGameClientOption>, eventResponsePairs: Partial<AllEventResponsePairs>, clientOption?: ExtendedClientOption);
|
|
645
645
|
destroy(): void;
|
|
646
|
-
GameRequest<T extends string
|
|
646
|
+
GameRequest<T extends string>(route: T, req: BinaryWriter, res: MessageFns<any>, options?: AudienceOptions): Promise<any>;
|
|
647
|
+
GameRequest<T extends string, U>(route: T, req: BinaryWriter, res: MessageFns<U>, options?: AudienceOptions): Promise<U>;
|
|
647
648
|
subscribe<T>(route: string, respType: MessageFns<T>, fn?: (data: T) => void): this;
|
|
648
649
|
}
|
|
649
650
|
|