当前位置: 首页>>代码示例>>C#>>正文


C# Dungeon.RemoveAllPlayers方法代码示例

本文整理汇总了C#中Dungeon.RemoveAllPlayers方法的典型用法代码示例。如果您正苦于以下问题:C# Dungeon.RemoveAllPlayers方法的具体用法?C# Dungeon.RemoveAllPlayers怎么用?C# Dungeon.RemoveAllPlayers使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Dungeon的用法示例。


在下文中一共展示了Dungeon.RemoveAllPlayers方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OnCleared

	public override void OnCleared(Dungeon dungeon)
	{
		dungeon.PlayCutscene("RP_Ranald_00_c", cutscene =>
		{
			var creature = cutscene.Leader.GetActualCreature();

			creature.Keywords.Give("RP_Ranald_Complete");

			dungeon.RemoveAllPlayers();
		});
	}
开发者ID:aura-project,项目名称:aura,代码行数:11,代码来源:rp_ranald_dunbarton_rabbie_dungeon.cs

示例2: OnBoss

	public override void OnBoss(Dungeon dungeon)
	{
		dungeon.PlayCutscene("RP_Tracy_00_b", cutscene =>
		{
			var creature = cutscene.Leader.GetActualCreature();

			creature.Keywords.Give("RP_Tracy_Complete");

			dungeon.RemoveAllPlayers();
		});
	}
开发者ID:aura-project,项目名称:aura,代码行数:11,代码来源:rp_tracy_tircho_ciar_dungeon.cs

示例3: OnBoss

	public override void OnBoss(Dungeon dungeon)
	{
		dungeon.PlayCutscene("RP_Monster_Chicken_00_b", cutscene =>
		{
			var creature = cutscene.Leader.GetActualCreature();

			if (!creature.Keywords.Has("RP_Monster_Chicken_complete"))
			{
				creature.Keywords.Remove("RP_Monster_Chicken_start");
				creature.Keywords.Give("RP_Monster_Chicken_complete");
			}

			dungeon.RemoveAllPlayers();
		});
	}
开发者ID:aura-project,项目名称:aura,代码行数:15,代码来源:rp_monster_chicken.cs

示例4: OnCleared

	public override void OnCleared(Dungeon dungeon)
	{
		dungeon.PlayCutscene("G1_38_a_Morrighan", cutscene =>
		{
			// Switch keywords
			var creators = dungeon.GetCreators();
			foreach (var member in creators)
			{
				if (member.Keywords.Has("g1_36"))
				{
					member.Keywords.Remove("g1_36");
					member.Keywords.Give("g1_37");
					member.Keywords.Give("g1_revive_of_glasgavelen");
				}
			}

			// Get out
			dungeon.RemoveAllPlayers();
		});
	}
开发者ID:aura-project,项目名称:aura,代码行数:20,代码来源:g1_37_black_tirnanog_dungeon.cs

示例5: OnCleared

	public override void OnCleared(Dungeon dungeon)
	{
		dungeon.PlayCutscene("G1_15_c_TarlachRP", cutscene =>
		{
			// Switch keywords
			var creators = dungeon.GetCreators();
			foreach (var member in creators)
			{
				if (member.Keywords.Has("g1_15"))
				{
					member.Keywords.Remove("g1_15");
					member.Keywords.Give("g1_16");
					member.Keywords.Remove("g1_dulbrau2");
					member.Keywords.Give("g1_succubus");
				}
			}

			// Get out
			dungeon.RemoveAllPlayers();
		});
	}
开发者ID:aura-project,项目名称:aura,代码行数:21,代码来源:g1rp_15_dunbarton_rabbie_dungeon.cs

示例6: OnBoss

	public override void OnBoss(Dungeon dungeon)
	{
		dungeon.AddBoss(120005, 10); // Black Town Rat

		dungeon.PlayCutscene("G1_25_d_3WarriorsRP2", cutscene =>
		{
			var creators = dungeon.GetCreators();
			foreach (var member in creators)
			{
				if (member.Keywords.Has("g1_29"))
				{
					member.Keywords.Remove("g1_29");
					member.Keywords.Give("g1_30");
					member.Keywords.Remove("g1_bone_of_glasgavelen");
					member.Keywords.Give("g1_goddess_morrighan2");
				}
			}

			// Get out
			dungeon.RemoveAllPlayers();
		});
	}
开发者ID:aura-project,项目名称:aura,代码行数:22,代码来源:g1rp_25_dunbarton_rabbie_dungeon.cs

示例7: OnCleared

	public override void OnCleared(Dungeon dungeon)
	{
		dungeon.PlayCutscene("G1_5_c_3WarriorsRP", cutscene =>
		{
			// Switch keywords for all members
			// Iirc officials do it only for the leader, but really,
			// who wants to run this thrice...?
			foreach (var member in dungeon.GetCreators())
			{
				if (member.Keywords.Has("g1_03"))
				{
					member.Keywords.Remove("g1_03");
					member.Keywords.Give("g1_04");
					member.Keywords.Remove("g1_tarlach1");
					member.Keywords.Remove("g1_tarlach2");
					member.Keywords.Give("g1_goddess");
				}
			}

			// Get out
			dungeon.RemoveAllPlayers();
		});
	}
开发者ID:aura-project,项目名称:aura,代码行数:23,代码来源:g1rp_05_tircho_alby_dungeon.cs


注:本文中的Dungeon.RemoveAllPlayers方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。