14 lines
287 B
Lua
14 lines
287 B
Lua
local VersionCompatible = {}
|
|
|
|
local CLIENT_VERSION = CS.BF.BFMain.CLIENT_VERSION or 0
|
|
|
|
function VersionCompatible:canUpdateMailVersion()
|
|
return CLIENT_VERSION > 1
|
|
end
|
|
|
|
function VersionCompatible:supportDataEncryptVersion()
|
|
return CLIENT_VERSION > 1
|
|
end
|
|
|
|
return VersionCompatible
|