C# Class XNAConverter.XNBBuilder

Inheritance: BuildContent
Datei anzeigen Open project: blendogames/xnb_watcher

Public Properties

Property Type Description
BuildAudioAsSongs bool
BuildAudioAsSoundEffects bool
buildEngine XNAConverter.BuildEngine

Public Methods

Method Description
GetErrors ( ) : List

Returns a list of the errors recorded while processing files.

PackageContent ( Array fileNames, string outputDirectory, bool shouldLog, string rootDirectory, List &errorArray, List &outputFiles, bool &buildStatus ) : string[]

Package content to a specified directory

XNBBuilder ( ) : System

Create a new XNBBuilder. Will default to uncompressed content, compiled to the "Windows" platform, and the "Reach" profile.

XNBBuilder ( bool CompressContent ) : System

Create a new XNBBuilder. Will default to being compiled to the "Windows" platform, and the "Reach" profile.

XNBBuilder ( string targetPlatform, string targetProfile, bool CompressContent ) : System

Create a new XNBBuilder with platform, profile, and compression left to the programmer.

Method Details

GetErrors() public method

Returns a list of the errors recorded while processing files.
public GetErrors ( ) : List
return List

PackageContent() public method

Package content to a specified directory
public PackageContent ( Array fileNames, string outputDirectory, bool shouldLog, string rootDirectory, List &errorArray, List &outputFiles, bool &buildStatus ) : string[]
fileNames Array A list of file names to be processed.
outputDirectory string The location to output the processed files.
shouldLog bool Whether or not the program should log the build.
rootDirectory string The root directory of the content to be built.
errorArray List
outputFiles List
buildStatus bool The final status of the build.
return string[]

XNBBuilder() public method

Create a new XNBBuilder. Will default to uncompressed content, compiled to the "Windows" platform, and the "Reach" profile.
public XNBBuilder ( ) : System
return System

XNBBuilder() public method

Create a new XNBBuilder. Will default to being compiled to the "Windows" platform, and the "Reach" profile.
public XNBBuilder ( bool CompressContent ) : System
CompressContent bool True for compressed content, false for uncompressed content
return System

XNBBuilder() public method

Create a new XNBBuilder with platform, profile, and compression left to the programmer.
public XNBBuilder ( string targetPlatform, string targetProfile, bool CompressContent ) : System
targetPlatform string The target platform: Windows, XBox360, or WindowsPhone
targetProfile string The target profile: Reach, or HiDef
CompressContent bool True for compressed content, false for uncompressed content
return System

Property Details

BuildAudioAsSongs public_oe property

public bool BuildAudioAsSongs
return bool

BuildAudioAsSoundEffects public_oe property

public bool BuildAudioAsSoundEffects
return bool

buildEngine public_oe property

public BuildEngine,XNAConverter buildEngine
return XNAConverter.BuildEngine