- op 1.27.9
| Downloads | 1,445 |
|---|---|
| Updated | 7 months ago |
| Released | 1 year ago |
| Numeric ID | 678 |
| Min. Openplanet | 1.27.9 |
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.