#pragma once #include "IxInterface.h" class ZxSerializer; // 序列化支持 class IxSerDes : virtual public IxInterface { public: // 保存 virtual void onSerialize(ZxSerializer * ser) = 0; // 加载 virtual void onDeserialize(ZxSerializer * ser) = 0; };