C# Class KEngine.Editor.AssetVersionControl

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

Public Properties

Property Type Description
Current AssetVersionControl

Public Methods

Method 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

Method 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 method

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

CheckFileBuildWithMeta() public method

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

Dispose() public method

public Dispose ( ) : void
return void

GetAssetLastBuildMD5() public method

public GetAssetLastBuildMD5 ( string assetPath ) : string
assetPath string
return string

GetBuildVersionTab() public static method

public static GetBuildVersionTab ( ) : string
return string

MarkBuildVersion() public method

标记一个路径为打包
public MarkBuildVersion ( ) : void
return void

MarkRecord() public method

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

TryCheckExistRecord() public static method

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

TryCheckFileBuild() public static method

public static TryCheckFileBuild ( string filePath ) : bool
filePath string
return bool

TryCheckNeedBuildWithMeta() public static method

文件类型
public static TryCheckNeedBuildWithMeta ( ) : bool
return bool

TryIsRebuild() public static method

public static TryIsRebuild ( ) : bool
return bool

TryMarkBuildVersion() public static method

public static TryMarkBuildVersion ( ) : void
return void

TryMarkRecord() public static method

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

WriteVersion() public method

public WriteVersion ( ) : void
return void

Property Details

Current public_oe static_oe property

public static AssetVersionControl,KEngine.Editor Current
return AssetVersionControl