sendSetMissionObjective() 공개 메소드

public sendSetMissionObjective ( ushort id, ushort state, string missionObjective, WorldClient client ) : void
id ushort
state ushort
missionObjective string
client WorldClient
리턴 void
예제 #1
0
        public void processMissionaccept(ref byte[] packet)
        {
            byte[] contactBytes = { packet[0], packet[1] };
            UInt16 contactId    = NumericalUtils.ByteArrayToUint16(contactBytes, 1);
            ushort missionId    = packet[2];

            Output.WriteRpcLog("Mission Accept Data:" + StringUtils.bytesToString(packet));
            ServerPackets pak = new ServerPackets();

            pak.sendMissionAccept(Store.currentClient, contactId, missionId);
            pak.sendSetMissionObjective(1, 0, "This is the test Mission, mate", Store.currentClient);
            pak.sendSetMissionObjective(2, 0, "Success", Store.currentClient);
            //pak.sendSetMissionObjective(3, 2, "Failed Remain", Store.currentClient);
            //pak.sendSetMissionObjective(4, 3, "Failed Clear", Store.currentClient);
        }