예제 #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));
 }
예제 #2
0
 public static ResAllItemInfo GetRootAsResAllItemInfo(ByteBuffer _bb, ResAllItemInfo obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }