Class AvatarDelayCreateManager
Constructors
constructor
- new AvatarDelayCreateManager(world): AvatarDelayCreateManager
Methods
clearQueue
- clearQueue(): void
Returns void
createAvatar
- createAvatar(): Promise<void>
Returns Promise<void>
getIsRunning
- getIsRunning(): boolean
Returns boolean
getQueue
- getQueue(): Map<string, (IUserState | IUserStateV2)[]>
Returns Map<string, (IUserState | IUserStateV2)[]>
isUserStateNeedToSave
- isUserStateNeedToSave(userState): boolean
Parameters
userState: IUserState | IUserStateV2
Returns boolean
run
- run(): void
Returns void
setUserState
- setUserState(userState): void
Parameters
userState: IUserState | IUserStateV2
Returns void
stop
- stop(): void
Returns void
清空创建队列 目前需要在切换房间时调用