AnimationsScriptBuilder.

AddHashConstant(TypeBuilder, Dictionary<int, FieldBuilder>, string, int, int) Method

Summary

Adds a const int field containing the `hash` value.
Assembly
Weaver.dll
Namespace
Weaver.Editor.Procedural
Containing Type
AnimationsScriptBuilder

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<int, FieldBuilder>
nameSource string
hash int
region int

Return Value

Type Description
FieldBuilder