Ejemplo n.º 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>();
 }
Ejemplo n.º 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>();
 }
Ejemplo n.º 3
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.NetServerSocialModule>();
     WeGameHelper.WriteDebugString("LoadSteam modules");
 }
Ejemplo n.º 4
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");
 }