Exemplo n.º 1
0
 public static Offset <Only4TestVO> CreateOnly4TestVO(FlatBufferBuilder builder,
                                                      int Id = 0,
                                                      StringOffset NameOffset = default(StringOffset))
 {
     builder.StartObject(2);
     Only4TestVO.AddName(builder, NameOffset);
     Only4TestVO.AddId(builder, Id);
     return(Only4TestVO.EndOnly4TestVO(builder));
 }
Exemplo n.º 2
0
//LWN_Modify
        public Dictionary <int, object> GetTableData()
        {
            Dictionary <int, object> table = new Dictionary <int, object>();

            for (int i = 0; i < DataLength; i++)
            {
                Only4TestVO value = (Only4TestVO)Data(i);
                int         Id    = System.Convert.ToInt32(value.Id);
                table.Add(Id, value);
            }
            return(table);
        }
Exemplo n.º 3
0
 public static Only4TestVO GetRootAsOnly4TestVO(ByteBuffer _bb, Only4TestVO obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }