C# 클래스 BuildReportTool.Util

파일 보기 프로젝트 열기: dreamanlan/CSharpGameFramework

공개 메소드들

메소드 설명
AttemptGetAndroidTempStagingArea ( string projectDataPath, string &path ) : bool
AttemptGetUnityFolderMonoDLLs ( bool wasWebBuild, bool wasAndroidApkBuild, string editorAppContentsPath, ApiCompatibilityLevel monoLevel, StrippingLevel codeStrippingLevel, string &path, string &higherPriorityPath ) : bool
AttemptGetWebTempStagingArea ( string projectDataPath, string &path ) : bool
BuildInfoHasContents ( BuildInfo n ) : bool
CreateSizePartFromFile ( string filename, string fileFullPath ) : BuildReportTool.SizePart
DeleteSizePartFile ( SizePart file ) : void
DoesFileBeginWith ( string filepath, string stringToCheck ) : bool
FileHasContents ( string filepath, string contents ) : bool
FindAssetFolder ( string folderToStart, string desiredFolderName ) : string
GetAllScenesUsedInProject ( ) : string[]
GetApproxSizeFromString ( string size ) : double
GetBuildManagedFolder ( string buildFilePath ) : string
GetBuildPlatformBasedOnUnityBuildTarget ( BuildTarget b ) : BuildPlatform
GetBytesReadable ( double bytes ) : string
GetFileSizeInBytes ( string filename ) : int
GetFileSizeReadable ( string filename ) : string
GetFolderSizeInBytes ( string folderPath ) : double
GetFolderSizeReadable ( string folderPath ) : string
GetObbSizeInEclipseProject ( string eclipseProjectPath ) : double
GetObbSizeInEclipseProjectReadable ( string eclipseProjectPath ) : string
GetPackageFileContents ( string filename ) : string
GetPathSizeInBytes ( string fileOrFolder ) : double
GetPathSizeReadable ( string fileOrFolder ) : string
GetProjectName ( string projectAssetsFolderPath ) : string
GetStreamingAssetsSizeReadable ( ) : string
GetTextFileContents ( string file ) : string
GetUserHomeFolder ( ) : string
HaveToUseSystemForDelete ( string file ) : bool
IsAScriptDLL ( string filename ) : bool
IsFileAUnixHiddenFile ( string filepath ) : bool
IsFileInAPath ( string filepath, string pathToCheck ) : bool
IsFileInBuildReportFolder ( string filepath ) : bool
IsFileInEditorFolder ( string filepath ) : bool
IsFileInVersionControlMetadataFolder ( string filepath ) : bool
IsFileName ( string filepath, string filenameToCheck ) : bool
IsFileOfType ( string filepath, string typeExtenstion ) : bool
IsFileOkForDeleteAllOperation ( string filepath ) : bool
IsUselessFile ( string filepath ) : bool
MyHtmlDecode ( string input ) : string
OpenInFileBrowser ( string path ) : void
OpenInFileBrowserTest ( ) : void
OpenInMacFileBrowser ( string path ) : void
OpenInWinFileBrowser ( string path ) : void
OpenSerializedBuildInfo ( string serializedBuildInfoFilePath, bool fromMainThread = true ) : BuildInfo
RemovePrefix ( string prefix, string val ) : string
RemoveSuffix ( string suffix, string val, int offset ) : string
ReplaceFileType ( string filename, string newFileType ) : string
SerializeBuildInfo ( BuildInfo buildInfo, string serializedBuildInfoFilePath ) : void
SerializeBuildInfoAtFolder ( BuildInfo buildInfo, string pathToSave ) : void
ShowFileDeleteProgress ( int deletedSoFar, int totalToDelete, string filepath, bool showRecoverableMsg ) : bool

비공개 메소드들

메소드 설명
DeleteFile ( string file ) : void
DeleteFile ( string projectFolder, string file ) : void
FixXmlBuildReportFile ( string serializedBuildInfoFilePath ) : string
GetEditorLogFileInWindows ( string editorFilename = "Editor.log" ) : string
GetLastFolder ( string inFolder ) : string
GetProjectTempStagingArea ( string projectDataPath ) : string
MyFileSizeReadable ( double bytes ) : string
SaveTextFile ( string saveFilePath, string data ) : void
SystemDeleteFile ( string file ) : void
TextFileHasContents ( string filepath, string contents ) : bool

메소드 상세

AttemptGetAndroidTempStagingArea() 공개 정적인 메소드

public static AttemptGetAndroidTempStagingArea ( string projectDataPath, string &path ) : bool
projectDataPath string
path string
리턴 bool

AttemptGetUnityFolderMonoDLLs() 공개 정적인 메소드

public static AttemptGetUnityFolderMonoDLLs ( bool wasWebBuild, bool wasAndroidApkBuild, string editorAppContentsPath, ApiCompatibilityLevel monoLevel, StrippingLevel codeStrippingLevel, string &path, string &higherPriorityPath ) : bool
wasWebBuild bool
wasAndroidApkBuild bool
editorAppContentsPath string
monoLevel ApiCompatibilityLevel
codeStrippingLevel StrippingLevel
path string
higherPriorityPath string
리턴 bool

AttemptGetWebTempStagingArea() 공개 정적인 메소드

public static AttemptGetWebTempStagingArea ( string projectDataPath, string &path ) : bool
projectDataPath string
path string
리턴 bool

BuildInfoHasContents() 공개 정적인 메소드

public static BuildInfoHasContents ( BuildInfo n ) : bool
n BuildInfo
리턴 bool

CreateSizePartFromFile() 공개 정적인 메소드

public static CreateSizePartFromFile ( string filename, string fileFullPath ) : BuildReportTool.SizePart
filename string
fileFullPath string
리턴 BuildReportTool.SizePart

DeleteSizePartFile() 공개 정적인 메소드

public static DeleteSizePartFile ( SizePart file ) : void
file SizePart
리턴 void

DoesFileBeginWith() 공개 정적인 메소드

public static DoesFileBeginWith ( string filepath, string stringToCheck ) : bool
filepath string
stringToCheck string
리턴 bool

FileHasContents() 공개 정적인 메소드

public static FileHasContents ( string filepath, string contents ) : bool
filepath string
contents string
리턴 bool

FindAssetFolder() 공개 정적인 메소드

public static FindAssetFolder ( string folderToStart, string desiredFolderName ) : string
folderToStart string
desiredFolderName string
리턴 string

GetAllScenesUsedInProject() 공개 정적인 메소드

public static GetAllScenesUsedInProject ( ) : string[]
리턴 string[]

GetApproxSizeFromString() 공개 정적인 메소드

public static GetApproxSizeFromString ( string size ) : double
size string
리턴 double

GetBuildManagedFolder() 공개 정적인 메소드

public static GetBuildManagedFolder ( string buildFilePath ) : string
buildFilePath string
리턴 string

GetBuildPlatformBasedOnUnityBuildTarget() 공개 정적인 메소드

public static GetBuildPlatformBasedOnUnityBuildTarget ( BuildTarget b ) : BuildPlatform
b BuildTarget
리턴 BuildPlatform

GetBytesReadable() 공개 정적인 메소드

public static GetBytesReadable ( double bytes ) : string
bytes double
리턴 string

GetFileSizeInBytes() 공개 정적인 메소드

public static GetFileSizeInBytes ( string filename ) : int
filename string
리턴 int

GetFileSizeReadable() 공개 정적인 메소드

public static GetFileSizeReadable ( string filename ) : string
filename string
리턴 string

GetFolderSizeInBytes() 공개 정적인 메소드

public static GetFolderSizeInBytes ( string folderPath ) : double
folderPath string
리턴 double

GetFolderSizeReadable() 공개 정적인 메소드

public static GetFolderSizeReadable ( string folderPath ) : string
folderPath string
리턴 string

GetObbSizeInEclipseProject() 공개 정적인 메소드

public static GetObbSizeInEclipseProject ( string eclipseProjectPath ) : double
eclipseProjectPath string
리턴 double

GetObbSizeInEclipseProjectReadable() 공개 정적인 메소드

public static GetObbSizeInEclipseProjectReadable ( string eclipseProjectPath ) : string
eclipseProjectPath string
리턴 string

GetPackageFileContents() 공개 정적인 메소드

public static GetPackageFileContents ( string filename ) : string
filename string
리턴 string

GetPathSizeInBytes() 공개 정적인 메소드

public static GetPathSizeInBytes ( string fileOrFolder ) : double
fileOrFolder string
리턴 double

GetPathSizeReadable() 공개 정적인 메소드

public static GetPathSizeReadable ( string fileOrFolder ) : string
fileOrFolder string
리턴 string

GetProjectName() 공개 정적인 메소드

public static GetProjectName ( string projectAssetsFolderPath ) : string
projectAssetsFolderPath string
리턴 string

GetStreamingAssetsSizeReadable() 공개 정적인 메소드

public static GetStreamingAssetsSizeReadable ( ) : string
리턴 string

GetTextFileContents() 공개 정적인 메소드

public static GetTextFileContents ( string file ) : string
file string
리턴 string

GetUserHomeFolder() 공개 정적인 메소드

public static GetUserHomeFolder ( ) : string
리턴 string

HaveToUseSystemForDelete() 공개 정적인 메소드

public static HaveToUseSystemForDelete ( string file ) : bool
file string
리턴 bool

IsAScriptDLL() 공개 정적인 메소드

public static IsAScriptDLL ( string filename ) : bool
filename string
리턴 bool

IsFileAUnixHiddenFile() 공개 정적인 메소드

public static IsFileAUnixHiddenFile ( string filepath ) : bool
filepath string
리턴 bool

IsFileInAPath() 공개 정적인 메소드

public static IsFileInAPath ( string filepath, string pathToCheck ) : bool
filepath string
pathToCheck string
리턴 bool

IsFileInBuildReportFolder() 공개 정적인 메소드

public static IsFileInBuildReportFolder ( string filepath ) : bool
filepath string
리턴 bool

IsFileInEditorFolder() 공개 정적인 메소드

public static IsFileInEditorFolder ( string filepath ) : bool
filepath string
리턴 bool

IsFileInVersionControlMetadataFolder() 공개 정적인 메소드

public static IsFileInVersionControlMetadataFolder ( string filepath ) : bool
filepath string
리턴 bool

IsFileName() 공개 정적인 메소드

public static IsFileName ( string filepath, string filenameToCheck ) : bool
filepath string
filenameToCheck string
리턴 bool

IsFileOfType() 공개 정적인 메소드

public static IsFileOfType ( string filepath, string typeExtenstion ) : bool
filepath string
typeExtenstion string
리턴 bool

IsFileOkForDeleteAllOperation() 공개 정적인 메소드

public static IsFileOkForDeleteAllOperation ( string filepath ) : bool
filepath string
리턴 bool

IsUselessFile() 공개 정적인 메소드

public static IsUselessFile ( string filepath ) : bool
filepath string
리턴 bool

MyHtmlDecode() 공개 정적인 메소드

public static MyHtmlDecode ( string input ) : string
input string
리턴 string

OpenInFileBrowser() 공개 정적인 메소드

public static OpenInFileBrowser ( string path ) : void
path string
리턴 void

OpenInFileBrowserTest() 공개 정적인 메소드

public static OpenInFileBrowserTest ( ) : void
리턴 void

OpenInMacFileBrowser() 공개 정적인 메소드

public static OpenInMacFileBrowser ( string path ) : void
path string
리턴 void

OpenInWinFileBrowser() 공개 정적인 메소드

public static OpenInWinFileBrowser ( string path ) : void
path string
리턴 void

OpenSerializedBuildInfo() 공개 정적인 메소드

public static OpenSerializedBuildInfo ( string serializedBuildInfoFilePath, bool fromMainThread = true ) : BuildInfo
serializedBuildInfoFilePath string
fromMainThread bool
리턴 BuildInfo

RemovePrefix() 공개 정적인 메소드

public static RemovePrefix ( string prefix, string val ) : string
prefix string
val string
리턴 string

RemoveSuffix() 공개 정적인 메소드

public static RemoveSuffix ( string suffix, string val, int offset ) : string
suffix string
val string
offset int
리턴 string

ReplaceFileType() 공개 정적인 메소드

public static ReplaceFileType ( string filename, string newFileType ) : string
filename string
newFileType string
리턴 string

SerializeBuildInfo() 공개 정적인 메소드

public static SerializeBuildInfo ( BuildInfo buildInfo, string serializedBuildInfoFilePath ) : void
buildInfo BuildInfo
serializedBuildInfoFilePath string
리턴 void

SerializeBuildInfoAtFolder() 공개 정적인 메소드

public static SerializeBuildInfoAtFolder ( BuildInfo buildInfo, string pathToSave ) : void
buildInfo BuildInfo
pathToSave string
리턴 void

ShowFileDeleteProgress() 공개 정적인 메소드

public static ShowFileDeleteProgress ( int deletedSoFar, int totalToDelete, string filepath, bool showRecoverableMsg ) : bool
deletedSoFar int
totalToDelete int
filepath string
showRecoverableMsg bool
리턴 bool