C# Class AppWarp_WP7_TestSDK.NotificationListener

Inheritance: com.shephertz.app42.gaming.multiplayer.client.listener.NotifyListener
Afficher le fichier Open project: shephertz/App42_AppWarp_Windows_Sample

Méthodes publiques

Méthode Description
NotificationListener ( MainPage page ) : System
onChatReceived ( ChatEvent eventObj ) : void
onGameStarted ( string sender, string roomId, string nextTurn ) : void
onGameStopped ( string sender, string roomId ) : void
onMoveCompleted ( MoveEvent moveEvent ) : 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
onUpdatePeersReceived ( UpdateEvent eventObj ) : void
onUserChangeRoomProperty ( RoomData roomData, string sender, Object>.Dictionary properties ) : 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, bool isLobby, string username ) : void
onUserResumed ( string locid, bool isLobby, string username ) : void

Method Details

NotificationListener() public méthode

public NotificationListener ( MainPage page ) : System
page MainPage
Résultat System

onChatReceived() public méthode

public onChatReceived ( ChatEvent eventObj ) : void
eventObj ChatEvent
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

onMoveCompleted() public méthode

public onMoveCompleted ( MoveEvent moveEvent ) : void
moveEvent 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

onUpdatePeersReceived() public méthode

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

onUserChangeRoomProperty() public méthode

public onUserChangeRoomProperty ( RoomData roomData, string sender, Object>.Dictionary properties ) : void
roomData RoomData
sender string
properties Object>.Dictionary
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, bool isLobby, string username ) : void
locid string
isLobby bool
username string
Résultat void

onUserResumed() public méthode

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