コード例 #1
0
 protected override string GetVariable()
 {
     return(String.Format("{0}, reward {1:X2}: {2}, {3}, bound to {4}",
                          ChestTypeDefs[(chestType < 0xC) ? chestType : 0xC],
                          rewardItem,
                          ActorDialog.GetReward(rewardItem),
                          chestFlag,
                          sceneFlag));
 }
コード例 #2
0
        protected override string GetVariable()
        {
            string dialogText;

            dialogText = ActorDialog.Get(0x011B, dialog);
            return(String.Format("Type: {0}, Text: {1}, {2}",
                                 (naviIcon) ? "C-up" : "Pop-up",
                                 (dialogText.Length < TEXT_CAP) ? dialogText : dialogText.Substring(0, TEXT_CAP),
                                 flag.ToString()));
        }
コード例 #3
0
        protected override string GetVariable()
        {
            string typeString;
            string textDialog;

            switch (type)
            {
            case 0: typeString = "Checkable"; break;

            case 1: typeString = "Instant"; break;

            case 2: typeString = "Disappears on Switch"; break;

            default: typeString = "Z-target, no text"; break;
            }

            textDialog = ActorDialog.Get(0x0185, dialog);
            return(string.Format("{0}, dialog {1}, {2}",
                                 typeString,
                                 (textDialog.Length < 40)? textDialog: textDialog.Substring(0, 40),
                                 flag.ToString()));
        }