Ejemplo n.º 1
0
    public void UploadGeneralSetting(IEventArgs arg)
    {
        BaseArg <VolumnAndResolution, Action <int> > _arg = arg as BaseArg <VolumnAndResolution, Action <int> >;
        GeneralSetting gs = new GeneralSetting();

        gs.screenHeight = _arg.valueA.screenHeight;
        gs.screenWidth  = _arg.valueA.screenWidth;
        gs.volumn       = _arg.valueA.volumn;

        ServerSDK.Instance.UploadGeneralSetting(gs, _arg.valueB);
    }
Ejemplo n.º 2
0
    public void DownloadGeneralSetting(IEventArgs arg)
    {
        BaseArg <Action <int, VolumnAndResolution> > _arg = arg as BaseArg <Action <int, VolumnAndResolution> >;

        ServerSDK.Instance.DownloadGeneralSetting((i, gs) =>
        {
            VolumnAndResolution var = new VolumnAndResolution();
            var.screenHeight        = gs.screenHeight;
            var.screenWidth         = gs.screenWidth;
            var.volumn = gs.volumn;
            _arg.value(i, var);
        });
    }
Ejemplo n.º 3
0
 public virtual void TestMethod(BaseArg inheritedArg)
 {
 }