Пример #1
0
 public static Offset <StrDictionaryVO> CreateStrDictionaryVO(FlatBufferBuilder builder,
                                                              int Id = 0,
                                                              StringOffset vauleOffset = default(StringOffset))
 {
     builder.StartObject(2);
     StrDictionaryVO.AddVaule(builder, vauleOffset);
     StrDictionaryVO.AddId(builder, Id);
     return(StrDictionaryVO.EndStrDictionaryVO(builder));
 }
Пример #2
0
//LWN_Modify
        public Dictionary <int, object> GetTableData()
        {
            Dictionary <int, object> table = new Dictionary <int, object>();

            for (int i = 0; i < DataLength; i++)
            {
                StrDictionaryVO value = (StrDictionaryVO)Data(i);
                int             Id    = System.Convert.ToInt32(value.Id);
                table.Add(Id, value);
            }
            return(table);
        }
Пример #3
0
 public static StrDictionaryVO GetRootAsStrDictionaryVO(ByteBuffer _bb, StrDictionaryVO obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }