Class: Status
- Inherits:
-
Object
- Object
- Status
- Defined in:
- models.rb
Class Method Summary (collapse)
-
+ (bool) bleeding
Bleeding.
-
+ (bool) dead
Dead.
-
+ (bool) hidden
Hidden.
-
+ (bool) invisible
Invisible.
-
+ (bool) joined
Joined.
-
+ (bool) kneeling
Kneeling.
-
+ (bool) prone
Prone.
-
+ (bool) sitting
Sitting.
-
+ (bool) standing
Standing.
-
+ (bool) stunned
Stunned.
-
+ (bool) webbed
Webbed.
Class Method Details
+ (bool) bleeding
Bleeding
355 356 357 358 |
# File 'models.rb', line 355 def self.bleeding $_api_socket.puts "GET BLEEDING\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) dead
Dead
344 345 346 347 |
# File 'models.rb', line 344 def self.dead $_api_socket.puts "GET DEAD\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) hidden
Hidden
368 369 370 371 |
# File 'models.rb', line 368 def self.hidden $_api_socket.puts "GET HIDDEN\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) invisible
Invisible
379 380 381 382 |
# File 'models.rb', line 379 def self.invisible $_api_socket.puts "GET INVISIBLE\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) joined
Joined
401 402 403 404 |
# File 'models.rb', line 401 def self.joined $_api_socket.puts "GET JOINED\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) kneeling
Kneeling
300 301 302 303 |
# File 'models.rb', line 300 def self.kneeling $_api_socket.puts "GET KNEELING\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) prone
Prone
322 323 324 325 |
# File 'models.rb', line 322 def self.prone $_api_socket.puts "GET PRONE\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) sitting
Sitting
311 312 313 314 |
# File 'models.rb', line 311 def self.sitting $_api_socket.puts "GET SITTING\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) standing
Standing
289 290 291 292 |
# File 'models.rb', line 289 def self.standing $_api_socket.puts "GET STANDING\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) stunned
Stunned
333 334 335 336 |
# File 'models.rb', line 333 def self.stunned $_api_socket.puts "GET STUNNED\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |
+ (bool) webbed
Webbed
390 391 392 393 |
# File 'models.rb', line 390 def self.webbed $_api_socket.puts "GET WEBBED\n" $_api_socket.gets('\0').chomp('\0').to_i.eql?(1) end |