Fixed nearly all signatures (1 class left :))

This commit is contained in:
SND\AstrorEnales_cp 2012-01-17 20:37:05 +00:00
parent 829305a522
commit 5d42792d51
8 changed files with 646 additions and 22 deletions

View File

@ -1,5 +1,7 @@
#region Using Statements
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
#endregion // Using Statements
@ -52,11 +54,147 @@ using System;
namespace ANX.Framework.GamerServices
{
public class AvatarRenderer : IDisposable
{
public void Dispose()
{
throw new NotImplementedException();
}
}
public class AvatarRenderer : IDisposable
{
public const int BoneCount = 71;
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
public Vector3 AmbientLightColor
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public Vector3 LightColor
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public Vector3 LightDirection
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public AvatarRendererState State
{
get
{
throw new NotImplementedException();
}
}
public Matrix World
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public Matrix View
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public Matrix Projection
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public ReadOnlyCollection<int> ParentBones
{
get
{
throw new NotImplementedException();
}
}
public ReadOnlyCollection<Matrix> BindPose
{
get
{
throw new NotImplementedException();
}
}
public AvatarRenderer(AvatarDescription avatarDescription)
{
throw new NotImplementedException();
}
public AvatarRenderer(AvatarDescription avatarDescription, bool useLoadingEffect)
{
throw new NotImplementedException();
}
~AvatarRenderer()
{
Dispose();
}
public void Dispose()
{
throw new NotImplementedException();
}
protected void Dispose(bool disposing)
{
throw new NotImplementedException();
}
public void Draw(IAvatarAnimation animation)
{
throw new NotImplementedException();
}
public void Draw(IList<Matrix> bones, AvatarExpression expression)
{
throw new NotImplementedException();
}
}
}

View File

@ -1,5 +1,6 @@
#region Using Statements
using System;
using System.Collections.Generic;
#endregion // Using Statements
@ -52,7 +53,166 @@ using System;
namespace ANX.Framework.GamerServices
{
public static class Guide
{
}
public static class Guide
{
public static bool IsTrialMode
{
get
{
throw new NotImplementedException();
}
}
public static bool SimulateTrialMode
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static bool IsVisible
{
get
{
throw new NotImplementedException();
}
}
public static bool IsScreenSaverEnabled
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static NotificationPosition NotificationPosition
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public static IAsyncResult BeginShowMessageBox(PlayerIndex player, string title,
string text, IEnumerable<string> buttons, int focusButton, MessageBoxIcon icon,
AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public static IAsyncResult BeginShowMessageBox(string title, string text,
IEnumerable<string> buttons, int focusButton, MessageBoxIcon icon,
AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public static int? EndShowMessageBox(IAsyncResult result)
{
throw new NotImplementedException();
}
public static void ShowSignIn(int paneCount, bool onlineOnly)
{
throw new NotImplementedException();
}
public static IAsyncResult BeginShowKeyboardInput(PlayerIndex player, string title,
string description, string defaultText, AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public static IAsyncResult BeginShowKeyboardInput(PlayerIndex player, string title,
string description, string defaultText, AsyncCallback callback, object asyncState,
bool usePasswordMode)
{
throw new NotImplementedException();
}
public static string EndShowKeyboardInput(IAsyncResult result)
{
throw new NotImplementedException();
}
public static void ShowMessages(PlayerIndex player)
{
throw new NotImplementedException();
}
public static void ShowFriends(PlayerIndex player)
{
throw new NotImplementedException();
}
public static void ShowPlayers(PlayerIndex player)
{
throw new NotImplementedException();
}
public static void ShowFriendRequest(PlayerIndex player, Gamer gamer)
{
throw new NotImplementedException();
}
public static void ShowPlayerReview(PlayerIndex player, Gamer gamer)
{
throw new NotImplementedException();
}
public static void ShowGamerCard(PlayerIndex player, Gamer gamer)
{
throw new NotImplementedException();
}
public static void ShowParty(PlayerIndex player)
{
throw new NotImplementedException();
}
public static void ShowPartySessions(PlayerIndex player)
{
throw new NotImplementedException();
}
public static void ShowComposeMessage(PlayerIndex player, string text,
IEnumerable<Gamer> recipients)
{
throw new NotImplementedException();
}
public static void DelayNotifications(TimeSpan delay)
{
throw new NotImplementedException();
}
public static void ShowGameInvite(PlayerIndex player, IEnumerable<Gamer> recipients)
{
throw new NotImplementedException();
}
public static void ShowGameInvite(string sessionId)
{
throw new NotImplementedException();
}
public static void ShowMarketplace(PlayerIndex player)
{
throw new NotImplementedException();
}
}
}

View File

@ -1,5 +1,6 @@
#region Using Statements
using System;
using ANX.Framework.Audio;
#endregion // Using Statements
@ -52,12 +53,110 @@ using System;
namespace ANX.Framework.GamerServices
{
public sealed class SignedInGamer : Gamer
public sealed class SignedInGamer : Gamer
{
public PlayerIndex PlayerIndex
{
public PlayerIndex PlayerIndex
get
{
get;
private set;
throw new NotImplementedException();
}
}
}
public bool IsSignedInToLive
{
get
{
throw new NotImplementedException();
}
}
public bool IsGuest
{
get
{
throw new NotImplementedException();
}
}
public GameDefaults GameDefaults
{
get
{
throw new NotImplementedException();
}
}
public GamerPrivileges Privileges
{
get
{
throw new NotImplementedException();
}
}
public int PartySize
{
get
{
throw new NotImplementedException();
}
}
public GamerPresence Presence
{
get
{
throw new NotImplementedException();
}
}
public event EventHandler<SignedInEventArgs> SignedIn;
public event EventHandler<SignedOutEventArgs> SignedOut;
public bool IsFriend(Gamer gamer)
{
throw new NotImplementedException();
}
public FriendCollection GetFriends()
{
throw new NotImplementedException();
}
public bool IsHeadset(Microphone microphone)
{
throw new NotImplementedException();
}
public IAsyncResult BeginAwardAchievement(string achievementKey, AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public void EndAwardAchievement(IAsyncResult result)
{
throw new NotImplementedException();
}
public void AwardAchievement(string achievementKey)
{
throw new NotImplementedException();
}
public IAsyncResult BeginGetAchievements(AsyncCallback callback, object asyncState)
{
throw new NotImplementedException();
}
public AchievementCollection EndGetAchievements(IAsyncResult result)
{
throw new NotImplementedException();
}
public AchievementCollection GetAchievements()
{
throw new NotImplementedException();
}
}
}

View File

@ -1,4 +1,6 @@
using System;
using System.Collections.ObjectModel;
using System.Collections.Generic;
#region License
@ -49,7 +51,30 @@
namespace ANX.Framework.Net
{
public sealed class AvailableNetworkSessionCollection
public sealed class AvailableNetworkSessionCollection :
ReadOnlyCollection<AvailableNetworkSession>, IDisposable
{
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
internal AvailableNetworkSessionCollection(IList<AvailableNetworkSession> sessions)
: base(sessions)
{
}
~AvailableNetworkSessionCollection()
{
Dispose();
}
public void Dispose()
{
throw new NotImplementedException();
}
}
}

View File

@ -1,4 +1,5 @@
using System;
using ANX.Framework.GamerServices;
#region License
@ -51,5 +52,76 @@ namespace ANX.Framework.Net
{
public sealed class LocalNetworkGamer : NetworkGamer
{
public SignedInGamer SignedInGamer
{
get
{
throw new NotImplementedException();
}
}
public bool IsDataAvailable
{
get
{
throw new NotImplementedException();
}
}
public void EnableSendVoice(NetworkGamer remoteGamer, bool enable)
{
throw new NotImplementedException();
}
public void SendData(byte[] data, SendDataOptions options)
{
throw new NotImplementedException();
}
public void SendData(byte[] data, SendDataOptions options, NetworkGamer recipient)
{
throw new NotImplementedException();
}
public void SendData(byte[] data, int offset, int count, SendDataOptions options)
{
throw new NotImplementedException();
}
public void SendData(byte[] data, int offset, int count, SendDataOptions options,
NetworkGamer recipient)
{
throw new NotImplementedException();
}
public void SendData(PacketWriter data, SendDataOptions options)
{
throw new NotImplementedException();
}
public void SendData(PacketWriter data, SendDataOptions options, NetworkGamer recipient)
{
throw new NotImplementedException();
}
public int ReceiveData(byte[] data, out NetworkGamer sender)
{
throw new NotImplementedException();
}
public int ReceiveData(byte[] data, int offset, out NetworkGamer sender)
{
throw new NotImplementedException();
}
public int ReceiveData(PacketReader data, out NetworkGamer sender)
{
throw new NotImplementedException();
}
public void SendPartyInvites()
{
throw new NotImplementedException();
}
}
}

View File

@ -49,7 +49,47 @@
namespace ANX.Framework.Net
{
public sealed class NetworkSession
public sealed class NetworkSession : IDisposable
{
public const int MaxSupportedGamers = 31;
public const int MaxPreviousGamers = 100;
public bool IsDisposed
{
get
{
throw new NotImplementedException();
}
}
~NetworkSession()
{
Dispose();
}
public void Dispose()
{
throw new NotImplementedException();
}
public void Update()
{
throw new NotImplementedException();
}
public void StartGame()
{
throw new NotImplementedException();
}
public void EndGame()
{
throw new NotImplementedException();
}
public void ResetReady()
{
throw new NotImplementedException();
}
}
}

View File

@ -1,4 +1,6 @@
using System;
using System.Collections.Generic;
using System.Collections;
#region License
@ -49,7 +51,95 @@
namespace ANX.Framework.Net
{
public class NetworkSessionProperties
public class NetworkSessionProperties : IList<int?>, ICollection<int?>,
IEnumerable<int?>, IEnumerable
{
#region IList<int?> Member
public int IndexOf(int? item)
{
throw new NotImplementedException();
}
public void Insert(int index, int? item)
{
throw new NotImplementedException();
}
public void RemoveAt(int index)
{
throw new NotImplementedException();
}
public int? this[int index]
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
#endregion
#region ICollection<int?> Member
public void Add(int? item)
{
throw new NotImplementedException();
}
public void Clear()
{
throw new NotImplementedException();
}
public bool Contains(int? item)
{
throw new NotImplementedException();
}
public void CopyTo(int?[] array, int arrayIndex)
{
throw new NotImplementedException();
}
public int Count
{
get { throw new NotImplementedException(); }
}
public bool IsReadOnly
{
get { throw new NotImplementedException(); }
}
public bool Remove(int? item)
{
throw new NotImplementedException();
}
#endregion
#region IEnumerable<int?> Member
public IEnumerator<int?> GetEnumerator()
{
throw new NotImplementedException();
}
#endregion
#region IEnumerable Member
IEnumerator IEnumerable.GetEnumerator()
{
throw new NotImplementedException();
}
#endregion
}
}

View File

@ -126,7 +126,7 @@ namespace ANX.Framework.Storage
return GetDirectoryNames("*");
}
public string[] GetDirectoryNames(string searchPattern = "*")
public string[] GetDirectoryNames(string searchPattern)
{
List<string> dirs = new List<string>();
foreach (DirectoryInfo dir in baseDirectory.EnumerateDirectories(searchPattern))
@ -142,7 +142,7 @@ namespace ANX.Framework.Storage
return GetFileNames("*");
}
public string[] GetFileNames(string searchPattern = "*")
public string[] GetFileNames(string searchPattern)
{
List<string> files = new List<string>();
foreach (FileInfo file in baseDirectory.EnumerateFiles(searchPattern))
@ -163,8 +163,8 @@ namespace ANX.Framework.Storage
return OpenFile(file, fileMode, fileAccess, FileShare.None);
}
public Stream OpenFile(string file, FileMode fileMode,
FileAccess fileAccess = FileAccess.ReadWrite, FileShare fileShare = FileShare.None)
public Stream OpenFile(string file, FileMode fileMode, FileAccess fileAccess,
FileShare fileShare)
{
return File.Open(GetTestFullPath(file), fileMode, fileAccess, fileShare);
}