static int EnterGame(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); ChannelPlatform.RoleInfo arg0 = (ChannelPlatform.RoleInfo)ToLua.CheckObject <ChannelPlatform.RoleInfo>(L, 1); ChannelMgr.EnterGame(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public void Plat_RoleUpgrade(RoleInfo roleInfo) { #if USE_CHANNEL_SDK PostRoleUpgrade(JsonUtil.toJson(roleInfo)); #endif }
public void Plat_EnterGame(RoleInfo roleInfo) { #if USE_CHANNEL_SDK PostEnterGame(JsonUtil.toJson(roleInfo)); #endif }
public void Plat_CreateRole(RoleInfo roleInfo) { #if USE_CHANNEL_SDK PostCreateRole(JsonUtil.toJson(roleInfo)); #endif }