コード例 #1
0
 def _LoadActionStationGlobalData(self, asUID):
     asDbData = self.GetActionStationRecord(asUID)
     if asDbData is None:
         return
     asGlobalData = GameWorld.ActionStationGlobalData(asUID)
     if self._LoadActionEntries(asGlobalData) is False:
         return
     self.manager.AddActionStationGlobalData(asGlobalData)
     return asGlobalData
コード例 #2
0
 def _LoadActionStationGlobalData(self, asUID):
     """
         Load the ActionStation "global data" for the specified UID.
         
         In:     asUID - The UID of the ActionStation we're loading.
         Out:    Stores the loaded ActionStation "global data" to the internal list.
         Return: The global data just loaded.
     """
     asDbData = self.GetActionStationRecord(asUID)
     if asDbData is None:
         return
     asGlobalData = GameWorld.ActionStationGlobalData(asUID)
     if self._LoadActionEntries(asGlobalData) is False:
         return
     self.manager.AddActionStationGlobalData(asGlobalData)
     return asGlobalData