American Revolution python

MOD/作成情報/American Revolution python
Last-modified: 2009-04-16 18:51:01

MOD/作成情報/American Revolution python †

American revolutionのpythonについて

CvEventInterface.py †

ファイルがある場所
Python\EntryPoints CvEventInterface.py

# Sid Meier's Civilization 4
# Copyright Firaxis Games 2005
#
# CvEventInterface.py
#
# These functions are App Entry Points from C++
# WARNING: These function names should not be changed
# WARNING: These functions can not be placed into a class
#
# No other modules should import this
#
import CvUtil
import CvEventManager
import CvAmRevEvents
from CvPythonExtensions import *

amRevEventManager = CvAmRevEvents.CvAmRevEvents()
normalEventManager = CvEventManager.CvEventManager()

def getEventManager():
	return amRevEventManager
	
def onEvent(argsList):
	'Called when a game event happens - return 1 if the event was consumed'
	return getEventManager().handleEvent(argsList)

def applyEvent(argsList):
	context, playerID, netUserData, popupReturn = argsList
	return getEventManager().applyEvent(argsList)

def beginEvent(context, argsList=-1):
	return getEventManager().beginEvent(context, argsList)

メモ

CvDawnOfMan.py †

Python\Screens CvDawnOfMan.py

CvTechChooser.py †

Python\Screens CvTechChooser.py

CvAmRevEvents.py †

Python CvAmRevEvents.py

CvGameUtils.py †

Python CvGameUtils.py