Class: Openra::Struct::Client

Inherits:
Openra::Struct show all
Defined in:
lib/openra/struct/client.rb

Constant Summary

Constants inherited from Openra::Struct

DEFAULT_PROCESSOR, UNDEFINED

Instance Method Summary collapse

Methods inherited from Openra::Struct

define, inherited, new, preprocessor

Instance Method Details

#teamObject



26
27
28
# File 'lib/openra/struct/client.rb', line 26

def team
  attributes[:team] == '0' ? nil : attributes[:team]
end