Exemple #1
0
 public static Offset <ConditionVip> CreateConditionVip(FlatBufferBuilder builder,
                                                        StringOffset _idOffset                      = default(StringOffset),
                                                        StringOffset nameOffset                     = default(StringOffset),
                                                        bool enabled                                = false,
                                                        int priority                                = 0,
                                                        VectorOffset date_conditionsOffset          = default(VectorOffset),
                                                        VectorOffset user_conditionsOffset          = default(VectorOffset),
                                                        Offset <GM.DataCache.Options> optionsOffset = default(Offset <GM.DataCache.Options>),
                                                        VectorOffset vipOffset                      = default(VectorOffset))
 {
     builder.StartObject(8);
     ConditionVip.AddVip(builder, vipOffset);
     ConditionVip.AddOptions(builder, optionsOffset);
     ConditionVip.AddUserConditions(builder, user_conditionsOffset);
     ConditionVip.AddDateConditions(builder, date_conditionsOffset);
     ConditionVip.AddPriority(builder, priority);
     ConditionVip.AddName(builder, nameOffset);
     ConditionVip.Add_id(builder, _idOffset);
     ConditionVip.AddEnabled(builder, enabled);
     return(ConditionVip.EndConditionVip(builder));
 }
Exemple #2
0
 public ConditionVip GetArray(ConditionVip obj, int j)
 {
     int o = __offset(4); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
Exemple #3
0
 public static ConditionVip GetRootAsConditionVip(ByteBuffer _bb, ConditionVip obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }