@@ -403,13 +403,26 @@ public class CuiCountdownComponent : ICuiComponent
403
403
public string Type => "Countdown" ;
404
404
405
405
[ JsonProperty ( "endTime" ) ]
406
- public int EndTime { get ; set ; }
406
+ public float EndTime { get ; set ; }
407
407
408
408
[ JsonProperty ( "startTime" ) ]
409
- public int StartTime { get ; set ; }
409
+ public float StartTime { get ; set ; }
410
410
411
411
[ JsonProperty ( "step" ) ]
412
- public int Step { get ; set ; }
412
+ public float Step { get ; set ; }
413
+
414
+ [ JsonProperty ( "interval" ) ]
415
+ public float Interval { get ; set ; }
416
+
417
+ [ JsonConverter ( typeof ( StringEnumConverter ) ) ]
418
+ [ JsonProperty ( "timerFormat" ) ]
419
+ public TimerFormat TimerFormat { get ; set ; }
420
+
421
+ [ JsonProperty ( "numberFormat" ) ]
422
+ public string NumberFormat { get ; set ; }
423
+
424
+ [ JsonProperty ( "destroyIfDone" ) ]
425
+ public bool DestroyIfDone { get ; set ; }
413
426
414
427
[ JsonProperty ( "command" ) ]
415
428
public string Command { get ; set ; }
@@ -418,6 +431,16 @@ public class CuiCountdownComponent : ICuiComponent
418
431
public float FadeIn { get ; set ; }
419
432
}
420
433
434
+ public enum TimerFormat
435
+ {
436
+ None ,
437
+ SecondsHundreth ,
438
+ MinutesSeconds ,
439
+ MinutesSecondsHundreth ,
440
+ HoursMinutes ,
441
+ HoursMinutesSeconds
442
+ }
443
+
421
444
public class CuiNeedsCursorComponent : ICuiComponent
422
445
{
423
446
public string Type => "NeedsCursor" ;
0 commit comments