Ejemplo n.º 1
0
        public virtual void LogEvent(hostChar ch, campCampaign camp, string n, string nl, string desc)
        {
            hostUserEvent ev = new hostUserEvent(n, nl, this, ch, camp, desc);

            ev.DateOccured = DateTime.Now;
            //this.Events.Add(ev);
        }
Ejemplo n.º 2
0
 public hostUserEvent(string n, string nl, hostUser usr, hostChar ch, campCampaign camp, string desc)
     : this(n, nl)
 {
     this.Character   = ch;
     this.Campaign    = camp;
     this.Description = desc;
     this.User        = usr;
 }
Ejemplo n.º 3
0
 public hostCharStat(sysBaseStatistic s, hostChar c, int v)
 {
     this.stat = s;
     if (v == 0)
     {
         v = s.defvalue;
     }
     this.value = v;
     character  = c;
     if (this.value < s.min || this.value > s.max)
     {
         throw new ApplicationException("System Stat out of range," + s.LongName + " =" + v.ToString());
     }
 }