GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ColdWaters-DotModCampaignChecker/campaign.py at main · DotModGroup/ColdWaters-DotModCampaignChecker

Expand file tree

/

campaign.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
54 lines (47 loc) · 1.63 KB
/

campaign.py

Copy path

File metadata and controls

54 lines (47 loc) · 1.63 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
"""This file contains tests to ensure all required regular and special events exist
Imports From:
awards.py
campaign_data.py
language_info.py
mission.py
summary.py
vessel_inventory.py
Classes:
Campaign
"""
from awards import Awards
from mission import Mission
from campaign_data import CampaignData
from vessel_inventory import VesselInventory
from language_info import LangaugeInfo
from summary import Summary
from waypoints import Waypoints
class Campaign:
"""This class describes a fully parsed campaign, with missions and all other data
Attributes:
missions: list[Mission] | This is the list of all Missions in this Campaign
campaign_data: CampaignData | This stores all of the info parsed from campaign_data.txt
vessel_inventory: VesselInventory | This stores the parsed vessel inventories and selectors
awards: Awards | This stores all Awards in the Campaign
summary: Summary | This stores the campaign's parsed Summary file
waypoints: Waypoints | This stores all of the campaign's land and sea waypoints
Methods:
None
"""
def __init__(
self,
awards: Awards,
missions: list[Mission],
campaign_data: CampaignData,
vessel_inventory: VesselInventory,
language_info: LangaugeInfo,
summary: Summary,
waypoints: Waypoints,
):
self.awards = awards
self.missions = missions
self.campaign_data = campaign_data
self.vessel_inventory = vessel_inventory
self.language_info = language_info
self.summary = summary
self.waypoints = waypoints
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.