Class: MsgClientMarketingMessageUpdate2

Inherits:
Object
  • Object
show all
Includes:
SteamSerializable
Defined in:
lib/steamd/generated/steammsg.rb

Overview

Class for the MsgClientMarketingMessageUpdate2 in the Steam Language.

Instance Attribute Summary

Attributes included from SteamSerializable

#constants, #variables

Instance Method Summary collapse

Methods included from SteamSerializable

#consts, #deserialize, #encode_to, #flag, #serialize, #vars

Constructor Details

#initializeMsgClientMarketingMessageUpdate2

Instantiate a MsgClientMarketingMessageUpdate2 object



2490
2491
2492
# File 'lib/steamd/generated/steammsg.rb', line 2490

def initialize
  super([{:name=>"marketing_message_update_time", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"count", :type=>"uint", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#countuint

Note:

defaults to

Gets the count variable.

Returns:

  • (uint)

    the value of count



2513
2514
2515
# File 'lib/steamd/generated/steammsg.rb', line 2513

def count
  @variables['count'][:value]
end

#count=(value) ⇒ Object

Sets the count variable.

Parameters:

  • value (uint)

    the new value



2520
2521
2522
# File 'lib/steamd/generated/steammsg.rb', line 2520

def count=(value)
  @variables['count'][:value] = value
end

#marketing_message_update_timeuint

Note:

defaults to

Gets the marketing_message_update_time variable.

Returns:

  • (uint)

    the value of marketing_message_update_time



2498
2499
2500
# File 'lib/steamd/generated/steammsg.rb', line 2498

def marketing_message_update_time
  @variables['marketing_message_update_time'][:value]
end

#marketing_message_update_time=(value) ⇒ Object

Sets the marketing_message_update_time variable.

Parameters:

  • value (uint)

    the new value



2505
2506
2507
# File 'lib/steamd/generated/steammsg.rb', line 2505

def marketing_message_update_time=(value)
  @variables['marketing_message_update_time'][:value] = value
end