InterestPolicy
此内容尚不支持你的语言。
InterestPolicy = (
view) =>ReadonlySet<Entity> |"all"
Defined in: net/replication/interest.ts:35
Returns the entities relevant to the connection, or 'all' for no
filtering. Runs on the server once per ready connection per sample tick, so
keep it cheap — return a subset of candidates, don’t run queries of your
own.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”ReadonlySet<Entity> | "all"