Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TypeSpecification.cs
Go to the documentation of this file.
2
4
5public readonly struct TypeSpecification
6{
7 private readonly MetadataReader _reader;
8
9 private readonly int _rowId;
10
12
14
16 {
17 _reader = reader;
18 _rowId = handle.RowId;
19 }
20
22 {
25 return signatureDecoder.DecodeType(ref blobReader);
26 }
27
32}
BlobReader GetBlobReader(BlobHandle handle)
TType DecodeType(ref BlobReader blobReader, bool allowTypeSpecifications=false)
BlobHandle GetSignature(TypeSpecificationHandle handle)
static TypeSpecificationHandle FromRowId(int rowId)
TypeSpecification(MetadataReader reader, TypeSpecificationHandle handle)
TType DecodeSignature< TType, TGenericContext >(ISignatureTypeProvider< TType, TGenericContext > provider, TGenericContext genericContext)
CustomAttributeHandleCollection GetCustomAttributes()