8 protected string FALLBACK_ERROR =
"#AR-Password_FailMessage";
9 protected string FALLBACK_TIMEOUT =
"#AR-Password_TimeoutMessage";
11 protected Room m_Room;
29 return m_OnFailVerification;
40 dialog.m_OnConfirm.Insert(OnPasswordConfirm);
47 editDialog.SetWarningMessage(message);
51 protected void InitCheck()
59 m_Callback.GetEventOnResponse().Insert(OnPasswordCheckResponse);
63 void CheckRejoinAuthorization(Room room)
67 Debug.Error(
"Room instance expected! Null found in room");
79 protected void OnPasswordConfirm()
83 Debug.Error(
"Room instance expected! Null found in m_Room");
92 string value = editboxDialog.GetEditbox().GetValue();
115 m_OnVerified.Invoke(
m_Room);
122 m_OnFailVerification.Invoke(FALLBACK_ERROR);
129 m_OnFailVerification.Invoke(FALLBACK_TIMEOUT);
136 protected void ClearInvokers()
138 m_Callback.GetEventOnResponse().Remove(OnPasswordCheckResponse);
139 if(m_Dialog && m_Dialog.m_OnConfirm)
140 m_Dialog.m_OnConfirm.Remove(OnPasswordConfirm);