C# Class KEngine.Editor.AssetVersionControl

基于Tab表格的纯文本简单资源差异管理器
Inheritance: IDisposable
Afficher le fichier Open project: mr-kelly/KEngine Class Usage Examples

Méthodes publiques

Свойство Type Description
Current AssetVersionControl

Méthodes publiques

Méthode Description
AssetVersionControl ( bool rebuild = false ) : System

资源打包周期版本管理

CheckFileBuildWithMeta ( ) : bool

判断路径,并且尝试判断meta文件

Dispose ( ) : void
GetAssetLastBuildMD5 ( string assetPath ) : string
GetBuildVersionTab ( ) : string
MarkBuildVersion ( ) : void

标记一个路径为打包

MarkRecord ( string strKey ) : void

只标记,不做MD5比较

TryCheckExistRecord ( string strKey ) : bool

不进行文件比较,只判断是否存在

TryCheckFileBuild ( string filePath ) : bool
TryCheckNeedBuildWithMeta ( ) : bool

文件类型

TryIsRebuild ( ) : bool
TryMarkBuildVersion ( ) : void
TryMarkRecord ( string strKey ) : void

只标记,无MD5比较

WriteVersion ( ) : void

Private Methods

Méthode Description
DoCheckBuild ( string filePath, bool log = true ) : bool

检查是否需要build, 文件,要进行MD5校验

DoCheckExistRecord ( string strKey ) : bool
DoCheckExistRecord ( string strKey, BuildRecord &assetMd5 ) : bool

只检查是否存在记录,不进行文件检查

OnAfterBuildAssetBundleEvent ( Object arg1, string arg2, string arg3 ) : void
SetupHistory ( ) : void

Method Details

AssetVersionControl() public méthode

资源打包周期版本管理
public AssetVersionControl ( bool rebuild = false ) : System
rebuild bool 如果是rebuild,将无视之前的差异打包信息
Résultat System

CheckFileBuildWithMeta() public méthode

判断路径,并且尝试判断meta文件
public CheckFileBuildWithMeta ( ) : bool
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetAssetLastBuildMD5() public méthode

public GetAssetLastBuildMD5 ( string assetPath ) : string
assetPath string
Résultat string

GetBuildVersionTab() public static méthode

public static GetBuildVersionTab ( ) : string
Résultat string

MarkBuildVersion() public méthode

标记一个路径为打包
public MarkBuildVersion ( ) : void
Résultat void

MarkRecord() public méthode

只标记,不做MD5比较
public MarkRecord ( string strKey ) : void
strKey string
Résultat void

TryCheckExistRecord() public static méthode

不进行文件比较,只判断是否存在
public static TryCheckExistRecord ( string strKey ) : bool
strKey string
Résultat bool

TryCheckFileBuild() public static méthode

public static TryCheckFileBuild ( string filePath ) : bool
filePath string
Résultat bool

TryCheckNeedBuildWithMeta() public static méthode

文件类型
public static TryCheckNeedBuildWithMeta ( ) : bool
Résultat bool

TryIsRebuild() public static méthode

public static TryIsRebuild ( ) : bool
Résultat bool

TryMarkBuildVersion() public static méthode

public static TryMarkBuildVersion ( ) : void
Résultat void

TryMarkRecord() public static méthode

只标记,无MD5比较
public static TryMarkRecord ( string strKey ) : void
strKey string
Résultat void

WriteVersion() public méthode

public WriteVersion ( ) : void
Résultat void

Property Details

Current public_oe static_oe property

public static AssetVersionControl,KEngine.Editor Current
Résultat AssetVersionControl