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

Crafting fields & properties #1023

Open
wants to merge 6 commits into
base: development
Choose a base branch
from
Open

Crafting fields & properties #1023

wants to merge 6 commits into from

Conversation

EgardA
Copy link
Contributor

@EgardA EgardA commented Oct 24, 2024

PR Checklist

Please check if your PR fulfills the following requirements:

  • All new classes have class-level documentation comments, if there are any at all
  • Tests for the changes have been added (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation update
  • Other... Please describe:

What is the current behavior?

What is the new behavior?

Resolves #857
Resolves #856

Other information

@EgardA EgardA self-assigned this Oct 24, 2024
{
Assert.True(client.ObjectManager.TryGetObject(craftingId, out Crafting clientCrafting));
Assert.Equal(serverCrafting._currentHistoryIndex, clientCrafting._currentHistoryIndex);
Assert.Equal(serverCrafting._craftedItemObject, clientCrafting._craftedItemObject);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

item object should have it's own handler and be treated as a network object

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but that's a different issue. Or am I misunderstanding you?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is asserting the values are equal rather than a network string id

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair

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

Successfully merging this pull request may close these issues.

Sync: Crafting Properties Sync: Crafting Fields
2 participants