14 lines
304 B
Lua
14 lines
304 B
Lua
---@type LuaGameModeBase
|
|||
|
|
local M = UnLua.Class()
|
||
|
|
|
||
|
|
local Log = require("Framework.Log")
|
||
|
|
|
||
|
|
function M:ReceiveBeginPlay()
|
||
|
|
Log.Info("LuaGameMode:ReceiveBeginPlay()")
|
||
|
|
end
|
||
|
|
|
||
|
|
function M:ReceiveEndPlay(EndPlayReason)
|
||
|
|
Log.Info("LuaGameMode:ReceiveEndPlay(reason=%s)", tostring(EndPlayReason))
|
||
|
|
end
|
||
|
|
|
||
|
|
return M
|