OpLeaveLobby
How do I use Op Leave Lobby
Below are practical examples compiled from projects for learning and reference purposes
Featured Snippets
Line | Code | Ex.. |
---|---|---|
71 | public virtual bool OpLeaveLobby() | 1 |
1825 | return networkingPeer.OpLeaveLobby(); | 2 |
File name: LoadbalancingPeer.cs
Copy
71 public virtual bool OpLeaveLobby()
72 {
73 if (this.DebugOut >= DebugLevel.INFO)
74 {
75 this.Listener.DebugReturn(DebugLevel.INFO, "OpLeaveLobby()");
76 }
77
78 return this.OpCustom(OperationCode.LeaveLobby, null, true);
79 }
File name: PhotonNetwork.cs
Copy
1821 public static bool LeaveLobby()
1822 {
1823 if (PhotonNetwork.connected && PhotonNetwork.Server == ServerConnection.MasterServer)
1824 {
1825 return networkingPeer.OpLeaveLobby();
1826 }
1827
1828 return false;
1829 }
OpLeaveLobby 114 lượt xem
Gõ tìm kiếm nhanh...