public static int Pic_H(int picId) { if ((picId & DTP) != 0) { return(GameDerivation.Der_H(picId & ~DTP)); } return(GetPicRes().GetHandle(picId).H); }
public List <int> DerHandleList = new List <int>(); // for Derivation.cs public void UnloadAllHandle() { GameDerivation.UnloadAllDer(DerHandleList); for (int resId = 0; resId < this.ResCount; resId++) { if (this.LoadedList[resId]) { this.HandleUnloader(this.HandleList[resId]); this.LoadedList[resId] = false; } } }