DoubleDeez / MDFramework

A multiplayer C# game framework for Godot 3.4 Mono.
https://discord.gg/UH49eHK
MIT License
77 stars 13 forks source link

Player Initialization Flow & Event #53

Closed DoubleDeez closed 4 years ago

DoubleDeez commented 4 years ago

When a player first joins a server there's generally some initialization that needs to occur both from the player and from the server. (eg. authenticating with a platform, sending desired user name or character, etc).

To help facilitate this flow, MDPlayerInfo should provide hooks (virtual methods) for users to add this initialization logic and an Event on MDGameSession should be fired to notify once initialization has completed (or failed).

cc @Meister1593

Beider commented 4 years ago

Related to #68, consider fixing these two issues together.

DoubleDeez commented 4 years ago

Documented how the player info initialization will be done: https://github.com/DoubleDeez/MDFramework/wiki/Game-Session#player-info