Aura.Channel.World.Region.GetClientEvent C# (CSharp) Method

GetClientEvent() public method

Returns first event that matches the predicate.
public GetClientEvent ( bool>.Func predicate ) : Aura.Channel.World.Entities.ClientEvent
predicate bool>.Func
return Aura.Channel.World.Entities.ClientEvent
		public ClientEvent GetClientEvent(Func<ClientEvent, bool> predicate)
		{
			_clientEventsRWLS.EnterReadLock();
			try
			{
				return _clientEvents.Values.FirstOrDefault(predicate);
			}
			finally
			{
				_clientEventsRWLS.ExitReadLock();
			}
		}

Same methods

Region::GetClientEvent ( long eventId ) : Aura.Channel.World.Entities.ClientEvent
Region::GetClientEvent ( string eventName ) : Aura.Channel.World.Entities.ClientEvent