Exemplo n.º 1
0
 public static Offset <ResAllItemInfo> CreateResAllItemInfo(FlatBufferBuilder builder,
                                                            int result = 0,
                                                            VectorOffset itemInfoListOffset = default(VectorOffset))
 {
     builder.StartObject(2);
     ResAllItemInfo.AddItemInfoList(builder, itemInfoListOffset);
     ResAllItemInfo.AddResult(builder, result);
     return(ResAllItemInfo.EndResAllItemInfo(builder));
 }
Exemplo n.º 2
0
 public static ResAllItemInfo GetRootAsResAllItemInfo(ByteBuffer _bb, ResAllItemInfo obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }