예제 #1
0
파일: ObjectMatcher.cs 프로젝트: SinaC/RMUD
 public static MatchPreference PreferWOrn(Actor Actor, MudObject Object)
 {
     if (Actor.Contains(Object, RelativeLocations.Worn))
     {
         return(MatchPreference.Likely);
     }
     return(MatchPreference.Plausible);
 }
예제 #2
0
파일: ObjectMatcher.cs 프로젝트: SinaC/RMUD
 public static MatchPreference PreferNotHeld(Actor Actor, MudObject Object)
 {
     if (Actor.Contains(Object, RelativeLocations.Held))
     {
         return(MatchPreference.Unlikely);
     }
     return(MatchPreference.Plausible);
 }
예제 #3
0
 public static MatchPreference PreferWOrn(Actor Actor, MudObject Object)
 {
     if (Actor.Contains(Object, RelativeLocations.Worn)) return MatchPreference.Likely;
     return MatchPreference.Plausible;
 }
예제 #4
0
 public static MatchPreference PreferNotHeld(Actor Actor, MudObject Object)
 {
     if (Actor.Contains(Object, RelativeLocations.Held)) return MatchPreference.Unlikely;
     return MatchPreference.Plausible;
 }