コード例 #1
0
 protected override void OnItemDeath(MortalItemDeathEvent e) {
     if ((e.Source as StarBaseItem) == Item) {
         CleanupOnDeath();
     }
 }
コード例 #2
0
 protected override void OnItemDeath(MortalItemDeathEvent e) {
     if ((e.Source as FleetCmdModel) == Model) {
         CleanupOnDeath();
     }
 }