Exemple #1
0
    void OnClickShareFB()
    {
        CG_USER_BEHAVIOR packet = (CG_USER_BEHAVIOR)PacketDistributed.CreatePacket(MessageID.PACKET_CG_USER_BEHAVIOR);

        packet.Type = 1;
        packet.SendPacket();
        PlatformHelper.ShareToFB("");
    }
        public uint Execute(PacketDistributed ipacket)
        {
            CG_USER_BEHAVIOR packet = (CG_USER_BEHAVIOR )ipacket;

            if (null == packet)
            {
                return((uint)PACKET_EXE.PACKET_EXE_ERROR);
            }
            //enter your logic
            return((uint)PACKET_EXE.PACKET_EXE_CONTINUE);
        }