コード例 #1
0
        public ActiveOperationListBoxItem(ParsedWorld world, string id)
        {
            this.world = world;
            this.id    = id;

            UpdateOperation();

            if (operation == null)
            {
                return;
            }

            missionText = operation.Description(DescriptionType.Written);
            tag         = operation.Id;
            faded       = false;

            UpdateText();
        }
コード例 #2
0
 public LoggedOperationListBoxItem(ParsedOperation operation)
 {
     SetText(operation.Type, operation.Description(DescriptionType.Logged), !operation.Relevant);
     tag = operation.Id;
 }