Class CommandGenerator | Unity NetCode | 0.5.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Class CommandGenerator

    Inheritance
    Object
    CommandGenerator
    Namespace: Unity.NetCode.Editor
    Syntax
    public class CommandGenerator

    Constructors

    CommandGenerator(CodeGenerator.Context, CommandGenerator.Type)

    Declaration
    public CommandGenerator(CodeGenerator.Context context, CommandGenerator.Type t)
    Parameters
    Type Name Description
    CodeGenerator.Context context
    CommandGenerator.Type t

    CommandGenerator(CodeGenerator.Context, CommandGenerator.Type, TypeInformation)

    Declaration
    public CommandGenerator(CodeGenerator.Context context, CommandGenerator.Type t, TypeInformation information)
    Parameters
    Type Name Description
    CodeGenerator.Context context
    CommandGenerator.Type t
    TypeInformation information

    CommandGenerator(CodeGenerator.Context, CommandGenerator.Type, TypeInformation, TypeTemplate)

    Declaration
    public CommandGenerator(CodeGenerator.Context context, CommandGenerator.Type t, TypeInformation information, TypeTemplate template)
    Parameters
    Type Name Description
    CodeGenerator.Context context
    CommandGenerator.Type t
    TypeInformation information
    TypeTemplate template

    Properties

    CommandType

    Declaration
    public CommandGenerator.Type CommandType { get; }
    Property Value
    Type Description
    CommandGenerator.Type

    Composite

    Declaration
    public bool Composite { get; }
    Property Value
    Type Description
    Boolean

    TypeInformation

    Declaration
    public TypeInformation TypeInformation { get; }
    Property Value
    Type Description
    TypeInformation

    Methods

    AppendTarget(CommandGenerator)

    Declaration
    public void AppendTarget(CommandGenerator typeGenerator)
    Parameters
    Type Name Description
    CommandGenerator typeGenerator

    GenerateFields(CodeGenerator.Context, String)

    Declaration
    public void GenerateFields(CodeGenerator.Context context, string parent = null)
    Parameters
    Type Name Description
    CodeGenerator.Context context
    String parent

    GenerateSerializer(CodeGenerator.Context, Mono.Cecil.TypeDefinition)

    Declaration
    public void GenerateSerializer(CodeGenerator.Context context, Mono.Cecil.TypeDefinition typeDefinition)
    Parameters
    Type Name Description
    CodeGenerator.Context context
    Mono.Cecil.TypeDefinition typeDefinition

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023