Пример #1
0
 private static void LoadSteam()
 {
     LoadModule <CoreSocialModule>();
     Friends      = LoadModule <Terraria.Social.Steam.FriendsSocialModule>();
     Achievements = LoadModule <Terraria.Social.Steam.AchievementsSocialModule>();
     Cloud        = LoadModule <Terraria.Social.Steam.CloudSocialModule>();
     Network      = LoadModule <NetServerSocialModule>();
 }
Пример #2
0
 private static void LoadSteam()
 {
     SocialAPI.LoadModule <CoreSocialModule>();
     SocialAPI.Friends      = SocialAPI.LoadModule <Terraria.Social.Steam.FriendsSocialModule>();
     SocialAPI.Achievements = SocialAPI.LoadModule <Terraria.Social.Steam.AchievementsSocialModule>();
     SocialAPI.Cloud        = SocialAPI.LoadModule <Terraria.Social.Steam.CloudSocialModule>();
     SocialAPI.Network      = SocialAPI.LoadModule <NetServerSocialModule>();
 }
Пример #3
0
 private static void LoadWeGame()
 {
     SocialAPI.LoadModule <Terraria.Social.WeGame.CoreSocialModule>();
     SocialAPI.Cloud   = (Terraria.Social.Base.CloudSocialModule)SocialAPI.LoadModule <Terraria.Social.WeGame.CloudSocialModule>();
     SocialAPI.Friends = (Terraria.Social.Base.FriendsSocialModule)SocialAPI.LoadModule <Terraria.Social.WeGame.FriendsSocialModule>();
     SocialAPI.Overlay = (Terraria.Social.Base.OverlaySocialModule)SocialAPI.LoadModule <Terraria.Social.WeGame.OverlaySocialModule>();
     SocialAPI.Network = (Terraria.Social.Base.NetSocialModule)SocialAPI.LoadModule <Terraria.Social.WeGame.NetServerSocialModule>();
     WeGameHelper.WriteDebugString("LoadWeGame modules");
 }
Пример #4
0
 private static void LoadWeGame()
 {
     LoadModule <Terraria.Social.WeGame.CoreSocialModule>();
     Cloud   = LoadModule <Terraria.Social.WeGame.CloudSocialModule>();
     Friends = LoadModule <Terraria.Social.WeGame.FriendsSocialModule>();
     Overlay = LoadModule <Terraria.Social.WeGame.OverlaySocialModule>();
     Network = LoadModule <Terraria.Social.WeGame.NetClientSocialModule>();
     WeGameHelper.WriteDebugString("LoadWeGame modules");
 }
Пример #5
0
 private static void LoadSteam()
 {
     LoadModule <Terraria.Social.Steam.CoreSocialModule>();
     Friends      = LoadModule <Terraria.Social.Steam.FriendsSocialModule>();
     Achievements = LoadModule <Terraria.Social.Steam.AchievementsSocialModule>();
     Cloud        = LoadModule <Terraria.Social.Steam.CloudSocialModule>();
     Overlay      = LoadModule <Terraria.Social.Steam.OverlaySocialModule>();
     Network      = LoadModule <Terraria.Social.Steam.NetClientSocialModule>();
     WeGameHelper.WriteDebugString("LoadSteam modules");
 }
Пример #6
0
 private static void LoadSteam()
 {
     SocialAPI.LoadModule <Terraria.Social.Steam.CoreSocialModule>();
     SocialAPI.Friends      = (Terraria.Social.Base.FriendsSocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.FriendsSocialModule>();
     SocialAPI.Achievements = (Terraria.Social.Base.AchievementsSocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.AchievementsSocialModule>();
     SocialAPI.Cloud        = (Terraria.Social.Base.CloudSocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.CloudSocialModule>();
     SocialAPI.Overlay      = (Terraria.Social.Base.OverlaySocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.OverlaySocialModule>();
     SocialAPI.Network      = (Terraria.Social.Base.NetSocialModule)SocialAPI.LoadModule <Terraria.Social.Steam.NetClientSocialModule>();
     WeGameHelper.WriteDebugString("LoadSteam modules");
 }