Example #1
0
 public static Offset <Dragapult.Models.PokecampTableWrapper> CreatePokecampTableWrapper(FlatBufferBuilder builder,
                                                                                         Dragapult.Models.PokemonIdentifierType Union_type = Dragapult.Models.PokemonIdentifierType.NONE,
                                                                                         int UnionOffset = 0)
 {
     builder.StartTable(2);
     PokecampTableWrapper.AddUnion(builder, UnionOffset);
     PokecampTableWrapper.AddUnionType(builder, Union_type);
     return(PokecampTableWrapper.EndPokecampTableWrapper(builder));
 }
Example #2
0
 public static PokecampTableWrapper GetRootAsPokecampTableWrapper(ByteBuffer _bb, PokecampTableWrapper obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }