Skip to content

Commit

Permalink
Update basic-networking-and-you.md
Browse files Browse the repository at this point in the history
remove access markers on ID comp, probably just serves to confuse people reading it when we're focussing on the network part
  • Loading branch information
mirrorcult committed May 31, 2024
1 parent c7dae65 commit 4fca465
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/en/ss14-by-example/basic-networking-and-you.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,10 @@ An example of all of the networking code required for IDCardComponent now, from
// IDCardComponent.cs
[RegisterComponent, NetworkedComponent]
[AutoGenerateComponentState]
[Access(typeof(SharedIdCardSystem), typeof(SharedPDASystem), typeof(SharedAgentIdCardSystem))]
public sealed partial class IdCardComponent : Component
{
[DataField]
[AutoNetworkedField]
[Access(typeof(SharedIdCardSystem), typeof(SharedPDASystem), typeof(SharedAgentIdCardSystem),
Other = AccessPermissions.ReadWrite)] // FIXME Friends
public string? FullName;

[DataField]
Expand Down

0 comments on commit 4fca465

Please sign in to comment.