You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 15:06:20 +00:00
@@ -45,8 +45,10 @@ export class CommunicationManager implements ICommunicationManager
|
||||
const machineId = await this._machineIdPromise;
|
||||
|
||||
this._connection.send(new ClientHelloMessageComposer(null, null, null, null));
|
||||
this._connection.send(new SSOTicketMessageComposer(GetConfiguration().getValue('sso.ticket', null), GetTickerTime()));
|
||||
// Send the machine fingerprint (UniqueID) BEFORE the SSO ticket so the server
|
||||
// has the machineId available when it processes the login in Habbo.connect().
|
||||
this._connection.send(new UniqueIDMessageComposer(machineId, '', ''));
|
||||
this._connection.send(new SSOTicketMessageComposer(GetConfiguration().getValue('sso.ticket', null), GetTickerTime()));
|
||||
}
|
||||
|
||||
constructor()
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { IAssetData, RoomObjectVariable } from '@nitrots/api';
|
||||
import { RoomObjectStateChangedEvent } from '@nitrots/events';
|
||||
import { FurnitureMultiStateLogic } from './FurnitureMultiStateLogic';
|
||||
|
||||
export class FurnitureMultiHeightLogic extends FurnitureMultiStateLogic
|
||||
@@ -9,4 +10,10 @@ export class FurnitureMultiHeightLogic extends FurnitureMultiStateLogic
|
||||
|
||||
if(this.object && this.object.model) this.object.model.setValue(RoomObjectVariable.FURNITURE_IS_VARIABLE_HEIGHT, 1);
|
||||
}
|
||||
|
||||
public useObject(): void
|
||||
{
|
||||
if(!this.object || !this.eventDispatcher) return;
|
||||
this.eventDispatcher.dispatchEvent(new RoomObjectStateChangedEvent(RoomObjectStateChangedEvent.STATE_CHANGE, this.object));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user