Merged controller Dialog Heading
This commit is contained in:
commit
f2b0af08c5
2 files changed
+44
-8
No files matched your search
@@ -58,7 +58,7 @@ namespace PolyChat.Models
|
||||
private void OnConnect()
|
||||
{
|
||||
Debug.WriteLine("--- Sending initial packet to server ---");
|
||||
Client.Emit("initial", IP);
|
||||
Client.Emit("initial", Controller.getIP());
|
||||
Debug.WriteLine("--- Connection successfull ---");
|
||||
Connected = true;
|
||||
}
|
||||
@@ -92,5 +92,10 @@ namespace PolyChat.Models
|
||||
{
|
||||
return Connected;
|
||||
}
|
||||
|
||||
public string getIP()
|
||||
{
|
||||
return IP;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user