예제 #1
0
 public static Offset <AddDmxDeviceChannel> CreateAddDmxDeviceChannel(FlatBufferBuilder builder,
                                                                      uint deviceId  = 0,
                                                                      uint channelId = 0)
 {
     builder.StartObject(2);
     AddDmxDeviceChannel.AddChannelId(builder, channelId);
     AddDmxDeviceChannel.AddDeviceId(builder, deviceId);
     return(AddDmxDeviceChannel.EndAddDmxDeviceChannel(builder));
 }
예제 #2
0
 public static AddDmxDeviceChannel GetRootAsAddDmxDeviceChannel(ByteBuffer _bb, AddDmxDeviceChannel obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }