Skip to content

TwitterIntegrationBase

Class in Engine · Engine.TwitterIntegrationBase · native, config

Object › PlatformInterfaceBase › TwitterIntegrationBase

Using it from Lua
h7.find_all("TwitterIntegrationBase")            -- live instances
h7.find_class("Engine.TwitterIntegrationBase")   -- the class
h7.hook("Engine.TwitterIntegrationBase.AuthorizeAccounts", fn)

Enums

ETwitterIntegrationDelegate

TID_AuthorizeComplete = 0, TID_TweetUIComplete = 1, TID_RequestComplete = 2

ETwitterRequestMethod

TRM_Get = 0, TRM_Post = 1, TRM_Delete = 2

Functions

NameDeclaration
AuthorizeAccountsnative event bool AuthorizeAccounts()
CanShowTweetUInative event bool CanShowTweetUI()
GetAccountIdnative event string GetAccountId(int AccountIndex)
GetAccountNamenative event string GetAccountName(int AccountIndex)
GetNumAccountsnative event int GetNumAccounts()
Initnative event Init()
ShowTweetUInative event bool ShowTweetUI(optional string InitialMessage, optional string URL, optional string Picture)
TwitterRequestnative event bool TwitterRequest(string URL, array ParamKeysAndValues, ETwitterRequestMethod RequestMethod, int AccountIndex)

Inherited

FromMembers
PlatformInterfaceBase1 properties, 14 functions
Object13 properties, 308 functions