通告对接

一,需完成两个接口对接

public interface INoticeProvider extends IFunctionProvider {

    /**
     *  获得当前的通告。
     *
     *  注意,因为通告以全服为单位修改,因此如有必要,可以使用数据库或者共享
     *  文件之类的存储手段,以方便随后的频繁更改。
     * */
    List<INotification> getNotifications();

}

二,注册接口

注册方法可看本章。

Last updated

Was this helpful?