本文整理汇总了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()