Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

Header

public sealed class Header : pb::IMessage<Header>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage

Inherits from Google.Protobuf.IMessage`1

Implements Google.Protobuf.IBufferMessage

#Constructors

public Header()

#Header(Header)

public Header(Header other)

Parameters

#Fields

#KeyFieldNumber

Field number for the "key" field.
public const int KeyFieldNumber = 1;

Type Int32

#ValueFieldNumber

Field number for the "value" field.
public const int ValueFieldNumber = 2;

Type Int32

#Properties

#Descriptor

public static pbr::MessageDescriptor Descriptor { get; }

Type MessageDescriptor

#Key

The name of the header.
public string Key { get; set; }

Type String

#Parser

public static pb::MessageParser<Header> Parser { get; }

Type MessageParser

#Value

The value of the header.
public string Value { get; set; }

Type String

#Methods

#CalculateSize()

public int CalculateSize()

Returns Int32

#Clone()

public Header Clone()

Returns Header

#Equals(Header)

public bool Equals(Header other)

Parameters

Returns Boolean

#Equals(object)

public override bool Equals(object other)

Parameters

  • otherobject

Returns Boolean

#GetHashCode()

public override int GetHashCode()

Returns Int32

#MergeFrom(Header)

public void MergeFrom(Header other)

Parameters

#MergeFrom(pb::CodedInputStream)

public void MergeFrom(pb::CodedInputStream input)

Parameters

  • inputGoogle.Protobuf.CodedInputStream

#ToString()

public override string ToString()

Returns String

#WriteTo(pb::CodedOutputStream)

public void WriteTo(pb::CodedOutputStream output)

Parameters

  • outputGoogle.Protobuf.CodedOutputStream

Generated from Yarn Spinner for Unity 3.3.