Facebook
From Chunky Plover, 7 Years ago, written in ECMAScript.
This paste is a reply to Untitled from Tacky Cassowary - view diff
Embed
Download Paste or View Raw
Hits: 422
  1. import {IEvent} from "../../Messages/Event/IEvent";
  2. import {BaseEvent} from "../../Messages/Event/BaseEvent";
  3. import {GlobalEventScope} from "./GalleryEventScope";
  4.  
  5. export class CommentAddedEventScope extends BaseEvent{
  6.         constructor(public connectionId: string, public galleryId, public author: string, public comment: string){
  7.         super();
  8.         this.scopes = [new GalleryEventScope(galleryId)];
  9.     }
  10. }