예제 #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 MutateIs(KeywordTest.ABC @is)
        {
            int o = __p.__offset(4); if (o != 0)

            {
                __p.bb.PutInt(o + __p.bb_pos, (int)@is); return(true);
            }
            else
            {
                return(false);
            }
        }
예제 #3
0
 public static void AddIs(FlatBufferBuilder builder, KeywordTest.ABC @is)
 {
     builder.AddInt(0, (int)@is, 0);
 }