Exemplo n.º 1
0
 public static Offset <AddDmxRuleSetting> CreateAddDmxRuleSetting(FlatBufferBuilder builder,
                                                                  uint deviceId      = 0,
                                                                  uint settingId     = 0,
                                                                  uint ruleSettingId = 0)
 {
     builder.StartObject(3);
     AddDmxRuleSetting.AddRuleSettingId(builder, ruleSettingId);
     AddDmxRuleSetting.AddSettingId(builder, settingId);
     AddDmxRuleSetting.AddDeviceId(builder, deviceId);
     return(AddDmxRuleSetting.EndAddDmxRuleSetting(builder));
 }
Exemplo n.º 2
0
 public static AddDmxRuleSetting GetRootAsAddDmxRuleSetting(ByteBuffer _bb, AddDmxRuleSetting obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }