mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-29 18:50:51 +01:00
Merge branch 'composer-handshake' of https://github.com/oobjectt/nitro-renderer into oobjectt-composer-handshake
This commit is contained in:
commit
63f52ec454
File diff suppressed because one or more lines are too long
@ -436,4 +436,6 @@ export class OutgoingHeader
|
||||
public static HARVEST_PET = 1521;
|
||||
public static GROUP_UNFAVORITE = 1820;
|
||||
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
|
||||
public static HANDSHAKE_INIT_DIFFIE = 3110;
|
||||
public static HANDSHAKE_COMPLETE_DIFFIE = 773;
|
||||
}
|
||||
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../api';
|
||||
|
||||
export class CompleteDiffieHandshakeMessageComposer implements IMessageComposer<ConstructorParameters<typeof CompleteDiffieHandshakeMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof CompleteDiffieHandshakeMessageComposer>;
|
||||
|
||||
constructor(publicKey: string)
|
||||
{
|
||||
this._data = [publicKey];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../api';
|
||||
|
||||
export class InitDiffieHandshakeMessageComposer implements IMessageComposer<ConstructorParameters<typeof InitDiffieHandshakeMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof InitDiffieHandshakeMessageComposer>;
|
||||
|
||||
constructor()
|
||||
{
|
||||
this._data = [];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
export * from './AuthenticationMessageComposer';
|
||||
export * from './ClientHelloMessageComposer';
|
||||
export * from './CompleteDiffieHandshakeMessageComposer';
|
||||
export * from './DisconnectMessageComposer';
|
||||
export * from './InfoRetrieveMessageComposer';
|
||||
export * from './InitDiffieHandshakeMessageComposer';
|
||||
export * from './PongMessageComposer';
|
||||
export * from './SSOTicketMessageComposer';
|
||||
export * from './UniqueIDMessageComposer';
|
||||
|
Loading…
Reference in New Issue
Block a user