How xenepherth/networkzones works
Main System Components
• Network Manager (Core)
• Network Zones
• Zone Portals
• Persistence Layer
• Scene Management
• Player Management
Components (Use Rectangles)
• NetworkManager (Central)
• NetworkZone (Multiple instances)
• NetworkZonePortal
• DontDestroyOnLoad Components
• Scene References
• Active Zones (Green)
• Inactive Zones (Gray)
• Transition States (Yellow)
Data Flow
• Player Transfer
• Scene Loading
• State Synchronization
Special Considerations:
Multi-Process Architecture
• Separate process instances for different zones
• Server-only vs. client instances
• Inter-process communication
Persistence
• Database connections (SQLite/MySQL)
• Data synchronization between zones
Networking
• Network boundaries
• Client-server communication
• Potential future chat server integration
• Abbreviations
• Connection types
• Document process boundaries
Level of Detail:
• Keep high-level architecture visible
• Critical implementation details
• System boundaries
• Maintain clarity in component relationships
Player state management
Remember to indicate current limitations:
• Cross-zone chat functionality
• Database concurrency considerations
• Scene management dependencies