Exemplo n.º 1
0
    static int GetHashCode(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 1);
        IM.Number obj = (IM.Number)LuaScriptMgr.GetNetObjectSelf(L, 1, "IM.Number");
        int       o   = obj.GetHashCode();

        LuaScriptMgr.Push(L, o);
        return(1);
    }
Exemplo n.º 2
0
 public override int GetHashCode()
 {
     return(x.GetHashCode() ^ y.GetHashCode());
 }