hytopia 0.8.3 → 0.8.6-dev1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bun-server.mjs +171 -171
- package/docs/index.md +1 -0
- package/docs/server.audio._constructor_.md +1 -0
- package/docs/server.audio.md +1 -0
- package/docs/server.audio.play.md +1 -0
- package/docs/server.audio.setattachedtoentity.md +1 -0
- package/docs/server.audio.setcutoffdistance.md +1 -0
- package/docs/server.audio.setdetune.md +1 -0
- package/docs/server.audio.setdistortion.md +1 -0
- package/docs/server.audio.setplaybackrate.md +1 -0
- package/docs/server.audio.setposition.md +1 -0
- package/docs/server.audio.setreferencedistance.md +1 -0
- package/docs/server.audio.setvolume.md +1 -0
- package/docs/server.audioevent.md +1 -0
- package/docs/server.audioeventpayloads.md +1 -0
- package/docs/server.audiomanager.getallaudios.md +1 -37
- package/docs/server.audiomanager.getallentityattachedaudios.md +3 -18
- package/docs/server.audiomanager.getallloopedaudios.md +1 -37
- package/docs/server.audiomanager.getalloneshotaudios.md +1 -37
- package/docs/server.audiomanager.md +5 -4
- package/docs/server.audiomanager.unregisteraudio.md +1 -0
- package/docs/server.audiomanager.unregisterentityattachedaudios.md +1 -0
- package/docs/server.audiooptions.md +1 -0
- package/docs/server.ballcollideroptions.md +1 -0
- package/docs/server.basecollideroptions.md +1 -0
- package/docs/server.baseentitycontroller.attach.md +1 -0
- package/docs/server.baseentitycontroller.despawn.md +1 -0
- package/docs/server.baseentitycontroller.detach.md +1 -0
- package/docs/server.baseentitycontroller.md +1 -0
- package/docs/server.baseentitycontroller.spawn.md +1 -0
- package/docs/server.baseentitycontroller.tick.md +1 -0
- package/docs/server.baseentitycontroller.tickwithplayerinput.md +1 -0
- package/docs/server.baseentitycontrollerevent.md +1 -0
- package/docs/server.baseentitycontrollereventpayloads.md +1 -0
- package/docs/server.baseentityoptions.md +1 -0
- package/docs/server.baserigidbodyoptions.md +1 -0
- package/docs/server.block.getneighborglobalcoordinatefromhitpoint.md +1 -0
- package/docs/server.block.md +1 -0
- package/docs/server.blockcollideroptions.md +1 -0
- package/docs/server.blockentityoptions.md +1 -0
- package/docs/server.blocktype._constructor_.md +2 -15
- package/docs/server.blocktype.md +2 -22
- package/docs/server.blocktypeevent.md +1 -0
- package/docs/server.blocktypeeventpayloads.md +1 -0
- package/docs/server.blocktypeoptions.md +1 -0
- package/docs/server.blocktyperegistry.getallblocktypes.md +1 -37
- package/docs/server.blocktyperegistry.getblocktype.md +1 -0
- package/docs/server.blocktyperegistry.md +2 -1
- package/docs/server.blocktyperegistry.registerblocktype.md +1 -0
- package/docs/server.blocktyperegistry.registergenericblocktype.md +1 -0
- package/docs/server.blocktyperegistryevent.md +1 -0
- package/docs/server.blocktyperegistryeventpayloads.md +1 -0
- package/docs/server.capsulecollideroptions.md +1 -0
- package/docs/server.chatevent.md +1 -0
- package/docs/server.chateventpayloads.md +1 -0
- package/docs/server.chatmanager.md +1 -0
- package/docs/server.chatmanager.registercommand.md +1 -0
- package/docs/server.chatmanager.sendbroadcastmessage.md +1 -0
- package/docs/server.chatmanager.sendplayermessage.md +1 -0
- package/docs/server.chatmanager.unregistercommand.md +1 -0
- package/docs/server.chunk._constructor_.md +2 -15
- package/docs/server.chunk.blockindextolocalcoordinate.md +1 -0
- package/docs/server.chunk.getblockid.md +1 -0
- package/docs/server.chunk.globalcoordinatetolocalcoordinate.md +1 -0
- package/docs/server.chunk.globalcoordinatetoorigincoordinate.md +1 -0
- package/docs/server.chunk.hasblock.md +1 -0
- package/docs/server.chunk.md +2 -22
- package/docs/server.chunklattice._constructor_.md +1 -0
- package/docs/server.chunklattice.getallchunks.md +1 -37
- package/docs/server.chunklattice.getblockid.md +1 -0
- package/docs/server.chunklattice.getblocktype.md +1 -0
- package/docs/server.chunklattice.getblocktypecount.md +1 -0
- package/docs/server.chunklattice.getchunk.md +1 -0
- package/docs/server.chunklattice.getorcreatechunk.md +1 -0
- package/docs/server.chunklattice.hasblock.md +1 -0
- package/docs/server.chunklattice.haschunk.md +1 -0
- package/docs/server.chunklattice.md +2 -22
- package/docs/server.chunklattice.setblock.md +1 -0
- package/docs/server.chunklatticeevent.md +1 -0
- package/docs/server.chunklatticeeventpayloads.md +1 -0
- package/docs/server.coefficientcombinerule.md +1 -0
- package/docs/server.collider._constructor_.md +1 -0
- package/docs/server.collider.addtosimulation.md +1 -0
- package/docs/server.collider.enablecollisionevents.md +1 -0
- package/docs/server.collider.enablecontactforceevents.md +1 -0
- package/docs/server.collider.md +1 -0
- package/docs/server.collider.optionsfromblockhalfextents.md +1 -0
- package/docs/server.collider.optionsfrommodeluri.md +1 -0
- package/docs/server.collider.scale.md +1 -0
- package/docs/server.collider.setbounciness.md +1 -0
- package/docs/server.collider.setbouncinesscombinerule.md +1 -0
- package/docs/server.collider.setcollisiongroups.md +1 -0
- package/docs/server.collider.setenabled.md +1 -0
- package/docs/server.collider.setfriction.md +1 -0
- package/docs/server.collider.setfrictioncombinerule.md +1 -0
- package/docs/server.collider.setmass.md +1 -0
- package/docs/server.collider.setoncollision.md +1 -0
- package/docs/server.collider.setrelativeposition.md +1 -0
- package/docs/server.collider.setrelativerotation.md +1 -0
- package/docs/server.collider.setsensor.md +1 -0
- package/docs/server.collider.settag.md +1 -0
- package/docs/server.collider.setvoxel.md +1 -0
- package/docs/server.collidershape.md +1 -0
- package/docs/server.collisiongroupsbuilder.buildrawcollisiongroups.md +1 -0
- package/docs/server.collisiongroupsbuilder.decodecollisiongroups.md +1 -0
- package/docs/server.collisiongroupsbuilder.decoderawcollisiongroups.md +1 -0
- package/docs/server.collisiongroupsbuilder.isdefaultcollisiongroups.md +1 -0
- package/docs/server.collisiongroupsbuilder.md +1 -0
- package/docs/server.conecollideroptions.md +1 -0
- package/docs/server.cylindercollideroptions.md +1 -0
- package/docs/server.defaultplayerentity._constructor_.md +1 -0
- package/docs/server.defaultplayerentity.md +1 -0
- package/docs/server.defaultplayerentitycontroller._constructor_.md +1 -0
- package/docs/server.defaultplayerentitycontroller.attach.md +1 -0
- package/docs/server.defaultplayerentitycontroller.md +1 -0
- package/docs/server.defaultplayerentitycontroller.spawn.md +1 -0
- package/docs/server.defaultplayerentitycontroller.tickwithplayerinput.md +1 -0
- package/docs/server.defaultplayerentitycontrolleroptions.md +1 -0
- package/docs/server.dynamicrigidbodyoptions.md +1 -0
- package/docs/server.entity._constructor_.md +1 -0
- package/docs/server.entity.md +1 -0
- package/docs/server.entity.setcontroller.md +1 -0
- package/docs/server.entity.setmodelanimationsplaybackrate.md +1 -0
- package/docs/server.entity.setmodelhiddennodes.md +1 -0
- package/docs/server.entity.setmodelscale.md +1 -0
- package/docs/server.entity.setmodelshownnodes.md +1 -0
- package/docs/server.entity.setmodeltextureuri.md +1 -0
- package/docs/server.entity.setopacity.md +1 -0
- package/docs/server.entity.setparent.md +1 -0
- package/docs/server.entity.settintcolor.md +1 -0
- package/docs/server.entity.spawn.md +1 -0
- package/docs/server.entity.startmodelloopedanimations.md +1 -0
- package/docs/server.entity.startmodeloneshotanimations.md +1 -0
- package/docs/server.entity.stopallmodelanimations.md +1 -0
- package/docs/server.entity.stopallmodelloopedanimations.md +1 -0
- package/docs/server.entity.stopallmodeloneshotanimations.md +1 -0
- package/docs/server.entity.stopmodelanimations.md +1 -0
- package/docs/server.entityevent.md +1 -0
- package/docs/server.entityeventpayloads.md +1 -0
- package/docs/server.entitymanager.getallentities.md +1 -37
- package/docs/server.entitymanager.getentitiesbytag.md +1 -0
- package/docs/server.entitymanager.getentitiesbytagsubstring.md +1 -0
- package/docs/server.entitymanager.getentity.md +1 -0
- package/docs/server.entitymanager.getentitychildren.md +1 -0
- package/docs/server.entitymanager.getplayerentitiesbyplayer.md +1 -0
- package/docs/server.entitymanager.md +2 -1
- package/docs/server.errorhandler.error.md +1 -0
- package/docs/server.errorhandler.fatalerror.md +1 -0
- package/docs/server.errorhandler.md +1 -0
- package/docs/server.errorhandler.warning.md +1 -0
- package/docs/server.eventrouter.emit.md +1 -0
- package/docs/server.eventrouter.emit_1.md +1 -0
- package/docs/server.eventrouter.emitwithglobal.md +1 -0
- package/docs/server.eventrouter.emitwithglobal_1.md +1 -0
- package/docs/server.eventrouter.emitwithworld.md +1 -0
- package/docs/server.eventrouter.emitwithworld_1.md +1 -0
- package/docs/server.eventrouter.final_1.md +1 -0
- package/docs/server.eventrouter.haslisteners.md +1 -0
- package/docs/server.eventrouter.haslisteners_1.md +1 -0
- package/docs/server.eventrouter.listenercount.md +1 -0
- package/docs/server.eventrouter.listenercount_1.md +1 -0
- package/docs/server.eventrouter.listeners.md +1 -0
- package/docs/server.eventrouter.listeners_1.md +1 -0
- package/docs/server.eventrouter.md +1 -0
- package/docs/server.eventrouter.off.md +1 -0
- package/docs/server.eventrouter.off_1.md +1 -0
- package/docs/server.eventrouter.offall.md +1 -0
- package/docs/server.eventrouter.offall_1.md +1 -0
- package/docs/server.eventrouter.on.md +1 -0
- package/docs/server.eventrouter.on_1.md +1 -0
- package/docs/server.eventrouter.once.md +1 -0
- package/docs/server.eventrouter.once_1.md +1 -0
- package/docs/server.fixedrigidbodyoptions.md +1 -0
- package/docs/server.gameserver.md +1 -0
- package/docs/server.gameserverevent.md +1 -0
- package/docs/server.gameservereventpayloads.md +1 -0
- package/docs/server.iterationmap.delete.md +1 -0
- package/docs/server.iterationmap.foreach.md +1 -0
- package/docs/server.iterationmap.get.md +1 -0
- package/docs/server.iterationmap.has.md +1 -0
- package/docs/server.iterationmap.md +1 -0
- package/docs/server.iterationmap.set.md +1 -0
- package/docs/server.kinematicpositionrigidbodyoptions.md +1 -0
- package/docs/server.kinematicvelocityrigidbodyoptions.md +1 -0
- package/docs/server.light._constructor_.md +1 -0
- package/docs/server.light.md +1 -0
- package/docs/server.light.setangle.md +1 -0
- package/docs/server.light.setattachedtoentity.md +1 -0
- package/docs/server.light.setcolor.md +1 -0
- package/docs/server.light.setdistance.md +1 -0
- package/docs/server.light.setintensity.md +1 -0
- package/docs/server.light.setoffset.md +1 -0
- package/docs/server.light.setpenumbra.md +1 -0
- package/docs/server.light.setposition.md +1 -0
- package/docs/server.light.settrackedentity.md +1 -0
- package/docs/server.light.settrackedposition.md +1 -0
- package/docs/server.light.spawn.md +1 -0
- package/docs/server.lightevent.md +1 -0
- package/docs/server.lighteventpayloads.md +1 -0
- package/docs/server.lightmanager.getallentityattachedlights.md +1 -0
- package/docs/server.lightmanager.getalllights.md +1 -37
- package/docs/server.lightmanager.md +2 -1
- package/docs/server.lightoptions.md +1 -0
- package/docs/server.lighttype.md +1 -0
- package/docs/server.matrix2._constructor_.md +1 -0
- package/docs/server.matrix2.add.md +1 -0
- package/docs/server.matrix2.copy.md +1 -0
- package/docs/server.matrix2.equals.md +1 -0
- package/docs/server.matrix2.exactequals.md +1 -0
- package/docs/server.matrix2.fromrotation.md +1 -0
- package/docs/server.matrix2.fromscaling.md +1 -0
- package/docs/server.matrix2.md +1 -0
- package/docs/server.matrix2.multiply.md +1 -0
- package/docs/server.matrix2.multiplyscalar.md +1 -0
- package/docs/server.matrix2.rotate.md +1 -0
- package/docs/server.matrix2.subtract.md +1 -0
- package/docs/server.matrix3._constructor_.md +1 -0
- package/docs/server.matrix3.add.md +1 -0
- package/docs/server.matrix3.copy.md +1 -0
- package/docs/server.matrix3.equals.md +1 -0
- package/docs/server.matrix3.exactequals.md +1 -0
- package/docs/server.matrix3.frommatrix4.md +1 -0
- package/docs/server.matrix3.fromquaternion.md +1 -0
- package/docs/server.matrix3.fromrotation.md +1 -0
- package/docs/server.matrix3.fromscaling.md +1 -0
- package/docs/server.matrix3.fromtranslation.md +1 -0
- package/docs/server.matrix3.md +1 -0
- package/docs/server.matrix3.multiply.md +1 -0
- package/docs/server.matrix3.multiplyscalar.md +1 -0
- package/docs/server.matrix3.projection.md +1 -0
- package/docs/server.matrix3.rotate.md +1 -0
- package/docs/server.matrix3.subtract.md +1 -0
- package/docs/server.matrix3.transformvector.md +1 -0
- package/docs/server.matrix4._constructor_.md +1 -0
- package/docs/server.matrix4.add.md +1 -0
- package/docs/server.matrix4.copy.md +1 -0
- package/docs/server.matrix4.equals.md +1 -0
- package/docs/server.matrix4.exactequals.md +1 -0
- package/docs/server.matrix4.fromquaternion.md +1 -0
- package/docs/server.matrix4.fromrotation.md +1 -0
- package/docs/server.matrix4.fromrotationtranslation.md +1 -0
- package/docs/server.matrix4.fromrotationtranslationscale.md +1 -0
- package/docs/server.matrix4.fromrotationtranslationscaleorigin.md +1 -0
- package/docs/server.matrix4.fromscaling.md +1 -0
- package/docs/server.matrix4.fromtranslation.md +1 -0
- package/docs/server.matrix4.fromxrotation.md +1 -0
- package/docs/server.matrix4.fromyrotation.md +1 -0
- package/docs/server.matrix4.fromzrotation.md +1 -0
- package/docs/server.matrix4.frustrum.md +1 -0
- package/docs/server.matrix4.lookat.md +1 -0
- package/docs/server.matrix4.md +1 -0
- package/docs/server.matrix4.multiply.md +1 -0
- package/docs/server.matrix4.multiplyscalar.md +1 -0
- package/docs/server.matrix4.orthographic.md +1 -0
- package/docs/server.matrix4.perspective.md +1 -0
- package/docs/server.matrix4.rotate.md +1 -0
- package/docs/server.matrix4.rotatex.md +1 -0
- package/docs/server.matrix4.rotatey.md +1 -0
- package/docs/server.matrix4.rotatez.md +1 -0
- package/docs/server.matrix4.scale.md +1 -0
- package/docs/server.matrix4.subtract.md +1 -0
- package/docs/server.matrix4.targetto.md +1 -0
- package/docs/server.matrix4.translate.md +1 -0
- package/docs/server.md +1 -33
- package/docs/server.modelentityoptions.md +1 -0
- package/docs/server.modelregistry.getanimationnames.md +1 -0
- package/docs/server.modelregistry.getboundingbox.md +1 -0
- package/docs/server.modelregistry.getdepth.md +1 -0
- package/docs/server.modelregistry.getheight.md +1 -0
- package/docs/server.modelregistry.getnodenames.md +1 -0
- package/docs/server.modelregistry.gettrimesh.md +1 -0
- package/docs/server.modelregistry.getwidth.md +1 -0
- package/docs/server.modelregistry.md +1 -0
- package/docs/server.modelregistry.modelhasnode.md +1 -0
- package/docs/server.nonecollideroptions.md +1 -0
- package/docs/server.particleemitter._constructor_.md +1 -0
- package/docs/server.particleemitter.burst.md +1 -0
- package/docs/server.particleemitter.md +1 -0
- package/docs/server.particleemitter.setalphatest.md +1 -0
- package/docs/server.particleemitter.setattachedtoentity.md +1 -0
- package/docs/server.particleemitter.setattachedtoentitynodename.md +1 -0
- package/docs/server.particleemitter.setcolorend.md +1 -0
- package/docs/server.particleemitter.setcolorendvariance.md +1 -0
- package/docs/server.particleemitter.setcolorstart.md +1 -0
- package/docs/server.particleemitter.setcolorstartvariance.md +1 -0
- package/docs/server.particleemitter.setgravity.md +1 -0
- package/docs/server.particleemitter.setlifetime.md +1 -0
- package/docs/server.particleemitter.setlifetimevariance.md +1 -0
- package/docs/server.particleemitter.setmaxparticles.md +1 -0
- package/docs/server.particleemitter.setoffset.md +1 -0
- package/docs/server.particleemitter.setopacityend.md +1 -0
- package/docs/server.particleemitter.setopacityendvariance.md +1 -0
- package/docs/server.particleemitter.setopacitystart.md +1 -0
- package/docs/server.particleemitter.setopacitystartvariance.md +1 -0
- package/docs/server.particleemitter.setposition.md +1 -0
- package/docs/server.particleemitter.setpositionvariance.md +1 -0
- package/docs/server.particleemitter.setrate.md +1 -0
- package/docs/server.particleemitter.setratevariance.md +1 -0
- package/docs/server.particleemitter.setsizeend.md +1 -0
- package/docs/server.particleemitter.setsizeendvariance.md +1 -0
- package/docs/server.particleemitter.setsizestart.md +1 -0
- package/docs/server.particleemitter.setsizestartvariance.md +1 -0
- package/docs/server.particleemitter.settextureuri.md +1 -0
- package/docs/server.particleemitter.settransparent.md +1 -0
- package/docs/server.particleemitter.setvelocity.md +1 -0
- package/docs/server.particleemitter.setvelocityvariance.md +1 -0
- package/docs/server.particleemitter.spawn.md +1 -0
- package/docs/server.particleemitterevent.md +1 -0
- package/docs/server.particleemittereventpayloads.md +1 -0
- package/docs/server.particleemittermanager.getallentityattachedparticleemitters.md +1 -0
- package/docs/server.particleemittermanager.getallparticleemitters.md +1 -37
- package/docs/server.particleemittermanager.md +2 -1
- package/docs/server.particleemitteroptions.md +1 -0
- package/docs/server.pathfindingentitycontroller._constructor_.md +1 -0
- package/docs/server.pathfindingentitycontroller.md +1 -0
- package/docs/server.pathfindingentitycontroller.pathfind.md +1 -0
- package/docs/server.persistencemanager.getglobaldata.md +1 -0
- package/docs/server.persistencemanager.md +1 -0
- package/docs/server.persistencemanager.setglobaldata.md +1 -0
- package/docs/server.player.joinworld.md +1 -0
- package/docs/server.player.md +1 -0
- package/docs/server.player.setpersisteddata.md +1 -0
- package/docs/server.playercamera.lookatentity.md +1 -0
- package/docs/server.playercamera.lookatposition.md +1 -0
- package/docs/server.playercamera.md +1 -0
- package/docs/server.playercamera.setattachedtoentity.md +1 -0
- package/docs/server.playercamera.setattachedtoposition.md +1 -0
- package/docs/server.playercamera.setfilmoffset.md +1 -0
- package/docs/server.playercamera.setforwardoffset.md +1 -0
- package/docs/server.playercamera.setfov.md +1 -0
- package/docs/server.playercamera.setmode.md +1 -0
- package/docs/server.playercamera.setmodelhiddennodes.md +1 -0
- package/docs/server.playercamera.setmodelshownnodes.md +1 -0
- package/docs/server.playercamera.setoffset.md +1 -0
- package/docs/server.playercamera.setshoulderangle.md +1 -0
- package/docs/server.playercamera.settrackedentity.md +1 -0
- package/docs/server.playercamera.settrackedposition.md +1 -0
- package/docs/server.playercamera.setzoom.md +1 -0
- package/docs/server.playercameraevent.md +1 -0
- package/docs/server.playercameraeventpayloads.md +1 -0
- package/docs/server.playercameramode.md +1 -0
- package/docs/server.playerentity._constructor_.md +1 -0
- package/docs/server.playerentity.md +1 -0
- package/docs/server.playerevent.md +1 -0
- package/docs/server.playereventpayloads.md +1 -0
- package/docs/server.playermanager.getconnectedplayerbyusername.md +1 -0
- package/docs/server.playermanager.getconnectedplayersbyworld.md +1 -0
- package/docs/server.playermanager.md +1 -0
- package/docs/server.playermanagerevent.md +1 -0
- package/docs/server.playermanagereventpayloads.md +1 -0
- package/docs/server.playerui.load.md +1 -0
- package/docs/server.playerui.lockpointer.md +1 -0
- package/docs/server.playerui.md +1 -0
- package/docs/server.playerui.senddata.md +1 -0
- package/docs/server.playeruievent.md +1 -0
- package/docs/server.playeruieventpayloads.md +1 -0
- package/docs/server.quaternion._constructor_.md +1 -0
- package/docs/server.quaternion.copy.md +1 -0
- package/docs/server.quaternion.dot.md +1 -0
- package/docs/server.quaternion.equals.md +1 -0
- package/docs/server.quaternion.exactequals.md +1 -0
- package/docs/server.quaternion.fromeuler.md +1 -0
- package/docs/server.quaternion.fromquaternionlike.md +1 -0
- package/docs/server.quaternion.getangle.md +1 -0
- package/docs/server.quaternion.lerp.md +1 -0
- package/docs/server.quaternion.md +1 -0
- package/docs/server.quaternion.multiply.md +1 -0
- package/docs/server.quaternion.power.md +1 -0
- package/docs/server.quaternion.rotatex.md +1 -0
- package/docs/server.quaternion.rotatey.md +1 -0
- package/docs/server.quaternion.rotatez.md +1 -0
- package/docs/server.quaternion.scale.md +1 -0
- package/docs/server.quaternion.setaxisangle.md +1 -0
- package/docs/server.quaternion.slerp.md +1 -0
- package/docs/server.quaternion.transformvector.md +1 -0
- package/docs/server.quaternionlike.md +1 -0
- package/docs/server.rgbcolor.md +1 -0
- package/docs/server.rigidbody._constructor_.md +1 -0
- package/docs/server.rigidbody.addchildcollidertosimulation.md +1 -0
- package/docs/server.rigidbody.addforce.md +1 -0
- package/docs/server.rigidbody.addtorque.md +1 -0
- package/docs/server.rigidbody.addtosimulation.md +1 -0
- package/docs/server.rigidbody.applyimpulse.md +1 -0
- package/docs/server.rigidbody.applyimpulseatpoint.md +1 -0
- package/docs/server.rigidbody.applytorqueimpulse.md +1 -0
- package/docs/server.rigidbody.createandaddchildcollider.md +1 -0
- package/docs/server.rigidbody.createandaddchildcolliders.md +1 -0
- package/docs/server.rigidbody.getcollidersbytag.md +1 -0
- package/docs/server.rigidbody.md +1 -0
- package/docs/server.rigidbody.setadditionalmass.md +1 -0
- package/docs/server.rigidbody.setadditionalmassproperties.md +1 -0
- package/docs/server.rigidbody.setadditionalsolveriterations.md +1 -0
- package/docs/server.rigidbody.setangulardamping.md +1 -0
- package/docs/server.rigidbody.setangularvelocity.md +1 -0
- package/docs/server.rigidbody.setccdenabled.md +1 -0
- package/docs/server.rigidbody.setcollisiongroupsforsensorcolliders.md +1 -0
- package/docs/server.rigidbody.setcollisiongroupsforsolidcolliders.md +1 -0
- package/docs/server.rigidbody.setdominancegroup.md +1 -0
- package/docs/server.rigidbody.setenabled.md +1 -0
- package/docs/server.rigidbody.setenabledpositions.md +1 -0
- package/docs/server.rigidbody.setenabledrotations.md +1 -0
- package/docs/server.rigidbody.setgravityscale.md +1 -0
- package/docs/server.rigidbody.setlineardamping.md +1 -0
- package/docs/server.rigidbody.setlinearvelocity.md +1 -0
- package/docs/server.rigidbody.setnextkinematicposition.md +1 -0
- package/docs/server.rigidbody.setnextkinematicrotation.md +1 -0
- package/docs/server.rigidbody.setposition.md +1 -0
- package/docs/server.rigidbody.setrotation.md +1 -0
- package/docs/server.rigidbody.setsleeping.md +1 -0
- package/docs/server.rigidbody.setsoftccdprediction.md +1 -0
- package/docs/server.rigidbody.settype.md +1 -0
- package/docs/server.rigidbodytype.md +1 -0
- package/docs/server.roundcylindercollideroptions.md +1 -0
- package/docs/server.sceneui._constructor_.md +1 -0
- package/docs/server.sceneui.load.md +1 -0
- package/docs/server.sceneui.md +1 -0
- package/docs/server.sceneui.setattachedtoentity.md +1 -0
- package/docs/server.sceneui.setoffset.md +1 -0
- package/docs/server.sceneui.setposition.md +1 -0
- package/docs/server.sceneui.setstate.md +1 -0
- package/docs/server.sceneui.setviewdistance.md +1 -0
- package/docs/server.sceneuievent.md +1 -0
- package/docs/server.sceneuieventpayloads.md +1 -0
- package/docs/server.sceneuimanager.getallentityattachedsceneuis.md +1 -0
- package/docs/server.sceneuimanager.getallsceneuis.md +1 -37
- package/docs/server.sceneuimanager.getsceneuibyid.md +1 -0
- package/docs/server.sceneuimanager.md +2 -1
- package/docs/server.sceneuimanager.unloadentityattachedsceneuis.md +1 -0
- package/docs/server.sceneuioptions.md +1 -0
- package/docs/server.simpleentitycontroller._constructor_.md +1 -0
- package/docs/server.simpleentitycontroller.face.md +1 -0
- package/docs/server.simpleentitycontroller.jump.md +1 -0
- package/docs/server.simpleentitycontroller.md +1 -0
- package/docs/server.simpleentitycontroller.move.md +1 -0
- package/docs/server.simpleentitycontroller.spawn.md +1 -0
- package/docs/server.simulation.enabledebugraycasting.md +1 -0
- package/docs/server.simulation.enabledebugrendering.md +1 -0
- package/docs/server.simulation.getcontactmanifolds.md +1 -0
- package/docs/server.simulation.intersectionswithrawshape.md +1 -0
- package/docs/server.simulation.md +1 -0
- package/docs/server.simulation.raycast.md +1 -0
- package/docs/server.simulation.setgravity.md +1 -0
- package/docs/server.simulationevent.md +1 -0
- package/docs/server.simulationeventpayloads.md +1 -0
- package/docs/server.startserver.md +1 -0
- package/docs/server.telemetry.getprocessstats.md +1 -0
- package/docs/server.telemetry.initializesentry.md +1 -0
- package/docs/server.telemetry.md +1 -0
- package/docs/server.telemetry.startspan.md +1 -0
- package/docs/server.telemetryspanoperation.md +1 -14
- package/docs/server.trimeshcollideroptions.md +1 -0
- package/docs/server.vector2._constructor_.md +1 -0
- package/docs/server.vector2.add.md +1 -0
- package/docs/server.vector2.angle.md +1 -0
- package/docs/server.vector2.copy.md +1 -0
- package/docs/server.vector2.distance.md +1 -0
- package/docs/server.vector2.divide.md +1 -0
- package/docs/server.vector2.dot.md +1 -0
- package/docs/server.vector2.equals.md +1 -0
- package/docs/server.vector2.exactequals.md +1 -0
- package/docs/server.vector2.lerp.md +1 -0
- package/docs/server.vector2.max.md +1 -0
- package/docs/server.vector2.md +1 -0
- package/docs/server.vector2.min.md +1 -0
- package/docs/server.vector2.multiply.md +1 -0
- package/docs/server.vector2.randomize.md +1 -0
- package/docs/server.vector2.rotate.md +1 -0
- package/docs/server.vector2.scale.md +1 -0
- package/docs/server.vector2.scaleandadd.md +1 -0
- package/docs/server.vector2.subtract.md +1 -0
- package/docs/server.vector2.transformmatrix2.md +1 -0
- package/docs/server.vector2.transformmatrix3.md +1 -0
- package/docs/server.vector2.transformmatrix4.md +1 -0
- package/docs/server.vector2boolean.md +1 -0
- package/docs/server.vector2like.md +1 -0
- package/docs/server.vector3._constructor_.md +1 -0
- package/docs/server.vector3.add.md +1 -0
- package/docs/server.vector3.copy.md +1 -0
- package/docs/server.vector3.cross.md +1 -0
- package/docs/server.vector3.distance.md +1 -0
- package/docs/server.vector3.divide.md +1 -0
- package/docs/server.vector3.dot.md +1 -0
- package/docs/server.vector3.equals.md +1 -0
- package/docs/server.vector3.exactequals.md +1 -0
- package/docs/server.vector3.fromvector3like.md +1 -0
- package/docs/server.vector3.lerp.md +1 -0
- package/docs/server.vector3.max.md +1 -0
- package/docs/server.vector3.md +1 -0
- package/docs/server.vector3.min.md +1 -0
- package/docs/server.vector3.multiply.md +1 -0
- package/docs/server.vector3.randomize.md +1 -0
- package/docs/server.vector3.rotatex.md +1 -0
- package/docs/server.vector3.rotatey.md +1 -0
- package/docs/server.vector3.rotatez.md +1 -0
- package/docs/server.vector3.scale.md +1 -0
- package/docs/server.vector3.scaleandadd.md +1 -0
- package/docs/server.vector3.subtract.md +1 -0
- package/docs/server.vector3.transformmatrix3.md +1 -0
- package/docs/server.vector3.transformmatrix4.md +1 -0
- package/docs/server.vector3.transformquaternion.md +1 -0
- package/docs/server.vector3boolean.md +1 -0
- package/docs/server.vector3like.md +1 -0
- package/docs/server.voxelscollideroptions.md +1 -0
- package/docs/server.wedgecollideroptions.md +1 -0
- package/docs/server.world._constructor_.md +1 -0
- package/docs/server.world.loadmap.md +1 -0
- package/docs/server.world.md +1 -21
- package/docs/server.world.setambientlightcolor.md +1 -0
- package/docs/server.world.setambientlightintensity.md +1 -0
- package/docs/server.world.setdirectionallightcolor.md +1 -0
- package/docs/server.world.setdirectionallightintensity.md +1 -0
- package/docs/server.world.setdirectionallightposition.md +1 -0
- package/docs/server.world.setfogcolor.md +1 -0
- package/docs/server.world.setfogfar.md +1 -0
- package/docs/server.world.setfognear.md +1 -0
- package/docs/server.world.setskyboxintensity.md +1 -0
- package/docs/server.worldevent.md +1 -0
- package/docs/server.worldeventpayloads.md +1 -0
- package/docs/server.worldloop.md +1 -0
- package/docs/server.worldloopevent.md +1 -0
- package/docs/server.worldloopeventpayloads.md +1 -0
- package/docs/server.worldmanager.createworld.md +1 -0
- package/docs/server.worldmanager.getworld.md +1 -0
- package/docs/server.worldmanager.getworldsbytag.md +1 -0
- package/docs/server.worldmanager.md +1 -0
- package/docs/server.worldmanager.setdefaultworld.md +1 -0
- package/docs/server.worldmanagerevent.md +1 -0
- package/docs/server.worldmanagereventpayloads.md +1 -0
- package/docs/server.worldmap.md +1 -0
- package/docs/server.worldoptions.md +1 -0
- package/node-server.mjs +172 -172
- package/package.json +1 -1
- package/server.api.json +53 -1092
- package/server.d.ts +30 -181
- package/tsdoc-metadata.json +1 -1
- package/docs/server.array3number.md +0 -13
- package/docs/server.array4number.md +0 -13
- package/docs/server.blocktype.blocktyperegistry.md +0 -13
- package/docs/server.chunk.chunklattice.md +0 -13
- package/docs/server.chunklattice.world.md +0 -13
- package/docs/server.tickallocator.filter.md +0 -71
- package/docs/server.tickallocator.getarray.md +0 -71
- package/docs/server.tickallocator.getarray3number.md +0 -55
- package/docs/server.tickallocator.getarray4number.md +0 -55
- package/docs/server.tickallocator.getobject.md +0 -71
- package/docs/server.tickallocator.getset.md +0 -71
- package/docs/server.tickallocator.map.md +0 -71
- package/docs/server.tickallocator.md +0 -162
- package/docs/server.tickallocator.reset.md +0 -17
- package/docs/server.world.tickallocator.md +0 -13
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [TickAllocator](./server.tickallocator.md) > [getArray4Number](./server.tickallocator.getarray4number.md)
|
|
4
|
-
|
|
5
|
-
## TickAllocator.getArray4Number() method
|
|
6
|
-
|
|
7
|
-
Gets a 4-element number array from the pool. Array is reset to \[0, 0, 0, 0\] and ready for use.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
getArray4Number(copyFrom?: Array4Number | Set<number>): Array4Number;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
copyFrom
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
[Array4Number](./server.array4number.md) \| Set<number>
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
**Returns:**
|
|
51
|
-
|
|
52
|
-
[Array4Number](./server.array4number.md)
|
|
53
|
-
|
|
54
|
-
A reusable 4-element array.
|
|
55
|
-
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [TickAllocator](./server.tickallocator.md) > [getObject](./server.tickallocator.getobject.md)
|
|
4
|
-
|
|
5
|
-
## TickAllocator.getObject() method
|
|
6
|
-
|
|
7
|
-
Gets a plain object from the pool. Object is reset to empty state and ready for use.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
getObject<T extends Record<string, unknown> = Record<string, unknown>>(copyFromA?: T, copyFromB?: T): T;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
copyFromA
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
T
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
copyFromB
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
T
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
_(Optional)_
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
**Returns:**
|
|
67
|
-
|
|
68
|
-
T
|
|
69
|
-
|
|
70
|
-
A reusable plain object.
|
|
71
|
-
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [TickAllocator](./server.tickallocator.md) > [getSet](./server.tickallocator.getset.md)
|
|
4
|
-
|
|
5
|
-
## TickAllocator.getSet() method
|
|
6
|
-
|
|
7
|
-
Gets a set from the pool. Set is reset to empty state and ready for use.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
getSet<T>(copyFromA?: Set<T> | T[], copyFromB?: Set<T> | T[]): Set<T>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
copyFromA
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
Set<T> \| T\[\]
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
_(Optional)_
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
copyFromB
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
Set<T> \| T\[\]
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
_(Optional)_
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
**Returns:**
|
|
67
|
-
|
|
68
|
-
Set<T>
|
|
69
|
-
|
|
70
|
-
A reusable set.
|
|
71
|
-
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [TickAllocator](./server.tickallocator.md) > [map](./server.tickallocator.map.md)
|
|
4
|
-
|
|
5
|
-
## TickAllocator.map() method
|
|
6
|
-
|
|
7
|
-
Maps an array to a new array using a callback function.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
map<T, U>(array: T[], callback: (value: T, index: number, array: T[]) => U): U[];
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
array
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
T\[\]
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The array to map.
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
<tr><td>
|
|
50
|
-
|
|
51
|
-
callback
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td><td>
|
|
55
|
-
|
|
56
|
-
(value: T, index: number, array: T\[\]) => U
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
</td><td>
|
|
60
|
-
|
|
61
|
-
The callback function to map the array.
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td></tr>
|
|
65
|
-
</tbody></table>
|
|
66
|
-
**Returns:**
|
|
67
|
-
|
|
68
|
-
U\[\]
|
|
69
|
-
|
|
70
|
-
A new array with the mapped values.
|
|
71
|
-
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [TickAllocator](./server.tickallocator.md)
|
|
4
|
-
|
|
5
|
-
## TickAllocator class
|
|
6
|
-
|
|
7
|
-
High-performance tick-scoped allocator for temporary objects, arrays, and buffers. All allocations are automatically bulk-released when reset() is called.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export default class TickAllocator
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
TickAllocator maintains separate pools for different data types and tracks all allocations made during a tick cycle. Objects are reused across ticks to eliminate garbage collection overhead in hot paths like network synchronization.
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
```typescript
|
|
23
|
-
// Allocate during tick
|
|
24
|
-
const position = tickAllocator.getArray3Number();
|
|
25
|
-
const rotation = tickAllocator.getArray4Number();
|
|
26
|
-
const data = tickAllocator.getObject<EntitySchema>();
|
|
27
|
-
|
|
28
|
-
// At end of tick - bulk release everything
|
|
29
|
-
tickAllocator.reset();
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
## Methods
|
|
33
|
-
|
|
34
|
-
<table><thead><tr><th>
|
|
35
|
-
|
|
36
|
-
Method
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</th><th>
|
|
40
|
-
|
|
41
|
-
Modifiers
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</th><th>
|
|
45
|
-
|
|
46
|
-
Description
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</th></tr></thead>
|
|
50
|
-
<tbody><tr><td>
|
|
51
|
-
|
|
52
|
-
[filter(array, callback)](./server.tickallocator.filter.md)
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td><td>
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</td><td>
|
|
59
|
-
|
|
60
|
-
Filters an array using a callback function.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
</td></tr>
|
|
64
|
-
<tr><td>
|
|
65
|
-
|
|
66
|
-
[getArray(copyFromA, copyFromB)](./server.tickallocator.getarray.md)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td><td>
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
</td><td>
|
|
73
|
-
|
|
74
|
-
Gets a generic array from the pool. Array is reset to empty state and ready for use.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
</td></tr>
|
|
78
|
-
<tr><td>
|
|
79
|
-
|
|
80
|
-
[getArray3Number(copyFrom)](./server.tickallocator.getarray3number.md)
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
</td><td>
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
</td><td>
|
|
87
|
-
|
|
88
|
-
Gets a 3-element number array from the pool. Array is reset to \[0, 0, 0\] and ready for use.
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
</td></tr>
|
|
92
|
-
<tr><td>
|
|
93
|
-
|
|
94
|
-
[getArray4Number(copyFrom)](./server.tickallocator.getarray4number.md)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
</td><td>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
</td><td>
|
|
101
|
-
|
|
102
|
-
Gets a 4-element number array from the pool. Array is reset to \[0, 0, 0, 0\] and ready for use.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
</td></tr>
|
|
106
|
-
<tr><td>
|
|
107
|
-
|
|
108
|
-
[getObject(copyFromA, copyFromB)](./server.tickallocator.getobject.md)
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
</td><td>
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
</td><td>
|
|
115
|
-
|
|
116
|
-
Gets a plain object from the pool. Object is reset to empty state and ready for use.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
</td></tr>
|
|
120
|
-
<tr><td>
|
|
121
|
-
|
|
122
|
-
[getSet(copyFromA, copyFromB)](./server.tickallocator.getset.md)
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
</td><td>
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
</td><td>
|
|
129
|
-
|
|
130
|
-
Gets a set from the pool. Set is reset to empty state and ready for use.
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
</td></tr>
|
|
134
|
-
<tr><td>
|
|
135
|
-
|
|
136
|
-
[map(array, callback)](./server.tickallocator.map.md)
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
</td><td>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
</td><td>
|
|
143
|
-
|
|
144
|
-
Maps an array to a new array using a callback function.
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
</td></tr>
|
|
148
|
-
<tr><td>
|
|
149
|
-
|
|
150
|
-
[reset()](./server.tickallocator.reset.md)
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
</td><td>
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
</td><td>
|
|
157
|
-
|
|
158
|
-
Releases all allocated objects back to their respective pools. This is intended to be called at the end of a tick.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
</td></tr>
|
|
162
|
-
</tbody></table>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [TickAllocator](./server.tickallocator.md) > [reset](./server.tickallocator.reset.md)
|
|
4
|
-
|
|
5
|
-
## TickAllocator.reset() method
|
|
6
|
-
|
|
7
|
-
Releases all allocated objects back to their respective pools. This is intended to be called at the end of a tick.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
reset(): void;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
void
|
|
17
|
-
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [server](./server.md) > [World](./server.world.md) > [tickAllocator](./server.world.tickallocator.md)
|
|
4
|
-
|
|
5
|
-
## World.tickAllocator property
|
|
6
|
-
|
|
7
|
-
The tick allocator for the world.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
get tickAllocator(): TickAllocator;
|
|
13
|
-
```
|