Skip to content

OnlineNewsInterfaceMcp

Class in IpDrv · IpDrv.OnlineNewsInterfaceMcp · native

Object › McpServiceBase › MCPBase › OnlineNewsInterfaceMcp

Implements: OnlineNewsInterface

Using it from Lua
h7.find_all("OnlineNewsInterfaceMcp")            -- live instances
h7.find_class("IpDrv.OnlineNewsInterfaceMcp")   -- the class
h7.hook("IpDrv.OnlineNewsInterfaceMcp.AddReadNewsCompletedDelegate", fn)

Structs

NewsCacheEntry

FieldType
NewsUrlstring
ReadStateEOnlineEnumerationReadState
NewsTypeEOnlineNewsType
NewsItemstring
TimeOutfloat
bIsUnicodebool
HttpDownloaderpointer

Properties

NameTypeNotes
bNeedsTickingbooltransient
NewsItemsarray<NewsCacheEntry>config
ReadNewsDelegatesarray>

Functions

NameDeclaration
AddReadNewsCompletedDelegatefunction AddReadNewsCompletedDelegate()
ClearReadNewsCompletedDelegatefunction ClearReadNewsCompletedDelegate()
GetNewsfunction string GetNews(byte LocalUserNum, EOnlineNewsType NewsType)
OnReadNewsCompleteddelegate OnReadNewsCompleted(bool bWasSuccessful, EOnlineNewsType NewsType)
ReadNewsnative function bool ReadNews(byte LocalUserNum, EOnlineNewsType NewsType)

Inherited

FromMembers
MCPBase0 properties, 0 functions
McpServiceBase2 properties, 16 functions
Object13 properties, 308 functions