C# Class TicTacToeAppWarp.NotificationListener

Inheritance: com.shephertz.app42.gaming.multiplayer.client.listener.NotifyListener
Show file Open project: shephertz/Tutorials_WP_7_8

Public Methods

Method 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 method

public NotificationListener ( MainPage page ) : System
page MainPage
return System

onChatReceived() public method

public onChatReceived ( ChatEvent eventObj ) : void
eventObj ChatEvent
return void

onGameStarted() public method

public onGameStarted ( string sender, string roomId, string nextTurn ) : void
sender string
roomId string
nextTurn string
return void

onGameStopped() public method

public onGameStopped ( string sender, string roomId ) : void
sender string
roomId string
return void

onMoveCompleted() public method

public onMoveCompleted ( MoveEvent moveEvent ) : void
moveEvent MoveEvent
return void

onNextTurnRequest() public method

public onNextTurnRequest ( string lastTurn ) : void
lastTurn string
return void

onPrivateChatReceived() public method

public onPrivateChatReceived ( string sender, string message ) : void
sender string
message string
return void

onPrivateUpdateReceived() public method

public onPrivateUpdateReceived ( string sender, byte update, bool fromUdp ) : void
sender string
update byte
fromUdp bool
return void

onRoomCreated() public method

public onRoomCreated ( RoomData eventObj ) : void
eventObj RoomData
return void

onRoomDestroyed() public method

public onRoomDestroyed ( RoomData eventObj ) : void
eventObj RoomData
return void

onUpdatePeersReceived() public method

public onUpdatePeersReceived ( UpdateEvent eventObj ) : void
eventObj UpdateEvent
return void

onUserChangeRoomProperty() public method

public onUserChangeRoomProperty ( RoomData roomData, string sender, object>.Dictionary properties ) : void
roomData RoomData
sender string
properties object>.Dictionary
return void

onUserChangeRoomProperty() public method

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

onUserJoinedLobby() public method

public onUserJoinedLobby ( LobbyData eventObj, String username ) : void
eventObj LobbyData
username String
return void

onUserJoinedRoom() public method

public onUserJoinedRoom ( RoomData eventObj, String username ) : void
eventObj RoomData
username String
return void

onUserLeftLobby() public method

public onUserLeftLobby ( LobbyData eventObj, String username ) : void
eventObj LobbyData
username String
return void

onUserLeftRoom() public method

public onUserLeftRoom ( RoomData eventObj, String username ) : void
eventObj RoomData
username String
return void

onUserPaused() public method

public onUserPaused ( string locid, bool isLobby, string username ) : void
locid string
isLobby bool
username string
return void

onUserResumed() public method

public onUserResumed ( string locid, bool isLobby, string username ) : void
locid string
isLobby bool
username string
return void