コード例 #1
0
        public AppSystem(string name, SystemSource source)
        {
            if (name == null)
            {
                throw new ArgumentNullException(nameof(name));
            }

            this.Name   = name;
            this.Source = source;
        }
コード例 #2
0
ファイル: SystemClass.cs プロジェクト: Keen13/BaseUtilities
 public SystemClass(SystemSource statusv, string name, int xi, int yi, int zi, long edsmid,
                    long population, string faction,
                    EDGovernment g, EDAllegiance a, EDState s, EDSecurity security,
                    EDEconomy eco, string power, string powerstate, int needspermit,
                    int gridid = -1) : base(name, xi, yi, zi, edsmid, gridid)
 {
     Population     = population;
     Faction        = faction;
     Government     = g;
     Allegiance     = a;
     State          = s;
     Security       = security;
     PrimaryEconomy = eco;
     Power          = power;
     PowerState     = powerstate;
     NeedsPermit    = needspermit;
     source         = statusv;
 }