Class UserProfile
Assembly: UnityEngine.dll
public class UserProfile : IUserProfile
Constructors
|
Improve this Doc
View Source
Declaration
|
Improve this Doc
View Source
Declaration
public UserProfile(string name, string id, bool friend)
Parameters
|
Improve this Doc
View Source
UserProfile(String, String, Boolean, UserState, Texture2D)
Declaration
public UserProfile(string name, string id, bool friend, UserState state, Texture2D image)
Parameters
Fields
|
Improve this Doc
View Source
Declaration
Field Value
|
Improve this Doc
View Source
Declaration
protected Texture2D m_Image
Field Value
|
Improve this Doc
View Source
Declaration
protected bool m_IsFriend
Field Value
|
Improve this Doc
View Source
Declaration
protected UserState m_State
Field Value
|
Improve this Doc
View Source
Declaration
protected string m_UserName
Field Value
Properties
|
Improve this Doc
View Source
Declaration
public string id { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public Texture2D image { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public bool isFriend { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public UserState state { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public string userName { get; }
Property Value
Methods
|
Improve this Doc
View Source
SetImage(Texture2D)
Declaration
public void SetImage(Texture2D image)
Parameters
|
Improve this Doc
View Source
Declaration
public void SetIsFriend(bool value)
Parameters
Type |
Name |
Description |
Boolean |
value |
|
|
Improve this Doc
View Source
Declaration
public void SetState(UserState state)
Parameters
|
Improve this Doc
View Source
Declaration
public void SetUserID(string id)
Parameters
Type |
Name |
Description |
String |
id |
|
|
Improve this Doc
View Source
Declaration
public void SetUserName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
|
Improve this Doc
View Source
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods