Exemple #1
0
 public static Offset <RemoveDmxChannelRule> CreateRemoveDmxChannelRule(FlatBufferBuilder builder,
                                                                        uint deviceId  = 0,
                                                                        uint channelId = 0,
                                                                        uint ruleId    = 0)
 {
     builder.StartObject(3);
     RemoveDmxChannelRule.AddRuleId(builder, ruleId);
     RemoveDmxChannelRule.AddChannelId(builder, channelId);
     RemoveDmxChannelRule.AddDeviceId(builder, deviceId);
     return(RemoveDmxChannelRule.EndRemoveDmxChannelRule(builder));
 }
Exemple #2
0
 public static RemoveDmxChannelRule GetRootAsRemoveDmxChannelRule(ByteBuffer _bb, RemoveDmxChannelRule obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }