C# Class ClientExampleScript, PlayFabGameServer

Inheritance: MonoBehaviour
Show file Open project: PlayFab/PlayFabGameServer

Public Properties

Property Type Description
BuildVersion string
CancelButton Button
ChatInterface ChatInterfaceLogic,
ChatWindow GameObject
FriendListContent Transform
FriendPrefab GameObject
FriendsWindow GameObject
GameMode string
GameRegion PlayFab.ClientModels.Region
GameServerAuthTicket string
Header Text
HideChatButton Button
IsLocalNetwork bool
Message Text
PlayFabId string
SessionTicket string
ShowChatButton Button
ShowFriendsButton Button
SmallWindow GameObject
StartText Text
TitleId string
_network NetworkClient
host string
port int

Public Methods

Method Description
ClearText ( ) : void
GiftButtonClicked ( ) : void
QuitButton ( ) : void
Start ( ) : void

Private Methods

Method Description
ConnectNetworkClient ( string host = "localhost", int port = 7777 ) : void
OnAuthenticated ( NetworkMessage, netMsg ) : void
OnClientDisconnect ( NetworkMessage, netMsg ) : void
OnClientNetworkingError ( NetworkMessage, netMsg ) : void
OnConnected ( NetworkMessage, netMsg ) : void
OnMsgRecieverExampleResponse ( NetworkMessage, netMsg ) : void
OnReceivedFriendList ( NetworkMessage, netMsg ) : void
OnReceivedPlayStreamEvent ( NetworkMessage, netMsg ) : void
OnTitleNewsUpdate ( NetworkMessage, netMsg ) : void

Method Details

ClearText() public method

public ClearText ( ) : void
return void

GiftButtonClicked() public method

public GiftButtonClicked ( ) : void
return void

QuitButton() public method

public QuitButton ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Property Details

BuildVersion public property

public string BuildVersion
return string

CancelButton public property

public Button CancelButton
return Button

ChatInterface public property

public ChatInterfaceLogic, ChatInterface
return ChatInterfaceLogic,

ChatWindow public property

public GameObject ChatWindow
return GameObject

FriendListContent public property

public Transform FriendListContent
return Transform

FriendPrefab public property

public GameObject FriendPrefab
return GameObject

FriendsWindow public property

public GameObject FriendsWindow
return GameObject

GameMode public property

public string GameMode
return string

GameRegion public property

public Region,PlayFab.ClientModels GameRegion
return PlayFab.ClientModels.Region

GameServerAuthTicket public property

public string GameServerAuthTicket
return string

Header public property

public Text Header
return Text

HideChatButton public property

public Button HideChatButton
return Button

IsLocalNetwork public property

public bool IsLocalNetwork
return bool

Message public property

public Text Message
return Text

PlayFabId public property

public string PlayFabId
return string

SessionTicket public property

public string SessionTicket
return string

ShowChatButton public property

public Button ShowChatButton
return Button

ShowFriendsButton public property

public Button ShowFriendsButton
return Button

SmallWindow public property

public GameObject SmallWindow
return GameObject

StartText public property

public Text StartText
return Text

TitleId public property

public string TitleId
return string

_network public property

public NetworkClient _network
return NetworkClient

host public property

public string host
return string

port public property

public int port
return int