11 lines
245 B
Lua
11 lines
245 B
Lua
local ServerFormationData = class("ServerFormationData", ServerBaseData)
|
|
|
|
function ServerFormationData:init(data)
|
|
if data then
|
|
self.data.formations = data.formations or {}
|
|
else
|
|
self.data.formations = {}
|
|
end
|
|
end
|
|
|
|
return ServerFormationData |