├── DotCGSF ├── CGSFNET64Lib │ ├── Compress.h │ ├── app.rc │ ├── app.ico │ ├── resource.h │ ├── SFNETMultiDispatcher.cpp │ ├── ServerConnectReceiveCallback.h │ ├── Stdafx.cpp │ ├── CgsfNET64Lib.vcxproj.user │ ├── Stdafx.h │ ├── FRAMEWORK_ERROR_CODE.h │ ├── DESEncrypt.h │ ├── Helper.h │ ├── AssemblyInfo.cpp │ ├── CgsfNET64Lib.filters │ └── SFNETMultiDispatcher.h ├── EchoServerNet │ ├── App.config │ ├── Properties │ │ ├── Settings.settings │ │ ├── Settings.Designer.cs │ │ └── AssemblyInfo.cs │ ├── Program.cs │ ├── ServerNetwork.cs │ └── EchoServerNet.csproj.user └── CGSFNET64Common │ ├── packages.config │ ├── app.config │ ├── FileLogger.cs │ ├── JsonEnDecode.cs │ ├── Properties │ └── AssemblyInfo.cs │ ├── CGSFNETCommon.sln │ └── NLog.config ├── DatabaseLayer ├── SFDBManager.cpp ├── DBMsg.h ├── SFDBManager.h ├── SFDBRequest.cpp ├── SFDatabaseSQLite.cpp ├── SFDatabase.cpp ├── SFDBAdaptor.cpp ├── DBStruct.h ├── IDBManager.h ├── stdafx.cpp ├── targetver.h ├── SFDatabaseProxyRemote.h ├── SFDatabaseSQLite.h ├── SFMSSQLAdaptor.h ├── SFZdb.h ├── SFZdbAdpator.h ├── SFFastDBAdaptor.h ├── SFZdbAdpator.cpp ├── SFFastDBAdaptor.cpp ├── SFMSSQLAdaptor.cpp ├── SFDBRequest.h ├── SFDatabaseProxyImpl.h ├── SFDataBaseProxy.h ├── SFDBAdaptor.h ├── stdafx.h ├── SFZdb.cpp ├── SFDBWorker.h ├── SFDBWorker.cpp ├── SFDatabaseProxyLocal.h ├── SFDatabase.h └── SFDBPacketSystem.h ├── CGSFNet ├── IEngine.h ├── ACEEngine.h ├── ErrorCode.h ├── EngineConstant.h ├── INetworkEngine.h ├── WorkerThread.h ├── WorkerThread.cpp ├── PeerInfo.h ├── IServerCallback.h ├── InterlockedValue.h ├── ACEHeader.h ├── EngineStructure.h ├── IPacketProtocol.h ├── CommonStructure.h ├── InterlockedValue.cpp ├── ISessionService.h ├── ACETimeOutHandler.h ├── ProactorAcceptor.h ├── INetworkCallback.h ├── IDMap.h ├── Lock.h ├── ISession.h ├── ProactorAcceptor.cpp ├── ProactorService.h └── ServiceManager.h ├── BaseLayer ├── SFMath.h ├── SFDispatch.h ├── SFTSSyncQueue.h ├── SFRegexChecker.cpp ├── BaseLayer.vcxproj.user ├── CMakeLists.txt ├── base64.h ├── SFConsumer.h ├── SFCompressZLib.h ├── SFCompressor.h ├── SFEncryptionXOR.h ├── BaseCommonHeader.h ├── BaseLayerLinux.vcxproj.user ├── Macro.h ├── SFRegexChecker.h ├── SFFastCRC.h ├── SFEncryption.h ├── SFCompressZLib.cpp ├── CGSFDefine.h ├── SFTree.h ├── SFLockDeque.h ├── SFEncryptionXOR.cpp ├── SFLock.h ├── SFLockQueue.h ├── SFList.h ├── ConcurrentQueue.h ├── BitSet.h ├── ReadMe.txt ├── SFQueue.h └── SFObjectPool.h ├── Bin ├── Debug │ ├── ACEd.dll │ ├── libglog.dll │ ├── EngineConfig.xml │ └── ServerConnection.xml └── Release │ ├── ACE.dll │ ├── libglog.dll │ ├── boost_chrono-vc140-mt-1_60.dll │ ├── boost_system-vc140-mt-1_60.dll │ ├── boost_thread-vc140-mt-1_60.dll │ ├── EngineConfig.xml │ └── ServerConnection.xml ├── EngineLayer ├── SFConstant.h ├── SFEngine.cpp ├── SFLogicDispatcher.cpp ├── SFLogicDispatcher.h ├── SFPacketProtocol.h ├── SFClassicDispatcher.cpp ├── SFMultiLogicDispatcher.cpp ├── SFSingleLogicDispatcher.cpp ├── SFObject.h ├── SFObject.cpp ├── SFProtobufPacket.cpp ├── EngineLayer.vcxproj.user ├── CommonHeader.h ├── EngineLayerLinux.vcxproj.user ├── SFPacketProtocol.cpp ├── SFObserver.h ├── SFProducer.h ├── SFCheckSum.h ├── SFObserver.cpp ├── stdafx.cpp ├── SFPacketPool.h ├── SFPacketIOBuffer.h ├── SFClassicDispatcher.h ├── SFBasePacketProtocol.cpp ├── SFPacketPool.cpp ├── SFSessionService.cpp ├── SFIOCPFramework.h ├── SFIOCPFramework.cpp ├── LogicEntry.h ├── SFBasePacketProtocol.h ├── SFSessionService.h ├── SFACEAllocator.h ├── SFExcel.h ├── SFJsonPacket.h ├── ILogicDispatcher.h ├── SFMacro.h ├── SFSubject.h ├── SFLogicGateway.cpp ├── SFLogicGateway.h ├── ILogicEntry.h ├── SFJsonPacket.cpp ├── targetver.h ├── SFProtocol.cpp ├── SFCGSFPacketProtocol.h ├── SFJsonProtocol.h ├── SFProtobufPacket.h ├── SFSingleLogicDispatcher.h ├── JsonBuilder.h ├── stdafx.h ├── SFConfigure.h ├── INetworkFramework.h ├── SFConfigure.cpp ├── EngineLayerHeader.h ├── SFServerConnectionManager.h ├── visitor.h ├── SFIOBuffer.h ├── SFShouter.h ├── ReadMe.txt ├── SFSubject.cpp ├── SFProtobufPacketImpl.h ├── SFFactory.h ├── SFProtobufProtocol.h ├── SFProtobufPacketImpl.cpp ├── SFProtobufExtensionProtocol.h ├── ILogicEntry.cpp ├── DataBuffer.h ├── SFProtobuf2ExtensionProtocol.h ├── SFMultiLogicDispatcher.h └── SFMGClient.cpp ├── Sample ├── Common │ ├── protoc.exe │ ├── tank_cppgen.bat │ ├── Tank_csgen.bat │ ├── protobuf-net r668 │ │ ├── ProtoGen │ │ │ ├── protogen.exe │ │ │ ├── protogen.pdb │ │ │ ├── protobuf-net.dll │ │ │ ├── protobuf-net.pdb │ │ │ ├── protogen.exe.config │ │ │ ├── protoc-license.txt │ │ │ ├── Licence.txt │ │ │ └── xml.xslt │ │ ├── Full │ │ │ ├── sl4 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── wp8 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── cf20 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── cf35 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── mono │ │ │ │ └── protobuf-net.dll │ │ │ ├── net11 │ │ │ │ └── protobuf-net.dll │ │ │ ├── net20 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── net30 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── unity │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── wp71 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── portable │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ └── netcore45 │ │ │ │ ├── protobuf-net.dll │ │ │ │ ├── protobuf-net.pdb │ │ │ │ └── protobuf-net.pri │ │ ├── Precompile │ │ │ ├── precompile.exe │ │ │ ├── precompile.pdb │ │ │ ├── protobuf-net.dll │ │ │ ├── protobuf-net.pdb │ │ │ ├── IKVM.Reflection.dll │ │ │ └── Licence.txt │ │ ├── CoreOnly │ │ │ ├── cf20 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── cf35 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── ios │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── mono │ │ │ │ └── protobuf-net.dll │ │ │ ├── sl4 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── wp71 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── wp8 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── net11 │ │ │ │ └── protobuf-net.dll │ │ │ ├── net30 │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ │ ├── netcore45 │ │ │ │ ├── protobuf-net.dll │ │ │ │ ├── protobuf-net.pdb │ │ │ │ └── protobuf-net.pri │ │ │ └── portable │ │ │ │ ├── protobuf-net.dll │ │ │ │ └── protobuf-net.pdb │ │ └── Licence.txt │ ├── protobuf_cppgen.bat │ ├── protobuf_csgen.bat │ └── SampleMessage.proto ├── TankServer │ ├── stdafx.h │ ├── stdafx.cpp │ ├── targetver.h │ ├── TankServer.cpp │ ├── TankProtocol.h │ ├── TankLogicEntry.h │ ├── TankServer.vcxproj.user │ ├── TankProtocol.cpp │ ├── TankLogicEntry.cpp │ └── ReadMe.txt ├── EchoServer │ ├── targetver.h │ ├── EchoServreLinux.vcxproj.user │ ├── EchoServerHeader.h │ ├── EchoLogicEntry.h │ ├── EchoLogicEntry.cpp │ ├── EchoServer.vcxproj.user │ ├── EchoServer.cpp │ ├── ReadMe.txt │ └── EchoServer.vcxproj.filters ├── ProtoBufServer │ ├── stdafx.cpp │ ├── stdafx.h │ ├── targetver.h │ ├── ProtoBufServer.cpp │ ├── ProtoBufProtocol.h │ ├── ProtoBufServer.vcxproj.user │ ├── TankServer.vcxproj.user │ ├── ProtoBufLogicEntry.h │ ├── ProtoBufProtocol.cpp │ ├── ProtoBufLogicEntry.cpp │ └── ReadMe.txt ├── ServerConnector │ ├── stdafx.h │ ├── stdafx.cpp │ ├── targetver.h │ ├── ServerConnector.cpp │ ├── AuthServerCallback.h │ ├── DatabaseServerCallback.h │ ├── AuthServerCallback.cpp │ ├── DatabaseServerCallback.cpp │ ├── ServerConnectorLogicEntry.h │ ├── ServerConnectorLogicEntry.cpp │ └── ReadMe.txt ├── ServerListener │ ├── stdafx.cpp │ ├── stdafx.h │ ├── targetver.h │ ├── ServerListener.cpp │ ├── ServerListenerLogicEntry.h │ ├── ServerListener.vcxproj.user │ ├── ServerListenerLogicEntry.cpp │ ├── ReadMe.txt │ └── ServerListener.vcxproj.filters └── ProtobufUnity │ ├── ProjectSettings │ ├── ProjectVersion.txt │ ├── TagManager.asset │ ├── TimeManager.asset │ ├── AudioManager.asset │ ├── EditorSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── NetworkManager.asset │ ├── DynamicsManager.asset │ ├── GraphicsSettings.asset │ ├── ProjectSettings.asset │ ├── QualitySettings.asset │ ├── UnityAdsSettings.asset │ ├── ClusterInputManager.asset │ ├── EditorBuildSettings.asset │ ├── Physics2DSettings.asset │ └── UnityConnectSettings.asset │ ├── Assets │ ├── Scene │ │ ├── CGSFClient.unity │ │ └── CGSFClient.unity.meta │ ├── ProtoBuf │ │ ├── protobuf-net.dll │ │ ├── protobuf-net.pdb │ │ ├── protobuf-net.dll.mdb │ │ ├── protobuf-net.pdb.meta │ │ ├── protobuf-net.xml.meta │ │ ├── protobuf-net.dll.mdb.meta │ │ └── protobuf-net.dll.meta │ ├── Scripts │ │ ├── Network │ │ │ ├── UDP.cs │ │ │ ├── INetworkInterface.cs │ │ │ ├── UDP.cs.meta │ │ │ ├── TCPNetwork.cs.meta │ │ │ ├── CGSFNetProtocol.cs.meta │ │ │ ├── INetworkInterface.cs.meta │ │ │ ├── NetworkController.cs.meta │ │ │ ├── SampleMessage.cs.meta │ │ │ └── NetworkController.cs │ │ ├── Common.meta │ │ ├── Network.meta │ │ ├── UIRoot.cs.meta │ │ └── Common │ │ │ └── Singleton.cs.meta │ ├── Scene.meta │ ├── Scripts.meta │ └── ProtoBuf.meta │ ├── CGSFUnity.sln │ └── ProtobufUnity.sln └── README.md /DotCGSF/CGSFNET64Lib/Compress.h: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /DatabaseLayer/SFDBManager.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "SFDBManager.h" -------------------------------------------------------------------------------- /CGSFNet/IEngine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/CGSFNet/IEngine.h -------------------------------------------------------------------------------- /BaseLayer/SFMath.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/BaseLayer/SFMath.h -------------------------------------------------------------------------------- /Bin/Debug/ACEd.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Bin/Debug/ACEd.dll -------------------------------------------------------------------------------- /Bin/Release/ACE.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Bin/Release/ACE.dll -------------------------------------------------------------------------------- /CGSFNet/ACEEngine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/CGSFNet/ACEEngine.h -------------------------------------------------------------------------------- /CGSFNet/ErrorCode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/CGSFNet/ErrorCode.h -------------------------------------------------------------------------------- /BaseLayer/SFDispatch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/BaseLayer/SFDispatch.h -------------------------------------------------------------------------------- /Bin/Debug/libglog.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Bin/Debug/libglog.dll -------------------------------------------------------------------------------- /Bin/Release/libglog.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Bin/Release/libglog.dll -------------------------------------------------------------------------------- /CGSFNet/EngineConstant.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/CGSFNet/EngineConstant.h -------------------------------------------------------------------------------- /CGSFNet/INetworkEngine.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/CGSFNet/INetworkEngine.h -------------------------------------------------------------------------------- /EngineLayer/SFConstant.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/EngineLayer/SFConstant.h -------------------------------------------------------------------------------- /EngineLayer/SFEngine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/EngineLayer/SFEngine.cpp -------------------------------------------------------------------------------- /EngineLayer/SFLogicDispatcher.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "SFLogicDispatcher.h" 3 | -------------------------------------------------------------------------------- /Sample/Common/protoc.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protoc.exe -------------------------------------------------------------------------------- /BaseLayer/SFTSSyncQueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/BaseLayer/SFTSSyncQueue.h -------------------------------------------------------------------------------- /DatabaseLayer/DBMsg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | typedef enum eDBMSG 4 | { 5 | DBMSG_LOGIN = 1000, 6 | }; -------------------------------------------------------------------------------- /DatabaseLayer/SFDBManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/DatabaseLayer/SFDBManager.h -------------------------------------------------------------------------------- /DotCGSF/CGSFNET64Lib/app.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/DotCGSF/CGSFNET64Lib/app.rc -------------------------------------------------------------------------------- /Sample/TankServer/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/TankServer/stdafx.h -------------------------------------------------------------------------------- /BaseLayer/SFRegexChecker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/BaseLayer/SFRegexChecker.cpp -------------------------------------------------------------------------------- /DatabaseLayer/SFDBRequest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/DatabaseLayer/SFDBRequest.cpp -------------------------------------------------------------------------------- /DotCGSF/CGSFNET64Lib/app.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/DotCGSF/CGSFNET64Lib/app.ico -------------------------------------------------------------------------------- /Sample/EchoServer/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/EchoServer/targetver.h -------------------------------------------------------------------------------- /Sample/TankServer/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/TankServer/stdafx.cpp -------------------------------------------------------------------------------- /Sample/TankServer/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/TankServer/targetver.h -------------------------------------------------------------------------------- /EngineLayer/SFLogicDispatcher.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/EngineLayer/SFLogicDispatcher.h -------------------------------------------------------------------------------- /EngineLayer/SFPacketProtocol.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/EngineLayer/SFPacketProtocol.h -------------------------------------------------------------------------------- /Sample/ProtoBufServer/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtoBufServer/stdafx.cpp -------------------------------------------------------------------------------- /Sample/ProtoBufServer/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtoBufServer/stdafx.h -------------------------------------------------------------------------------- /Sample/ServerConnector/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ServerConnector/stdafx.h -------------------------------------------------------------------------------- /Sample/ServerListener/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ServerListener/stdafx.cpp -------------------------------------------------------------------------------- /Sample/ServerListener/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ServerListener/stdafx.h -------------------------------------------------------------------------------- /Sample/TankServer/TankServer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/TankServer/TankServer.cpp -------------------------------------------------------------------------------- /DatabaseLayer/SFDatabaseSQLite.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/DatabaseLayer/SFDatabaseSQLite.cpp -------------------------------------------------------------------------------- /Sample/ProtoBufServer/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtoBufServer/targetver.h -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.3.4f1 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /Sample/ServerConnector/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ServerConnector/stdafx.cpp -------------------------------------------------------------------------------- /Sample/ServerConnector/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ServerConnector/targetver.h -------------------------------------------------------------------------------- /Sample/ServerListener/targetver.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ServerListener/targetver.h -------------------------------------------------------------------------------- /DatabaseLayer/SFDatabase.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "SFDatabase.h" 3 | 4 | _DBConnectionInfo SFDatabase::m_Info; -------------------------------------------------------------------------------- /EngineLayer/SFClassicDispatcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/EngineLayer/SFClassicDispatcher.cpp -------------------------------------------------------------------------------- /EngineLayer/SFMultiLogicDispatcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/EngineLayer/SFMultiLogicDispatcher.cpp -------------------------------------------------------------------------------- /EngineLayer/SFSingleLogicDispatcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/EngineLayer/SFSingleLogicDispatcher.cpp -------------------------------------------------------------------------------- /Bin/Release/boost_chrono-vc140-mt-1_60.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Bin/Release/boost_chrono-vc140-mt-1_60.dll -------------------------------------------------------------------------------- /Bin/Release/boost_system-vc140-mt-1_60.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Bin/Release/boost_system-vc140-mt-1_60.dll -------------------------------------------------------------------------------- /Bin/Release/boost_thread-vc140-mt-1_60.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Bin/Release/boost_thread-vc140-mt-1_60.dll -------------------------------------------------------------------------------- /CGSFNet/WorkerThread.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void ProactorWorkerThread(void* Args); 4 | void ReactorWorkerThread(void* Args); 5 | -------------------------------------------------------------------------------- /Sample/ProtoBufServer/ProtoBufServer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtoBufServer/ProtoBufServer.cpp -------------------------------------------------------------------------------- /Sample/ServerConnector/ServerConnector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ServerConnector/ServerConnector.cpp -------------------------------------------------------------------------------- /Sample/ServerListener/ServerListener.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ServerListener/ServerListener.cpp -------------------------------------------------------------------------------- /DotCGSF/CGSFNET64Lib/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by app.rc 4 | -------------------------------------------------------------------------------- /DotCGSF/CGSFNET64Lib/SFNETMultiDispatcher.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/DotCGSF/CGSFNET64Lib/SFNETMultiDispatcher.cpp -------------------------------------------------------------------------------- /EngineLayer/SFObject.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class SFObject 4 | { 5 | public: 6 | SFObject(void); 7 | virtual ~SFObject(void); 8 | }; 9 | -------------------------------------------------------------------------------- /DotCGSF/CGSFNET64Lib/ServerConnectReceiveCallback.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/DotCGSF/CGSFNET64Lib/ServerConnectReceiveCallback.h -------------------------------------------------------------------------------- /EngineLayer/SFObject.cpp: -------------------------------------------------------------------------------- 1 | #include "SFObject.h" 2 | 3 | SFObject::SFObject(void) 4 | { 5 | } 6 | 7 | SFObject::~SFObject(void) 8 | { 9 | } 10 | -------------------------------------------------------------------------------- /Sample/Common/tank_cppgen.bat: -------------------------------------------------------------------------------- 1 | set DST_DIR=../tankserver 2 | set SRC_DIR=. 3 | protoc -I=%SRC_DIR% --cpp_out=%DST_DIR% %SRC_DIR%/Tank.proto 4 | pause -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/Scene/CGSFClient.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/Assets/Scene/CGSFClient.unity -------------------------------------------------------------------------------- /EngineLayer/SFProtobufPacket.cpp: -------------------------------------------------------------------------------- 1 | #pragma warning(disable : 4244) 2 | #pragma warning(disable : 4267) 3 | 4 | #include "SFProtobufPacket.h" 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Sample/Common/Tank_csgen.bat: -------------------------------------------------------------------------------- 1 | "protobuf-net r668\ProtoGen\protogen.exe" -i:TankMessage.proto -o:D:\Dev\TankGame\Assets\Scripts\Network\Message.cs 2 | pause -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/ProtoGen/protogen.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/ProtoGen/protogen.exe -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/ProtoGen/protogen.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/ProtoGen/protogen.pdb -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/sl4/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/sl4/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/sl4/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/sl4/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/wp8/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/wp8/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/wp8/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/wp8/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Precompile/precompile.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Precompile/precompile.exe -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Precompile/precompile.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Precompile/precompile.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/ProtoGen/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/ProtoGen/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/ProtoGen/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/ProtoGen/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.dll.mdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.dll.mdb -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/cf20/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/cf20/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/cf20/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/cf20/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/cf35/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/cf35/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/cf35/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/cf35/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/mono/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/mono/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/net11/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/net11/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/net20/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/net20/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/net20/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/net20/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/net30/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/net30/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/net30/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/net30/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/unity/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/unity/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/unity/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/unity/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/wp71/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/wp71/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/wp71/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/wp71/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Precompile/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Precompile/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Precompile/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Precompile/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf_cppgen.bat: -------------------------------------------------------------------------------- 1 | set DST_DIR=../protobufserver 2 | set SRC_DIR=. 3 | protoc -I=%SRC_DIR% --cpp_out=%DST_DIR% %SRC_DIR%/samplemessage.proto 4 | pause -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/UnityAdsSettings.asset -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/cf20/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/cf20/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/cf20/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/cf20/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/cf35/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/cf35/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/cf35/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/cf35/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/ios/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/ios/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/ios/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/ios/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/mono/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/mono/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/sl4/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/sl4/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/sl4/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/sl4/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/wp71/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/wp71/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/wp71/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/wp71/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/wp8/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/wp8/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/wp8/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/wp8/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/portable/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/portable/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/portable/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/portable/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Precompile/IKVM.Reflection.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Precompile/IKVM.Reflection.dll -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/net11/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/net11/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/net30/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/net30/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/net30/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/net30/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/netcore45/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/netcore45/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/netcore45/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/netcore45/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/Full/netcore45/protobuf-net.pri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/Full/netcore45/protobuf-net.pri -------------------------------------------------------------------------------- /Sample/ProtobufUnity/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/ProtobufUnity/ProjectSettings/UnityConnectSettings.asset -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/netcore45/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/netcore45/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/netcore45/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/netcore45/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/netcore45/protobuf-net.pri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/netcore45/protobuf-net.pri -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/portable/protobuf-net.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/portable/protobuf-net.dll -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/CoreOnly/portable/protobuf-net.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pdpdds/CGSFII/HEAD/Sample/Common/protobuf-net r668/CoreOnly/portable/protobuf-net.pdb -------------------------------------------------------------------------------- /Sample/Common/protobuf_csgen.bat: -------------------------------------------------------------------------------- 1 | "protobuf-net r668\ProtoGen\protogen.exe" -i:SampleMessage.proto -o:../ProtobufUnity/Assets/Scripts/Network/SampleMessage.cs -p:observable 2 | pause -------------------------------------------------------------------------------- /Sample/Common/protobuf-net r668/ProtoGen/protogen.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /DotCGSF/CGSFNET64Lib/Stdafx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : 표준 포함 파일만 들어 있는 소스 파일입니다. 2 | // EngineLayerNET.pch는 미리 컴파일된 헤더가 됩니다. 3 | // stdafx.obj에는 미리 컴파일된 형식 정보가 포함됩니다. 4 | 5 | #include "stdafx.h" 6 | -------------------------------------------------------------------------------- /BaseLayer/BaseLayer.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /DatabaseLayer/SFDBAdaptor.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "SFDBAdaptor.h" 3 | 4 | 5 | SFDBAdaptor::SFDBAdaptor(void) 6 | { 7 | } 8 | 9 | 10 | SFDBAdaptor::~SFDBAdaptor(void) 11 | { 12 | } 13 | -------------------------------------------------------------------------------- /EngineLayer/EngineLayer.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /Sample/Common/SampleMessage.proto: -------------------------------------------------------------------------------- 1 | package SAMPLE; 2 | 3 | enum ID 4 | { 5 | UNKNOWN = 0; 6 | HELLO = 1; 7 | } 8 | 9 | message Hello 10 | { 11 | required string message = 1; 12 | } -------------------------------------------------------------------------------- /EngineLayer/CommonHeader.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "SFConstant.h" 3 | #include "../CGSFNet/EngineStructure.h" 4 | #include "../CGSFNet/BasePacket.h" 5 | #include "../CGSFNet/IEngine.h" 6 | #include "SFStructure.h" -------------------------------------------------------------------------------- /EngineLayer/EngineLayerLinux.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /BaseLayer/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.2) 2 | project(BaseLayer) 3 | 4 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") 5 | 6 | add_library (BaseLayer SFBitArray.cpp SFBitArray.h) 7 | 8 | 9 | -------------------------------------------------------------------------------- /DotCGSF/CGSFNET64Lib/CgsfNET64Lib.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /EngineLayer/SFPacketProtocol.cpp: -------------------------------------------------------------------------------- 1 | #include "SFPacketProtocol.h" 2 | #include "SFEngine.h" 3 | 4 | void SendLogicLayer(BasePacket* pPacket) 5 | { 6 | SFEngine::GetInstance()->GetLogicDispatcher()->Dispatch(pPacket); 7 | } -------------------------------------------------------------------------------- /Sample/EchoServer/EchoServreLinux.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /BaseLayer/base64.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifndef _BASE64_H_ 4 | #define _BASE64_H_ 5 | 6 | std::string base64_encode(unsigned char const* , unsigned int len); 7 | std::string base64_decode(std::string const& s); 8 | 9 | #endif -------------------------------------------------------------------------------- /Bin/Debug/EngineConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | CGSFNet.dll 3 | 127.0.0.1 4 | 25251 5 | 5000 6 | 7 | 8 | -------------------------------------------------------------------------------- /DotCGSF/EchoServerNet/App.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/Scene/CGSFClient.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 856f775f01178aa43969680f7bbab59d 3 | timeCreated: 1449020193 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.pdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e108c3c73aa41ce4d9b4f070be173a6c 3 | timeCreated: 1434326102 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92599909d5a821c49b878b9c465aadac 3 | timeCreated: 1434326106 4 | licenseType: Free 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/Scripts/Network/UDP.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Assets.Scripts.Network 7 | { 8 | class UDP 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /DatabaseLayer/DBStruct.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | typedef struct tag_DBConnectionInfo 4 | { 5 | TCHAR szDataSource[100]; 6 | TCHAR szDBName[100]; 7 | TCHAR szUser[100]; 8 | TCHAR szPassword[100]; 9 | TCHAR IP[100]; 10 | USHORT Port; 11 | }_DBConnectionInfo; -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/ProtoBuf/protobuf-net.dll.mdb.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58fbecced0402a7478bc4037d0260937 3 | timeCreated: 1449025466 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/Scene.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39db305ea894bb54f8d4c65eda19b8ca 3 | folderAsset: yes 4 | timeCreated: 1449020193 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d51fbf47a45f814eb32ddb05c38f18d 3 | folderAsset: yes 4 | timeCreated: 1449019240 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /EngineLayer/SFObserver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class SFObject; 4 | class SFMessage; 5 | 6 | class SFObserver 7 | { 8 | public: 9 | SFObserver(void); 10 | virtual ~SFObserver(void); 11 | 12 | virtual bool OnMessage(SFObject* pSender, SFMessage* pMessage); 13 | }; 14 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/ProtoBuf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8196c1e647e9b14cab7d276d8014ac4 3 | folderAsset: yes 4 | timeCreated: 1449025309 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Sample/EchoServer/EchoServerHeader.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #ifdef _WIN32 3 | #include 4 | #endif 5 | 6 | #include "../EngineLayer/SFEngine.h" 7 | 8 | #ifdef _WIN32 9 | #pragma comment(lib, "EngineLayer.lib") 10 | //#pragma comment(lib, "DatabaseLayer.lib") 11 | #endif -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/Scripts/Common.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4db8fab7fd118542a21c01701233552 3 | folderAsset: yes 4 | timeCreated: 1449020917 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/Scripts/Network.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9542b7b7a01cbcc48bb37185aafc41e9 3 | folderAsset: yes 4 | timeCreated: 1449020917 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Sample/ProtobufUnity/Assets/Scripts/Network/INetworkInterface.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | 6 | namespace Assets.Scripts.Network 7 | { 8 | class INetworkInterface 9 | { 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /EngineLayer/SFProducer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | typedef ACE_Atomic_Op SafeInt; 4 | enum 5 | { 6 | MAX_ITEM_COUNT = 1000, 7 | }; 8 | 9 |