2 #include <EASTL/vector.h> 52 template<
typename Lambda>
69 template <
class Archive>
70 void save(Archive& ar)
const 76 curr = it->t_thing->ThingNum;
82 template <
class Archive>
91 for (
auto i = 0; i < currCount; i++)
95 if (
gsi.ObjectMan.isLoadingCritical())
97 gsi.ObjectMan.addObjectListToMap(
this, curr);
101 ASSERT(
gsi.ObjectMan.getThingNoChecks(curr));
102 auto t =
gsi.ObjectMan.getThingNoChecks(curr);
108 t->TypeList[t->Type] =
insert(t);
115 static eastl::vector<Internal_It>
_sit;
123 template <
typename Lambda>
129 _sit.push_back({
this, &it });
137 if (!it || !it->next)
break;
Thing * getNth(size_t i) const
enum ObjectListType _ListType
OBJLIST * insert(Thing *t)
enum ObjectListType whatListAmI() const
Thing * processList(Lambda &&f)
OBJLIST * AmIInList(Thing *t) const
Thing * getPreviousThing(Thing *t) const
void remove(Thing *t, bool OBJ3_DELETE=false)
ObjectList & operator=(ObjectList const &rhs)
ObjectList(enum class ObjectListType t=ObjectListType::None)
Thing * getNextThing(Thing *t) const
void setObjectListType(enum class ObjectListType _t)
Thing * processList2(eastl::function< bool(Thing *)> f)
void save(Archive &ar) const
eastl::vector< ObjectProxy > toObjectProxyVector()
eastl::vector< Thing * > toThingVector()
static eastl::vector< Internal_It > _sit