コード例 #1
0
ファイル: NeodroidFBSState.cs プロジェクト: DanielLSM/droid
 public static Offset <FConfigurable> CreateFConfigurable(FlatBufferBuilder builder,
                                                          StringOffset configurable_nameOffset = default(StringOffset),
                                                          FObservation observation_type        = FObservation.NONE,
                                                          int observationOffset = 0)
 {
     builder.StartObject(3);
     FConfigurable.AddObservation(builder, observationOffset);
     FConfigurable.AddConfigurableName(builder, configurable_nameOffset);
     FConfigurable.AddObservationType(builder, observation_type);
     return(FConfigurable.EndFConfigurable(builder));
 }
コード例 #2
0
 public static FConfigurable GetRootAsFConfigurable(ByteBuffer _bb, FConfigurable obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
コード例 #3
0
 public FConfigurable?ConfigurablesByKey(string key)
 {
     int o = __p.__offset(10); return(o != 0 ? FConfigurable.__lookup_by_key(__p.__vector(o), key, __p.bb) : null);
 }