Enfusion Script API
Loading...
Searching...
No Matches
CommentCatalogue Interface Reference

Public Member Functions

proto external int MaxPageSize ()
 Returns max possible size of page that is allowed to be set.
 
proto external void CreateComment (string sContent, BackendCallback pCallback, int iParentId=0)
 Post comment.
 
proto external void DeleteComment (int iId, BackendCallback pCallback)
 Delete comment online.
 
proto external void UpdateComment (int iId, string sContent, BackendCallback pCallback)
 Update comment content.
 
proto external void ReportComment (int iId, EWorkshopReportType eReport, string sDesc, BackendCallback pCallback)
 
proto external void RequestPage (BackendCallback pCallback, notnull PageParams pParams, bool bClearCache)
 
proto external int GetTotalItemCount ()
 Get total item count on all pages.
 
proto external int GetPageCount ()
 Get page count.
 
proto external void SetPageItems (int iCount)
 Set number of items per page.
 
proto external void SetPageSize (int iCount)
 Set number of items per page.
 
proto external int GetPage ()
 Get current page number.
 
proto external int GetPageItemCount ()
 Get item count on actual page.
 
proto external int GetPageItems ()
 Get page content and set number of current items.
 

Member Function Documentation

◆ CreateComment()

proto external void CommentCatalogue.CreateComment ( string sContent,
BackendCallback pCallback,
int iParentId = 0 )

Post comment.

◆ DeleteComment()

proto external void CommentCatalogue.DeleteComment ( int iId,
BackendCallback pCallback )

Delete comment online.

◆ GetPage()

proto external int CommentCatalogue.GetPage ( )

Get current page number.

◆ GetPageCount()

proto external int CommentCatalogue.GetPageCount ( )

Get page count.

◆ GetPageItemCount()

proto external int CommentCatalogue.GetPageItemCount ( )

Get item count on actual page.

◆ GetPageItems()

proto external int CommentCatalogue.GetPageItems ( )

Get page content and set number of current items.

◆ GetTotalItemCount()

proto external int CommentCatalogue.GetTotalItemCount ( )

Get total item count on all pages.

◆ MaxPageSize()

proto external int CommentCatalogue.MaxPageSize ( )

Returns max possible size of page that is allowed to be set.

◆ ReportComment()

proto external void CommentCatalogue.ReportComment ( int iId,
EWorkshopReportType eReport,
string sDesc,
BackendCallback pCallback )

◆ RequestPage()

proto external void CommentCatalogue.RequestPage ( BackendCallback pCallback,
notnull PageParams pParams,
bool bClearCache )

◆ SetPageItems()

proto external void CommentCatalogue.SetPageItems ( int iCount)

Set number of items per page.

◆ SetPageSize()

proto external void CommentCatalogue.SetPageSize ( int iCount)

Set number of items per page.

◆ UpdateComment()

proto external void CommentCatalogue.UpdateComment ( int iId,
string sContent,
BackendCallback pCallback )

Update comment content.


The documentation for this interface was generated from the following file: