Свойство | Type | Description | |
---|---|---|---|
Instance |
Méthode | Description | |
---|---|---|
AddResource ( string resource_name, object resource ) : int | ||
AddResourceDirect ( IResource resource ) : void | ||
ClearResources ( ) : void | ||
ContainsName ( string name ) : bool | ||
GetResourceByName ( string name ) : IResource | ||
IndexOfResource ( IResource resource ) : int | ||
InsertResourceDirect ( int index, IResource resource ) : void | ||
ItemsAsArray ( ResourceType resourceType ) : object[] | ||
RemoveResource ( IResource resource ) : void | ||
RenameResource ( IResource resource, string new_name ) : void | ||
ReplaceResource ( IResource old_resource, IResource new_resource ) : void | ||
UniqueResourceName ( string pre ) : string |
public AddResource ( string resource_name, object resource ) : int | ||
resource_name | string | |
resource | object | |
Résultat | int |
public AddResourceDirect ( IResource resource ) : void | ||
resource | IResource | |
Résultat | void |
public GetResourceByName ( string name ) : IResource | ||
name | string | |
Résultat | IResource |
public IndexOfResource ( IResource resource ) : int | ||
resource | IResource | |
Résultat | int |
public InsertResourceDirect ( int index, IResource resource ) : void | ||
index | int | |
resource | IResource | |
Résultat | void |
public ItemsAsArray ( ResourceType resourceType ) : object[] | ||
resourceType | ResourceType | |
Résultat | object[] |
public RemoveResource ( IResource resource ) : void | ||
resource | IResource | |
Résultat | void |
public RenameResource ( IResource resource, string new_name ) : void | ||
resource | IResource | |
new_name | string | |
Résultat | void |
public ReplaceResource ( IResource old_resource, IResource new_resource ) : void | ||
old_resource | IResource | |
new_resource | IResource | |
Résultat | void |
public UniqueResourceName ( string pre ) : string | ||
pre | string | |
Résultat | string |