My Project v1
Project
载入中...
搜索中...
未找到
Game.CommunityContentManager

静态 Public 成员函数

static void Initialize ()
 
static string GetDownloadedContentAddress (ExternalContentType type, string name)
 
static bool IsContentRated (string address, string userId)
 
static void List (string cursor, string userFilter, string typeFilter, string moderationFilter, string sortOrder, string keySearch, string searchType, CancellableProgress progress, Action< List< CommunityContentEntry >, 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)
 
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 void UserList (string cursor, string searchKey, string searchType, string filter, int order, CancellableProgress progress, Action< List< ComUserInfo >, string > success, Action< Exception > failure)
 
static void UpdateLockState (int id, int lockState, string reason, int duration, CancellableProgress progress, Action< byte[]> success, Action< Exception > failure)
 
static void ResetPassword (int id, CancellableProgress progress, Action< byte[]> success, Action< Exception > failure)
 
static void UpdateBoutique (string type, int id, int boutique, CancellableProgress progress, Action< byte[]> success, Action< Exception > failure)
 
static void UpdateHidePara (int id, int isShow, CancellableProgress progress, Action< byte[]> success, Action< Exception > failure)
 
static void DeleteFile (int id, CancellableProgress progress, Action< byte[]> success, Action< Exception > failure)
 
static void IsAdmin (CancellableProgress progress, Action< bool > 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 ()
 

静态 Public 属性

const string m_scResDirAddress = "https://m.schub.top/com/list"
 
static Dictionary< string, string > m_idToAddressMap = []
 
static Dictionary< string, bool > m_feedbackCache = []
 
const string fName = "CommunityContentManager"
 

成员函数说明

◆ CalculateContentHashString()

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

◆ Delete()

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

◆ DeleteFile()

static void Game.CommunityContentManager.DeleteFile ( int id,
CancellableProgress progress,
Action< byte[]> success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ Download()

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

◆ Feedback()

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

◆ GetDownloadedContentAddress()

static string Game.CommunityContentManager.GetDownloadedContentAddress ( ExternalContentType type,
string name )
static
函数调用图:
这是这个函数的调用关系图:

◆ Initialize()

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

◆ IsAdmin()

static void Game.CommunityContentManager.IsAdmin ( CancellableProgress progress,
Action< bool > success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ IsContentRated()

static bool Game.CommunityContentManager.IsContentRated ( string address,
string userId )
static
函数调用图:
这是这个函数的调用关系图:

◆ List()

static void Game.CommunityContentManager.List ( string cursor,
string userFilter,
string typeFilter,
string moderationFilter,
string sortOrder,
string keySearch,
string searchType,
CancellableProgress progress,
Action< List< CommunityContentEntry >, string > success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ Load()

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

◆ MakeContentIdString()

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

◆ MakeFeedbackCacheKey()

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

◆ Publish()

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

◆ Rate()

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

◆ Report()

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

◆ ResetPassword()

static void Game.CommunityContentManager.ResetPassword ( int id,
CancellableProgress progress,
Action< byte[]> success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ Save()

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

◆ SendPlayTime()

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

◆ UpdateBoutique()

static void Game.CommunityContentManager.UpdateBoutique ( string type,
int id,
int boutique,
CancellableProgress progress,
Action< byte[]> success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ UpdateHidePara()

static void Game.CommunityContentManager.UpdateHidePara ( int id,
int isShow,
CancellableProgress progress,
Action< byte[]> success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ UpdateLockState()

static void Game.CommunityContentManager.UpdateLockState ( int id,
int lockState,
string reason,
int duration,
CancellableProgress progress,
Action< byte[]> success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ UserList()

static void Game.CommunityContentManager.UserList ( string cursor,
string searchKey,
string searchType,
string filter,
int order,
CancellableProgress progress,
Action< List< ComUserInfo >, string > success,
Action< Exception > failure )
static
函数调用图:
这是这个函数的调用关系图:

◆ VerifyLinkContent()

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

类成员变量说明

◆ fName

const string Game.CommunityContentManager.fName = "CommunityContentManager"
static

◆ m_feedbackCache

Dictionary<string, bool> Game.CommunityContentManager.m_feedbackCache = []
static

◆ m_idToAddressMap

Dictionary<string, string> Game.CommunityContentManager.m_idToAddressMap = []
static

◆ m_scResDirAddress

const string Game.CommunityContentManager.m_scResDirAddress = "https://m.schub.top/com/list"
static

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