Example #1
0
 public static Offset <BoostPadState> CreateBoostPadState(FlatBufferBuilder builder,
                                                          bool isActive = false,
                                                          float timer   = 0.0f)
 {
     builder.StartObject(2);
     BoostPadState.AddTimer(builder, timer);
     BoostPadState.AddIsActive(builder, isActive);
     return(BoostPadState.EndBoostPadState(builder));
 }
Example #2
0
 public static BoostPadState GetRootAsBoostPadState(ByteBuffer _bb, BoostPadState obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }