Show / Hide Table of Contents

Class UserProfile

Inheritance
Object
UserProfile
LocalUser
Implements
IUserProfile
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.SocialPlatforms.Impl
Assembly: UnityEngine.dll
Syntax
public class UserProfile : IUserProfile

Constructors

| Improve this Doc View Source

UserProfile()

Declaration
public UserProfile()
| Improve this Doc View Source

UserProfile(String, String, Boolean)

Declaration
public UserProfile(string name, string id, bool friend)
Parameters
Type Name Description
String name
String id
Boolean friend
| 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
Type Name Description
String name
String id
Boolean friend
UserState state
Texture2D image

Fields

| Improve this Doc View Source

m_ID

Declaration
protected string m_ID
Field Value
Type Description
String
| Improve this Doc View Source

m_Image

Declaration
protected Texture2D m_Image
Field Value
Type Description
Texture2D
| Improve this Doc View Source

m_IsFriend

Declaration
protected bool m_IsFriend
Field Value
Type Description
Boolean
| Improve this Doc View Source

m_State

Declaration
protected UserState m_State
Field Value
Type Description
UserState
| Improve this Doc View Source

m_UserName

Declaration
protected string m_UserName
Field Value
Type Description
String

Properties

| Improve this Doc View Source

id

Declaration
public string id { get; }
Property Value
Type Description
String
| Improve this Doc View Source

image

Declaration
public Texture2D image { get; }
Property Value
Type Description
Texture2D
| Improve this Doc View Source

isFriend

Declaration
public bool isFriend { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

state

Declaration
public UserState state { get; }
Property Value
Type Description
UserState
| Improve this Doc View Source

userName

Declaration
public string userName { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

SetImage(Texture2D)

Declaration
public void SetImage(Texture2D image)
Parameters
Type Name Description
Texture2D image
| Improve this Doc View Source

SetIsFriend(Boolean)

Declaration
public void SetIsFriend(bool value)
Parameters
Type Name Description
Boolean value
| Improve this Doc View Source

SetState(UserState)

Declaration
public void SetState(UserState state)
Parameters
Type Name Description
UserState state
| Improve this Doc View Source

SetUserID(String)

Declaration
public void SetUserID(string id)
Parameters
Type Name Description
String id
| Improve this Doc View Source

SetUserName(String)

Declaration
public void SetUserName(string name)
Parameters
Type Name Description
String name
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
String
Overrides
Object.ToString()

Implements

IUserProfile

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX