Skip to content

Commit

Permalink
feat:update upm
Browse files Browse the repository at this point in the history
  • Loading branch information
ci-gitlab committed Mar 28, 2022
0 parents commit a3d0e1e
Show file tree
Hide file tree
Showing 20 changed files with 404 additions and 0 deletions.
113 changes: 113 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
# ChangeLog

## 3.7.0

### Dependencies

- TapTap.Common v3.7.0


## 3.6.3

### Dependencies

- TapTap.Common v3.6.3

## 3.6.1

### Dependencies

- TapTap.Common v3.6.1

## 3.6.0

### Optimization and fixed bugs
- DLC 修复在查询回调内直接发起购买请求后无法获得购买回调的问题

### Dependencies
- TapTap.Common v3.6.0

## 3.5.0

### Optimization and fixed bugs
- 支持性更新

### Dependencies
- TapTap.Common v3.5.0

## 3.4.0


### Dependencies

- TapTap.Common v3.4.0

## 3.3.0

### Dependencies

- TapTap.Common v3.3.0

## 3.2.0

### Dependencies

- TapTap.Common v3.2.0

## 3.1.0

### Dependencies

- TapTap.Common v3.1.0

## 3.0.0

### Dependencies

- TapTap.Common v3.0.0

## 2.1.7

### Dependencies

- TapTap.Common v2.1.7

## 2.1.6

### Dependencies

- TapTap.Common v2.1.6

## 2.1.5

### Dependencies

- TapTap.Common v2.1.5

## 2.1.4

### Dependencies

- TapTap.Common v2.1.4

## 2.1.3

### Dependencies

- TapTap.Common v2.1.3

## 2.1.2

### Dependencies

- TapTap.Common v2.1.2

## v2.1.1

### Feature

* 新增 DLC 购买认证服务

### Dependencies

* TapTap.Common v2.1.1
7 changes: 7 additions & 0 deletions CHANGELOG.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Documentation.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 69 additions & 0 deletions Documentation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# TapTap.License

## 使用前提

使用TapTap.License的前提是必须添加以下依赖库:

* [TapTap.Common](https://github.com/TapTap/TapCommon-Unity.git)

## 接口描述

### 命名空间

```c#
using TapTap.License;
```

### 付费认证

#### 1.设置授权回调

```c#
//默认情况下 SDK 会弹出不可由玩家手动取消的弹窗来避免未授权玩家进入游戏,如果需要回调来触发流程,请添加如下代码
TapLicense.SetLicencesCallback(ITapLicenseCallback callback);

public interface ITapLicenseCallback
{
// 授权成功回调
void OnLicenseSuccess();
}
```

#### 2. 检查付费授权

```c#
TapLicense.Check();
```

### TapLicense DLC 查询和购买

#### 1.DLC 回调设置

```c#
public interface ITapDLCCallback
{
void OnQueryCallBack(int code, Dictionary<string, object> queryList);

void OnOrderCallBack(string sku, int status);
}

TapLicense.SetDLCCallback(ITapDLCCallback callback);
```

#### 2. DLC 查询

购买前必须先查询 DLC 当前状态(支持单个查询和多个查询)

```c#
TapLicense.QueryDLC(string[] appId);
```

#### 3.DLC 购买

当 DLC 查询过且未购买时

```c#
TapLicense.PurchaseDLC(string appId);
```


7 changes: 7 additions & 0 deletions Documentation/README.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Plugins.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Plugins/Android.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Plugins/Android/libs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Plugins/Android/libs/TapLicense_3.7.0.aar
Binary file not shown.
32 changes: 32 additions & 0 deletions Plugins/Android/libs/TapLicense_3.7.0.aar.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Plugins/TapTap.License.dll
Binary file not shown.
33 changes: 33 additions & 0 deletions Plugins/TapTap.License.dll.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added Plugins/TapTap.License.pdb
Binary file not shown.
7 changes: 7 additions & 0 deletions Plugins/TapTap.License.pdb.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 69 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# [TapTap.License](./Documentation/README.md)

## 使用前提

使用TapTap.License的前提是必须添加以下依赖库:

* [TapTap.Common](https://github.com/TapTap/TapCommon-Unity.git)

## 接口描述

### 命名空间

```c#
using TapTap.License;
```

### 付费认证

#### 1.设置授权回调

```c#
//默认情况下 SDK 会弹出不可由玩家手动取消的弹窗来避免未授权玩家进入游戏,如果需要回调来触发流程,请添加如下代码
TapLicense.SetLicencesCallback(ITapLicenseCallback callback);

public interface ITapLicenseCallback
{
// 授权成功回调
void OnLicenseSuccess();
}
```

#### 2. 检查付费授权

```c#
TapLicense.Check();
```

### TapLicense DLC 查询和购买

#### 1.DLC 回调设置

```c#
public interface ITapDLCCallback
{
void OnQueryCallBack(int code, Dictionary<string, object> queryList);

void OnOrderCallBack(string sku, int status);
}

TapLicense.SetDLCCallback(ITapDLCCallback callback);
```

#### 2. DLC 查询

购买前必须先查询 DLC 当前状态(支持单个查询和多个查询)

```c#
TapLicense.QueryDLC(string[] appId);
```

#### 3.DLC 购买

当 DLC 查询过且未购买时

```c#
TapLicense.PurchaseDLC(string appId);
```


7 changes: 7 additions & 0 deletions README.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions VERSIONNOTE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Dependencies

- TapTap.Common v3.7.0
Loading

0 comments on commit a3d0e1e

Please sign in to comment.