Ejemplo n.º 1
0
 public static playerevent get(int i)
 {
     if (!_playerevent.ContainsKey(i))
     {
         _playerevent[i] = new playerevent();
     }
     return(_playerevent[i]);
 }
        public static @event TriggerRegisterPlayerEvent(trigger whichTrigger, player whichPlayer, playerevent whichPlayerEvent)
        {
            @event triEvent = new @event()
            {
                sourcePlayer = whichPlayer, playerEvent = whichPlayerEvent
            };

            whichTrigger.events.Add(triEvent);
            return(triEvent);
        }