예제 #1
0
 public static Offset <KeywordsInTable> CreateKeywordsInTable(FlatBufferBuilder builder,
                                                              ABC is_          = ABC.void_,
                                                              public_ private_ = public_.NONE,
                                                              int type         = 0)
 {
     builder.StartTable(3);
     KeywordsInTable.AddType(builder, type);
     KeywordsInTable.AddPrivate(builder, private_);
     KeywordsInTable.AddIs(builder, is_);
     return(KeywordsInTable.EndKeywordsInTable(builder));
 }
예제 #2
0
    public bool MutatePrivate(public_ private_)
    {
        int o = __p.__offset(6); if (o != 0)

        {
            __p.bb.PutInt(o + __p.bb_pos, (int)private_); return(true);
        }
        else
        {
            return(false);
        }
    }
예제 #3
0
 public static void AddPrivate(FlatBufferBuilder builder, public_ private_)
 {
     builder.AddInt(1, (int)private_, 0);
 }