?????????????????????????????????????????е?????????????????????????????????????????????????????????????????????
???????????????????????????????????д???????????????????????? ?????Щ?·??? c->s ???????????????????????????????
??????????????????????
????c->s
????s->c
????s->s
???????????????????????1??????
????????????????????????????????????????
??????????????£?????????:
????·??????????
????· ????2???????????????1????????????????????
?????????????????????1???????????????????????????????£?ò???.lua???
????????ο?????????? 2??????????????1???????????
function Chat:rueryChatCache()
local msg = "cQueryChatCache"
app.net:sendMsg(msg)
end
function Chat:requestChat(chatType?? name?? content)    --1?????????
local msg = "cChat " .. chatType .. " " .. name .. " " .. content
app.net:sendMsg(msg)
end
function Chat:requestChat(5?? damao?? cQueryDailyTask)   --2?????????????????????Э??
local msg = "cChat " .. chatType .. " " .. name .. " " .. content
app.net:sendMsg(content)
end
function Chat:requestChat(1?? damao?? msgtxt)     --2?????????chatType????
local msg = "cChat " .. chatType .. " " .. name .. " " .. content
app.net:sendMsg(msg)
end
function Chat:requestPublishNotice(content)
local msg = "cAnnounce " .. content
app.net:sendMsg(msg)
end
????????????????????Э??
????1) cChat eChatType(1=??? 2=???? 4=???? 3=???? 5=?? ?????????? ?????????? 6=gm????) toName Content
???????????? cChat?????
???????chatType1??2??3??4??5…????????
??????????????1????????????1????????????????????????????????????????????
???????????????5??????1????????????????
??????2??????Э?饗?????罻????????
????2)cBlacklistModify nType(1=???? 2=????) idTarget
????cBlacklistModify nType??2???????????????????1????Ч????????? ???s->c??????????
????nType 1or2 idTarget ?????????????????s->c??????????
?????????????????????????????????????????????衣????????????????????????
?????????1?????????????????????y?????
????c->s???????????????????????????2?????????chat?????????????????????c->s??Э???????
????????cQueryDailyTask ????????
????????ο?????????? 2??????????????1???????????
????????????????к??Э??????????????????????????????????д???????????????
?????????????????С?????Э???????????
????Э?????????????????????????????Э????β??Ч?????????Ч??????????????????????????ɡ????????????1?????£???notepad???????????????????Э????