How can i convert Imatchmakeruser to iuserspresence?

how can i convert Imatchmakeruser to iuserspresence?

@ghasem167 In the .NET/Unity client you don’t convert an IMatchmakerUser type into an IUserPresence type. You just use the field within the type:

IMatchmakerUser matchmakerUser = ...;
Debug.Log(matchmakerUser.Presence);

You can see more about this and all the types in the codebase within the codedocs:

Nakama .NET Client SDK: Nakama.IMatchmakerUser Interface Reference

Hope this helps.

1 Like