Move to Renderer V2

This commit is contained in:
duckietm
2024-04-03 09:27:56 +02:00
parent 110c3ad393
commit b3134ce50b
4080 changed files with 115593 additions and 66375 deletions
@@ -0,0 +1,27 @@
import { IConnection } from '@nitrots/api';
import { NitroEvent } from '../core';
export class NitroCommunicationDemoEvent extends NitroEvent
{
public static CONNECTION_ESTABLISHED = 'NCE_ESTABLISHED';
public static CONNECTION_CLOSED = 'NCE_CLOSED';
public static CONNECTION_ERROR = 'NCE_ERROR';
public static CONNECTION_HANDSHAKING = 'NCE_HANDSHAKING';
public static CONNECTION_HANDSHAKED = 'NCE_HANDSHAKED';
public static CONNECTION_HANDSHAKE_FAILED = 'NCE_HANDSHAKE_FAILED';
public static CONNECTION_AUTHENTICATED = 'NCE_AUTHENTICATED';
private _connection: IConnection;
constructor(type: string, connection: IConnection)
{
super(type);
this._connection = connection;
}
public get connection(): IConnection
{
return this._connection;
}
}
@@ -0,0 +1 @@
export * from './NitroCommunicationDemoEvent';