mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-04-14 21:32:29 +03:00
22 lines
487 B
C#
22 lines
487 B
C#
using Steamworks.Data;
|
|
|
|
namespace Steamworks.Ugc
|
|
{
|
|
public struct UserItemVote
|
|
{
|
|
public bool VotedUp;
|
|
public bool VotedDown;
|
|
public bool VoteSkipped;
|
|
|
|
internal static UserItemVote? From(GetUserItemVoteResult_t result)
|
|
{
|
|
return new UserItemVote
|
|
{
|
|
VotedUp = result.VotedUp,
|
|
VotedDown = result.VotedDown,
|
|
VoteSkipped = result.VoteSkipped
|
|
};
|
|
}
|
|
}
|
|
}
|