Logo
Public Member Functions | List of all members
Yukar.Common.Resource.Bgm Class Reference

A class that manages BGM resources (not used because it was integrated into the SoundResource class) More...

Inheritance diagram for Yukar.Common.Resource.Bgm:
Yukar.Common.Resource.SoundResource Yukar.Common.Resource.ResourceItem Yukar.Common.Rom.RomItem Yukar.Common.Rom.IChunk

Public Member Functions

 Bgm ()
 
override void save (System.IO.BinaryWriter writer)
 
override void load (System.IO.BinaryReader reader)
 
- Public Member Functions inherited from Yukar.Common.Resource.SoundResource
override void setPath (string path)
 Configuring the path More...
 
override void save (System.IO.BinaryWriter writer)
 save More...
 
override void load (System.IO.BinaryReader reader)
 Load More...
 
override void ChangeReImportPath ()
 Changing the import path More...
 
override void reImport ()
 Reimport More...
 
- Public Member Functions inherited from Yukar.Common.Resource.ResourceItem
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 List< string > getInternalFormatFilePath ()
 
virtual ErrorType verify ()
 
bool IsError (bool inCheckDispOnly=true)
 
bool isSystemResource ()
 
bool isDLCResource ()
 
void setToModified ()
 
virtual string[] getPathList ()
 
string getExtension ()
 
virtual void ChangeReImportPath ()
 
virtual List< Guid > GetUsedResourceIdList ()
 
override void ChangeId (Dictionary< Guid, Rom.RomItem > inChangeIdDic)
 
void ClearResourceHolderCache ()
 
void updateSetuppedThumbnail ()
 
virtual void reload ()
 
bool isExistNewerTimeStamp ()
 
virtual void renamePath (string inNewPath)
 
virtual void setNativeResourcePath (string inFolderPath)
 set full path of native resource for system project y More...
 
- Public Member Functions inherited from Yukar.Common.Rom.RomItem
string getCategory (string locale=null)
 
 RomItem ()
 
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)
 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 ()
 
virtual void reImport ()
 
virtual void export (string path)
 
virtual void onCatalogCleanup ()
 
virtual void onNameChanged ()
 
void copyFrom (Common.Rom.RomItem src)
 
virtual void CheckRecourceConsistency (Catalog inCatalog)
 
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)
 
void save (BinaryWriter writer)
 
void load (BinaryReader reader)
 

Additional Inherited Members

- Public Types inherited from Yukar.Common.Resource.SoundResource
enum  UsageType { Unknown = -1 , BGM = 0 , BGS , SE }
 Enumerations that define the use of sound More...
 
- Public Types inherited from Yukar.Common.Rom.RomItem
enum  ThumbnailStatusType { Empty = 0 , Creating , Created , Failed }
 Thumbnail image generation status More...
 
- Static Public Member Functions inherited from Yukar.Common.Resource.SoundResource
static string makeCreatePath (string srcpath, bool overwrite=false)
 Generate the path for a sound resource More...
 
static SoundResource import (string srcpath, string createpath)
 import More...
 
- Static Public Member Functions inherited from Yukar.Common.Resource.ResourceItem
static string makeCreateFilePath (Type inType, string inSrcPath, bool inIsOverWrite)
 Creating a file path to copy resource files to More...
 
- Static Public Member Functions inherited from Yukar.Common.Rom.RomItem
static bool reImport (List< RomItem > inRomList)
 
static void writeChunk (System.IO.BinaryWriter writer, IChunk rom)
 
static void readChunk (System.IO.BinaryReader reader, IChunk rom)
 
static void skipChunk (System.IO.BinaryReader reader)
 
static T Clone< T > (RomItem inSrc)
 
static bool equalChunk (IChunk a, IChunk b)
 
static IChunk duplicate (IChunk rom)
 
- Public Attributes inherited from Yukar.Common.Resource.SoundResource
SoundType soundType
 Sound type (Ogg/Wav) More...
 
UsageType usage = UsageType.BGM
 Use applications More...
 
bool isLoop
 Whether to loop More...
 
int volume = 100
 volume More...
 
string importPath = ""
 Import source path More...
 
- Public Attributes inherited from Yukar.Common.Resource.ResourceItem
Guid dlcGuid = Guid.Empty
 
string relatedPath = ""
 
string path = ".\\"
 
Option option = new Option()
 
ResourceSource source = ResourceSource.RES_USER
 
- Public Attributes inherited from Yukar.Common.Rom.RomItem
Guid guId
 
String name
 
string tags = ""
 
string category = ""
 
- Static Public Attributes inherited from Yukar.Common.Resource.SoundResource
static Guid notChangeItemId = new Guid("{7E2A356B-E1E7-4327-A6ED-D561BF567E2F}")
 
static readonly SoundResource NOT_CHANGE_ITEM = new SoundResource() { name = Properties.Resources.str_noChange, guId = SoundResource.notChangeItemId }
 
- Static Public Attributes inherited from Yukar.Common.Resource.ResourceItem
static ResourceSource sCurrentSourceMode
 
static bool sReferenceLoad = false
 
static bool sClipboardLoad = false
 
static bool sAttachResource = true
 
const string TAG_3D = "#3D"
 
const string TAG_2D = "#2D"
 
static Guid sCurrentSourceGuid
 
- Static Public Attributes inherited from Yukar.Common.Rom.RomItem
static int thumbnailWidth = 128
 
static int thumbnailHeight = 128
 
const char CATEGORY_SPLITTER = '\\'
 
static CREATETHUMBNAIL createThumbnailFunction = null
 
const int UnknownRefCount = -2000
 
- Protected Member Functions inherited from Yukar.Common.Resource.SoundResource
override bool IsErrorImp (bool inCheckDispOnly)
 
- Protected Member Functions inherited from Yukar.Common.Resource.ResourceItem
virtual bool IsErrorImp (bool inCheckDispOnly)
 
string checkReImportPath (string importPath, string filter, bool changeReImportPath)
 
virtual List< ResourceHolderGetResourceHolderList ()
 
virtual void afterRenamePath (string inNewPath)
 
- Protected Member Functions inherited from Yukar.Common.Rom.RomItem
virtual void Dispose (bool disposing)
 
- Properties inherited from Yukar.Common.Resource.SoundResource
override string ImportPath [get, set]
 Import source path (importPath accessor) More...
 
int Usage [get, set]
 Usage use (usage accessor) More...
 
bool IsLoop [get, set]
 Whether to loop (isLoop accessor) More...
 
int Volume [get, set]
 Volume (volume accessor) More...
 
SharpKmyAudio.SurroundMode SurroundMode = SharpKmyAudio.SurroundMode.Binaural [get, set]
 Surround mode for 3D sound (processing method) More...
 
SharpKmyAudio.VolumeRollOffType VolumeRollOffType = SharpKmyAudio.VolumeRollOffType.Linear [get, set]
 Volume attenuation method for 3D sound (attenuation processing) More...
 
float MinimumDistance = 1 [get, set]
 Attenuation start distance More...
 
float MaximumDistance = 30 [get, set]
 Attenuation end distance More...
 
- Properties inherited from Yukar.Common.Resource.ResourceItem
string SourcePath [get]
 
virtual string ImportPath [get, set]
 
virtual string SourceFileName [get]
 
string SourceFolderName [get]
 
int StampType [get, set]
 
bool ForceExport [get, set]
 
virtual bool ConvertableToInternalFormat [get]
 
string resourcePath [get, set]
 
- Properties inherited from 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]
 

Detailed Description

A class that manages BGM resources (not used because it was integrated into the SoundResource class)

Constructor & Destructor Documentation

◆ Bgm()

Yukar.Common.Resource.Bgm.Bgm ( )

Member Function Documentation

◆ load()

override void Yukar.Common.Resource.Bgm.load ( System.IO.BinaryReader  reader)

◆ save()

override void Yukar.Common.Resource.Bgm.save ( System.IO.BinaryWriter  writer)