IMGpush(NPKobject类成员函数) - Lucky-Koishi/KoishiExAPI GitHub Wiki
namespace Koishi;
└class NPKobject;
└bool IMGpush(const IMGobject &obj, const str &imgName);
const IMGobject &obj:待插入的IMGobject对象。
const str &imgName:IMGobject对象位于NPK文件内的全路径名。
bool:返回操作是否成功。
将给定IMGobject对象对应的IMG文件插入到NPK文件末尾,并为该IMG文件对应的索引项设置全路径名。