C# Class AppWarpManager, AppWarpUnity

Inheritance: MonoBehaviour, ConnectionRequestListener, ZoneRequestListener, ChatRequestListener, LobbyRequestListener, NotifyListener, RoomRequestListener, UpdateRequestListener
Afficher le fichier Open project: shephertz/AppWarpUnity Class Usage Examples

Méthodes publiques

Свойство Type Description
ApiKey string
SecretKey string
appWarpResponse string
notifications string
roomId string

Méthodes publiques

Méthode Description
OnApplicationQuit ( ) : void
OnGUI ( ) : void
Start ( ) : void
Update ( ) : void
onChatReceived ( ChatEvent, eventObj ) : void
onConnectDone ( ConnectEvent, eventObj ) : void
onCreateRoomDone ( RoomEvent eventObj ) : void
onDeleteRoomDone ( RoomEvent eventObj ) : void
onDisconnectDone ( ConnectEvent, eventObj ) : void
onGameStarted ( string sender, string roomId, string nextTurn ) : void
onGameStopped ( string sender, string roomId ) : void
onGetAllRoomsDone ( AllRoomsEvent eventObj ) : void
onGetLiveLobbyInfoDone ( LiveRoomInfoEvent eventObj ) : void
onGetLiveRoomInfoDone ( LiveRoomInfoEvent eventObj ) : void
onGetLiveUserInfoDone ( LiveUserInfoEvent eventObj ) : void
onGetMatchedRoomsDone ( MatchedRoomsEvent matchedRoomsEvent ) : void
onGetOnlineUsersDone ( AllUsersEvent eventObj ) : void
onInitUDPDone ( byte resultCode ) : void
onJoinLobbyDone ( LobbyEvent eventObj ) : void
onJoinRoomDone ( RoomEvent eventObj ) : void
onLeaveLobbyDone ( LobbyEvent eventObj ) : void
onLeaveRoomDone ( RoomEvent eventObj ) : void
onLockPropertiesDone ( byte result ) : void
onMoveCompleted ( MoveEvent move ) : void
onNextTurnRequest ( string lastTurn ) : void
onPrivateChatReceived ( string sender, string message ) : void
onPrivateUpdateReceived ( string sender, byte update, bool fromUdp ) : void
onRoomCreated ( RoomData eventObj ) : void
onRoomDestroyed ( RoomData eventObj ) : void
onSendChatDone ( byte result ) : void
onSendPrivateChatDone ( byte result ) : void
onSendPrivateUpdateDone ( byte result ) : void
onSendUpdateDone ( byte result ) : void
onSetCustomRoomDataDone ( LiveRoomInfoEvent eventObj ) : void
onSetCustomUserDataDone ( LiveUserInfoEvent eventObj ) : void
onSubscribeLobbyDone ( LobbyEvent eventObj ) : void
onSubscribeRoomDone ( RoomEvent eventObj ) : void
onUnSubscribeLobbyDone ( LobbyEvent eventObj ) : void
onUnSubscribeRoomDone ( RoomEvent eventObj ) : void
onUnlockPropertiesDone ( byte result ) : void
onUpdatePeersReceived ( UpdateEvent eventObj ) : void
onUpdatePropertyDone ( LiveRoomInfoEvent eventObj ) : void
onUserChangeRoomProperty ( RoomData roomData, string sender, object>.Dictionary properties, string>.Dictionary lockedPropertiesTable ) : void
onUserJoinedLobby ( LobbyData eventObj, string username ) : void
onUserJoinedRoom ( RoomData eventObj, string username ) : void
onUserLeftLobby ( LobbyData eventObj, string username ) : void
onUserLeftRoom ( RoomData eventObj, string username ) : void
onUserPaused ( string locid, Boolean isLobby, string username ) : void
onUserResumed ( string locid, Boolean isLobby, string username ) : void

Private Methods

Méthode Description
initAppWarp ( ) : void

Method Details

OnApplicationQuit() public méthode

public OnApplicationQuit ( ) : void
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

onChatReceived() public méthode

public onChatReceived ( ChatEvent, eventObj ) : void
eventObj ChatEvent,
Résultat void

onConnectDone() public méthode

public onConnectDone ( ConnectEvent, eventObj ) : void
eventObj ConnectEvent,
Résultat void

onCreateRoomDone() public méthode

public onCreateRoomDone ( RoomEvent eventObj ) : void
eventObj RoomEvent
Résultat void

onDeleteRoomDone() public méthode

public onDeleteRoomDone ( RoomEvent eventObj ) : void
eventObj RoomEvent
Résultat void

onDisconnectDone() public méthode

public onDisconnectDone ( ConnectEvent, eventObj ) : void
eventObj ConnectEvent,
Résultat void

onGameStarted() public méthode

public onGameStarted ( string sender, string roomId, string nextTurn ) : void
sender string
roomId string
nextTurn string
Résultat void

onGameStopped() public méthode

public onGameStopped ( string sender, string roomId ) : void
sender string
roomId string
Résultat void

onGetAllRoomsDone() public méthode

public onGetAllRoomsDone ( AllRoomsEvent eventObj ) : void
eventObj AllRoomsEvent
Résultat void

onGetLiveLobbyInfoDone() public méthode

public onGetLiveLobbyInfoDone ( LiveRoomInfoEvent eventObj ) : void
eventObj LiveRoomInfoEvent
Résultat void

onGetLiveRoomInfoDone() public méthode

public onGetLiveRoomInfoDone ( LiveRoomInfoEvent eventObj ) : void
eventObj LiveRoomInfoEvent
Résultat void

onGetLiveUserInfoDone() public méthode

public onGetLiveUserInfoDone ( LiveUserInfoEvent eventObj ) : void
eventObj LiveUserInfoEvent
Résultat void

onGetMatchedRoomsDone() public méthode

public onGetMatchedRoomsDone ( MatchedRoomsEvent matchedRoomsEvent ) : void
matchedRoomsEvent MatchedRoomsEvent
Résultat void

onGetOnlineUsersDone() public méthode

public onGetOnlineUsersDone ( AllUsersEvent eventObj ) : void
eventObj AllUsersEvent
Résultat void

onInitUDPDone() public méthode

public onInitUDPDone ( byte resultCode ) : void
resultCode byte
Résultat void

onJoinLobbyDone() public méthode

public onJoinLobbyDone ( LobbyEvent eventObj ) : void
eventObj LobbyEvent
Résultat void

onJoinRoomDone() public méthode

public onJoinRoomDone ( RoomEvent eventObj ) : void
eventObj RoomEvent
Résultat void

onLeaveLobbyDone() public méthode

public onLeaveLobbyDone ( LobbyEvent eventObj ) : void
eventObj LobbyEvent
Résultat void

onLeaveRoomDone() public méthode

public onLeaveRoomDone ( RoomEvent eventObj ) : void
eventObj RoomEvent
Résultat void

onLockPropertiesDone() public méthode

public onLockPropertiesDone ( byte result ) : void
result byte
Résultat void

onMoveCompleted() public méthode

public onMoveCompleted ( MoveEvent move ) : void
move MoveEvent
Résultat void

onNextTurnRequest() public méthode

public onNextTurnRequest ( string lastTurn ) : void
lastTurn string
Résultat void

onPrivateChatReceived() public méthode

public onPrivateChatReceived ( string sender, string message ) : void
sender string
message string
Résultat void

onPrivateUpdateReceived() public méthode

public onPrivateUpdateReceived ( string sender, byte update, bool fromUdp ) : void
sender string
update byte
fromUdp bool
Résultat void

onRoomCreated() public méthode

public onRoomCreated ( RoomData eventObj ) : void
eventObj RoomData
Résultat void

onRoomDestroyed() public méthode

public onRoomDestroyed ( RoomData eventObj ) : void
eventObj RoomData
Résultat void

onSendChatDone() public méthode

public onSendChatDone ( byte result ) : void
result byte
Résultat void

onSendPrivateChatDone() public méthode

public onSendPrivateChatDone ( byte result ) : void
result byte
Résultat void

onSendPrivateUpdateDone() public méthode

public onSendPrivateUpdateDone ( byte result ) : void
result byte
Résultat void

onSendUpdateDone() public méthode

public onSendUpdateDone ( byte result ) : void
result byte
Résultat void

onSetCustomRoomDataDone() public méthode

public onSetCustomRoomDataDone ( LiveRoomInfoEvent eventObj ) : void
eventObj LiveRoomInfoEvent
Résultat void

onSetCustomUserDataDone() public méthode

public onSetCustomUserDataDone ( LiveUserInfoEvent eventObj ) : void
eventObj LiveUserInfoEvent
Résultat void

onSubscribeLobbyDone() public méthode

public onSubscribeLobbyDone ( LobbyEvent eventObj ) : void
eventObj LobbyEvent
Résultat void

onSubscribeRoomDone() public méthode

public onSubscribeRoomDone ( RoomEvent eventObj ) : void
eventObj RoomEvent
Résultat void

onUnSubscribeLobbyDone() public méthode

public onUnSubscribeLobbyDone ( LobbyEvent eventObj ) : void
eventObj LobbyEvent
Résultat void

onUnSubscribeRoomDone() public méthode

public onUnSubscribeRoomDone ( RoomEvent eventObj ) : void
eventObj RoomEvent
Résultat void

onUnlockPropertiesDone() public méthode

public onUnlockPropertiesDone ( byte result ) : void
result byte
Résultat void

onUpdatePeersReceived() public méthode

public onUpdatePeersReceived ( UpdateEvent eventObj ) : void
eventObj UpdateEvent
Résultat void

onUpdatePropertyDone() public méthode

public onUpdatePropertyDone ( LiveRoomInfoEvent eventObj ) : void
eventObj LiveRoomInfoEvent
Résultat void

onUserChangeRoomProperty() public méthode

public onUserChangeRoomProperty ( RoomData roomData, string sender, object>.Dictionary properties, string>.Dictionary lockedPropertiesTable ) : void
roomData RoomData
sender string
properties object>.Dictionary
lockedPropertiesTable string>.Dictionary
Résultat void

onUserJoinedLobby() public méthode

public onUserJoinedLobby ( LobbyData eventObj, string username ) : void
eventObj LobbyData
username string
Résultat void

onUserJoinedRoom() public méthode

public onUserJoinedRoom ( RoomData eventObj, string username ) : void
eventObj RoomData
username string
Résultat void

onUserLeftLobby() public méthode

public onUserLeftLobby ( LobbyData eventObj, string username ) : void
eventObj LobbyData
username string
Résultat void

onUserLeftRoom() public méthode

public onUserLeftRoom ( RoomData eventObj, string username ) : void
eventObj RoomData
username string
Résultat void

onUserPaused() public méthode

public onUserPaused ( string locid, Boolean isLobby, string username ) : void
locid string
isLobby Boolean
username string
Résultat void

onUserResumed() public méthode

public onUserResumed ( string locid, Boolean isLobby, string username ) : void
locid string
isLobby Boolean
username string
Résultat void

Property Details

ApiKey public_oe property

public string ApiKey
Résultat string

SecretKey public_oe property

public string SecretKey
Résultat string

appWarpResponse public_oe property

public string appWarpResponse
Résultat string

notifications public_oe property

public string notifications
Résultat string

roomId public_oe property

public string roomId
Résultat string