Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
OriginalCommunityContentManager

静态 Public 成员函数

static void Initialize ()
static string GetDownloadedContentAddress (ExternalContentType type, string name)
static bool IsContentRated (string address, string userId)
static void List (string cursor, string userId, string userUrl, string type, string moderation, string search, string sortOrder, CancellableProgress progress, Action< List< OriginalCommunityContentEntry >, string > success, Action< Exception > failure)
static void Download (string address, string name, ExternalContentType type, string userId, CancellableProgress progress, Action success, Action< Exception > failure)
static void Publish (string address, string name, ExternalContentType type, string userId, CancellableProgress progress, Action success, Action< Exception > failure)
static void Delete (string address, string userId, CancellableProgress progress, Action success, Action< Exception > failure)
static void Rate (string address, string userId, int rating, CancellableProgress progress, Action success, Action< Exception > failure)
static void Report (string address, string userId, string report, CancellableProgress progress, Action success, Action< Exception > failure)
static void SendPlayTime (string address, string userId, double time, CancellableProgress progress, Action success, Action< Exception > failure)

静态 Public 属性

static Dictionary< string, string > m_idToAddressMap = new()
static Dictionary< string, bool > m_feedbackCache = new()
const string fName1 = "CommunityContentManager"

静态 Private 成员函数

static void VerifyLinkContent (string address, string name, ExternalContentType type, CancellableProgress progress, Action< byte[]> success, Action< Exception > failure)
static void Feedback (string address, string feedback, string feedbackParameter, string hash, long size, string userId, CancellableProgress progress, Action success, Action< Exception > failure)
static string CalculateContentHashString (byte[] data)
static string MakeFeedbackCacheKey (string address, string feedback, string userId)
static string MakeContentIdString (ExternalContentType type, string name)
static void Load ()
static void Save ()

详细描述

在文件 OriginalCommunityContentManager.cs9 行定义.

成员函数说明

◆ CalculateContentHashString()

string OriginalCommunityContentManager.CalculateContentHashString ( byte[] data)
staticprivate

在文件 OriginalCommunityContentManager.cs398 行定义.

这是这个函数的调用关系图:

◆ Delete()

void OriginalCommunityContentManager.Delete ( string address,
string userId,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static

在文件 OriginalCommunityContentManager.cs237 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Download()

void OriginalCommunityContentManager.Download ( string address,
string name,
ExternalContentType type,
string userId,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static

在文件 OriginalCommunityContentManager.cs108 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Feedback()

void OriginalCommunityContentManager.Feedback ( string address,
string feedback,
string feedbackParameter,
string hash,
long size,
string userId,
CancellableProgress progress,
Action success,
Action< Exception > failure )
staticprivate

在文件 OriginalCommunityContentManager.cs345 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ GetDownloadedContentAddress()

string OriginalCommunityContentManager.GetDownloadedContentAddress ( ExternalContentType type,
string name )
static

在文件 OriginalCommunityContentManager.cs32 行定义.

函数调用图:

◆ Initialize()

void OriginalCommunityContentManager.Initialize ( )
static

在文件 OriginalCommunityContentManager.cs17 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ IsContentRated()

bool OriginalCommunityContentManager.IsContentRated ( string address,
string userId )
static

在文件 OriginalCommunityContentManager.cs37 行定义.

函数调用图:

◆ List()

void OriginalCommunityContentManager.List ( string cursor,
string userId,
string userUrl,
string type,
string moderation,
string search,
string sortOrder,
CancellableProgress progress,
Action< List< OriginalCommunityContentEntry >, string > success,
Action< Exception > failure )
static

在文件 OriginalCommunityContentManager.cs42 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ Load()

void OriginalCommunityContentManager.Load ( )
staticprivate

在文件 OriginalCommunityContentManager.cs404 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ MakeContentIdString()

string OriginalCommunityContentManager.MakeContentIdString ( ExternalContentType type,
string name )
staticprivate

在文件 OriginalCommunityContentManager.cs402 行定义.

这是这个函数的调用关系图:

◆ MakeFeedbackCacheKey()

string OriginalCommunityContentManager.MakeFeedbackCacheKey ( string address,
string feedback,
string userId )
staticprivate

在文件 OriginalCommunityContentManager.cs400 行定义.

这是这个函数的调用关系图:

◆ Publish()

void OriginalCommunityContentManager.Publish ( string address,
string name,
ExternalContentType type,
string userId,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static

在文件 OriginalCommunityContentManager.cs182 行定义.

函数调用图:

◆ Rate()

void OriginalCommunityContentManager.Rate ( string address,
string userId,
int rating,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static

在文件 OriginalCommunityContentManager.cs266 行定义.

函数调用图:

◆ Report()

void OriginalCommunityContentManager.Report ( string address,
string userId,
string report,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static

在文件 OriginalCommunityContentManager.cs281 行定义.

函数调用图:

◆ Save()

void OriginalCommunityContentManager.Save ( )
staticprivate

在文件 OriginalCommunityContentManager.cs432 行定义.

函数调用图:
这是这个函数的调用关系图:

◆ SendPlayTime()

void OriginalCommunityContentManager.SendPlayTime ( string address,
string userId,
double time,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static

在文件 OriginalCommunityContentManager.cs295 行定义.

函数调用图:

◆ VerifyLinkContent()

void OriginalCommunityContentManager.VerifyLinkContent ( string address,
string name,
ExternalContentType type,
CancellableProgress progress,
Action< byte[]> success,
Action< Exception > failure )
staticprivate

在文件 OriginalCommunityContentManager.cs315 行定义.

函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ fName1

const string OriginalCommunityContentManager.fName1 = "CommunityContentManager"
static

在文件 OriginalCommunityContentManager.cs15 行定义.

◆ m_feedbackCache

Dictionary<string, bool> OriginalCommunityContentManager.m_feedbackCache = new()
static

在文件 OriginalCommunityContentManager.cs13 行定义.

◆ m_idToAddressMap

Dictionary<string, string> OriginalCommunityContentManager.m_idToAddressMap = new()
static

在文件 OriginalCommunityContentManager.cs11 行定义.


该类的文档由以下文件生成: