Exemplo n.º 1
0
        // Albert, 2012-12-28: TODO: Use a parameter of type PlayerChoice instead of directly referring to the slot index
        public IChannel GetChannel(int slotIndex)
        {
            if (TimeshiftControl == null)
            {
                return(null);
            }

            return(TimeshiftControl.GetChannel(GetMatchingSlotIndex(slotIndex)));
        }
Exemplo n.º 2
0
 // Note: the slotIndex represents the server side stream, which is not related to the PlayerSlot.
 public IChannel GetChannel(int slotIndex)
 {
     return(TimeshiftControl?.GetChannel(GetMatchingSlotIndex(slotIndex)));
 }