Exemplo n.º 1
0
 public static Offset <GetDmxChannelRule> CreateGetDmxChannelRule(FlatBufferBuilder builder,
                                                                  uint deviceId  = 0,
                                                                  uint channelId = 0,
                                                                  uint ruleId    = 0)
 {
     builder.StartObject(3);
     GetDmxChannelRule.AddRuleId(builder, ruleId);
     GetDmxChannelRule.AddChannelId(builder, channelId);
     GetDmxChannelRule.AddDeviceId(builder, deviceId);
     return(GetDmxChannelRule.EndGetDmxChannelRule(builder));
 }
Exemplo n.º 2
0
 public static GetDmxChannelRule GetRootAsGetDmxChannelRule(ByteBuffer _bb, GetDmxChannelRule obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }