![]() |
|
地形リソースを管理するクラス [詳解]
公開型 |
|
enum | MapChipType { Terrain = 0 , Stair , Slope } |
enum |
MapChipCondAttr
{
CondAttr_0 = 1 << 0 , CondAttr_1 = 1 << 1 , CondAttr_2 = 1 << 2 , CondAttr_3 = 1 << 3 , CondAttr_4 = 1 << 4 , CondAttr_5 = 1 << 5 , CondAttr_6 = 1 << 6 , CondAttr_7 = 1 << 7 , CondAttr_8 = 1 << 8 } |
enum | Repeat { BottomRepeat , MiddleRepeat } |
enum |
MapColorType
{
Unknown = -1 , R , G , B , RGB , RG , RB , GB } |
![]() |
|
enum | ThumbnailStatusType { Empty = 0 , Creating , Created , Failed } |
サムネイル画像生成状況
|
|
公開メンバ関数 |
|
override void | setPath (string path) |
override void | save (System.IO.BinaryWriter writer) |
override void | load (System.IO.BinaryReader reader) |
override ErrorType | verify () |
override List< string > | getRelatedFiles () |
List< Guid > | GetConditionAttrGuids (Catalog catalog) |
List< string > | getReferenceFilePathList () |
override string[] | getPathList () |
override void | CopySourceResourceFile (string inSrcPath, string inDstPath=null, bool inIsOverwrite=false, bool inIsExistFileRename=false) |
override void | reImport () |
void | ClearAttrGuidsCache () |
![]() |
|
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のネイティブリソースのフルパスを設定
[詳解]
|
|
![]() |
|
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 | makeCreatePath (string srcpath, bool overwrite=false) |
![]() |
|
static string | makeCreateFilePath (Type inType, string inSrcPath, bool inIsOverWrite) |
リソースファイルのコピー先のファイルパスの作成
[詳解]
|
|
![]() |
|
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) |
公開変数類 |
|
ChipType | type |
int | _index |
bool | squareShape |
bool | walkable = true |
bool | liquid |
bool | wave |
bool | stair |
bool | slope |
float | friction = 1 |
string | commonExtMapName = "" |
MapColorType | createMapColorType = MapColorType.Unknown |
int | unitSize = 64 |
Guid | se = Guid.Empty |
uint | cond_attr = 0 |
Repeat | repeat = Repeat.BottomRepeat |
NSprite.FlashDef | miniMapColor |
string | normalMap = "" |
string | maskMap = "" |
string | stairsFilePath = "" |
string | stairsNormalMap = "" |
string | stairsMaskMap = "" |
List< string > | relatedFilePathList |
string | importPath = "" |
Microsoft.Xna.Framework.? Color | cachedColor = null |
![]() |
|
Guid | dlcGuid = Guid.Empty |
string | relatedPath = "" |
string | path = ".\\" |
Option | option = new Option() |
ResourceSource | source = ResourceSource.RES_USER |
![]() |
|
Guid | guId |
String | name |
string | tags = "" |
string | category = "" |
静的公開変数類 |
|
static Guid | sSystemGroundTileMapChipId = new Guid("3e9b783d-9c9c-439e-9b1d-218939115fae") |
const int | MAPCHIP_GRID_SIZE = 64 |
![]() |
|
static ResourceSource | sCurrentSourceMode |
static bool | sReferenceLoad = false |
static bool | sClipboardLoad = false |
const string | TAG_3D = "#3D" |
const string | TAG_2D = "#2D" |
static Guid | sCurrentSourceGuid |
![]() |
|
static int | thumbnailWidth = 128 |
static int | thumbnailHeight = 128 |
const char | CATEGORY_SPLITTER = '\\' |
static CREATETHUMBNAIL | createThumbnailFunction = null |
const int | UnknownRefCount = -2000 |
限定公開メンバ関数 |
|
override bool | IsErrorImp (bool inCheckDispOnly) |
![]() |
|
virtual bool | IsErrorImp (bool inCheckDispOnly) |
string | checkReImportPath (string importPath, string filter) |
virtual List< ResourceHolder > | GetResourceHolderList () |
void | updateSetuppedThumbnail () |
virtual void | afterRenamePath (string inNewPath) |
![]() |
|
virtual void | Dispose (bool disposing) |
プロパティ |
|
override string |
ImportPath
[get, set]
|
List< Guid > |
CachedAttrGuids
[get]
|
int |
Type
[get, set]
|
int |
RepeatType
[get, set]
|
System.Drawing.Color |
MiniMapColor
[get, set]
|
ミニマップ用の色
|
|
int |
RoundShape
[get, set]
|
int |
Walkable
[get, set]
|
int |
Liquid
[get, set]
|
string |
CommonExtMapName
[get, set]
|
string |
StairsFilePath
[get, set]
|
string |
StairsMaskMap
[get, set]
|
string |
StairsNormalMap
[get, set]
|
int |
CreateMapColorType
[get, set]
|
int |
UnitSize
[get, set]
|
Guid |
SE
[get, set]
|
bool |
CondAttr0
[get, set]
|
bool |
CondAttr1
[get, set]
|
bool |
CondAttr2
[get, set]
|
bool |
CondAttr3
[get, set]
|
bool |
CondAttr4
[get, set]
|
bool |
CondAttr5
[get, set]
|
bool |
CondAttr6
[get, set]
|
bool |
CondAttr7
[get, set]
|
bool |
CondAttr8
[get, set]
|
string |
NormalMap
[get, set]
|
string |
MaskMap
[get, set]
|
![]() |
|
string |
SourcePath
[get]
|
virtual string |
ImportPath
[get, set]
|
virtual string |
SourceFileName
[get]
|
string |
SourceFolderName
[get]
|
int |
StampType
[get, set]
|
string |
resourcePath
[get, set]
|
![]() |
|
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]
|
地形リソースを管理するクラス
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
protected virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Rom.RomItemを再実装しています。
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
|
virtual |
Yukar.Common.Resource.ResourceItemを再実装しています。
NSprite.FlashDef Yukar.Common.Resource.MapChip.miniMapColor |