All checks were successful
docs / build-and-deploy (push) Successful in 1s
Sourced from the compiler's confirmed builtin set and NETWORKING-DESIGN.md, so the reference reflects the current language surface. 93 -> 104 symbols. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
524 B
524 B
| id | name | category | kind | tokens | sig | tip | order |
|---|---|---|---|---|---|---|---|
| fn-is_server | is_server / is_owner / local_id | networking | builtin | is_server is_owner local_id | is_server() -> bool is_owner(e) -> bool local_id() -> int | Role and identity checks the runtime sets. | 3 |
The runtime sets the local role. is_server() is the authority check, is_owner(e) is true when this peer owns e, and local_id() is this peer's id. Prefer role annotations to sprinkling these through gameplay code.