/*
 * This file is part of Sponge, licensed under the MIT License (MIT).
 *
 * Copyright (c) SpongePowered.org <http://www.spongepowered.org>
 * Copyright (c) contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */
package org.spongepowered.api.text;

import org.spongepowered.api.text.action.ClickAction;
import org.spongepowered.api.text.action.HoverAction;
import org.spongepowered.api.text.style.TextStyle;

import java.util.List;

public interface Message {

    String getText();
    TextStyle getStyle();

    List<Message> getExtra();

    String getInsertion();

    ClickAction<?> getClickAction();

    HoverAction<?> getHoverAction();

    String getTranslationIdentifier();

    // todo use score
    Object getScore();

}

@@ -1465,16 +1465,291 @@
 .List;%0A%0A
+// Possible use cases:%0A//   Message%3CString%3E      - regular text message%0A//   Message%3CTranslation%3E - translated message with translation ID%0A//   Message%3CSelector%3E    - selector message (TODO: API for selectors)%0A//   Message%3CScore%3E       - score message (TODO: Scoreboard API)%0A
 public i
@@ -1768,29 +1768,29 @@
 sage
+%3CT%3E
  %7B%0A
-%0A
     
-String getTex
+T getConten
 t();
@@ -1909,25 +1909,24 @@
 ckAction();%0A
-%0A
     HoverAct
@@ -1954,93 +1954,6 @@
 ();%0A
-%0A    String getTranslationIdentifier();%0A%0A    // todo use score%0A    Object getScore();%0A%0A
 %7D%0A

Add type parameter to Message so it can be also used for translated messags