Example #1
0
 public static Offset <AudioSwitch> CreateAudioSwitch(FlatBufferBuilder builder,
                                                      uint switchGroupId = 0,
                                                      uint stateId       = 0)
 {
     builder.StartObject(2);
     AudioSwitch.AddStateId(builder, stateId);
     AudioSwitch.AddSwitchGroupId(builder, switchGroupId);
     return(AudioSwitch.EndAudioSwitch(builder));
 }
Example #2
0
 public static AudioSwitch GetRootAsAudioSwitch(ByteBuffer _bb, AudioSwitch obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }