public static Offset <UIResVO> CreateUIResVO(FlatBufferBuilder builder, int Id = 0, StringOffset PathOffset = default(StringOffset)) { builder.StartObject(2); UIResVO.AddPath(builder, PathOffset); UIResVO.AddId(builder, Id); return(UIResVO.EndUIResVO(builder)); }
//LWN_Modify public Dictionary <int, object> GetTableData() { Dictionary <int, object> table = new Dictionary <int, object>(); for (int i = 0; i < DataLength; i++) { UIResVO value = (UIResVO)Data(i); int Id = System.Convert.ToInt32(value.Id); table.Add(Id, value); } return(table); }
public static UIResVO GetRootAsUIResVO(ByteBuffer _bb, UIResVO obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }