using Fantasy; namespace Hotfix; public static class ChatChannelCenterComponentHelper { public static ChatChannel Apply(Scene scene, long chatChannelId) { return scene.GetComponent().Apply(chatChannelId); } public static bool TryGetChannel(Scene scene, long chatChannelId,out ChatChannel channel) { return scene.GetComponent().TryGetChannel(chatChannelId,out channel); } public static bool RemoveChannel(Scene scene, long chatChannelId) { return scene.GetComponent().RemoveChannel(chatChannelId); } }