Search Results for

    Show / Hide Table of Contents

    Class EntityDisguise

    Holds a disguised entity

    Inheritance
    System.Object
    EntityDisguise
    Namespace: OpenAPI.Entities
    Assembly: OpenAPI.dll
    Syntax
    public class EntityDisguise : object

    Constructors

    | Improve this Doc View Source

    EntityDisguise(Entity, Entity)

    Declaration
    public EntityDisguise(Entity parent, Entity disguise)
    Parameters
    Type Name Description
    Entity parent
    Entity disguise

    Properties

    | Improve this Doc View Source

    Disguise

    The entity to disguise as

    Declaration
    public Entity Disguise { get; }
    Property Value
    Type Description
    Entity
    | Improve this Doc View Source

    Parent

    The disguised entity

    Declaration
    public Entity Parent { get; }
    Property Value
    Type Description
    Entity
    | Improve this Doc View Source

    PositionOffset

    The offset from the Parent entity.

    Declaration
    public Vector3 PositionOffset { get; set; }
    Property Value
    Type Description
    Vector3
    | Improve this Doc View Source

    SpawnToSelf

    Should disguise be visible to Parent

    Declaration
    public bool SpawnToSelf { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    DespawnDisguise()

    Declaration
    public void DespawnDisguise()
    | Improve this Doc View Source

    DespawnFromPlayers(MiNET.Player[])

    Declaration
    public void DespawnFromPlayers(MiNET.Player[] players)
    Parameters
    Type Name Description
    MiNET.Player[] players
    | Improve this Doc View Source

    SpawnDisguise()

    Declaration
    public void SpawnDisguise()
    | Improve this Doc View Source

    SpawnToPlayers(MiNET.Player[])

    Declaration
    public void SpawnToPlayers(MiNET.Player[] players)
    Parameters
    Type Name Description
    MiNET.Player[] players
    | Improve this Doc View Source

    Tick()

    Declaration
    public void Tick()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX