ludic/docs/language/networking/fn-is_server.md
Orkuncakilkaya 25f987e30d
All checks were successful
docs / build-and-deploy (push) Successful in 1s
docs: add Networking section + process/OS builtins (net_send, owner, is_server, serialize/apply, arg, exit, run, getenv, read_char, file_*)
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>
2026-08-29 16:39:29 +03:00

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.