private void _OnLeave(CHAT_ERROR_TYPE errorType, string userId) { if (this.onLeave != null) { this.onLeave(errorType, userId); } }
private void _OnJoin(CHAT_ERROR_TYPE errorType, string userId) { if (this.onJoin != null) { this.onJoin(errorType, userId); } }
private void _OnJoinClan(CHAT_ERROR_TYPE errorType, bool isOwner, string userId) { if (this.onJoinClan != null) { this.onJoinClan(errorType, isOwner, userId); } }
private void _OnJoin(CHAT_ERROR_TYPE errorType) { if (this.onJoin != null) { this.onJoin(errorType); } }
private void OnLeaveClanChat(CHAT_ERROR_TYPE errorType, string userId) { int item = int.Parse(userId); if (status.Contains(item)) { status.Remove(item); RefreshUI(); } }
private void OnJoinClanChat(CHAT_ERROR_TYPE errorType, string userId) { int item = int.Parse(userId); if (!status.Contains(item)) { status.Add(item); RefreshUI(); } }
private void _OnLeave(CHAT_ERROR_TYPE errorType, string userId) { }
protected void SetErrorType(string errorCode) { int num = (int)(m_ErrorType = (CHAT_ERROR_TYPE)int.Parse(errorCode)); }