예제 #1
0
 public static Offset <KeywordTest.KeywordsInTable> CreateKeywordsInTable(FlatBufferBuilder builder,
                                                                          KeywordTest.ABC @is          = KeywordTest.ABC.@void,
                                                                          KeywordTest.@public @private = [email protected],
                                                                          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(KeywordTest.@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, KeywordTest.@public @private)
 {
     builder.AddInt(1, (int)@private, 0);
 }