Developer Documentation
Our new developer documentation is now available. Please check it out!

OdinRoom.ConnectionStatusState

public virtual void ConnectionStatusState(object sender, ConnectionStateChangedEventArgs status)

Check status if the room should destroy the gameobject

Info

Any room can not recover from a "Closed" state and will destroy the gameobject.

Parameters

NameTypeDescription
senderObjectOdinRoom object
statusConnectionStateChangedEventArgsnew status