 fd4589d8df
			
		
	
	
		fd4589d8df
		
			
		
	
	
	
	
		
			
			# Objective - Current config file is hard to extend ## Solution - Instead of an hard coded list of field, the file now has a list of `(frame, event)`, and will deal with know events (exiting or taking a screenshot), or send an event for others that can be dealt by third party plugins
		
			
				
	
	
		
			10 lines
		
	
	
		
			127 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			127 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| (
 | |
|     setup: (
 | |
|         frame_time: Some(0.03),
 | |
|     ),
 | |
|     events: [
 | |
|         (100, Screenshot),
 | |
|         (300, AppExit),
 | |
|     ]
 | |
| )
 |