Capitalized the DataObject class.

This commit is contained in:
Filip Maj 2022-02-16 15:30:32 -05:00
parent 9097e557ed
commit aae051d73f
53 changed files with 99 additions and 62 deletions

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System.Collections.Generic;
using System.IO;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System.Collections.Generic;
using System.IO;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System.IO;
using Meteor.Common;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.Collections.Generic;
using System.IO;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System.Collections.Generic;
using System.IO;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System.Collections.Generic;
using System.IO;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System.Collections.Generic;
using System.IO;

View file

@ -23,7 +23,7 @@ using System;
using System.IO;
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
namespace Meteor.Map.packets.send.actor.inventory
{

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.Collections.Generic;
using System.IO;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.Collections.Generic;
using System.IO;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.Collections.Generic;
using System.IO;

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.Collections.Generic;
using System.IO;

View file

@ -79,9 +79,7 @@ namespace Meteor.Map.packets.send.player
public const ushort OPCODE = 0x01A3;
public const uint PACKET_SIZE = 0x150;
public bool[] cutsceneFlags = new bool[2048];
public SubPacket BuildPacket(uint sourceActorId, string sNpcName, short sNpcActorIdOffset, byte sNpcSkin, byte sNpcPersonality)
public SubPacket BuildPacket(uint sourceActorId, string sNpcName, short sNpcActorIdOffset, byte sNpcSkin, byte sNpcPersonality, bool[] completedQuests)
{
byte[] data = new byte[PACKET_SIZE - 0x20];
@ -89,7 +87,7 @@ namespace Meteor.Map.packets.send.player
{
using (BinaryWriter binWriter = new BinaryWriter(mem))
{
byte[] binStream = Utils.ConvertBoolArrayToBinaryStream(cutsceneFlags);
byte[] binStream = Utils.ConvertBoolArrayToBinaryStream(completedQuests);
//Temp Path Companion SNPC Stuff
binWriter.Seek(0x01 ,SeekOrigin.Begin);

View file

@ -19,7 +19,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
===========================================================================
*/
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
namespace Meteor.Map.packets.WorldPackets.Send.Group
{

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;
using System.Text;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;

View file

@ -20,7 +20,7 @@ along with Project Meteor Server. If not, see <https:www.gnu.org/licenses/>.
*/
using Meteor.Common;
using Meteor.Map.dataobjects;
using Meteor.Map.DataObjects;
using System;
using System.IO;