64 lines
1.4 KiB
C#
64 lines
1.4 KiB
C#
using System.Collections.Generic;
|
|
using ExitGames.Client.Photon;
|
|
|
|
public interface IPunCallbacks
|
|
{
|
|
void OnConnectedToPhoton();
|
|
|
|
void OnLeftRoom();
|
|
|
|
void OnMasterClientSwitched(PhotonPlayer newMasterClient);
|
|
|
|
void OnPhotonCreateRoomFailed(object[] codeAndMsg);
|
|
|
|
void OnPhotonJoinRoomFailed(object[] codeAndMsg);
|
|
|
|
void OnCreatedRoom();
|
|
|
|
void OnJoinedLobby();
|
|
|
|
void OnLeftLobby();
|
|
|
|
void OnFailedToConnectToPhoton(DisconnectCause cause);
|
|
|
|
void OnConnectionFail(DisconnectCause cause);
|
|
|
|
void OnDisconnectedFromPhoton();
|
|
|
|
void OnPhotonInstantiate(PhotonMessageInfo info);
|
|
|
|
void OnReceivedRoomListUpdate();
|
|
|
|
void OnJoinedRoom();
|
|
|
|
void OnPhotonPlayerConnected(PhotonPlayer newPlayer);
|
|
|
|
void OnPhotonPlayerDisconnected(PhotonPlayer otherPlayer);
|
|
|
|
void OnPhotonRandomJoinFailed(object[] codeAndMsg);
|
|
|
|
void OnConnectedToMaster();
|
|
|
|
void OnPhotonMaxCccuReached();
|
|
|
|
void OnPhotonCustomRoomPropertiesChanged(Hashtable propertiesThatChanged);
|
|
|
|
void OnPhotonPlayerPropertiesChanged(object[] playerAndUpdatedProps);
|
|
|
|
void OnUpdatedFriendList();
|
|
|
|
void OnCustomAuthenticationFailed(string debugMessage);
|
|
|
|
void OnCustomAuthenticationResponse(Dictionary<string, object> data);
|
|
|
|
void OnWebRpcResponse(OperationResponse response);
|
|
|
|
void OnOwnershipRequest(object[] viewAndPlayer);
|
|
|
|
void OnLobbyStatisticsUpdate();
|
|
|
|
void OnPhotonPlayerActivityChanged(PhotonPlayer otherPlayer);
|
|
|
|
void OnOwnershipTransfered(object[] viewAndPlayers);
|
|
}
|