Example #1
0
        public static WirecastShot CreateFromObject(int shotID, object shot)
        {
            string name = (string)Late.Get(shot, "Name");
            if (!shots.ContainsKey(shotID))
            {
                shots[shotID] = new WirecastShot() { ShotID = shotID, Name = name };
            }

            return shots[shotID];
        }
Example #2
0
        public static WirecastShot CreateFromObject(int shotID, object shot)
        {
            string name = (string)Late.Get(shot, "Name");

            if (!shots.ContainsKey(shotID))
            {
                shots[shotID] = new WirecastShot()
                {
                    ShotID = shotID, Name = name
                };
            }

            return(shots[shotID]);
        }
Example #3
0
 public void RemoveShot(WirecastShot shot)
 {
     RemoveShotByID(shot.ShotID);
 }
Example #4
0
        public WirecastShot ShotByShotID(int ShotID)
        {
            object shot = this.Invoke("ShotByShotID", ShotID);

            return(WirecastShot.CreateFromObject(ShotID, shot));
        }
Example #5
0
 public void RemoveShot(WirecastShot shot)
 {
     RemoveShotByID(shot.ShotID);
 }