Use composition mode for GameMode and Map#923
Use composition mode for GameMode and Map#923SadPencil wants to merge 2 commits intoCnCNet:developfrom
Conversation
|
@Metadorius Is this what composition mode for? If so I think it is so dumb to copy-paste the boilerplate code twice |
|
Nightly build for this pull request:
|
I didn't mean you should "forward" things like this. Just write |
This is ugly because we have Even defining an interface for CommonConfig does not solve this issue since xna-cncnet-client/DXMainClient/Domain/Multiplayer/GameModeMap.cs Lines 76 to 85 in f1c2136 |
solution: make a CommonConfig.Merge method that would return a merged config that you reference instead of individual things |
What do you mean? A CommonConfig and a MergedCommonConfig class? if not, how to make a different nullability? |

Previously on PR 719: