Renames buffer writer to fix any conflicts (#204)
This commit is contained in:
parent
c4e7f47ada
commit
133a1c4b56
5 changed files with 13 additions and 19 deletions
|
|
@ -2,19 +2,13 @@
|
|||
* ModernUO *
|
||||
* Copyright (C) 2019-2020 - ModernUO Development Team *
|
||||
* Email: hi@modernuo.com *
|
||||
* File: BufferWriter.cs *
|
||||
* Created: 2019/12/30 - Updated: 2020/01/18 *
|
||||
* File: BufferedFileWriter.cs *
|
||||
* *
|
||||
* This program is free software: you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation, either version 3 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU General Public License *
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||
*************************************************************************/
|
||||
|
|
@ -27,7 +21,7 @@ using Server.Guilds;
|
|||
|
||||
namespace Server
|
||||
{
|
||||
public class BufferWriter : IGenericWriter
|
||||
public class BufferedFileWriter : IGenericWriter
|
||||
{
|
||||
private const int LargeByteBufferSize = 256;
|
||||
|
||||
|
|
@ -41,7 +35,7 @@ namespace Server
|
|||
private int m_Index;
|
||||
private int m_MaxBufferChars;
|
||||
|
||||
public BufferWriter(bool prefixStr)
|
||||
public BufferedFileWriter(bool prefixStr)
|
||||
{
|
||||
m_PrefixStrings = prefixStr;
|
||||
m_Encoding = Utility.UTF8;
|
||||
|
|
@ -23,7 +23,7 @@ namespace Server
|
|||
{
|
||||
public interface ISerializable
|
||||
{
|
||||
BufferWriter SaveBuffer { get; }
|
||||
BufferedFileWriter SaveBuffer { get; }
|
||||
int TypeRef { get; }
|
||||
Serial Serial { get; }
|
||||
void Serialize();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue