My Project v1
Project
载入中...
搜索中...
未找到
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 属性

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 ()
 

静态 Private 属性

const string m_scResDirAddress = "https://scresdir.appspot.com/resource"
 
static Dictionary< string, string > m_idToAddressMap = new Dictionary<string, string>()
 
static Dictionary< string, bool > m_feedbackCache = new Dictionary<string, bool>()
 

成员函数说明

◆ CalculateContentHashString()

static string OriginalCommunityContentManager.CalculateContentHashString ( byte[] data)
staticprivate
这是这个函数的调用关系图:

◆ Delete()

static void OriginalCommunityContentManager.Delete ( string address,
string userId,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ Download()

static void OriginalCommunityContentManager.Download ( string address,
string name,
ExternalContentType type,
string userId,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ Feedback()

static void OriginalCommunityContentManager.Feedback ( string address,
string feedback,
string feedbackParameter,
string hash,
long size,
string userId,
CancellableProgress progress,
Action success,
Action< Exception > failure )
staticprivate
函数调用图:
这是这个函数的调用关系图:

◆ GetDownloadedContentAddress()

static string OriginalCommunityContentManager.GetDownloadedContentAddress ( ExternalContentType type,
string name )
static
函数调用图:

◆ Initialize()

static void OriginalCommunityContentManager.Initialize ( )
static
函数调用图:
这是这个函数的调用关系图:

◆ IsContentRated()

static bool OriginalCommunityContentManager.IsContentRated ( string address,
string userId )
static
函数调用图:

◆ List()

static 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
函数调用图:
这是这个函数的调用关系图:

◆ Load()

static void OriginalCommunityContentManager.Load ( )
staticprivate
函数调用图:
这是这个函数的调用关系图:

◆ MakeContentIdString()

static string OriginalCommunityContentManager.MakeContentIdString ( ExternalContentType type,
string name )
staticprivate
这是这个函数的调用关系图:

◆ MakeFeedbackCacheKey()

static string OriginalCommunityContentManager.MakeFeedbackCacheKey ( string address,
string feedback,
string userId )
staticprivate
这是这个函数的调用关系图:

◆ Publish()

static void OriginalCommunityContentManager.Publish ( string address,
string name,
ExternalContentType type,
string userId,
CancellableProgress progress,
Action success,
Action< Exception > failure )
static
函数调用图:

◆ Rate()

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

◆ Report()

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

◆ Save()

static void OriginalCommunityContentManager.Save ( )
staticprivate
函数调用图:
这是这个函数的调用关系图:

◆ SendPlayTime()

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

◆ VerifyLinkContent()

static void OriginalCommunityContentManager.VerifyLinkContent ( string address,
string name,
ExternalContentType type,
CancellableProgress progress,
Action< byte[]> success,
Action< Exception > failure )
staticprivate
函数调用图:
这是这个函数的调用关系图:

类成员变量说明

◆ fName1

const string OriginalCommunityContentManager.fName1 = "CommunityContentManager"
static

◆ m_feedbackCache

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

◆ m_idToAddressMap

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

◆ m_scResDirAddress

const string OriginalCommunityContentManager.m_scResDirAddress = "https://scresdir.appspot.com/resource"
staticprivate

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