Files
chuanqi-server-instance/LogicServer/data/functions/ActorSystems/FriendSystem/FriendSystemOp.txt

22 lines
505 B
Plaintext
Raw Normal View History

2024-12-16 13:51:31 +08:00
--lua script
--#include "data\config\friend\FriendConfig.txt" once
--<2D><><EFBFBD><EFBFBD><EFBFBD>Ƽ<EFBFBD><C6BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD>
function SendCanAddFriendList(sysarg,args)
--print("SendCanAddFriendList...")
local nLevel = args[2]
local nFlag = false
for i=1,table.getn(FriendConfig.PromptLevel) do
if nLevel == FriendConfig.PromptLevel[i] then
nFlag = true
break
end
end
if nFlag == true then
Actor.sendCanAddFriendList(sysarg,
FriendConfig.LevelInterval[1], FriendConfig.LevelInterval[2],
FriendConfig.MaxNum)
end
end