Class CustomEvents
Inherited Members
Namespace: RageCoop.Core.Scripting
Assembly: RageCoop.Core.dll
Syntax
public static class CustomEvents
Methods
Hash(String)
Get a Int32 hash of a string.
Declaration
public static int Hash(string s)
Parameters
| Type | Name | Description |
|---|---|---|
| String | s |
Returns
| Type | Description |
|---|---|
| Int32 |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | The exception is thrown when the name did not match a previously computed one and the hash was the same. |