Show / Hide Table of Contents

Class Achievement

Inheritance
Object
Achievement
Implements
IAchievement
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 Achievement : IAchievement

Constructors

| Improve this Doc View Source

Achievement()

Declaration
public Achievement()
| Improve this Doc View Source

Achievement(String, Double)

Declaration
public Achievement(string id, double percent)
Parameters
Type Name Description
String id
Double percent
| Improve this Doc View Source

Achievement(String, Double, Boolean, Boolean, DateTime)

Declaration
public Achievement(string id, double percentCompleted, bool completed, bool hidden, DateTime lastReportedDate)
Parameters
Type Name Description
String id
Double percentCompleted
Boolean completed
Boolean hidden
DateTime lastReportedDate

Properties

| Improve this Doc View Source

completed

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

hidden

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

id

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

lastReportedDate

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

percentCompleted

Declaration
public double percentCompleted { get; set; }
Property Value
Type Description
Double

Methods

| Improve this Doc View Source

ReportProgress(Action<Boolean>)

Declaration
public void ReportProgress(Action<bool> callback)
Parameters
Type Name Description
Action<Boolean> callback
| Improve this Doc View Source

SetCompleted(Boolean)

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

SetHidden(Boolean)

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

SetLastReportedDate(DateTime)

Declaration
public void SetLastReportedDate(DateTime date)
Parameters
Type Name Description
DateTime date
| Improve this Doc View Source

ToString()

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

Implements

IAchievement

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