Esempio n. 1
0
 public static Offset <DmxDeviceSetting> CreateDmxDeviceSetting(FlatBufferBuilder builder,
                                                                StringOffset nameOffset = default(StringOffset),
                                                                int storageRef          = 0,
                                                                uint ruleSettingCount   = 0,
                                                                sbyte norm  = 0,
                                                                sbyte value = 0,
                                                                sisyfox.sisycol.DmxDeviceSettingType type = sisyfox.sisycol.DmxDeviceSettingType.RANGE)
 {
     builder.StartObject(6);
     DmxDeviceSetting.AddRuleSettingCount(builder, ruleSettingCount);
     DmxDeviceSetting.AddStorageRef(builder, storageRef);
     DmxDeviceSetting.AddName(builder, nameOffset);
     DmxDeviceSetting.AddType(builder, type);
     DmxDeviceSetting.AddValue(builder, value);
     DmxDeviceSetting.AddNorm(builder, norm);
     return(DmxDeviceSetting.EndDmxDeviceSetting(builder));
 }
Esempio n. 2
0
 public static DmxDeviceSetting GetRootAsDmxDeviceSetting(ByteBuffer _bb, DmxDeviceSetting obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }