Vixen
02b45cc4
csharp
public enum DisconnectBehaviour

What becomes of an object when the player who owned it goes away.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (3)

  • Destroy

    It goes with them. A player's avatar, usually.

  • TransferToServer

    The server takes it. The safe default: an object nobody owns still obeys the server, where one owned by a player who is gone obeys nothing.

  • Persist

    It keeps its owner, so the same player resumes it when they reconnect. Only meaningful inside the session's reconnect window, and paired with it.

Used by (4)

  • DisconnectActionVixen.Net
  • NetworkRulesVixen.Net
  • NetworkRulesRegistryVixen.Net
  • NetworkRulesTestsVixen.Net.Tests