예제 #1
0
 public static Offset <GetDmxChannelRuleRange> CreateGetDmxChannelRuleRange(FlatBufferBuilder builder,
                                                                            uint deviceId  = 0,
                                                                            uint channelId = 0,
                                                                            uint ruleId    = 0,
                                                                            byte range     = 0)
 {
     builder.StartObject(4);
     GetDmxChannelRuleRange.AddRuleId(builder, ruleId);
     GetDmxChannelRuleRange.AddChannelId(builder, channelId);
     GetDmxChannelRuleRange.AddDeviceId(builder, deviceId);
     GetDmxChannelRuleRange.AddRange(builder, range);
     return(GetDmxChannelRuleRange.EndGetDmxChannelRuleRange(builder));
 }
예제 #2
0
 public static GetDmxChannelRuleRange GetRootAsGetDmxChannelRuleRange(ByteBuffer _bb, GetDmxChannelRuleRange obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }