Example #1
0
        // If there is no singleton object, it's constructed with the provided install path.
        // The fame folder structure is appended internally.
        public static HSKB Construct(string installPath)
        {
            if (_thisObject == null)
            {
                _thisObject = new HSKB(installPath, true);
            }

            return(_thisObject);
        }
Example #2
0
        // If there is no singleton object, it's constructed with the provided library path.
        // The libraryPath points to the folder which contains all game libraries.
        public static HSKB Get(string libPath = null)
        {
            if (_thisObject == null)
            {
                _thisObject = new HSKB(libPath);
            }

            return(_thisObject);
        }