Summary
Adds a
const int field containing the `hash` value.- Assembly
- Weaver
.dll - Namespace
- Weaver
.Editor .Procedural - Containing Type
- Animations
Script Builder
Syntax
public static FieldBuilder AddHashConstant(TypeBuilder type, Dictionary<int, FieldBuilder> hashToField, string nameSource, int hash, int region)
Parameters
| Name | Type | Description |
|---|---|---|
| type | TypeBuilder | |
| hashToField | Dictionary |
|
| nameSource | string | |
| hash | int | |
| region | int |
Return Value
| Type | Description |
|---|---|
| FieldBuilder |