Code: Select all
public void OnLogin(bool success, string name, string error) {
if ( success ) {
// Lets wait for the room list
// here is what i try to fix but i dont know how to set a Hashtable
OnRoomList();
} else {
// Login failed - lets display the error message sent to us
loginErrorMessage = error;
}
}
as you can see i dont know how to call the OnRoomList function i never have used hashtable so i dont know how that works can you give me a hind how i can fix it with the
void OnRoomList(Hashtable roomList){
can someone please explain me how i get to use hashtable for the room list or how i fix this thx i would be happy i try this now for a day and still cant get it to work