Example #1
0
        protected virtual void OnLeaveRoom(LeaveRoomEventArgs args)
        {
            var func = LeaveRoom;

            if (func != null)
            {
                func(this, args);
            }
        }
Example #2
0
 protected virtual void OnLeaveRoom(LeaveRoomEventArgs args)
 {
     var func = LeaveRoom;
     if (func != null)
     {
         func(this, args);
     }
 }
Example #3
0
 void EngineLeaveRoom(object sender, LeaveRoomEventArgs e)
 {
     RoomManager.RemoveRoom(e.RoomId);
 }