Class ClientResource
Inherited Members
Namespace: RageCoop.Client.Scripting
Assembly: RageCoop.Client.dll
Syntax
public class ClientResource
Properties
DataFolder
A resource-specific folder that can be used to store your files.
Declaration
public string DataFolder { get; }
Property Value
Type | Description |
---|---|
String |
Files
Get the ResourceFile where this script is loaded from.
Declaration
public Dictionary<string, ResourceFile> Files { get; }
Property Value
Type | Description |
---|---|
Dictionary<String, ResourceFile> |
Logger
A Logger instance that can be used to debug your resource.
Declaration
public Logger Logger { get; }
Property Value
Type | Description |
---|---|
Logger |
Name
Name of the resource
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Scripts
Get all ClientScript instance in this resource.
Declaration
public List<ClientScript> Scripts { get; }
Property Value
Type | Description |
---|---|
List<ClientScript> |