public static void Update(this Model.BoostPad boostPad, rlbot.flat.BoostPad partial) { boostPad.IsFullBoost = partial.IsFullBoost; if (partial.Location.HasValue) { boostPad.Location = partial.Location.Value.ToNumerics(); } }
public static BoostPad GetRootAsBoostPad(ByteBuffer _bb, BoostPad obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }