![]() |
|
Folder information class for tree structure data More...
Public Member Functions | |
| string | GetDisplayName (string inLanguage) |
| Get display name in specified language More... | |
| string | GetLocalName (string inLanguage) |
| Get local name in specified language More... | |
| void | SetLocalName (string inLanguage, string inName) |
| Set local name in specified language More... | |
| void | UpdateChildIds () |
| Reflect the contents of Childs to ChildIds More... | |
| Folder () | |
| constructor More... | |
| override void | load (BinaryReader reader) |
| loading More... | |
| override void | save (BinaryWriter writer) |
| keep More... | |
| override void | saveUsedGUID (BinaryWriter writer, bool inIncludeChildUseRomGUID) |
| Export the GUID you are using (for tools) More... | |
| void | initialize (Catalog inCatalog, bool includeChildrenFolder=false) |
| Initialize folder from ChildIds More... | |
| void | AddChild (RomItem child, bool toTop=false) |
| Adding child elements More... | |
| void | RemoveChild (RomItem child) |
| Delete child element More... | |
| List< RomItem > | AllItems (bool inIgnoreFolder=false) |
| Get all child elements More... | |
| List< Folder > | AllFolders () |
| Get all child folders More... | |
| bool | IsEmpty (bool inIsResourceOnly) |
| Is the folder empty? More... | |
| List< RomItem > | ParseChilds (bool inIsAll=true) |
| Get all child elements More... | |
| string | FullPath () |
| Get full path of folder More... | |
| Common.Rom.Folder | FindChildFolder (string path) |
| Find child folders of specified path More... | |
| Folder | Clone () |
| clone folder More... | |
Public Member Functions inherited from Yukar.Common.Rom.RomItem | |
| string | getCategory (string locale=null) |
| Get category path More... | |
| RomItem () | |
| constructor More... | |
| System.Drawing.Bitmap | getThumbnail (THUMBNAILMAKERNOTIFY notify, out bool setNotify) |
| Get thumbnail image More... | |
| System.Drawing.Bitmap | getThumbnail (THUMBNAILMAKERNOTIFY notify) |
| Get thumbnail image More... | |
| System.Drawing.Bitmap | getThumbnail () |
| Get thumbnail image More... | |
| void | invalidateThumbnail () |
| Disable thumbnail images More... | |
| void | invalidateThumbnail (THUMBNAILMAKERNOTIFY notify) |
| Disable thumbnail images More... | |
| void | forceInvalidateThumbnail (THUMBNAILMAKERNOTIFY notify) |
| Force regeneration of thumbnail images More... | |
| virtual void | save (BinaryWriter writer) |
| keep More... | |
| virtual void | load (BinaryReader reader) |
| loading More... | |
| virtual void | saveUsedGUID (BinaryWriter writer, bool inIncludeChildUseRomGUID) |
| Export the GUID you are using (for tools) More... | |
| void | saveUsedGUID (BinaryWriter writer) |
| Export the GUID you are using (for tools) More... | |
| virtual bool | initializingAfterLoading () |
| Initialization process after loading More... | |
| virtual void | reImport () |
| Reimport More... | |
| virtual void | export (string path) |
| export More... | |
| virtual void | onCatalogCleanup () |
| Catalog release processing More... | |
| virtual void | onNameChanged () |
| Processing when renaming More... | |
| void | copyFrom (Common.Rom.RomItem src) |
| Copy data from another RomItem More... | |
| virtual void | CheckRecourceConsistency (Catalog inCatalog) |
| Consistency check (for tools) More... | |
| virtual void | ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic) |
| Replace the Id you are using with the corresponding Rom Id More... | |
| void | ClearId (List< Rom.RomItem > inClearRomItemList) |
| Removed rom usage in list More... | |
| void | Dispose () |
| void | AddUpdatecall (int count) |
| Increase/decrease the thumbnail generation pending counter More... | |
| void | save (BinaryWriter writer) |
| keep More... | |
| void | load (BinaryReader reader) |
| loading More... | |
Static Public Member Functions | |
| static Common.Rom.Folder | FindChildFolder (Common.Rom.Folder parent, string path) |
| Find child folders of specified path More... | |
Static Public Member Functions inherited from Yukar.Common.Rom.RomItem | |
| static bool | reImport (List< RomItem > inRomList) |
| Reimport More... | |
| static void | writeChunk (System.IO.BinaryWriter writer, IChunk rom) |
| write chunk More... | |
| static void | readChunk (System.IO.BinaryReader reader, IChunk rom) |
| load chunk More... | |
| static void | skipChunk (System.IO.BinaryReader reader) |
| skip chunk More... | |
| static T | Clone< T > (RomItem inSrc) |
| Clone RomItem More... | |
| static bool | equalChunk (IChunk a, IChunk b) |
| Are the contents of the chunks equal? More... | |
| static IChunk | duplicate (IChunk rom) |
| Duplicate IChunk More... | |
Public Attributes | |
| Guid | dlcGuid = Guid.Empty |
| GUID of DLC or system project More... | |
Public Attributes inherited from Yukar.Common.Rom.RomItem | |
| Guid | guId |
| ID More... | |
| String | name |
| name More... | |
| string | tags = "" |
| tag More... | |
| string | category = "" |
| category More... | |
Properties | |
| short | Signature [get, set] |
| Folder signature (signature of the elements stored in the folder) More... | |
| Dictionary< string, string > | LocalNameDic [get] |
| local name dictionary More... | |
| List< RomItem > | Childs [get, set] |
| child element list More... | |
| List< Guid > | ChildIds [get, set] |
| Child element GUID list More... | |
| bool | Visibility = true [get, set] |
| View folder More... | |
| bool | Locked = false [get, set] |
| Lock folder More... | |
| bool | IsExpanded [get, set] |
| Folder expansion status More... | |
Properties inherited from Yukar.Common.Rom.RomItem | |
| System.Drawing.Bitmap | Thumbnail [get] |
| thumbnail image More... | |
| ThumbnailStatusType | ThumbnailStatus = ThumbnailStatusType.Empty [get, set] |
| Thumbnail generation status More... | |
| string | Name [get, set] |
| Get display name More... | |
| virtual int | RefCount [get] |
| reference count More... | |
| virtual bool | UseRefCount [get] |
| Should I use reference counting? More... | |
| Folder | Parent [get, set] |
| parent folder More... | |
Additional Inherited Members | |
Public Types inherited from Yukar.Common.Rom.RomItem | |
| enum | ThumbnailStatusType { Empty = 0 , Creating , Created , Failed } |
| Thumbnail image generation status More... | |
Static Public Attributes inherited from Yukar.Common.Rom.RomItem | |
| static int | thumbnailWidth = 128 |
| Thumbnail image width (pixels) More... | |
| static int | thumbnailHeight = 128 |
| Thumbnail image height (pixels) More... | |
| const char | CATEGORY_SPLITTER = '\\' |
| category delimiter More... | |
| static CREATETHUMBNAIL | createThumbnailFunction = null |
| Thumbnail generation function More... | |
| const int | UnknownRefCount = -2000 |
| Constants when reference count is unknown More... | |
Protected Member Functions inherited from Yukar.Common.Rom.RomItem | |
| virtual void | Dispose (bool disposing) |
Folder information class for tree structure data
| Yukar.Common.Rom.Folder.Folder | ( | ) |
constructor
| void Yukar.Common.Rom.Folder.AddChild | ( | RomItem | child, |
| bool | toTop = false |
||
| ) |
Adding child elements
| child | Rom |
| toTop | add to top |
| List< Folder > Yukar.Common.Rom.Folder.AllFolders | ( | ) |
Get all child folders
| List< RomItem > Yukar.Common.Rom.Folder.AllItems | ( | bool | inIgnoreFolder = false | ) |
Get all child elements
| inIgnoreFolder | Get list of child elements other than Folder type |
| Folder Yukar.Common.Rom.Folder.Clone | ( | ) |
clone folder
|
static |
Find child folders of specified path
| parent | parent folder |
| path | path |
| Common.Rom.Folder Yukar.Common.Rom.Folder.FindChildFolder | ( | string | path | ) |
Find child folders of specified path
| path | path |
| string Yukar.Common.Rom.Folder.FullPath | ( | ) |
Get full path of folder
| string Yukar.Common.Rom.Folder.GetDisplayName | ( | string | inLanguage | ) |
Get display name in specified language
| inLanguage | language code |
| string Yukar.Common.Rom.Folder.GetLocalName | ( | string | inLanguage | ) |
Get local name in specified language
| inLanguage | language code |
| void Yukar.Common.Rom.Folder.initialize | ( | Catalog | inCatalog, |
| bool | includeChildrenFolder = false |
||
| ) |
Initialize folder from ChildIds
| inCatalog | catalog |
| includeChildrenFolder | Initialize child folders recursively |
| bool Yukar.Common.Rom.Folder.IsEmpty | ( | bool | inIsResourceOnly | ) |
Is the folder empty?
| inIsResourceOnly | Targets only child elements other than Folder type |
|
virtual |
| List< RomItem > Yukar.Common.Rom.Folder.ParseChilds | ( | bool | inIsAll = true | ) |
Get all child elements
| inIsAll | Expand folders within folders |
|
virtual |
|
virtual |
Export the GUID you are using (for tools)
| writer | Writer |
| inIncludeChildUseRomGUID | Does it also include the roms used by the roms used? |
Reimplemented from Yukar.Common.Rom.RomItem.
| void Yukar.Common.Rom.Folder.SetLocalName | ( | string | inLanguage, |
| string | inName | ||
| ) |
Set local name in specified language
| inLanguage | language code |
| inName | local name |
| void Yukar.Common.Rom.Folder.UpdateChildIds | ( | ) |
Reflect the contents of Childs to ChildIds
| Guid Yukar.Common.Rom.Folder.dlcGuid = Guid.Empty |
GUID of DLC or system project
|
getset |
Child element GUID list
|
getset |
child element list
|
getset |
Folder expansion status
|
get |
local name dictionary
|
getset |
Lock folder
|
getset |
Folder signature (signature of the elements stored in the folder)
|
getset |
View folder