class Shatter::Packet::Play::SoundPacket

Included Modules

Defined in:

shatter/packet/play/world_packets.cr

Constructors

Instance Method Summary

Constructor methods inherited from module Shatter::Packet::Handler

new(pkt : IO, con : Shatter::Connection) new

Constructor Detail

def self.new(pkt : IO, con : Shatter::Connection) #

[View source]
def self.new(pull : JSON::PullParser) #

Instance Method Detail

def category : Data::Sound::Category #

[View source]
def describe(con : Shatter::Connection, io : IO = STDERR) #

[View source]
def has_describe? : Bool #

[View source]
def id : Sound #

[View source]
def packet_name : String #

[View source]
def pitch : Float32 #

[View source]
def volume : Float32 #

[View source]
def x : Float64 #

[View source]
def y : Float64 #

[View source]
def z : Float64 #

[View source]