1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/// Publication visibility of an entity — the shared axis used on both sides
/// of the connection.
///
/// On the **server**, `Publicity` is embedded in `ReplicationConfig` and
/// controls how an entity replicates to clients.
/// On the **client**, `Publicity` is passed directly to
/// `EntityMut::configure_replication`.
///
/// The three variants represent the full lifecycle of a client-authoritative
/// entity:
///
/// ```text
/// Server spawns → Delegated
/// ↓ client requests authority
/// Client holds → Private (not yet published)
/// ↓ client publishes
/// All peers see → Public
/// ↓ client releases or server revokes
/// Server resumes → Delegated / Public
/// ```