ServiceSetUsername Method
Sets the username for the current user in the multiplayer system.
Namespace: Alteruna.Multiplayer.CoreAssembly: Alteruna (in Alteruna.dll) Version: 2.0.2+dcdb8fba58ad1eb99205b1dc6265fd5b3b7cf8ec
public void SetUsername(
string name
)
Parameters
- name String
- The desired username. This must be a valid string and comply with the maximum length and formatting requirements.
| InvalidOperationException | Thrown if the username is being set after the device manager has started or if there are restrictions due to active connections. |