Method | Description | |
---|---|---|
FindHashByName ( string name, List |
Finds hash from texture name given list of PCC's and ExpID's.
|
|
FormatTexmodHashAsString ( uint hash ) : string |
Returns hash as a string in the 0xhash format.
|
|
FormatTexmodHashAsUint ( string line ) : uint |
Returns a uint of a hash in string format.
|
|
GetExternalData ( string file ) : byte[] |
Gets external image data as byte[] with some buffering i.e. retries if fails up to 20 times.
|
|
ParseFormat ( string formatString ) : ImageEngineFormat | ||
StringifyFormat ( ImageEngineFormat format ) : string |
public static FindHashByName ( string name, List |
||
name | string | Name of texture. |
Files | List |
List of PCC's to search with. |
IDs | List |
List of ExpID's to search with. |
TreeTexes | List |
List of tree textures to search through. |
return | uint |
public static FormatTexmodHashAsString ( uint hash ) : string | ||
hash | uint | Hash as a uint. |
return | string |
public static FormatTexmodHashAsUint ( string line ) : uint | ||
line | string | String containing hash in texmod log format of name|0xhash. |
return | uint |
public static GetExternalData ( string file ) : byte[] | ||
file | string | File to get data from. |
return | byte[] |
public static ParseFormat ( string formatString ) : ImageEngineFormat | ||
formatString | string | |
return | ImageEngineFormat |
public static StringifyFormat ( ImageEngineFormat format ) : string | ||
format | ImageEngineFormat | |
return | string |