コード例 #1
0
 public static Offset <GetDmxDeviceSetting> CreateGetDmxDeviceSetting(FlatBufferBuilder builder,
                                                                      uint deviceId  = 0,
                                                                      uint settingId = 0,
                                                                      Offset <DmxDeviceSetting> settingOffset = default(Offset <DmxDeviceSetting>))
 {
     builder.StartObject(3);
     GetDmxDeviceSetting.AddSetting(builder, settingOffset);
     GetDmxDeviceSetting.AddSettingId(builder, settingId);
     GetDmxDeviceSetting.AddDeviceId(builder, deviceId);
     return(GetDmxDeviceSetting.EndGetDmxDeviceSetting(builder));
 }
コード例 #2
0
 public static GetDmxDeviceSetting GetRootAsGetDmxDeviceSetting(ByteBuffer _bb, GetDmxDeviceSetting obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }