17 lines
281 B
Ruby
17 lines
281 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
require_relative '../snap_item_base'
|
||
|
|
||
|
class NetEvent
|
||
|
class HammerHit < SnapEventBase
|
||
|
def initialize(hash_or_raw)
|
||
|
@field_names = []
|
||
|
super
|
||
|
end
|
||
|
|
||
|
def self.match_type?(type)
|
||
|
type == NETEVENTTYPE_HAMMERHIT
|
||
|
end
|
||
|
end
|
||
|
end
|