HylianBasement / netbuilder

Abstract and declarative networking library for Roblox
MIT License
3 stars 0 forks source link

Abstract definition builders #5

Closed rimuy closed 2 years ago

rimuy commented 2 years ago

Thinking of abstracting once again how you build definitions, merging both definition builders into one. The library should be focused on what definitions can do, and not on what they should be. This way it should be simpler as you only care about what exactly they provide to you. This change would result in the following behaviour:

Change: EventBuilder & FunctionBuilder -> DefinitionBuilder

Regarding to #2, MessagingEventBuilder would need to receive a new name, which would likely be GlobalDefinitionBuilder.

This should be elaborated later in the description.

rimuy commented 2 years ago

Implemented by e8ab476.