public void AddPackage(ResPackage package, Action <ResPackage, int> l) { if (package == null) { return; } if (m_UpdatePackageList == null) { m_UpdatePackageList = new List <ResPackageWrap>(); } m_UpdatePackageList.Add(new ResPackageWrap(package, l)); }
public ResPackageHandler(ResPackage package) { m_Package = package; }
public ResPackageWrap(ResPackage package, Action <ResPackage, int> l) { m_Package = package; m_Listener = l; }
public ResUpdateRecord(ResPackage package) { m_Package = package; }