Exemplo n.º 1
0
 public WitnessData(WitnessData w) : base(w)
 {
     IsCompliant             = w.IsCompliant;
     DialogID                = w.DialogID;
     DialogRefuseTransportID = w.DialogRefuseTransportID;
     PickupPos               = w.PickupPos;
 }
Exemplo n.º 2
0
        public static Witness CreateWitness(WitnessData wd, string[] dialog)
        {
            var wit = new Witness(wd.ID, wd.Description, wd.Spawn, wd.Model, dialog, wd.PickupPos);

            ApplyEvidenceProperies(wit, wd);
            ApplyWitnessProperties(wit, wd);
            return(wit);
        }
Exemplo n.º 3
0
 public static void ApplyWitnessProperties(Witness w, WitnessData data)
 {
     w.IsCompliant = data.IsCompliant;
 }