Logo
公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 静的公開変数類 | 限定公開メンバ関数 | プロパティ | 全メンバ一覧
Yukar.Common.Resource.ResourceItem クラス

リソースを管理する親クラス [詳解]

Yukar.Common.Resource.ResourceItem の継承関係図
Yukar.Common.Rom.RomItem Yukar.Common.Rom.IChunk Yukar.Common.Resource.BattleBackground Yukar.Common.Resource.Character2DAnimSet Yukar.Common.Resource.EffectSource Yukar.Common.Resource.Face Yukar.Common.Resource.GfxResourceBase Yukar.Common.Resource.Icon Yukar.Common.Resource.Item Yukar.Common.Resource.Lut Yukar.Common.Resource.MapBackground Yukar.Common.Resource.MapChip Yukar.Common.Resource.MapChipOld Yukar.Common.Resource.MapObject Yukar.Common.Resource.Material Yukar.Common.Resource.Midi Yukar.Common.Resource.Model Yukar.Common.Resource.Monster Yukar.Common.Resource.MotionSet Yukar.Common.Resource.Movie Yukar.Common.Resource.NSprite Yukar.Common.Resource.NSpriteSet Yukar.Common.Resource.Particle Yukar.Common.Resource.PhysicsSetup Yukar.Common.Resource.Reflection Yukar.Common.Resource.Shader Yukar.Common.Resource.SliceAnimationSet Yukar.Common.Resource.SoundResource Yukar.Common.Resource.Sprite Yukar.Common.Resource.Texture Yukar.Common.Resource.Vst Yukar.Common.Resource.Window

公開メンバ関数

override bool initializingAfterLoading ()
virtual void initializeKmyGfx ()
override void save (System.IO.BinaryWriter writer)
override void load (System.IO.BinaryReader reader)
virtual void setPath (string path)
virtual void CopySourceResourceFile (string inSrcPath, string inDstPath=null, bool inIsOverwrite=false, bool inIsExistFileRename=false)
void CopyOutsideResourceFile (bool inIsOverwrite=false, bool inIsExistFileRename=false)
bool deleteResourceFile (Dictionary< string, int > inUsedFilePathCountDic, bool inIsAutoDeleteFile)
virtual List< string > getRelatedFiles ()
virtual ErrorType verify ()
bool IsError (bool inCheckDispOnly=true)
bool isSystemResource ()
bool isDLCResource ()
void setToModified ()
virtual string[] getPathList ()
string getExtension ()
virtual List< Guid > GetUsedResourceIdList ()
override void ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic)
void ClearResourceHolderCache ()
virtual void reload ()
bool isExistNewerTimeStamp ()
virtual void renamePath (string inNewPath)
virtual void setNativeResourcePath (string inFolderPath)
システムプロジェクトyのネイティブリソースのフルパスを設定 [詳解]
- 基底クラス Yukar.Common.Rom.RomItem に属する継承公開メンバ関数
string getCategory (string locale=null)
System.Drawing.Bitmap getThumbnail (THUMBNAILMAKERNOTIFY notify, out bool setNotify)
System.Drawing.Bitmap getThumbnail (THUMBNAILMAKERNOTIFY notify)
System.Drawing.Bitmap getThumbnail ()
void invalidateThumbnail ()
void invalidateThumbnail (THUMBNAILMAKERNOTIFY notify)
void forceInvalidateThumbnail (THUMBNAILMAKERNOTIFY notify)
virtual void save (BinaryWriter writer)
virtual void load (BinaryReader reader)
virtual void saveUsedGUID (BinaryWriter writer, bool inIncludeChildUseRomGUID)
使用しているGUIDの書き出し(ツール用) [詳解]
void saveUsedGUID (BinaryWriter writer)
使用しているGUIDの書き出し(ツール用) [詳解]
virtual bool initializingAfterLoading ()
virtual void postImport (string srcpath)
virtual void reImport ()
virtual void export (string path)
virtual void onCatalogCleanup ()
void copyFrom (Common.Rom.RomItem src)
virtual void CheckRecourceConsistency (Catalog inCatalog)
virtual void ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic)
使用しているIdを対応するロムのIdに差し替える [詳解]
void ClearId (List< Rom.RomItem > inClearRomItemList)
リストのロムの使用を削除 [詳解]
void Dispose ()
void AddUpdatecall (int count)
void save (BinaryWriter writer)
void load (BinaryReader reader)

静的公開メンバ関数

static string makeCreateFilePath (Type inType, string inSrcPath, bool inIsOverWrite)
リソースファイルのコピー先のファイルパスの作成 [詳解]
- 基底クラス Yukar.Common.Rom.RomItem に属する継承静的公開メンバ関数
static void writeChunk (System.IO.BinaryWriter writer, IChunk rom)
static void readChunk (System.IO.BinaryReader reader, IChunk rom)
static T Clone< T > (RomItem inSrc)
static bool equalChunk (IChunk a, IChunk b)

公開変数類

Guid dlcGuid = Guid.Empty
string relatedPath = ""
string path = ".\\"
Option option = new Option()
ResourceSource source = ResourceSource.RES_USER
- 基底クラス Yukar.Common.Rom.RomItem に属する継承公開変数類
Guid guId
String name
string tags = ""
string category = ""

静的公開変数類

static ResourceSource sCurrentSourceMode
static bool sReferenceLoad = false
static bool sClipboardLoad = false
const string TAG_3D = "#3D"
const string TAG_2D = "#2D"
static Guid sCurrentSourceGuid
- 基底クラス Yukar.Common.Rom.RomItem に属する継承静的公開変数類
static int thumbnailWidth = 128
static int thumbnailHeight = 128
const char CATEGORY_SPLITTER = '\\'
static CREATETHUMBNAIL createThumbnailFunction = null
const int UnknownRefCount = -2000

限定公開メンバ関数

virtual bool IsErrorImp (bool inCheckDispOnly)
string checkReImportPath (string importPath, string filter)
virtual List< ResourceHolder > GetResourceHolderList ()
void updateSetuppedThumbnail ()
virtual void afterRenamePath (string inNewPath)
- 基底クラス Yukar.Common.Rom.RomItem に属する継承限定公開メンバ関数
virtual void Dispose (bool disposing)

プロパティ

string SourcePath [get]
virtual string ImportPath [get, set]
virtual string SourceFileName [get]
string SourceFolderName [get]
int StampType [get, set]
string resourcePath [get, set]
- 基底クラス Yukar.Common.Rom.RomItem に属する継承プロパティ
System.Drawing.Bitmap Thumbnail [get]
ThumbnailStatusType ThumbnailStatus = ThumbnailStatusType.Empty [get, set]
string Name [get, set]
virtual int RefCount [get]
virtual bool UseRefCount [get]
Folder Parent [get, set]

その他の継承メンバ

- 基底クラス Yukar.Common.Rom.RomItem に属する継承公開型
enum ThumbnailStatusType { Empty = 0 , Creating , Created , Failed }
サムネイル画像生成状況

詳解

リソースを管理する親クラス

メソッド詳解

initializingAfterLoading()

override bool Yukar.Common.Resource.ResourceItem.initializingAfterLoading ( )
virtual

Yukar.Common.Rom.RomItemを再実装しています。

makeCreateFilePath()

static string Yukar.Common.Resource.ResourceItem.makeCreateFilePath ( Type inType,
string inSrcPath,
bool inIsOverWrite
)
static

リソースファイルのコピー先のファイルパスの作成

引数
inType リソースの種類
inSrcPath コピー元のファイルパス
inIsOverWrite 上書きするか?
戻り値
コピー先のファイルパス

setNativeResourcePath()

virtual void Yukar.Common.Resource.ResourceItem.setNativeResourcePath ( string inFolderPath )
virtual

システムプロジェクトyのネイティブリソースのフルパスを設定

引数
inFolderPath プロジェクトのカレントフォルダパス

Yukar.Common.Resource.Model, Yukar.Common.Resource.Textureで再実装されています。


このクラス詳解は次のファイルから抽出されました: