Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 9, 2025. It is now read-only.

Modified Collections to Enable Notifications on Change #166

Open
stevemcilwain wants to merge 1 commit into DanielEverland:master
base: master
Choose a base branch
Loading
from PlayableDesign:feature/collections-changed

Conversation

@stevemcilwain
Copy link

@stevemcilwain stevemcilwain commented Dec 14, 2022

I modified BaseCollection.cs and Collection.cs to enable notifications when changes are made to the collection.

  • Changed BaseCollection.cs to inherit from GameEventBase
  • Added an AddRange method to Collection.cs
  • Changed Collection.cs to call Raise() on Add, Remove, Clear, RemoveAt, Insert, AddRange

emilienh and Begounet reacted with heart emoji
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /