findAuthority
Call Signature
Section titled “Call Signature”findAuthority(
writer,entity):EntityAuthority
An authority over entity, or null where writer has none over it.
The room’s step and an authority hold one over any entity of their
world. Any other writer, a page’s step, a view’s or a setup’s, holds
one only over an entity no room streams: one spawnLocal made, or one
only a page holds. It writes that entity alone, and one taken from a
view’s or a setup’s writer stops when that writer closes. As Unreal’s
client is the authority over an actor it spawned that is not
replicated.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
AuthoritativeStep | Authority |
entity |
Entity |
Returns
Section titled “Returns”Call Signature
Section titled “Call Signature”findAuthority(
writer,entity):EntityAuthority|null
An authority over entity, or null where writer has none over it.
The room’s step and an authority hold one over any entity of their
world. Any other writer, a page’s step, a view’s or a setup’s, holds
one only over an entity no room streams: one spawnLocal made, or one
only a page holds. It writes that entity alone, and one taken from a
view’s or a setup’s writer stops when that writer closes. As Unreal’s
client is the authority over an actor it spawned that is not
replicated.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
writer |
LocalWriter |
entity |
Entity |
Returns
Section titled “Returns”EntityAuthority | null