public override ExtendedEventArgs process()
    {
        ResponseWorldListEventArgs args = null;

        if (status == 0) {
            args = new ResponseWorldListEventArgs();
            args.worldList = worldList;
        }

        return args;
    }
    public override ExtendedEventArgs process()
    {
        ResponseWorldListEventArgs args = null;

        if (status == 0)
        {
            args           = new ResponseWorldListEventArgs();
            args.worldList = worldList;
        }

        return(args);
    }
Exemple #3
0
    public void ResponseWorldList(ExtendedEventArgs eventArgs)
    {
        ResponseWorldListEventArgs args = eventArgs as ResponseWorldListEventArgs;

        if (args.status == 0)
        {
            worldList = args.worldList;

            if (worldList.Count > 0)
            {
                worldSelected = new List <WorldData>(worldList.Values)[0];
            }
        }
    }