Exemplo n.º 1
0
 public static Offset <NetGroup> CreateNetGroup(FlatBufferBuilder builder,
                                                uint group = 0,
                                                byte type  = 0,
                                                StringOffset captionOffset = default(StringOffset),
                                                uint zindex = 0)
 {
     builder.StartObject(4);
     NetGroup.AddZindex(builder, zindex);
     NetGroup.AddCaption(builder, captionOffset);
     NetGroup.AddGroup(builder, group);
     NetGroup.AddType(builder, type);
     return(NetGroup.EndNetGroup(builder));
 }
Exemplo n.º 2
0
 public static NetGroup GetRootAsNetGroup(ByteBuffer _bb, NetGroup obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }