public static Offset <EquipInfo> CreateEquipInfo(FlatBufferBuilder builder, uint id = 0, StringOffset tableidOffset = default(StringOffset), StringOffset itemidOffset = default(StringOffset), long count = 0, StringOffset dataOffset = default(StringOffset)) { builder.StartObject(5); EquipInfo.AddCount(builder, count); EquipInfo.AddData(builder, dataOffset); EquipInfo.AddItemid(builder, itemidOffset); EquipInfo.AddTableid(builder, tableidOffset); EquipInfo.AddId(builder, id); return(EquipInfo.EndEquipInfo(builder)); }
public static EquipInfo GetRootAsEquipInfo(ByteBuffer _bb, EquipInfo obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public EquipInfo GetEquips(EquipInfo obj, int j) { int o = __offset(36); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null); }