-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.zap
46 lines (42 loc) · 985 Bytes
/
config.zap
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
opt server_output = "src/shared/zap/server.luau"
opt client_output = "src/shared/zap/client.luau"
opt casing = "snake_case"
event client_ready = {
from: Client,
type: Reliable,
call: ManySync
}
event replicate_world = {
from: Server,
type: Reliable,
call: SingleSync,
data: struct {
changes: map {
[string]: struct {
added_or_changed: struct {
entities: u32[],
values: unknown[]
},
removed: u32[]
}
},
destroyed: u32[]
}
}
event udp_replicate_world = {
from: Server,
type: Unreliable,
call: SingleSync,
data: struct {
changes: map {
[string]: struct {
added_or_changed: struct {
entities: u32[],
values: unknown[]
},
removed: u32[]
}
},
destroyed: u32[]
}
}