public static Offset <AddDmxChannelRule> CreateAddDmxChannelRule(FlatBufferBuilder builder, uint deviceId = 0, uint channelId = 0, uint ruleId = 0) { builder.StartObject(3); AddDmxChannelRule.AddRuleId(builder, ruleId); AddDmxChannelRule.AddChannelId(builder, channelId); AddDmxChannelRule.AddDeviceId(builder, deviceId); return(AddDmxChannelRule.EndAddDmxChannelRule(builder)); }
public static AddDmxChannelRule GetRootAsAddDmxChannelRule(ByteBuffer _bb, AddDmxChannelRule obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }