Ejemplo n.º 1
0
    public int getSetById(string actor, int setId, int lineId)
    {
        ActorDialogue actorDialogue;

        if (dialogue.TryGetValue(actor, out actorDialogue))
        {
            DialogueLine dialogueLine = actorDialogue.getDialogueLineById(setId, lineId);
            if (dialogueLine != null)
            {
                return(dialogueLine.getSetId());
            }
            else
            {
                return(0);
            }
        }
        else
        {
            return(0);
        }
    }