State #Gets the current connection state.Signature #State() intReturn #The current connection state, values can be from the State enum:Connecting Disconnected Connected Initializing Ready Logged_out Error Offline