You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
Move to Renderer V2
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
export class RoomId
|
||||
{
|
||||
private static PREVIEW_ROOM_ID_BASE: number = 0x7FFF0000;
|
||||
|
||||
public static makeRoomPreviewerId(roomId: number): number
|
||||
{
|
||||
return (roomId & 0xFFFF) + RoomId.PREVIEW_ROOM_ID_BASE;
|
||||
}
|
||||
|
||||
public static isRoomPreviewerId(roomId: number): boolean
|
||||
{
|
||||
return (roomId >= RoomId.PREVIEW_ROOM_ID_BASE);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user