Class: Artaius::Plugins::Mixer::Gamer

Inherits:
Struct
  • Object
show all
Defined in:
lib/artaius/plugins/mixer.rb

Overview

Internal: Create a new gamer. Gamer is a player, which wants to play a mix.

irc_nick - The String, representing gamer’s IRC nickname. irc_authname - The String, representing gamer’s IRC authname. role - The Integer, representing KAG player’s role

Returns Gamer object.

Instance Attribute Summary collapse

Instance Attribute Details

#irc_authnameObject

Returns the value of attribute irc_authname

Returns:

  • (Object)

    the current value of irc_authname



25
26
27
# File 'lib/artaius/plugins/mixer.rb', line 25

def irc_authname
  @irc_authname
end

#irc_nickObject

Returns the value of attribute irc_nick

Returns:

  • (Object)

    the current value of irc_nick



25
26
27
# File 'lib/artaius/plugins/mixer.rb', line 25

def irc_nick
  @irc_nick
end

#premium?Object

Returns the value of attribute premium?

Returns:

  • (Object)

    the current value of premium?



25
26
27
# File 'lib/artaius/plugins/mixer.rb', line 25

def premium?
  @premium?
end

#roleObject

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



25
26
27
# File 'lib/artaius/plugins/mixer.rb', line 25

def role
  @role
end