Skip to content

Home > @esengine/ecs-framework-monorepo > NetworkIdentity > hasAuthority

NetworkIdentity.hasAuthority() method

检查客户端是否有权限修改此实体

Signature:

typescript
hasAuthority(clientId: string): boolean;

Parameters

Parameter

Type

Description

clientId

string

Returns:

boolean

基于 MIT 许可证发布