Photon.Chat.Demo.FriendItem Class Reference

Friend UI item used to represent the friend status as well as message. It aims at showing how to share health for a friend that plays on a different room than you for example. But of course the message can be anything and a lot more complex. More...

Inheritance diagram for Photon.Chat.Demo.FriendItem:

Public Member Functions

void Awake ()
 
void OnFriendStatusUpdate (int status, bool gotMessage, object message)
 

Public Attributes

Text NameLabel
 
Text StatusLabel
 
Text Health
 

Properties

string FriendId [get, set]
 

Detailed Description

Friend UI item used to represent the friend status as well as message. It aims at showing how to share health for a friend that plays on a different room than you for example. But of course the message can be anything and a lot more complex.

Member Function Documentation

◆ Awake()

void Photon.Chat.Demo.FriendItem.Awake ( )

◆ OnFriendStatusUpdate()

void Photon.Chat.Demo.FriendItem.OnFriendStatusUpdate ( int  status,
bool  gotMessage,
object  message 
)

Member Data Documentation

◆ Health

Text Photon.Chat.Demo.FriendItem.Health

◆ NameLabel

Text Photon.Chat.Demo.FriendItem.NameLabel

◆ StatusLabel

Text Photon.Chat.Demo.FriendItem.StatusLabel

Property Documentation

◆ FriendId

string Photon.Chat.Demo.FriendItem.FriendId
getset

The documentation for this class was generated from the following file: