Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import r from 'restructure';
import Entity from '../entity';
import LocalizedStringRef from '../localized-string-ref';
export default Entity({
id: r.uint32le,
categoryID: r.uint32le,
unknown: new r.Reserved(r.uint32le),
name: LocalizedStringRef,
description: LocalizedStringRef,
spellIconID: r.uint32le,
verb: LocalizedStringRef,
canLink: new r.Boolean(r.uint32le),
});
import r from 'restructure';
import Entity from '../entity';
import LocalizedStringRef from '../localized-string-ref';
import StringRef from '../string-ref';
export default Entity({
id: r.uint32le,
name: LocalizedStringRef,
mask: r.uint32le,
immunityPossible: new r.Boolean(r.uint32le),
internalName: StringRef,
});
import r from 'restructure';
import Entity from '../entity';
import LocalizedStringRef from '../localized-string-ref';
export default Entity({
id: r.uint32le,
name: LocalizedStringRef,
noExperience: new r.Boolean(r.uint32le),
});
'use strict';
var r = require('restructure');
var Entity = require('../entity');
var LocalizedStringRef = require('../localized-string-ref');
module.exports = Entity({
id: r.uint32le,
name: LocalizedStringRef,
noExperience: new r.Boolean(r.uint32le)
});
'use strict';
var r = require('restructure');
var Entity = require('../entity');
var LocalizedStringRef = require('../localized-string-ref');
var StringRef = require('../string-ref');
module.exports = Entity({
id: r.uint32le,
internalName: StringRef,
type: r.uint32le,
pvp: new r.Boolean(r.uint32le),
name: LocalizedStringRef,
areaID: r.uint32le,
hordeIntro: LocalizedStringRef,
allianceIntro: LocalizedStringRef,
loadingScreenID: r.uint32le,
minimapIconScale: r.floatle,
corpseMapID: r.int32le,
corpseStartX: r.floatle,
corpseStartY: r.floatle,
timeOfDayOverride: r.int32le,
expansionID: r.uint32le,
maxPlayers: r.uint32le,
'use strict';
var r = require('restructure');
var Entity = require('../entity');
var LocalizedStringRef = require('../localized-string-ref');
var StringRef = require('../string-ref');
module.exports = Entity({
id: r.uint32le,
name: LocalizedStringRef,
mask: r.uint32le,
immunityPossible: new r.Boolean(r.uint32le),
internalName: StringRef
});
'use strict';
var r = require('restructure');
var Entity = require('../entity');
module.exports = Entity({
id: r.uint32le,
animationID: r.uint32le,
typeID: r.uint32le,
flags: r.uint32le,
unknown: new r.Reserved(new r.Boolean(r.uint32le))
});
import r from 'restructure';
import Entity from '../entity';
export default Entity({
id: r.uint32le,
highlightSky: new r.Boolean(r.uint32le),
lightSkyboxID: r.uint32le,
glow: r.floatle,
waterShallowAlpha: r.floatle,
waterDeepAlpha: r.floatle,
oceanShallowAlpha: r.floatle,
oceanDeepAlpha: r.floatle,
flags: r.uint32le,
});
hairStyle: r.uint32le,
beardStyle: r.uint32le,
helmID: r.uint32le,
shoulderID: r.uint32le,
shirtID: r.uint32le,
cuirassID: r.uint32le,
beltID: r.uint32le,
legsID: r.uint32le,
bootsID: r.uint32le,
wristID: r.uint32le,
glovesID: r.uint32le,
tabardID: r.uint32le,
capeID: r.uint32le,
canEquip: new r.Boolean(r.uint32le),
texture: StringRef
});
import r from 'restructure';
import Entity from '../entity';
import LocalizedStringRef from '../localized-string-ref';
import StringRef from '../string-ref';
export default Entity({
id: r.uint32le,
internalName: StringRef,
flags: r.uint32le,
type: r.uint32le,
pvp: new r.Boolean(r.uint32le),
name: LocalizedStringRef,
areaID: r.uint32le,
hordeIntro: LocalizedStringRef,
allianceIntro: LocalizedStringRef,
loadingScreenID: r.uint32le,
minimapIconScale: r.floatle,
corpseMapID: r.int32le,
corpseStartX: r.floatle,
corpseStartY: r.floatle,
timeOfDayOverride: r.int32le,
expansionID: r.uint32le,
maxPlayers: r.uint32le,