Files
LonaRPG-Online-Games/ModScripts/000_LSEC1_ClientDebug.rb
T
2026-10-29 21:59:06 +04:00

12 lines
407 B
Ruby

# encoding: UTF-8
# LSEC1 diagnostics disabled. Compatibility shim for old instrumented installations.
module MPClientDebug
class << self
def log(*args); false; end
def exception(*args); false; end
def preview(data, limit = 180); data.to_s.byteslice(0, limit.to_i).to_s; end
def payload_summary(data); data.to_s.byteslice(0, 180).to_s; end
def caller_summary(*args); ''; end
end
end