156 lines
2.7 KiB
C#
156 lines
2.7 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Terraria.Server.Game
|
|
// Assembly: Terraria, Version=1.4.0.5, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 67F9E73E-0A81-4937-A22C-5515CD405A83
|
|
// Assembly location: C:\Users\mikeyisbaeyt\Downloads\depotdownloader-2.4.5\depots\105601\6707058\Terraria.exe
|
|
|
|
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Content;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
using System;
|
|
|
|
namespace Terraria.Server
|
|
{
|
|
public class Game : IDisposable
|
|
{
|
|
public GameComponentCollection Components => (GameComponentCollection) null;
|
|
|
|
public ContentManager Content
|
|
{
|
|
get => (ContentManager) null;
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
public GraphicsDevice GraphicsDevice => (GraphicsDevice) null;
|
|
|
|
public TimeSpan InactiveSleepTime
|
|
{
|
|
get => TimeSpan.Zero;
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
public bool IsActive => true;
|
|
|
|
public bool IsFixedTimeStep
|
|
{
|
|
get => true;
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
public bool IsMouseVisible
|
|
{
|
|
get => false;
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
public LaunchParameters LaunchParameters => (LaunchParameters) null;
|
|
|
|
public GameServiceContainer Services => (GameServiceContainer) null;
|
|
|
|
public TimeSpan TargetElapsedTime
|
|
{
|
|
get => TimeSpan.Zero;
|
|
set
|
|
{
|
|
}
|
|
}
|
|
|
|
public GameWindow Window => (GameWindow) null;
|
|
|
|
public event EventHandler<EventArgs> Activated;
|
|
|
|
public event EventHandler<EventArgs> Deactivated;
|
|
|
|
public event EventHandler<EventArgs> Disposed;
|
|
|
|
public event EventHandler<EventArgs> Exiting;
|
|
|
|
protected virtual bool BeginDraw() => true;
|
|
|
|
protected virtual void BeginRun()
|
|
{
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
protected virtual void Draw(GameTime gameTime)
|
|
{
|
|
}
|
|
|
|
protected virtual void EndDraw()
|
|
{
|
|
}
|
|
|
|
protected virtual void EndRun()
|
|
{
|
|
}
|
|
|
|
public void Exit()
|
|
{
|
|
}
|
|
|
|
protected virtual void Initialize()
|
|
{
|
|
}
|
|
|
|
protected virtual void LoadContent()
|
|
{
|
|
}
|
|
|
|
protected virtual void OnActivated(object sender, EventArgs args)
|
|
{
|
|
}
|
|
|
|
protected virtual void OnDeactivated(object sender, EventArgs args)
|
|
{
|
|
}
|
|
|
|
protected virtual void OnExiting(object sender, EventArgs args)
|
|
{
|
|
}
|
|
|
|
public void ResetElapsedTime()
|
|
{
|
|
}
|
|
|
|
public void Run()
|
|
{
|
|
}
|
|
|
|
public void RunOneFrame()
|
|
{
|
|
}
|
|
|
|
protected virtual bool ShowMissingRequirementMessage(Exception exception) => true;
|
|
|
|
public void SuppressDraw()
|
|
{
|
|
}
|
|
|
|
public void Tick()
|
|
{
|
|
}
|
|
|
|
protected virtual void UnloadContent()
|
|
{
|
|
}
|
|
|
|
protected virtual void Update(GameTime gameTime)
|
|
{
|
|
}
|
|
}
|
|
}
|