Sign In Register

How can we help you today?

Start a new topic

[Unity SDK] Refactor ChallengeXXXMessage._Challenge types

Hi,


currently in the Unity SDK, each message class related to challenges defines an inner type with the challenge data. the challenge data is exactly the same in each of those, but they are defined to be different classes, therefore it's not possible to write common code handling challenge data from different messages.


is it possible to have either a single type common to all messages or at least a common interface or base class that all those inner classes implement?

this refactoring should be also done to other duplicate classes e.g. challenge's PlayerDetails or match's Participant (duplicated in MatchFound and MatchUpdated) or others I didn't found yet.


thanks

1 Comment

Hi Mauro, 


Thanks for logging the feature request. We'll pass this in to the dev team for review.


Regards,

Liam

Login to post a comment