예제 #1
0
        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));
        }
예제 #2
0
 public ResPackageHandler(ResPackage package)
 {
     m_Package = package;
 }
예제 #3
0
 public ResPackageWrap(ResPackage package, Action <ResPackage, int> l)
 {
     m_Package  = package;
     m_Listener = l;
 }
예제 #4
0
 public ResUpdateRecord(ResPackage package)
 {
     m_Package = package;
 }