@@ -293,6 +293,7 @@ pub fn _create_ge_tests() {
293
293
"is_alive".to_string(),
294
294
"user_id".to_string(),
295
295
"agent_skin".to_string(),
296
+ "is_airborne".to_string(),
296
297
];
297
298
298
299
let wanted_events = vec!["all".to_string()];
@@ -667,6 +668,7 @@ pub fn _create_tests() {
667
668
"is_alive".to_string(),
668
669
"user_id".to_string(),
669
670
"agent_skin".to_string(),
671
+ "is_airborne".to_string(),
670
672
];
671
673
let huf = create_huffman_lookup_table();
672
674
@@ -717,6 +719,7 @@ pub fn _create_tests() {
717
719
custom.insert(STEAMID_ID, "steamid");
718
720
custom.insert(NAME_ID, "name");
719
721
custom.insert(WEAPON_STICKERS_ID, "weapon_stickers");
722
+ custom.insert(IS_AIRBORNE_ID, "is_airborne");
720
723
721
724
for (k, v) in d.df {
722
725
if let Some(real_name) = d.prop_controller.id_to_name.get(&k) {
@@ -1032,6 +1035,7 @@ fn create_data() -> (DemoOutput, PropController, BTreeMap<String, Vec<GameEvent>
1032
1035
"weapon_stickers".to_string(),
1033
1036
"weapon_float".to_string(),
1034
1037
"weapon_paint_seed".to_string(),
1038
+ "is_airborne".to_string(),
1035
1039
];
1036
1040
1037
1041
let wanted_events = vec![];
@@ -1309,6 +1313,62 @@ mod tests {
1309
1313
let prop_id = out.1.name_to_id[prop.0];
1310
1314
assert_eq!(out.0.df[&prop_id], prop.1);
1311
1315
}
1316
+ #[test]
1317
+ fn is_airborne() {
1318
+ let prop = (
1319
+ "is_airborne",
1320
+ PropColumn {
1321
+ data: Some(Bool(
1322
+ [
1323
+ Some(false),
1324
+ Some(false),
1325
+ Some(false),
1326
+ Some(false),
1327
+ Some(false),
1328
+ Some(false),
1329
+ Some(false),
1330
+ Some(false),
1331
+ Some(false),
1332
+ Some(false),
1333
+ Some(false),
1334
+ Some(true),
1335
+ Some(false),
1336
+ Some(false),
1337
+ Some(false),
1338
+ Some(false),
1339
+ Some(false),
1340
+ Some(false),
1341
+ Some(false),
1342
+ Some(false),
1343
+ Some(false),
1344
+ Some(false),
1345
+ Some(false),
1346
+ Some(false),
1347
+ Some(true),
1348
+ Some(false),
1349
+ Some(false),
1350
+ Some(false),
1351
+ Some(false),
1352
+ Some(false),
1353
+ Some(false),
1354
+ Some(false),
1355
+ Some(false),
1356
+ Some(false),
1357
+ Some(false),
1358
+ Some(false),
1359
+ Some(false),
1360
+ Some(false),
1361
+ Some(false),
1362
+ Some(false),
1363
+ ]
1364
+ .to_vec(),
1365
+ )),
1366
+ num_nones: 0,
1367
+ },
1368
+ );
1369
+ assert_eq!(out.0.df[&IS_AIRBORNE_ID], prop.1);
1370
+ }
1371
+
1312
1372
#[test]
1313
1373
fn CCSPlayerController_m_nQuestProgressReason() {
1314
1374
let prop = (
0 commit comments