import { NamespaceBase } from "https://deno.land/x/steam_trader@v0.4.0/types/protobuf.d.ts";
Base class of all reflection objects containing nested objects. This is not an actual class but here for the sake of having consistent type definitions.
Methods
Gets the values of the nested enum of the specified name.
This methods differs from Namespace#get | get in that it returns an enum's values directly and throws instead of returning null
.
Recursively looks up the reflection object matching the specified path in the scope of this namespace.
Looks up the reflection object at the specified path, relative to this namespace.
Looks up the values of the enum at the specified path, relative to this namespace.
Besides its signature, this methods differs from Namespace#lookup | lookup in that it throws instead of returning null
.
Looks up the service at the specified path, relative to this namespace.
Besides its signature, this methods differs from Namespace#lookup | lookup in that it throws instead of returning null
.
Looks up the type at the specified path, relative to this namespace.
Besides its signature, this methods differs from Namespace#lookup | lookup in that it throws instead of returning null
.
Resolves this namespace's and all its nested objects' type references. Useful to validate a reflection tree, but comes at a cost.
Converts this namespace to a namespace descriptor.