Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: LocalPlayer attribute now throws error #277

Merged
merged 4 commits into from
Jul 14, 2020
Merged

Conversation

paulpach
Copy link
Contributor

If you want to get an error you do this:

[LocalPlayer]
public void LocalPlayerFunctionOnly() {}

If you don't want to get an error, you do this:

[LocalPlayer(error = false)]
public void LocalPlayerFunctionOnly() {}

BREAKING CHANGE: [LocalPlayerCallback] is now [LocalPlayer(error = false)]

paulpach and others added 4 commits July 13, 2020 19:57
If you want to get an error you do this:
```cs
[LocalPlayer]
public void ClientFunctionOnly() {}
```

If you don't want to get an error, you do this:
```cs
[LocalPlayer(error = false)]
public void ClientFunctionOnly() {}
```

BREAKING CHANGE: [LocalPlayerCallback] is now [LocalPlayer(error = false)]
@sonarcloud
Copy link

sonarcloud bot commented Jul 14, 2020

SonarCloud Quality Gate failed.

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

83.3% 83.3% Coverage
3.9% 3.9% Duplication

@paulpach paulpach merged commit 15aa537 into master Jul 14, 2020
@paulpach paulpach deleted the localplayerguard branch July 14, 2020 01:39
github-actions bot pushed a commit that referenced this pull request Jul 14, 2020
# [40.0.0](39.0.0-master...40.0.0-master) (2020-07-14)

### Features

* LocalPlayer attribute now throws error ([#277](#277)) ([15aa537](15aa537))

### BREAKING CHANGES

* [LocalPlayerCallback] is now [LocalPlayer(error = false)]

* Local Player guard

Co-authored-by: Paul Pacheco <paul.pacheco@aa.com>
github-actions bot pushed a commit that referenced this pull request Jul 14, 2020
* feat: LocalPlayer attribute now throws error

If you want to get an error you do this:
```cs
[LocalPlayer]
public void ClientFunctionOnly() {}
```

If you don't want to get an error, you do this:
```cs
[LocalPlayer(error = false)]
public void ClientFunctionOnly() {}
```

BREAKING CHANGE: [LocalPlayerCallback] is now [LocalPlayer(error = false)]

* Local Player guard

Co-authored-by: Paul Pacheco <paul.pacheco@aa.com>
github-actions bot pushed a commit that referenced this pull request Jul 14, 2020
# [40.0.0](39.0.0-master...40.0.0-master) (2020-07-14)

### Features

* LocalPlayer attribute now throws error ([#277](#277)) ([15aa537](15aa537))

### BREAKING CHANGES

* [LocalPlayerCallback] is now [LocalPlayer(error = false)]

* Local Player guard

Co-authored-by: Paul Pacheco <paul.pacheco@aa.com>
@github-actions
Copy link
Contributor

🎉 This PR is included in version 40.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant