コード例 #1
0
 public static Offset <RemoveDmxRuleSetting> CreateRemoveDmxRuleSetting(FlatBufferBuilder builder,
                                                                        uint deviceId      = 0,
                                                                        uint settingId     = 0,
                                                                        uint ruleSettingId = 0)
 {
     builder.StartObject(3);
     RemoveDmxRuleSetting.AddRuleSettingId(builder, ruleSettingId);
     RemoveDmxRuleSetting.AddSettingId(builder, settingId);
     RemoveDmxRuleSetting.AddDeviceId(builder, deviceId);
     return(RemoveDmxRuleSetting.EndRemoveDmxRuleSetting(builder));
 }
コード例 #2
0
 public static RemoveDmxRuleSetting GetRootAsRemoveDmxRuleSetting(ByteBuffer _bb, RemoveDmxRuleSetting obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }