Пользовательские дополнения

На главную


bulletinBoard.GetText( postId )

Возвращает текст объявления на доске.

-- библиотека:
bulletinBoard

-- объявление:
function GetText( postId )

-- параметры:
postId: number (int) - идентификатор объявления

-- возвращаемые значения:
text: WString or nil - текст объявления, если найден, иначе nil

-- примеры:
local text = bulletinBoard.GetText( postId )
if text then
 LogInfo( "text: ", text )
else
 LogInfo( "waiting for text" )
end

Связанные страницы: "CategoryLuaApi" "CategoryLuaBulletinBoard"

CategoryLuaBulletinBoard
EventBulletinBoardChanged
EventBulletinBoardOperationInProgressChanged
EventBulletinBoardPostAdded
EventBulletinBoardPostChanged
FunctionBulletinBoardCanAddText
FunctionBulletinBoardGetPost
FunctionBulletinBoardGetPostPriceInfo
FunctionBulletinBoardGetSectionInfos
FunctionBulletinBoardGetText
FunctionBulletinBoardIsOperationInProgress
FunctionBulletinBoardReadSection


CategoryLuaApi CategoryFunction CategoryLuaBulletinBoard

На главную