public async Task <FollowingResult> UnFollowAsync(String access, Int32 topicId, String loginId) { var api = new TopicApi(); var result = await api.UnFollowAsync(access, topicId, loginId); return(result); }
public async Task <TopicResult> GetDetailAsync(String access, int topicId, Boolean autoCache = false) { var api = new TopicApi(); var result = await api.GetDetailAsync(access, topicId, autoCache); return(result); }
public async Task <TopicsResult> GetFatherTopicsAsync(String access, String request, Boolean autoCache = false) { var api = new TopicApi(); var result = await api.GetFatherTopicsAsync(access, request, autoCache); return(result); }
public async Task <AuthorsResult> GetBestAnswerersAsync(String access, String request, Boolean autoCache = false) { var api = new TopicApi(); var result = await api.GetBestAnswerersAsync(access, request, autoCache); return(result); }
public async Task <FollowingResult> CheckFollowingAsync(String access, int topicId, Boolean autoCache = false) { var api = new TopicApi(); var result = await api.CheckFolloingAsync(access, topicId, autoCache); return(result); }
public bool Install(Harmony instance, ConfigFile config) { if (StudioAPI.InsideStudio || Interlocked.Increment(ref _installed) != 1) { return(false); } var insertCat = StoreApi.RegisterShopItemCategory(ResourceUtils.GetEmbeddedResource("icon_insertable.png").LoadTexture()); StoreApi.RegisterShopItem(SuppositoryStoreId, "Family Making Tampons", "Cum delivery devices disguised as a pack of tampons. Thanks to multiple patented technologies the conception rate is close to 100%. Perfect as a gift. (Doesn't work on infertile characters)", StoreApi.ShopType.NightOnly, StoreApi.ShopBackground.Pink, insertCat, 3, true, 100, 461, onBought: item => TopicApi.AddTopicToInventory(SuppositoryTopicId)); TopicApi.RegisterTopic(SuppositoryTopicId, "Family Making Tampons", TopicApi.TopicCategory.Love, TopicApi.TopicRarity.Rarity5, GetAdvScript, GetAdvResult); return(true); }