You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
959 B
45 lines
959 B
--------------------------------------------------------------------------------
|
|
-- Promote Job2_Forest Routine --
|
|
--------------------------------------------------------------------------------
|
|
|
|
function DummyRoutineFunc()
|
|
cExecCheck "DummyRoutineFunc"
|
|
end
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
-- MapLogin Function
|
|
----------------------------------------------------------------------
|
|
|
|
function PlayerMapLogin( Field, PlayerHandle )
|
|
cExecCheck "PlayerMapLogin"
|
|
|
|
--DebugLog("PlayerMapLogin : Start" )
|
|
|
|
local Var = InstanceField[Field]
|
|
|
|
if Var == nil
|
|
then
|
|
cAssertLog( "PlayerMapLogin : Var nil")
|
|
return
|
|
end
|
|
|
|
if PlayerHandle == nil
|
|
then
|
|
cAssertLog("PlayerMapLogin : PlayerHandle nil")
|
|
return
|
|
end
|
|
|
|
-- 맵에 로그인하는 첫 유저의 핸들값을 한번만 저장
|
|
if Var["PlayerHandle"] == INVALID_HANDEL
|
|
then
|
|
Var["PlayerHandle"] = PlayerHandle
|
|
return
|
|
end
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|