文章 AchievementUpdateOptions 类

  • 命名空间: Limyee.Extensibility.Api.Version1
  • 程序集: Limyee.Api.dll

定义

class AchievementUpdateOptions
{
	Byte[] BadgeIconData { get; set;  }
	string BadgeIconName { get; set;  }
	Stream BadgeIconStream { get; set;  }
	string BadgeIconUploadContext { get; set;  }
	string Criteria { get; set;  }
	bool? Enabled { get; set;  }
	string Title { get; set;  }
}

属性

名称

类型

描述

默认值

选项

BadgeIconData

Byte[]

When updating a badge icon, either BadgeIconData, BadgeIconStream, BadgeIconUploadContext is required.

BadgeIconName

string

Used when updating a badge icon.

BadgeIconStream

Stream

When updating a badge icon, either BadgeIconData, BadgeIconStream, BadgeIconUploadContext is required.

BadgeIconUploadContext

string

When updating a post attachment either BadgeIconData, BadgeIconStream or BadgeIconUploadContext is required.

Criteria

string

Criteria to earn the achievement.

Enabled

bool?

Set whether an achievement can be awarded or not.

Title

string

Title of the achievement.