23 lines
540 B
Plaintext
23 lines
540 B
Plaintext
ChatSystemManager = class("ChatSystemManager")
|
|
|
|
function ChatSystemManager:ctor()
|
|
end
|
|
|
|
function ChatSystemManager:CheckChatContent(content)
|
|
--TODO 臨時寫死
|
|
if(content == "/memo") then
|
|
helplog("儲存臨時儲存點")
|
|
ServiceUserEventProxy.Instance:CallSystemStringUserEvent(UserEvent_pb.ESYSTEMSTRING_MEMO)
|
|
return true
|
|
end
|
|
return false
|
|
end
|
|
|
|
function ChatSystemManager:CheckCanDestroy(datas)
|
|
for i = #datas, 1, -1 do
|
|
if datas[i]:CanDestroy() then
|
|
ReusableObject.Destroy(datas[i])
|
|
table.remove(datas, i)
|
|
end
|
|
end
|
|
end |