cleaned HabboClubLevelEnum

This commit is contained in:
Dank074 2021-06-07 03:42:27 -05:00
parent b744c602ab
commit 8451540b37
10 changed files with 20 additions and 20 deletions

View File

@ -508,7 +508,7 @@ export class RoomPlane implements IRoomPlane
if(this._hasTexture && layer.getMaterial()) if(this._hasTexture && layer.getMaterial())
{ {
const normal = geometry.getCoordinatePosition(this._normal); const normal = geometry.getCoordinatePosition(this._normal);
const cm = layer.getMaterial()._Str_21968(normal); const cm = layer.getMaterial().getMaterialCellMatrix(normal);
//const data = new PlaneDrawingData(maskData, blend(this._color, layer.getColor()), cm.isBottomAligned()); //const data = new PlaneDrawingData(maskData, blend(this._color, layer.getColor()), cm.isBottomAligned());
const data = new PlaneDrawingData(maskData, this._color, cm.isBottomAligned()); const data = new PlaneDrawingData(maskData, this._color, cm.isBottomAligned());

View File

@ -994,7 +994,7 @@ export class RoomVisualization extends RoomObjectSpriteVisualization implements
return new Rectangle(this._boundingRectangle.x, this._boundingRectangle.y, this._boundingRectangle.width, this._boundingRectangle.height); return new Rectangle(this._boundingRectangle.x, this._boundingRectangle.y, this._boundingRectangle.width, this._boundingRectangle.height);
} }
public get _Str_19113(): IRoomPlane[] public get planes(): IRoomPlane[]
{ {
const planes: IRoomPlane[] = []; const planes: IRoomPlane[] = [];

View File

@ -36,7 +36,7 @@ export class AnimationItem
this._bitmapData = null; this._bitmapData = null;
} }
public _Str_6729(k: number, _arg_2: number, _arg_3: number, _arg_4: number, _arg_5: number): Point public getPosition(k: number, _arg_2: number, _arg_3: number, _arg_4: number, _arg_5: number): Point
{ {
let _local_6 = this._x; let _local_6 = this._x;
let _local_7 = this._y; let _local_7 = this._y;
@ -50,4 +50,4 @@ export class AnimationItem
return new Point(_local_8, _local_9); return new Point(_local_8, _local_9);
} }
} }

View File

@ -105,7 +105,7 @@ export class PlaneVisualizationAnimationLayer implements IDisposable
const _local_13 = (this._items[_local_12] as AnimationItem); const _local_13 = (this._items[_local_12] as AnimationItem);
if(_local_13 != null) if(_local_13 != null)
{ {
const _local_14 = _local_13._Str_6729(_arg_7, _arg_8, _arg_9, _arg_10, _arg_11); const _local_14 = _local_13.getPosition(_arg_7, _arg_8, _arg_9, _arg_10, _arg_11);
_local_14.x = (_local_14.x - _arg_5); _local_14.x = (_local_14.x - _arg_5);
_local_14.y = (_local_14.y - _arg_6); _local_14.y = (_local_14.y - _arg_6);

View File

@ -50,7 +50,7 @@ export class PlaneMaterial
this._isCached = false; this._isCached = false;
} }
public _Str_24503(k: number, _arg_2: number, _arg_3: number, _arg_4: number = -1, _arg_5: number = 1, _arg_6: number = -1, _arg_7: number = 1): PlaneMaterialCellMatrix public addMaterialCellMatrix(k: number, _arg_2: number, _arg_3: number, _arg_4: number = -1, _arg_5: number = 1, _arg_6: number = -1, _arg_7: number = 1): PlaneMaterialCellMatrix
{ {
const cellMatrix = new PlaneMaterialCellMatrix(k, _arg_2, _arg_3, _arg_4, _arg_5, _arg_6, _arg_7); const cellMatrix = new PlaneMaterialCellMatrix(k, _arg_2, _arg_3, _arg_4, _arg_5, _arg_6, _arg_7);
@ -59,7 +59,7 @@ export class PlaneMaterial
return cellMatrix; return cellMatrix;
} }
public _Str_21968(k: IVector3D): PlaneMaterialCellMatrix public getMaterialCellMatrix(k: IVector3D): PlaneMaterialCellMatrix
{ {
if(!k) return null; if(!k) return null;
@ -82,7 +82,7 @@ export class PlaneMaterial
if(_arg_3 < 1) _arg_3 = 1; if(_arg_3 < 1) _arg_3 = 1;
const cellMatrix = this._Str_21968(_arg_4); const cellMatrix = this.getMaterialCellMatrix(_arg_4);
if(!cellMatrix) return null; if(!cellMatrix) return null;

View File

@ -332,7 +332,7 @@ export class PlaneRasterizer implements IPlaneRasterizer
if(matrix.columns && matrix.columns.length) if(matrix.columns && matrix.columns.length)
{ {
const cellMatrix = newMaterial._Str_24503(matrix.columns.length, repeatMode, align, normalMinX, normalMaxX, normalMinY, normalMaxY); const cellMatrix = newMaterial.addMaterialCellMatrix(matrix.columns.length, repeatMode, align, normalMinX, normalMaxX, normalMinY, normalMaxY);
let index = 0; let index = 0;

View File

@ -395,7 +395,7 @@ export class SpriteDataCollector
if(visualization) if(visualization)
{ {
const _local_8 = _arg_2.geometry; const _local_8 = _arg_2.geometry;
const _local_9 = this._Str_25623(visualization._Str_19113, _arg_2, _arg_3); const _local_9 = this._Str_25623(visualization.planes, _arg_2, _arg_3);
const _local_10 = Nitro.instance.stage; const _local_10 = Nitro.instance.stage;
for(const _local_11 of _local_9) for(const _local_11 of _local_9)

View File

@ -1,6 +1,6 @@
export class HabboClubLevelEnum export class HabboClubLevelEnum
{ {
public static _Str_3159: number = 0; public static NO_CLUB: number = 0;
public static _Str_2964: number = 1; public static CLUB: number = 1;
public static _Str_2575: number = 2; public static VIP: number = 2;
} }

View File

@ -22,7 +22,7 @@ export class RoomUserData
private _canRevive: boolean; private _canRevive: boolean;
private _hasBreedingPermission: boolean; private _hasBreedingPermission: boolean;
private _botSkills: number[]; private _botSkills: number[];
private _Str_9831: boolean; private _isModerator: boolean;
constructor(k: number) constructor(k: number)
{ {
@ -246,11 +246,11 @@ export class RoomUserData
public get isModerator(): boolean public get isModerator(): boolean
{ {
return this._Str_9831; return this._isModerator;
} }
public set isModerator(k: boolean) public set isModerator(k: boolean)
{ {
this._Str_9831 = k; this._isModerator = k;
} }
} }

View File

@ -2,5 +2,5 @@
export interface IPlaneVisualization export interface IPlaneVisualization
{ {
_Str_19113: IRoomPlane[]; planes: IRoomPlane[];
} }