Class: Conreality::Asset
Overview
Represents a Conreality asset.
Constant Summary collapse
- TABLE =
:object_asset- KEY =
:uuid
Instance Attribute Summary collapse
-
#avatar ⇒ Binary
The asset’s avatar image.
-
#ip_addr ⇒ String
The asset’s IPv4/IPv6 address.
-
#name ⇒ String
The asset’s full name.
-
#nick ⇒ String
The asset’s nickname.
-
#version ⇒ String
The asset’s deployed software version.
Attributes inherited from Object
#color, #group, #label, #mass, #orientation, #position, #radius, #theater, #type, #uuid
Instance Method Summary collapse
-
#initialize(session, uuid) ⇒ Asset
constructor
A new instance of Asset.
Methods inherited from Object
#as_asset, #as_camera, #as_player, #inspect, #is_asset?, #is_camera?, #is_player?, #is_target?, #send_message
Constructor Details
#initialize(session, uuid) ⇒ Asset
Returns a new instance of Asset.
44 45 46 |
# File 'lib/conreality/asset.rb', line 44 def initialize(session, uuid) super(session, uuid) end |
Instance Attribute Details
#avatar ⇒ Binary
The asset’s avatar image.
32 33 34 |
# File 'lib/conreality/asset.rb', line 32 def avatar @avatar end |
#ip_addr ⇒ String
The asset’s IPv4/IPv6 address.
26 27 28 |
# File 'lib/conreality/asset.rb', line 26 def ip_addr @ip_addr end |
#name ⇒ String
The asset’s full name.
20 21 22 |
# File 'lib/conreality/asset.rb', line 20 def name @name end |
#nick ⇒ String
The asset’s nickname.
14 15 16 |
# File 'lib/conreality/asset.rb', line 14 def nick @nick end |
#version ⇒ String
The asset’s deployed software version.
39 40 41 |
# File 'lib/conreality/asset.rb', line 39 def version @version end |