Property | Type | Description | |
---|---|---|---|
AddItem | void | ||
AddItem | void | ||
FileManager | System | ||
GenerateHash | byte[] | ||
GetFileList | IEnumerable |
||
GrabItem | Stream | ||
GrabItem | Stream | ||
GrabItem | object | ||
IsBMP | bool | ||
IsUTK | bool | ||
LoadAllArchives | void |
Method | Description | |
---|---|---|
GetAnimation ( ulong AssetID ) : |
Gets a Anim instance from the FileManager.
|
|
GetAppearance ( ulong AssetID ) : |
Gets an Appearance instance from the FileManager.
|
|
GetBinding ( ulong AssetID ) : Binding |
Gets an Binding instance from the FileManager.
|
|
GetBindings ( List |
Gets an array of Binding instances.
|
|
GetCollection ( ulong AssetID ) : |
Gets an Collection instance from the FileManager.
|
|
GetHLS ( uint ID ) : |
Gets an HLS instance from the FileManager.
|
|
GetHandgroup ( ulong AssetID ) : |
Gets an Handgroup instance from the FileManager.
|
|
GetIFF ( string Filename ) : |
Gets an IFF instance from the FileManager.
|
|
GetMesh ( ulong AssetID ) : |
Gets a Mesh instance from the FileManager.
|
|
GetOutfit ( ulong AssetID ) : |
Gets an Outfit instance from the FileManager.
|
|
GetPurchasableOutfit ( ulong AssetID ) : |
Gets an PurchasableOutfit instance from the FileManager.
|
|
GetSkeleton ( ulong AssetID ) : |
Gets an Skeleton instance from the FileManager.
|
|
GetSound ( uint ID ) : ISoundCodec |
Gets a sound (XA or UTK) from the FileManager.
|
|
GetTRK ( uint ID ) : |
Gets an TRK instance from the FileManager.
|
|
GetTexture ( ulong AssetID, bool IsTGA = false ) : Microsoft.Xna.Framework.Graphics.Texture2D |
Gets an Texture2D instance from the FileManager.
|
|
Initialize ( Microsoft.Xna.Framework.Game G, string StartupDir ) : void |
Initializes the FileManager.
|
|
TrackExists ( uint ID ) : bool |
Attempts to figure out if a track exists in the FileManager.
|
Method | Description | |
---|---|---|
AddItem ( string Filename, |
Adds an asset to the FileManager's cache. This method should not be used directly.
|
|
AddItem ( ulong ID, |
||
FileManager ( ) : System | ||
GenerateHash ( string Filename ) : byte[] | ||
GetFileList ( string fileSearchPattern, string rootFolderPath ) : IEnumerable |
||
GrabItem ( string Filename ) : Stream |
Returns a Stream instance with data from the specified item.
|
|
GrabItem ( ulong ID, FAR3TypeIDs TypeID ) : Stream |
Returns a Stream instance with data from the specified item.
|
|
GrabItem ( uint ID, TypeIDs TypeID ) : object |
Returns a Stream instance with data from the specified item.
|
|
IsBMP ( Stream Data ) : bool |
Checks if the supplied data is a BMP.
|
|
IsUTK ( Stream Data ) : bool |
Checks if the supplied data is a BMP.
|
|
LoadAllArchives ( ) : void |
Loads all archives into memory.
|
public static GetAnimation ( ulong AssetID ) : |
||
AssetID | ulong | The FileID/InstanceID of the animation to get. |
return |
public static GetAppearance ( ulong AssetID ) : |
||
AssetID | ulong | The FileID/InstanceID of the Appearance to get. |
return |
public static GetBinding ( ulong AssetID ) : Binding | ||
AssetID | ulong | The FileID/InstanceID of the Binding to get. |
return | Binding |
public static GetBindings ( List |
||
BindingIDs | List |
A List<> of IDs of bindings. |
return | Binding[] |
public static GetCollection ( ulong AssetID ) : |
||
AssetID | ulong | The FileID/InstanceID of the Collection to get. |
return |
public static GetHLS ( uint ID ) : |
||
ID | uint | The FileID/InstanceID of the hitlist to get. |
return |
public static GetHandgroup ( ulong AssetID ) : |
||
AssetID | ulong | The FileID/InstanceID of the Handgroup to get. |
return |
public static GetIFF ( string Filename ) : |
||
Filename | string | The FileID/InstanceID of the IFF to get. |
return |
public static GetMesh ( ulong AssetID ) : |
||
AssetID | ulong | The FileID/InstanceID of the mesh to get. |
return |
public static GetOutfit ( ulong AssetID ) : |
||
AssetID | ulong | ID of the outfit to get. |
return |
public static GetPurchasableOutfit ( ulong AssetID ) : |
||
AssetID | ulong | ID of the outfit to get. |
return |
public static GetSkeleton ( ulong AssetID ) : |
||
AssetID | ulong | The FileID/InstanceID of the skeleton to get. |
return |
public static GetSound ( uint ID ) : ISoundCodec | ||
ID | uint | The FileID/InstanceID of the sound to get. |
return | ISoundCodec |
public static GetTRK ( uint ID ) : |
||
ID | uint | The FileID/InstanceID of the track to get. |
return |
public static GetTexture ( ulong AssetID, bool IsTGA = false ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
AssetID | ulong | The FileID/InstanceID of the texture to get. |
IsTGA | bool | Do you know ahead of time that the resource is a TGA? /// Set this to true to avoid a lot of try/catch branches. |
return | Microsoft.Xna.Framework.Graphics.Texture2D |
public static Initialize ( Microsoft.Xna.Framework.Game G, string StartupDir ) : void | ||
G | Microsoft.Xna.Framework.Game | A Game instance. |
StartupDir | string | Path of the directory where game has its resources. |
return | void |
public static TrackExists ( uint ID ) : bool | ||
ID | uint | ID of the track. |
return | bool |