๐ Sid Gifari File Manager Pro
v8.0.5 | 2026-08-06 22:14:55 | PHP 8.2.32
๐
/ (Root)
/
opt
/
imunify360-webshield
/
site
/
lualib
๐ /opt/imunify360-webshield/site/lualib
๐ Refresh
โ๏ธ
Editing: listener.lua
Read Only
-- -------------------------------------------------------------------------------- -- FILE: listener.lua -- DESCRIPTION: protoc-gen-lua -- Google's Protocol Buffers project, ported to lua. -- https://code.google.com/p/protoc-gen-lua/ -- -- Copyright (c) 2010 , ๆๅๆฏ (Zhuoyi Lin) netsnail@gmail.com -- All rights reserved. -- -- Use, modification and distribution are subject to the "New BSD License" -- as listed at <url: http://www.opensource.org/licenses/bsd-license.php >. -- -- COMPANY: NetEase -- CREATED: 2010ๅนด08ๆ02ๆฅ 17ๆถ35ๅ25็ง CST -------------------------------------------------------------------------------- -- local setmetatable = setmetatable module "listener" local _null_listener = { Modified = function() end } function NullMessageListener() return _null_listener end local _listener_meta = { Modified = function(self) if self.dirty then return end if self._parent_message then self._parent_message:_Modified() end end } _listener_meta.__index = _listener_meta function Listener(parent_message) local o = {} o.__mode = "v" o._parent_message = parent_message o.dirty = false return setmetatable(o, _listener_meta) end
๐พ Save Changes
โ Cancel