sk-client/Assets/LuaFramework/Scripts/SDK/SdkCustomEvent.cs

21 lines
435 B
C#
Raw Permalink Normal View History

2024-07-03 18:38:10 +08:00
using System.Collections.Generic;
using GameLogic;
namespace SDK
{
public class SdkCustomEvent
{
public static void CustomEvent(string param)
{
CustomEvent(0, param);
}
public static void CustomEvent(int type, string param)
{
if (AppConst.isSDKLogin)
{
SDKManager.Instance.CustomEvent(type, param);
}
}
}
}