29 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
		
		
			
		
	
	
			29 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
|  | function LenheartSeverNotiAnimotionCallBack(Chunk) { | ||
|  |     local Jso = Json.Decode(Chunk); | ||
|  | 
 | ||
|  |     getroottable().rawset("LenheartSeverNotiAnimotionSw", Jso.Ani); | ||
|  | } | ||
|  | 
 | ||
|  | Pack_Control.rawset(30060, LenheartSeverNotiAnimotionCallBack); | ||
|  | 
 | ||
|  | function LenheartSeverNotiAnimotion(obj) { | ||
|  |     // getroottable().rawset("LenheartSeverNotiAnimotionSw", "common/announcement/leveche_cutscene.ani"); | ||
|  |     if (getroottable().rawin("LenheartSeverNotiAnimotionSw")) { | ||
|  |         if (getroottable()["LenheartSeverNotiAnimotionSw"]) { | ||
|  |             //LenheartSeverNotiAnimotionSwmain.img | ||
|  |             if (sq_GetCurrentModuleType() == 1) { | ||
|  |                 L_sq_DrawImg("lenheartsevernotianimotionswmain.img", 0, -1, 0); | ||
|  |                 obj = sq_GetCNRDObjectToSQRCharacter(obj); | ||
|  |                 local Ani = obj.sq_GetRestAni(); | ||
|  |                 sq_AnimationProc(Ani); | ||
|  |                 sq_drawCurrentFrame(Ani, 400, 350, true); | ||
|  | 
 | ||
|  |                 local TAni = BasicsDrawTool.T_DrawDynamicAni(obj, getroottable()["LenheartSeverNotiAnimotionSw"], 0, 0, getroottable()["LenheartSeverNotiAnimotionSw"]); | ||
|  |                 if (sq_IsEnd(TAni)) { | ||
|  |                     sq_Rewind(TAni); | ||
|  |                     getroottable().rawdelete("LenheartSeverNotiAnimotionSw"); | ||
|  |                 } | ||
|  |             } | ||
|  |         } | ||
|  |     } | ||
|  | } |