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
| #!/usr/bin/python
| # -*- coding: GBK -*-
|
| ##@package PrintMoney
| # Êä³öÍæ¼ÒÉíÉϵÄbuff
| #
| # @author ifo
| # @date 2010-4-23
| # @version 1.0
| #
| # ÐÞ¸Äʱ¼ä ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
| # VER = "2010-05-12 18:30" zhengyang Ìí¼Ó×¢ÊÍ
| #
| # Ä£¿éÏêϸ˵Ã÷
|
| import GameWorld
| import PlayerControl
| import SetMoney
|
| ## GMÃüÁîÖ´ÐÐÈë¿Ú
| # @param curPlayer µ±Ç°Íæ¼Ò
| # @param list ²ÎÊýÁбí []
| # @return None
| # @remarks º¯ÊýÏêϸ˵Ã÷.
| def OnExec(curPlayer, msgList):
|
| if msgList:
| moneyType = msgList[0]
| name = SetMoney.moneyNameDict.get(moneyType, str(moneyType))
| GameWorld.DebugAnswer(curPlayer, "%s%s=%s" % (moneyType, name, PlayerControl.GetMoney(curPlayer, moneyType)))
| return
|
| GameWorld.DebugAnswer(curPlayer, "--------------------")
| for moneyType, name in SetMoney.moneyNameDict.items():
| GameWorld.DebugAnswer(curPlayer, "%s%s=%s" % (moneyType, name, PlayerControl.GetMoney(curPlayer, moneyType)))
| return
|
|
|
|
|