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