hxp
2019-01-09 8978dd1c93b322806bac51090d40e65cee33d90d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/python
# -*- coding: GBK -*-
#-------------------------------------------------------------------------------
#
##@package GameWorldLogic.FBProcess.GameLogic_CrossPenglai
#
# @todo:ÅîÀ³Ïɾ³£¨¿ç·þÒìÊÞÖ®µØ£©
# @author hxp
# @date 2019-01-07
# @version 1.0
#
# ÏêϸÃèÊö: ÅîÀ³Ïɾ³£¨¿ç·þÒìÊÞÖ®µØ£©
#
#-------------------------------------------------------------------------------
#"""Version = 2019-01-07 18:00"""
#-------------------------------------------------------------------------------
 
import IPY_GameWorld
import GameWorld
 
 
## ²éѯµØÍ¼ÊÇ·ñ¿ªÆô
#  @param tick Ê±¼ä´Á
#  @return ²¼¶ûÖµ
def OnCanOpen(tick):
    return True
 
## ÊÇ·ñÄܹ»Í¨¹ý»î¶¯²éѯ½øÈë
#  @param curPlayer Íæ¼ÒʵÀý
#  @param mapID µØÍ¼ID
#  @param lineID Ïß·id
#  @param tick Ê±¼ä´Á
#  @return ²¼¶ûÖµ
def OnEnterFBEvent(curPlayer, mapID, lineID, tick):
    return True
 
##²éѯÊÇ·ñ¿ÉÒÔ½øÈëµØÍ¼
# @param ask:ÇëÇó½á¹¹Ìå(IPY_BMChangeMapAsk)
# @param tick:ʱ¼ä´Á
# @return IPY_GameWorld.cme Ã¶¾Ù
def OnChangeMapAsk(ask, tick):
    return IPY_GameWorld.cmeAccept
 
## ½ø¸±±¾
#  @param curPlayer
#  @param tick
#  @return None
def DoEnterFB(curPlayer, tick):
    GameWorld.DebugLog("DoEnterFB", curPlayer.GetPlayerID())
    return
 
 
## ¿ªÊ¼²É¼¯
#  @param curPlayer µ±Ç°Íæ¼Ò
#  @param curNPC µ±Ç°NPC
#  @return None or False
#  @remarks º¯ÊýÏêϸ˵Ã÷.
def OnBeginCollect(curPlayer, curNPC):
    return
 
 
## ÊÕ¼¯ÖÐ
def OnCollecting(curPlayer, tick):
    return
 
 
##Íæ¼ÒÊÕ¼¯³É¹¦(Ëþ, Æì)
# @param curPlayer Íæ¼ÒʵÀý
# @param tick Ê±¼ä´Á
# @return ÎÞÒâÒå
# @remarks
def OnCollectOK(curPlayer, npcID, tick):
    return
 
 
##---¸±±¾×ÜÂß¼­¼ÆÊ±Æ÷---
# @param tick:ʱ¼ä´Á
# @return ÎÞÒâÒå
# @remarks ¸±±¾×ÜÂß¼­¼ÆÊ±Æ÷
def OnProcess(tick):
    return