Hi Contact,
Greetings from ShepHertz!!!!
As Virtual User will be created inside a room w.r.to Zone it will be created. So it will be created inside RoomAdapter on server, in already created Zone and Room. So there is way to achieve the same by passing the data from iOS client side.
But you can pass other data like name and other extra Data from Client side for virtual User Creation on server. To achieve this you can define a function at RoomAdapter and call the same by calling RoomRPC API from client side w.r.to room.
public String createVirtualUser(String virtualUserName) {
IUser user = (IUser) new VirtualUser(virtualUserName, (Room) gameRoom,
(Zone) iZone);
gameRoom.addUser(user, true);
return "success";
}
Let me know if it helps.
Thanks
Vishnu Garg