Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SmartInteractSystem()

Terraria.GameContent.ObjectInteractions.SmartInteractSystem.SmartInteractSystem ( )
inline

Definition at line 13 of file SmartInteractSystem.cs.

14 {
15 _candidateProvidersByOrderOfPriority.Add(new PotionOfReturnSmartInteractCandidateProvider());
16 _candidateProvidersByOrderOfPriority.Add(new ProjectileSmartInteractCandidateProvider());
17 _candidateProvidersByOrderOfPriority.Add(new NPCSmartInteractCandidateProvider());
18 _candidateProvidersByOrderOfPriority.Add(new TileSmartInteractCandidateProvider());
19 _blockProviders.Add(new BlockBecauseYouAreOverAnImportantTile());
20 }
void Add(TKey key, TValue value)
List< ISmartInteractCandidateProvider > _candidateProvidersByOrderOfPriority
List< ISmartInteractBlockReasonProvider > _blockProviders

References Terraria.GameContent.ObjectInteractions.SmartInteractSystem._blockProviders, Terraria.GameContent.ObjectInteractions.SmartInteractSystem._candidateProvidersByOrderOfPriority, and System.Collections.Generic.Dictionary< TKey, TValue >.Add().