Populous: The Beginning Script 3  1.0.0
Documentation for Populous Script 3 engine

◆ save()

template<class Archive >
void ObjectProxy::save ( Archive &  ar) const
inline

Definition at line 33 of file ObjectProxy.h.

34  {
35  ThingNum tnum = t_thing ? t_thing->ThingNum : 0;
36  if (tnum)
37  ASSERT(t_thing->Type);
38 
39  ar(POP3SAVENAME(Header), POP3SAVENAME(tnum));
40  }
Thing * t_thing
Definition: ObjectProxy.h:122
_U_OBJ_LIST Header
Definition: ObjectProxy.h:121
unsigned char Type
unsigned short ThingNum

References Header, t_thing, Thing::ThingNum, and Thing::Type.