mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	 3334209a73
			
		
	
	
		3334209a73
		
	
	
	
	
		
			
			This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			279 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			279 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| def can_build(env, platform):
 | |
|     return True
 | |
| 
 | |
| def configure(env):
 | |
|     pass
 | |
| 
 | |
| def get_doc_classes():
 | |
|     return [
 | |
|         "WebSocketClient",
 | |
|         "WebSocketMultiplayerPeer",
 | |
|         "WebSocketPeer",
 | |
|         "WebSocketServer"
 | |
|     ]
 | |
| 
 | |
| def get_doc_path():
 | |
|     return "doc_classes"
 |