摘要: using UnityEngine;using System;using System.Collections;using System.Collections.Generic;using System.Text;using System.Net;using System.Threading;usi... 阅读全文
posted @ 2015-06-18 17:45 泥潭里的金鱼 阅读(212) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine;using System.Collections;using System.Text;/* * 1. higher is First * 2. string add length **//// 发送包public class SendPackage{ pri... 阅读全文
posted @ 2015-06-18 17:24 泥潭里的金鱼 阅读(198) 评论(0) 推荐(0) 编辑
摘要: #include #include extern "C" __declspec(dllexport)int TCharParm(char* in,int len,char* out){ memset(out,0,4); memcpy(out,in,len); return 0;}extern "C"... 阅读全文
posted @ 2015-06-18 13:59 泥潭里的金鱼 阅读(178) 评论(0) 推荐(0) 编辑
摘要: extern "C" int _declspec(dllexport)testunity(); extern "C" int _declspec(dllexport)addT(int a,int b);int testunity() { return 3;/*这是函数,里面可以写你想要实现的任何功能... 阅读全文
posted @ 2015-06-18 01:18 泥潭里的金鱼 阅读(604) 评论(0) 推荐(0) 编辑