コード例 #1
0
        public ExplicitRadio(RadioFaction faction, Item radio)
        {
#if DEBUG
            if (faction.RadioID != radio.Model.ID)
            {
                throw new InvalidOperationException("faction radio not provided");
            }
#endif
            Threats     = faction.Threats;
            Investigate = faction.Investigate;
            FactionID   = faction.FactionID;
            Radio       = radio;
        }
コード例 #2
0
 public ImplicitRadio(RadioFaction faction)
 {
     Threats     = faction.Threats;
     Investigate = faction.Investigate;
     FactionID   = faction.FactionID;
 }
コード例 #3
0
 public TryToClearZones(RadioFaction faction, Actor act)
 {
     Threats     = faction.Threats;
     Investigate = faction.Investigate;
     m_Actor     = act;
 }