Example #1
0
 public static Offset <GetDmxRuleSetting> CreateGetDmxRuleSetting(FlatBufferBuilder builder,
                                                                  uint deviceId      = 0,
                                                                  uint settingId     = 0,
                                                                  uint ruleSettingId = 0,
                                                                  sisyfox.sisycol.DmxDeviceSettingType type = sisyfox.sisycol.DmxDeviceSettingType.RANGE)
 {
     builder.StartObject(4);
     GetDmxRuleSetting.AddRuleSettingId(builder, ruleSettingId);
     GetDmxRuleSetting.AddSettingId(builder, settingId);
     GetDmxRuleSetting.AddDeviceId(builder, deviceId);
     GetDmxRuleSetting.AddType(builder, type);
     return(GetDmxRuleSetting.EndGetDmxRuleSetting(builder));
 }
Example #2
0
 public static GetDmxRuleSetting GetRootAsGetDmxRuleSetting(ByteBuffer _bb, GetDmxRuleSetting obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }