示例#1
0
 public NpcLockEvent(NpcCharacterId npcId)
 {
     NpcId = npcId;
 }
示例#2
0
 public StartDialogueEvent(NpcCharacterId npcId) => NpcId = npcId;
示例#3
0
 public NpcEnteredTileEvent(NpcCharacterId id, int x, int y)
 {
     Id = id;
     X  = x;
     Y  = y;
 }
示例#4
0
 public NpcTurnEvent(NpcCharacterId npcId, int direction)
 {
     NpcId = npcId; Direction = direction;
 }
示例#5
0
 public NpcTextEvent(NpcCharacterId npcId, byte textId)
 {
     TextId = textId;
     NpcId  = npcId;
 }
示例#6
0
 public NpcMoveEvent(NpcCharacterId npcId, int x, int y)
 {
     NpcId = npcId; X = x; Y = y;
 }
示例#7
0
 public NpcJumpEvent(NpcCharacterId npcId, int?x, int?y)
 {
     NpcId = npcId; X = x; Y = y;
 }
示例#8
0
 public NpcTextEvent(NpcCharacterId npcId, int textId)
 {
     NpcId = npcId; TextId = textId;
 }
示例#9
0
 public ICharacterSheet GetNpc(NpcCharacterId id) => _game != null && _game.NpcStats.TryGetValue(id, out var sheet) ? sheet : null;
示例#10
0
 public Npc(NpcCharacterId npcId) => NpcId = npcId;
示例#11
0
 public NpcOffEvent(NpcCharacterId npcId)
 {
     NpcId = npcId;
 }
示例#12
0
 public TriggerChainEvent(EventChain chain, IEventNode node, NpcCharacterId npcId)
     : this(chain, node, new EventSource.Npc(npcId))
 {
 }