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

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

Yukar.Common.Resource.MapChip の継承関係図
Yukar.Common.Resource.ResourceItem Yukar.Common.Rom.RomItem Yukar.Common.Rom.IChunk

公開型

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
}
- 基底クラス Yukar.Common.Rom.RomItem に属する継承公開型
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 ()
- 基底クラス 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 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 makeCreatePath (string srcpath, bool overwrite=false)
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承静的公開メンバ関数
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)

公開変数類

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
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承公開変数類
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 Guid sSystemGroundTileMapChipId = new Guid("3e9b783d-9c9c-439e-9b1d-218939115fae")
const int MAPCHIP_GRID_SIZE = 64
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承静的公開変数類
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

限定公開メンバ関数

override bool IsErrorImp (bool inCheckDispOnly)
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承限定公開メンバ関数
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)

プロパティ

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]
- 基底クラス Yukar.Common.Resource.ResourceItem に属する継承プロパティ
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]

詳解

地形リソースを管理するクラス

メソッド詳解

CopySourceResourceFile()

override void Yukar.Common.Resource.MapChip.CopySourceResourceFile ( string inSrcPath,
string inDstPath = null,
bool inIsOverwrite = false,
bool inIsExistFileRename = false
)
virtual

Yukar.Common.Resource.ResourceItemを再実装しています。

getPathList()

override string[] Yukar.Common.Resource.MapChip.getPathList ( )
virtual

Yukar.Common.Resource.ResourceItemを再実装しています。

getRelatedFiles()

override List< string > Yukar.Common.Resource.MapChip.getRelatedFiles ( )
virtual

Yukar.Common.Resource.ResourceItemを再実装しています。

IsErrorImp()

override bool Yukar.Common.Resource.MapChip.IsErrorImp ( bool inCheckDispOnly )
protected virtual

Yukar.Common.Resource.ResourceItemを再実装しています。

reImport()

override void Yukar.Common.Resource.MapChip.reImport ( )
virtual

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

setPath()

override void Yukar.Common.Resource.MapChip.setPath ( string path )
virtual

Yukar.Common.Resource.ResourceItemを再実装しています。

verify()

override ErrorType Yukar.Common.Resource.MapChip.verify ( )
virtual

Yukar.Common.Resource.ResourceItemを再実装しています。

メンバ詳解

miniMapColor

NSprite.FlashDef Yukar.Common.Resource.MapChip.miniMapColor
初期値:
= new NSprite.FlashDef()
{
color = new NSprite.ColorDef() { r = 255, g = 255, b = 255, a = 255 }
}

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