Esempio n. 1
0
 static string MakeKey(SupportPower sp)
 {
     return(sp.Info.AllowMultiple ? sp.Info.OrderName + "_" + sp.self.ActorID : sp.Info.OrderName);
 }
Esempio n. 2
0
 static bool InstanceDisabled(SupportPower sp)
 {
     return(sp.self.TraitsImplementing <IDisable>().Any(d => d.Disabled));
 }