Class: MsgClientSetIgnoreFriend

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

Overview

Class for the MsgClientSetIgnoreFriend 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

#initializeMsgClientSetIgnoreFriend

Instantiate a MsgClientSetIgnoreFriend object



1857
1858
1859
# File 'lib/steamd/generated/steammsg.rb', line 1857

def initialize
  super([{:name=>"my_steam_id", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"steam_id_friend", :type=>"ulong", :modifier=>"steamidmarshal", :value=>nil, :size=>nil, :modifier_size=>nil}, {:name=>"ignore", :type=>"byte", :modifier=>nil, :value=>nil, :size=>nil, :modifier_size=>nil}], [])
end

Instance Method Details

#ignorebyte

Note:

defaults to

Gets the ignore variable.

Returns:

  • (byte)

    the value of ignore



1895
1896
1897
# File 'lib/steamd/generated/steammsg.rb', line 1895

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

#ignore=(value) ⇒ Object

Sets the ignore variable.

Parameters:

  • value (byte)

    the new value



1902
1903
1904
# File 'lib/steamd/generated/steammsg.rb', line 1902

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

#my_steam_idulong

Note:

defaults to

Gets the my_steam_id variable.

Returns:

  • (ulong)

    the value of my_steam_id



1865
1866
1867
# File 'lib/steamd/generated/steammsg.rb', line 1865

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

#my_steam_id=(value) ⇒ Object

Sets the my_steam_id variable.

Parameters:

  • value (ulong)

    the new value



1872
1873
1874
# File 'lib/steamd/generated/steammsg.rb', line 1872

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

#steam_id_friendulong

Note:

defaults to

Gets the steam_id_friend variable.

Returns:

  • (ulong)

    the value of steam_id_friend



1880
1881
1882
# File 'lib/steamd/generated/steammsg.rb', line 1880

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

#steam_id_friend=(value) ⇒ Object

Sets the steam_id_friend variable.

Parameters:

  • value (ulong)

    the new value



1887
1888
1889
# File 'lib/steamd/generated/steammsg.rb', line 1887

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