本文整理汇总了Python中org.rs2server.rs2.model.DialogueManager.openDialogue方法的典型用法代码示例。如果您正苦于以下问题:Python DialogueManager.openDialogue方法的具体用法?Python DialogueManager.openDialogue怎么用?Python DialogueManager.openDialogue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.rs2server.rs2.model.DialogueManager
的用法示例。
在下文中一共展示了DialogueManager.openDialogue方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: objectOptionOne_2185
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def objectOptionOne_2185(player, obj):
if(player.getQuestStorage().getQuestStage(TreeGnomeVillage.QUEST_ID) >= 8):
if(player.getLocation().equals(Location.create(2509, 3252, 0))):
player.setTeleportTarget(Location.create(2509, 3254, 0))
DialogueManager.openDialogue(player, 469)
elif(player.getLocation().equals(Location.create(2509, 3254, 0))):
player.setTeleportTarget(Location.create(2509, 3252, 0))
示例2: talkTo579
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo579(player, npc):
DialogueManager.openDialogue(player, 152)
示例3: admin_command_chat
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def admin_command_chat(player, args):
DialogueManager.openDialogue(player, int(args[1]))
示例4: talkTo2253
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo2253(player, npc):
DialogueManager.openDialogue(player, 238)
示例5: talkTo553
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo553(player, npc):
DialogueManager.openDialogue(player, 256)
示例6: talkTo658
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo658(player, npc):
DialogueManager.openDialogue(player, 296)
示例7: talkTo656
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo656(player, npc):
DialogueManager.openDialogue(player, 304)
示例8: talkTo648
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo648(player, npc):
DialogueManager.openDialogue(player, 316)
示例9: talkTo1596
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo1596(player, npc):
DialogueManager.openDialogue(player, 381)
示例10: talkTo1303
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo1303(player, npc):
if(player.completedFremennikTrials()):
DialogueManager.openDialogue(player, 174)
else:
DialogueManager.openDialogue(player, 181)
示例11: tradeWith380
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def tradeWith380(player, npc):
DialogueManager.openDialogue(player, 172)
示例12: talkTo380
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo380(player, npc):
DialogueManager.openDialogue(player, 171)
示例13: talkTo557
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo557(player, npc):
DialogueManager.openDialogue(player, 164)
示例14: talkTo798
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo798(player, npc):
DialogueManager.openDialogue(player, 384)
示例15: talkTo583
# 需要导入模块: from org.rs2server.rs2.model import DialogueManager [as 别名]
# 或者: from org.rs2server.rs2.model.DialogueManager import openDialogue [as 别名]
def talkTo583(player, npc):
DialogueManager.openDialogue(player, 155)