Exemplo n.º 1
0
 public BaseGuild InvokeCreateGuild(CreateGuildEventArgs e)
 {
     if (CreateGuild != null)
     {
         return(CreateGuild(e));
     }
     else
     {
         return(null);
     }
 }
Exemplo n.º 2
0
        public static CreateGuildEventArgs Create(int id)
        {
            CreateGuildEventArgs args;

            if (m_Pool.Count > 0)
            {
                args = m_Pool.Dequeue();

                args.Id = id;
            }
            else
            {
                args = new CreateGuildEventArgs(id);
            }

            return(args);
        }
Exemplo n.º 3
0
 public static BaseGuild EventSink_CreateGuild( CreateGuildEventArgs args )
 {
     BaseGuild g = (BaseGuild) ( new Guild( args.Id ) );
     return g;
 }