Class: SSCBot::ChatLog::RemoteMessage

Inherits:
PrivateMessage show all
Defined in:
lib/ssc.bot/chat_log/messages.rb

Overview

Author:

  • Jonathan Bradley Whited

Since:

  • 0.1.0

Constant Summary

Constants inherited from Message

Message::TYPES

Instance Attribute Summary

Attributes inherited from PlayerMessage

#message, #name

Attributes inherited from Message

#line, #type

Instance Method Summary collapse

Methods inherited from Message

add_type, #type?, valid_type?

Constructor Details

#initialize(line, own:, squad:, name:, message:) ⇒ RemoteMessage

Returns a new instance of RemoteMessage.

Since:

  • 0.1.0



163
164
165
166
167
168
# File 'lib/ssc.bot/chat_log/messages.rb', line 163

def initialize(line,own:,squad:,name:,message:)
  super(line,type: :remote,name: name,message: message)

  @own = own
  @squad = squad
end