示例#1
0
 public static bool isBase(this ChannelEnergyEngine.ChannelType this_type)
 {
     return(this_type == ChannelEnergyEngine.ChannelType.PositiveHeal || this_type == ChannelEnergyEngine.ChannelType.NegativeHeal ||
            this_type == ChannelEnergyEngine.ChannelType.PositiveHarm || this_type == ChannelEnergyEngine.ChannelType.NegativeHarm);
 }
示例#2
0
 public static bool isNotOf(this ChannelEnergyEngine.ChannelType this_type, ChannelEnergyEngine.ChannelType channel_type)
 {
     return((this_type & channel_type) == 0);
 }