Class SampleMenuWithFriends
- Namespace
- PlayEveryWare.EpicOnlineServices.Samples
public abstract class SampleMenuWithFriends : SampleMenu
- Inheritance
-
SampleMenuWithFriends
- Derived
- Inherited Members
Constructors
SampleMenuWithFriends(bool)
protected SampleMenuWithFriends(bool startsHidden = true)
Parameters
startsHidden
bool
Properties
IsDirty
Indicates that this object needs to refresh its UI. When this is true, the next time Update() runs, RefreshFriendUI() will be called.
protected bool IsDirty { get; }
Property Value
Methods
GetFriendInteractButtonText()
public virtual string GetFriendInteractButtonText()
Returns
GetFriendInteractionState(FriendData)
public virtual SampleMenuWithFriends.FriendInteractionState GetFriendInteractionState(FriendData friendData)
Parameters
friendData
FriendData
Returns
IsFriendsUIDirty()
public virtual bool IsFriendsUIDirty()
Returns
OnFriendInteractButtonClicked(FriendData)
public virtual void OnFriendInteractButtonClicked(FriendData friendData)
Parameters
friendData
FriendData
OnFriendStateChanged()
This function is called before refreshing the UIFriendsMenu. This is an opportunity to refresh any caches or do processing work that should be done once, instead of processed for each call of GetFriendInteractionState(FriendData).
public virtual void OnFriendStateChanged()
SetDirtyFlag(bool)
public virtual void SetDirtyFlag(bool isDirty = true)
Parameters
isDirty
bool