Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
ComponentResourceManager () | |
ComponentResourceManager (Type t) | |
void | ApplyResources (object value, string objectName) |
virtual void | ApplyResources (object value, string objectName, CultureInfo? culture) |
virtual void | ReleaseAllResources () |
virtual ? ResourceSet | GetResourceSet (CultureInfo culture, bool createIfNotExists, bool tryParents) |
virtual ? string | GetString (string name) |
virtual ? string | GetString (string name, CultureInfo? culture) |
virtual ? object | GetObject (string name) |
virtual ? object | GetObject (string name, CultureInfo? culture) |
UnmanagedMemoryStream? | GetStream (string name) |
UnmanagedMemoryStream? | GetStream (string name, CultureInfo? culture) |
Static Public Member Functions | |
static ResourceManager | CreateFileBasedResourceManager (string baseName, string resourceDir, [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors)] Type? usingResourceSet) |
Static Public Attributes | |
static readonly int | MagicNumber = -1091581234 |
static readonly int | HeaderVersionNumber = 1 |
Protected Member Functions | |
virtual string | GetResourceFileName (CultureInfo culture) |
virtual ? ResourceSet | InternalGetResourceSet (CultureInfo culture, bool createIfNotExists, bool tryParents) |
Static Protected Member Functions | |
static ? Version | GetSatelliteContractVersion (Assembly a) |
static CultureInfo | GetNeutralResourcesLanguage (Assembly a) |
Protected Attributes | |
string | BaseNameField |
Assembly? | MainAssembly |
Package Functions | |
ResourceSet | GetFirstResourceSet (CultureInfo culture) |
Static Package Functions | |
static bool | IsDefaultType (string asmTypeName, string typeName) |
Properties | |
CultureInfo? | NeutralResourcesCulture [get] |
virtual string | BaseName [get] |
virtual bool | IgnoreCase [get, set] |
virtual Type | ResourceSetType [get] |
UltimateResourceFallbackLocation | FallbackLocation [get, set] |
Private Member Functions | |
SortedList< string, object > | FillResources (CultureInfo culture, out ResourceSet resourceSet) |
void | CommonAssemblyInit () |
object | GetObject (string name, CultureInfo culture, bool wrapUnmanagedMemStream) |
Static Private Member Functions | |
static void | AddResourceSet (Dictionary< string, ResourceSet > localResourceSets, string cultureName, ref ResourceSet rs) |
Private Attributes | |
Hashtable | _resourceSets |
CultureInfo | _neutralResourcesCulture |
readonly string | _moduleDir |
readonly Type | _locationInfo |
readonly Type | _userResourceSet |
CultureNameResourceSetPair | _lastUsedResourceCache |
bool | _ignoreCase |
bool | _useManifest |
UltimateResourceFallbackLocation | _fallbackLoc |
Version | _satelliteContractVersion |
bool | _lookedForSatelliteContractVersion |
IResourceGroveler | _resourceGroveler |
Static Private Attributes | |
static readonly Type | s_minResourceSet = typeof(ResourceSet) |
Definition at line 10 of file ComponentResourceManager.cs.