本文整理匯總了Python中core.formation.Formation.send_friends_notify方法的典型用法代碼示例。如果您正苦於以下問題:Python Formation.send_friends_notify方法的具體用法?Python Formation.send_friends_notify怎麽用?Python Formation.send_friends_notify使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類core.formation.Formation
的用法示例。
在下文中一共展示了Formation.send_friends_notify方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: login_notify
# 需要導入模塊: from core.formation import Formation [as 別名]
# 或者: from core.formation.Formation import send_friends_notify [as 別名]
def login_notify(char_id):
hero_objs = char_heros_obj(char_id)
Char(char_id).send_notify()
hero_notify(char_id, hero_objs)
Item(char_id).send_notify()
f = Formation(char_id)
f.send_socket_notify()
f.send_formation_notify()
hang = Hang(char_id)
hang.send_notify()
Plunder(char_id).send_notify()
p = Prison(char_id)
p.send_prisoners_notify()
Arena(char_id).send_notify()
f = Friend(char_id)
f.send_friends_notify()
f.send_friends_amount_notify()
m = Mail(char_id)
m.send_mail_notify()
CheckIn(char_id).send_notify()
stage = Stage(char_id)
stage.send_already_stage_notify()
stage.send_new_stage_notify()
stage_elite = EliteStage(char_id)
stage_elite.send_notify()
stage_elite.send_remained_times_notify()
stage_activity = ActivityStage(char_id)
stage_activity.send_notify()
stage_activity.send_remained_times_notify()
HeroPanel(char_id).send_notify()
Task(char_id).send_notify()
Achievement(char_id).send_notify()
HeroSoul(char_id).send_notify()
FunctionOpen(char_id).send_notify()
Levy(char_id).send_notify()
Attachment(char_id).send_notify()
示例2: login_notify
# 需要導入模塊: from core.formation import Formation [as 別名]
# 或者: from core.formation.Formation import send_friends_notify [as 別名]
def login_notify(char_id):
message_clean(char_id)
function_open = FunctionOpen(char_id)
function_open.send_notify()
hero_objs = char_heros_obj(char_id)
Char(char_id).send_notify()
VIP(char_id).send_notify()
hero_notify(char_id, hero_objs)
Item(char_id).send_notify()
f = Formation(char_id)
f.send_socket_notify()
f.send_formation_notify()
Plunder(char_id).send_notify()
p = Prison(char_id)
p.send_prisoners_notify()
a = Arena(char_id)
a.send_notify()
a.login_process()
f = Friend(char_id)
f.send_friends_notify()
f.send_friends_amount_notify()
CheckIn(char_id).send_notify()
stage = Stage(char_id)
stage.send_already_stage_notify()
stage.send_new_stage_notify()
stage_elite = EliteStage(char_id)
stage_elite.send_notify()
stage_elite.send_times_notify()
stage_activity = ActivityStage(char_id)
stage_activity.check(send_notify=False)
stage_activity.send_notify()
stage_activity.send_remained_times_notify()
HeroPanel(char_id).send_notify()
Task(char_id).send_notify()
Achievement(char_id).send_notify()
HeroSoul(char_id).send_notify()
Levy(char_id).send_notify()
Attachment(char_id).send_notify()
BasePurchaseAction(char_id).send_notify()
SystemBroadcast(char_id).send_global_broadcast()
ChatMessagePublish(char_id).send_notify()
affairs = Affairs(char_id)
affairs.send_city_notify()
affairs.send_hang_notify()
HorseFreeTimesManager(char_id).send_notify()
Horse(char_id).send_notify()
union.send_notify(char_id)
ae = ActivityEntry(char_id, 50006)
if ae and ae.is_valid():
ae.enable(ae.get_current_value(char_id))
ActivityStatic(char_id).send_notify()
# mail notify 要放在最後,因為 其他功能初始化時可能會產生登錄郵件
Mail(char_id).send_notify()