コード例 #1
0
ファイル: IPlayerCo.cs プロジェクト: luke163/mmodemo
            public static IPlayerCoPrx uncheckedCast(Ice.ObjectPrx b)
            {
                if (b == null)
                {
                    return(null);
                }
                IPlayerCoPrx r = b as IPlayerCoPrx;

                if (r == null)
                {
                    IPlayerCoPrxHelper h = new IPlayerCoPrxHelper();
                    h.iceCopyFrom(b);
                    r = h;
                }
                return(r);
            }
コード例 #2
0
ファイル: IPlayerCo.cs プロジェクト: luke163/mmodemo
            public static IPlayerCoPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary <string, string> ctx)
            {
                if (b == null)
                {
                    return(null);
                }
                IPlayerCoPrx r = b as IPlayerCoPrx;

                if ((r == null) && b.ice_isA(ice_staticId(), ctx))
                {
                    IPlayerCoPrxHelper h = new IPlayerCoPrxHelper();
                    h.iceCopyFrom(b);
                    r = h;
                }
                return(r);
            }
コード例 #3
0
ファイル: IPlayerCo.cs プロジェクト: luke163/mmodemo
 public static void write(Ice.OutputStream ostr, IPlayerCoPrx v)
 {
     ostr.writeProxy(v);
 }