本文整理汇总了C#中SecureLevel类的典型用法代码示例。如果您正苦于以下问题:C# SecureLevel类的具体用法?C# SecureLevel怎么用?C# SecureLevel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SecureLevel类属于命名空间,在下文中一共展示了SecureLevel类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Result
public Result(Age a, Sex s, Profession p, Education e, YesNo cit,
List<Technology> tech, Frequency pub, Frequency home,
NumPass single, List<PassType> passType, Frequency pChange,
YesNo sharePass,YesNo pSecure, YesNo passHome,YesNo pMobile,
YesNo hWifiPass, YesNo hWifiFire, YesNo hVirusSoftware, YesNo softUpdate,
SecureLevel sLevel, SharePersonalInfo postPersonal, Frequency pWifi)
{
m_age = a;
m_sex = s;
m_profession = p;
m_education = e;
m_usCitizen = cit;
m_technologyList = tech;
m_publicComputer = pub;
m_homeComputer = home;
m_singlePass = single;
m_passType = passType;
m_passChangeFreq = pChange;
m_sharePassword = sharePass;
m_passSecure = pSecure;
m_passHomePC = passHome;
m_passForMobile = pMobile;
m_homeWifiPass = hWifiPass;
m_homeWifiFirewall = hWifiFire;
m_homeVirusSoftware = hVirusSoftware;
m_softwareUpdates = softUpdate;
m_securityLevel = sLevel;
m_postPersonalInfo = postPersonal;
m_publicWifi = pWifi;
}
示例2: DaviesLockerAddon
public DaviesLockerAddon(bool south, List<DaviesLockerEntry> list)
{
m_South = south;
m_Entries = list;
m_Level = SecureLevel.CoOwners;
if (south)
{
AddComponent(new DaviesLockerComponent(19455), 0, 0, 0);
AddComponent(new DaviesLockerComponent(19456), 1, 0, 0);
AddComponent(new DaviesLockerComponent(19457), 2, 0, 0);
AddComponent(new DaviesLockerComponent(19453), 0, 1, 0);
AddComponent(new DaviesLockerComponent(19452), 1, 1, 0);
AddComponent(new DaviesLockerComponent(19454), 2, 1, 0);
}
else
{
AddComponent(new DaviesLockerComponent(19449), 0, 0, 0);
AddComponent(new DaviesLockerComponent(19448), 1, 0, 0);
AddComponent(new DaviesLockerComponent(19450), 0, 1, 0);
AddComponent(new DaviesLockerComponent(19447), 1, 1, 0);
AddComponent(new DaviesLockerComponent(19451), 0, 2, 0);
AddComponent(new DaviesLockerComponent(19446), 1, 2, 0);
}
}
示例3: ChickenCoop
public ChickenCoop()
: base(0x4513)
{
Weight = 20;
m_Level = SecureLevel.CoOwners;
ItemValue = ItemValue.Rare;
}
示例4: Deserialize
public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );
int version = reader.ReadInt();
switch ( version )
{
case 1:
{
m_Level = (SecureLevel) reader.ReadInt();
goto case 0;
}
case 0:
{
if ( version < 1 )
{
m_Level = SecureLevel.Anyone;
}
m_Facing = (DoorFacing) reader.ReadInt();
break;
}
}
}
示例5: Deserialize
public override void Deserialize(GenericReader reader)
{
base.Deserialize( reader );
int version = reader.ReadEncodedInt();
m_Level = (SecureLevel) reader.ReadEncodedInt();
}
示例6: HouseTeleporter
public HouseTeleporter( int itemID, Item target ) : base( itemID )
{
Movable = false;
m_Level = SecureLevel.Anyone;
m_Target = target;
}
示例7: EternalEmbers
public EternalEmbers() : base( 0xDE1 )
{
Stackable = false;
Weight = 5.0;
isLit = false;
Name = "eternal embers";
m_Level = SecureLevel.CoOwners;
}
示例8: BulkOrderBook
public BulkOrderBook() : base( 0x2259 )
{
Weight = 1.0;
LootType = LootType.Blessed;
m_Entries = new ArrayList();
m_Filter = new BOBFilter();
m_Level = SecureLevel.CoOwners;
}
示例9: CorruptedCrystalPortal
public CorruptedCrystalPortal() : base()
{
//Weight = 20;
ItemID = 18059;
Hue = 1164;
Name = "Corrupted Crystal Portal";
Movable = true;
LootType = LootType.Blessed;
m_Level = SecureLevel.Anyone;
}
示例10: HitchingPost
public HitchingPost()
: base(0x14E7)
{
Weight = 10;
Charges = 2;
UsesRemaining = 15;
m_Level = SecureLevel.CoOwners;
}
示例11: HitchingPost
public HitchingPost()
: base(0x14E7)
{
this.Weight = 10;
this.Charges = 2;
this.UsesRemaining = 15;
this.m_Level = SecureLevel.CoOwners;
}
示例12: CrystalPortal
public CrystalPortal()
{
Hue = 1159;
ItemID = 18059;
Name = "Crystal Portal";
Movable = true;
LootType = LootType.Blessed;
Level = SecureLevel.CoOwners;
}
示例13: GetFirstID
public int GetFirstID( SecureLevel level )
{
if (m_Info != null)
{
return (m_Info.Level == level) ? 4006 : 4005;
}
else
{
return 4005;
}
}
示例14: PlantItem
public PlantItem( bool fertileDirt )
: base(0x1602)
{
Weight = 1.0;
m_PlantStatus = PlantStatus.BowlOfDirt;
m_PlantSystem = new PlantSystem( this, fertileDirt );
m_Level = SecureLevel.CoOwners;
m_Instances.Add( this );
}
示例15: TamingBulkOrderBook
public TamingBulkOrderBook() : base( 0x2259 )
{
Name = "taming bulk order book";
Weight = 1.0;
LootType = LootType.Blessed;
m_Entries = new ArrayList();
m_Filter = new TamingBOBFilter();
m_Level = SecureLevel.CoOwners;
}