Skip to content

Private variables #163

@dark22

Description

@dark22

With the update, some things were made private, is there any plan from OTAPI to make them public again? Otherwise, what would be the best approach when updating existing plugins. Thanks!

Main.worldID = someworldid;
CS0200: Property or indexer 'property' cannot be assigned to -- it is read only
Main.chest[index].x = 0;
Main.chest[index].y = 0;
CS0191: A readonly field cannot be assigned to (except in a constructor or init-only setter of the type in which the field is defined or a variable initializer)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions