|
211 | 211 | { "name": "z", "type": "float" } |
212 | 212 | ] |
213 | 213 | }, |
| 214 | + "Vector4": { |
| 215 | + "kind": "struct", |
| 216 | + "cpp_namespace": "ember::protocol", |
| 217 | + "fields": [ |
| 218 | + { "name": "x", "type": "float" }, |
| 219 | + { "name": "y", "type": "float" }, |
| 220 | + { "name": "z", "type": "float" }, |
| 221 | + { "name": "o", "type": "float" } |
| 222 | + ] |
| 223 | + }, |
| 224 | + "TransportInfo": { |
| 225 | + "kind": "struct", |
| 226 | + "cpp_namespace": "ember::protocol", |
| 227 | + "fields": [ |
| 228 | + { "name": "guid", "type": "PackedGuid" }, |
| 229 | + { "name": "position", "type": "Vector4" }, |
| 230 | + { "name": "timestamp", "type": "uint32" } |
| 231 | + ] |
| 232 | + }, |
| 233 | + "PackedGuid": { |
| 234 | + "kind": "external", |
| 235 | + "cpp_namespace": "ember::protocol", |
| 236 | + "include": "protocol/types/PackedGuid.h" |
| 237 | + }, |
214 | 238 | "MovementInfo": { |
215 | 239 | "kind": "struct", |
216 | 240 | "cpp_namespace": "ember::protocol", |
|
219 | 243 | { "name": "timestamp", "type": "uint32" }, |
220 | 244 | { "name": "position", "type": "Vector3" }, |
221 | 245 | { "name": "orientation", "type": "float" }, |
| 246 | + { |
| 247 | + "type": "group", |
| 248 | + "when": { "op": "has_flag", "field": "flags", "value": "on_transport" }, |
| 249 | + "fields": [ |
| 250 | + { "name": "transport", "type": "TransportInfo" } |
| 251 | + ] |
| 252 | + }, |
222 | 253 | { |
223 | 254 | "type": "group", |
224 | 255 | "when": { "op": "has_flag", "field": "flags", "value": "swimming" }, |
|
0 commit comments