예제 #1
0
 public static Offset <SetDmxDeviceMode> CreateSetDmxDeviceMode(FlatBufferBuilder builder,
                                                                uint deviceId = 0,
                                                                sisyfox.sisycol.DmxDeviceMode mode = sisyfox.sisycol.DmxDeviceMode.TEST,
                                                                bool value = false)
 {
     builder.StartObject(3);
     SetDmxDeviceMode.AddDeviceId(builder, deviceId);
     SetDmxDeviceMode.AddValue(builder, value);
     SetDmxDeviceMode.AddMode(builder, mode);
     return(SetDmxDeviceMode.EndSetDmxDeviceMode(builder));
 }
예제 #2
0
 public static SetDmxDeviceMode GetRootAsSetDmxDeviceMode(ByteBuffer _bb, SetDmxDeviceMode obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }