first commit
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
package wxface
|
||||
|
||||
import "xiawan/wx/clientsdk/baseinfo"
|
||||
|
||||
// IWXGrabHBMgr 自动抢红包管理器
|
||||
type IWXGrabHBMgr interface {
|
||||
// 开始抢红包协程
|
||||
Start()
|
||||
// 结束抢红包协程
|
||||
Stop()
|
||||
// 抢下一个红包
|
||||
GrapNext()
|
||||
// 添加红包项
|
||||
AddHBItem(hbItem *baseinfo.HongBaoItem)
|
||||
// 获取当前正在抢的红包项
|
||||
GetCurrentHBItem() *baseinfo.HongBaoItem
|
||||
// 是否开启自动抢红包功能
|
||||
IsAutoGrap() bool
|
||||
// 设置自动抢红包开关
|
||||
SetAutoGrap(bFlag bool)
|
||||
//设置抢红包自动回复
|
||||
SetAutoReply(bFlag bool)
|
||||
//设置延迟抢红包时间
|
||||
SetDelayOpen(bFlag int)
|
||||
//是否抢红包自动回复
|
||||
IsAutoReply()
|
||||
//获取延迟时间
|
||||
GetDelayOpen()
|
||||
}
|
||||
Reference in New Issue
Block a user