コード例 #1
0
        public OutMessage Invoke(params object[] Parameters)
        {
            var Message   = new OutMessage(436);
            var Character = Parameters[0] as Character;
            var Items     = AchievementHandler.GetAchievements(Character);

            Message.Append(Items.Count());

            foreach (var Item in Items)
            {
                Item.GetResponse(Message, Character);
            }

            return(Message);
        }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     _acHandler = this.GetComponentInParent <AchievementHandler>();
     ach        = _acHandler.GetAchievements()[id];
     InitVariables();
 }