class Rosegold::Chat
- Rosegold::Chat
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
rosegold/models/chat.crConstant Summary
-
TRANSLATIONS =
Hash(String, String).from_json(Rosegold.read_game_asset("language.json"))
Constructors
Instance Method Summary
- #bold : Bool | Nil
- #bold=(bold : Bool | Nil)
- #click_event : JSON::Any | Nil
- #click_event=(click_event : JSON::Any | Nil)
- #color : String | Nil
- #color=(color : String | Nil)
- #extra : Array(Rosegold::Chat) | Nil
- #extra=(extra : Array(Rosegold::Chat) | Nil)
- #extra_text
- #hover_event : JSON::Any | Nil
- #hover_event=(hover_event : JSON::Any | Nil)
- #insertion : String | Nil
- #insertion=(insertion : String | Nil)
- #italic : Bool | Nil
- #italic=(italic : Bool | Nil)
- #obfuscated : Bool | Nil
- #obfuscated=(obfuscated : Bool | Nil)
- #strikethrough : Bool | Nil
- #strikethrough=(strikethrough : Bool | Nil)
- #text : String | Nil
- #text=(text : String | Nil)
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
- #translate : String | Nil
- #translate=(translate : String | Nil)
- #underlined : Bool | Nil
- #underlined=(underlined : Bool | Nil)
- #with : Array(Chat | String) | Nil
- #with=(with __arg0 : Array(Chat | String) | Nil)
Constructor Detail
Instance Method Detail
def to_s(io : IO) : Nil
#
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>