本文整理汇总了Python中shared.tlog.logclient.gethandler函数的典型用法代码示例。如果您正苦于以下问题:Python gethandler函数的具体用法?Python gethandler怎么用?Python gethandler使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了gethandler函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: hero_upgrade
def hero_upgrade(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0, HeroId=0, ChangeLevel=0,
Level=0, Type=0, ExpItemNum1=0, ExpItemNum2=0,
ExpItemNum3=0, ExpItemNo=0):
message = ['HeroUpgrade']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(HeroId)
message.append(ChangeLevel)
message.append(Level)
message.append(Type)
message.append(ExpItemNum1)
message.append(ExpItemNum2)
message.append(ExpItemNum3)
message.append(ExpItemNo)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例2: item_flow
def item_flow(PlatID=0, GameSvrId=0, dtEventTime=0, Sequence=0, GameAppID=0,
OpenID=0, ItemType=0, ItemID=0, AfterCount=0, Count=0,
Reason=0, SubReason=0, ReasonEventID=0, AddOrReduce=0, Itid=0):
message = ['ItemFlow']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(Sequence)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(ItemType)
message.append(ItemID)
message.append(AfterCount)
message.append(Count)
message.append(Reason)
message.append(SubReason)
message.append(ReasonEventID)
message.append(AddOrReduce)
message.append(Itid)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例3: make_runt
def make_runt(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0, RuntID1=0, RuntID2=0,
RuntID3=0, RuntID4=0, RuntID5=0, Num=0,
ResRuntID=0, ResRuntNo=0):
message = ['MakeRunt']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(RuntID1)
message.append(RuntID2)
message.append(RuntID3)
message.append(RuntID4)
message.append(RuntID5)
message.append(Num)
message.append(ResRuntID)
message.append(ResRuntNo)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例4: item_money_flow
def item_money_flow(PlatID=0, GameSvrId=0, dtEventTime=0, Sequence=0,
GameAppID=0, OpenID=0, ItemType=0, ItemID=0,
Count=0, Money=0, Level=0, MoneyType=0,
DiscountMoney=0, DiscountMoneyType=0,
LimitVipEveryday=0, LimitVip=0, IsDiscount=0):
message = ['ItemMoneyFlow']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(Sequence)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(ItemType)
message.append(ItemID)
message.append(Count)
message.append(Money)
message.append(Level)
message.append(MoneyType)
message.append(DiscountMoney)
message.append(DiscountMoneyType)
message.append(LimitVipEveryday)
message.append(LimitVip)
message.append(IsDiscount)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例5: round_flow
def round_flow(GameSvrId=0, dtEventTime=0, GameAppID=0, PlatID=0,
OpenID=0, BattleID=0, BattleType=0, isQuick=0, Result=0,
Score=0, Rank=0, Gold=0, ExpChange=0, BattleSoleId=0):
message = ['RoundFlow']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(BattleID)
message.append(BattleType)
message.append(isQuick)
message.append(Result)
message.append(Score)
message.append(Rank)
message.append(Gold)
message.append(ExpChange)
message.append(BattleSoleId)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例6: money_flow
def money_flow(PlatID=0, GameSvrId=0, dtEventTime=0, Sequence=0, GameAppID=0,
OpenID=0, Level=0, AfterMoney=0, Money=0, Reason=0, SubReason=0,
ReasonEventID=0, AddOrReduce=0, MoneyType=0, itemId=0, itemAmount=0):
message = ['MoneyFlow']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(Sequence)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(Level)
message.append(AfterMoney)
message.append(Money)
message.append(Reason)
message.append(SubReason)
message.append(ReasonEventID)
message.append(AddOrReduce)
message.append(MoneyType)
message.append(itemId)
message.append(itemAmount)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例7: online_num
def online_num(GameSvrId=0, dtEventTime=0, GameAppID=0,
Num=0):
message = ['OnlineNum']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(Num)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例8: mine_box
def mine_box(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0):
message = ['MineBox']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例9: recharge
def recharge(GameSvrId=0, dtEventTime=0, GameAppID=0, PlatID=0,
OpenID=0, Isfirst=0, RechargeId=0):
message = ['Recharge']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(Isfirst)
message.append(RechargeId)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例10: world_boss_in_reward
def world_boss_in_reward(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0, MailID=0):
message = ['WorldBossInReward']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(MailID)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例11: overcome_award
def overcome_award(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0, Index=0):
message = ['OvercomeAward']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(Index)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例12: unpar_upgrade
def unpar_upgrade(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0, Level=0):
message = ['UnparUpgrade']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(Level)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例13: exit_guild
def exit_guild(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0, GuildId=0):
message = ['ExitGuild']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(GuildId)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例14: login_gift
def login_gift(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0, ActivityID=0):
message = ['LoginGift']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(ActivityID)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg
示例15: feast
def feast(GameSvrId=0, dtEventTime=0, GameAppID=0,
PlatID=0, OpenID=0, Stamina=0):
message = ['Feast']
message.append(GameSvrId)
message.append(dtEventTime)
message.append(GameAppID)
message.append(PlatID)
message.append(OpenID)
message.append(Stamina)
sendmsg = _format(message)
logclient.gethandler().send_msg(sendmsg + '\n')
if debug:
print sendmsg