Announcement

Collapse
No announcement yet.

MOD Authors: Making your Mods more pluggable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Ideally, one would want to have dispatch on each member.

    Ie:
    Code:
    def member( self, arguements ):
      (abort, result) = self.pre_call_list( arguements )
      if (abort):
        return result
      result = self.parent::member( arguements )
      result = self.post_call_list( result, arguements )
      return result
    where mods can plug in pre-calls (with the power to short-circuit the member) and post-calls (with the power to change the result of a member) ordered by a double.

    Then again, this level of plugability probably isn't needed.

    Comment

    Working...
    X