Downloads | 93 |
---|---|
Updated | 15 days ago |
Released | 14 days ago |
Created | 18 days ago |
Numeric ID | 678 |
Min. Openplanet | 1.26.0 |
Requires: MLHook and MLFeed. You need to have those plugins installed.
Works like this:
Exports:
namespace PreCacher {
// use this to precache maps or other assets. safe to call more than once with the same URL (prints log 2nd+ time).
import void PreCacheAsset(const string &in url) from "PreCacher";
// this retrieves a map url from nadeo and precaches it. safe to call more than once with the same UID (does nothing 2nd+ time). Will yield.
import void CheckAndCacheMapIfNew_Async(const string &in uid, const string &in name = "<Unk Name>") from "PreCacher";
}
Useful if you want this functionality without BetterRoomManager.