mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2024-11-30 03:00:51 +01:00
Merge branch 'oobjectt-composer-handshake'
This commit is contained in:
commit
e9bce32169
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 HARVEST_PET = 1521;
|
||||||
public static GROUP_UNFAVORITE = 1820;
|
public static GROUP_UNFAVORITE = 1820;
|
||||||
public static NEW_USER_EXPERIENCE_GET_GIFTS = 1822;
|
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 './AuthenticationMessageComposer';
|
||||||
export * from './ClientHelloMessageComposer';
|
export * from './ClientHelloMessageComposer';
|
||||||
|
export * from './CompleteDiffieHandshakeMessageComposer';
|
||||||
export * from './DisconnectMessageComposer';
|
export * from './DisconnectMessageComposer';
|
||||||
export * from './InfoRetrieveMessageComposer';
|
export * from './InfoRetrieveMessageComposer';
|
||||||
|
export * from './InitDiffieHandshakeMessageComposer';
|
||||||
export * from './PongMessageComposer';
|
export * from './PongMessageComposer';
|
||||||
export * from './SSOTicketMessageComposer';
|
export * from './SSOTicketMessageComposer';
|
||||||
export * from './UniqueIDMessageComposer';
|
export * from './UniqueIDMessageComposer';
|
||||||
|
Loading…
Reference in New Issue
Block a user